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

Merge tag 'keystone-dts' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone into next/dt

Merge "ARM Keystone DTS updates" from Santosh Shilimkar:
- Add SOC compatible along with EVMs for future board variations.
- Add SPI nodes

* tag 'keystone-dts' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone:
ARM: dts: keystone: Update SoC specific compatible flags
ARM: keystone: Update compatible to have SoC specific matches
Documentation: dt: keystone: provide SoC specific compatible flags
ARM: dts: keystone: Add ti,keystone-spi for SPI

+36 -9
+17 -3
Documentation/devicetree/bindings/arm/keystone/keystone.txt
··· 9 9 the form "ti,keystone-*". Generic devices like gic, arch_timers, ns16550 10 10 type UART should use the specified compatible for those devices. 11 11 12 + SoC families: 13 + 14 + - Keystone 2 generic SoC: 15 + compatible = "ti,keystone" 16 + 17 + SoCs: 18 + 19 + - Keystone 2 Hawking/Kepler 20 + compatible = ti,k2hk", "ti,keystone" 21 + - Keystone 2 Lamarr 22 + compatible = ti,k2l", "ti,keystone" 23 + - Keystone 2 Edison 24 + compatible = ti,k2e", "ti,keystone" 25 + 12 26 Boards: 13 27 - Keystone 2 Hawking/Kepler EVM 14 - compatible = "ti,k2hk-evm","ti,keystone" 28 + compatible = "ti,k2hk-evm", "ti,k2hk", "ti,keystone" 15 29 16 30 - Keystone 2 Lamarr EVM 17 - compatible = "ti,k2l-evm","ti,keystone" 31 + compatible = "ti,k2l-evm", "ti, k2l", "ti,keystone" 18 32 19 33 - Keystone 2 Edison EVM 20 - compatible = "ti,k2e-evm","ti,keystone" 34 + compatible = "ti,k2e-evm", "ti,k2e", "ti,keystone"
+1 -1
arch/arm/boot/dts/k2e-evm.dts
··· 13 13 #include "k2e.dtsi" 14 14 15 15 / { 16 - compatible = "ti,k2e-evm","ti,keystone"; 16 + compatible = "ti,k2e-evm", "ti,k2e", "ti,keystone"; 17 17 model = "Texas Instruments Keystone 2 Edison EVM"; 18 18 19 19 soc {
+3
arch/arm/boot/dts/k2e.dtsi
··· 9 9 */ 10 10 11 11 / { 12 + compatible = "ti,k2e", "ti,keystone"; 13 + model = "Texas Instruments Keystone 2 Edison SoC"; 14 + 12 15 cpus { 13 16 #address-cells = <1>; 14 17 #size-cells = <0>;
+1 -1
arch/arm/boot/dts/k2hk-evm.dts
··· 13 13 #include "k2hk.dtsi" 14 14 15 15 / { 16 - compatible = "ti,k2hk-evm","ti,keystone"; 16 + compatible = "ti,k2hk-evm", "ti,k2hk", "ti,keystone"; 17 17 model = "Texas Instruments Keystone 2 Kepler/Hawking EVM"; 18 18 19 19 soc {
+3
arch/arm/boot/dts/k2hk.dtsi
··· 9 9 */ 10 10 11 11 / { 12 + compatible = "ti,k2hk", "ti,keystone"; 13 + model = "Texas Instruments Keystone 2 Kepler/Hawking SoC"; 14 + 12 15 cpus { 13 16 #address-cells = <1>; 14 17 #size-cells = <0>;
+1 -1
arch/arm/boot/dts/k2l-evm.dts
··· 13 13 #include "k2l.dtsi" 14 14 15 15 / { 16 - compatible = "ti,k2l-evm","ti,keystone"; 16 + compatible = "ti,k2l-evm", "ti,k2l", "ti,keystone"; 17 17 model = "Texas Instruments Keystone 2 Lamarr EVM"; 18 18 19 19 soc {
+3
arch/arm/boot/dts/k2l.dtsi
··· 9 9 */ 10 10 11 11 / { 12 + compatible = "ti,k2l", "ti,keystone"; 13 + model = "Texas Instruments Keystone 2 Lamarr SoC"; 14 + 12 15 cpus { 13 16 #address-cells = <1>; 14 17 #size-cells = <0>;
+4 -3
arch/arm/boot/dts/keystone.dtsi
··· 12 12 #include "skeleton.dtsi" 13 13 14 14 / { 15 + compatible = "ti,keystone"; 15 16 model = "Texas Instruments Keystone 2 SoC"; 16 17 #address-cells = <2>; 17 18 #size-cells = <2>; ··· 137 136 }; 138 137 139 138 spi0: spi@21000400 { 140 - compatible = "ti,dm6441-spi"; 139 + compatible = "ti,keystone-spi", "ti,dm6441-spi"; 141 140 reg = <0x21000400 0x200>; 142 141 num-cs = <4>; 143 142 ti,davinci-spi-intr-line = <0>; ··· 148 147 }; 149 148 150 149 spi1: spi@21000600 { 151 - compatible = "ti,dm6441-spi"; 150 + compatible = "ti,keystone-spi", "ti,dm6441-spi"; 152 151 reg = <0x21000600 0x200>; 153 152 num-cs = <4>; 154 153 ti,davinci-spi-intr-line = <0>; ··· 159 158 }; 160 159 161 160 spi2: spi@21000800 { 162 - compatible = "ti,dm6441-spi"; 161 + compatible = "ti,keystone-spi", "ti,dm6441-spi"; 163 162 reg = <0x21000800 0x200>; 164 163 num-cs = <4>; 165 164 ti,davinci-spi-intr-line = <0>;
+3
arch/arm/mach-keystone/keystone.c
··· 97 97 } 98 98 99 99 static const char *const keystone_match[] __initconst = { 100 + "ti,k2hk", 101 + "ti,k2e", 102 + "ti,k2l", 100 103 "ti,keystone", 101 104 NULL, 102 105 };