Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: SPEAr13xx: Add bindings and dt node for misc block

SPEAr SOCs have some miscellaneous registers which are used to configure
peripheral.

This patch adds dt node and binding information for this block.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Cc: devicetree@vger.kernel.org
[viresh: fixed logs/cclist]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>

authored by

Pratyush Anand and committed by
Viresh Kumar
23b7ad23 36c5c90d

+15
+9
Documentation/devicetree/bindings/arm/spear-misc.txt
··· 1 + SPEAr Misc configuration 2 + =========================== 3 + SPEAr SOCs have some miscellaneous registers which are used to configure 4 + few properties of different peripheral controllers. 5 + 6 + misc node required properties: 7 + 8 + - compatible Should be "st,spear1340-misc", "syscon". 9 + - reg: Address range of misc space upto 8K
+5
arch/arm/boot/dts/spear13xx.dtsi
··· 220 220 0xd8000000 0xd8000000 0x01000000 221 221 0xe0000000 0xe0000000 0x10000000>; 222 222 223 + misc: syscon@e0700000 { 224 + compatible = "st,spear1340-misc", "syscon"; 225 + reg = <0xe0700000 0x1000>; 226 + }; 227 + 223 228 gpio0: gpio@e0600000 { 224 229 compatible = "arm,pl061", "arm,primecell"; 225 230 reg = <0xe0600000 0x1000>;
+1
arch/arm/mach-spear/Kconfig
··· 19 19 select HAVE_ARM_SCU if SMP 20 20 select HAVE_ARM_TWD if SMP 21 21 select PINCTRL 22 + select MFD_SYSCON 22 23 help 23 24 Supports for ARM's SPEAR13XX family 24 25