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

dt/bindings: Remove device_type "serial" from marvell,mv64360-mpsc

device_type is deprecated. There is no need to check for it in device
driver code and no need to specify it in the device tree. Remove the
property from stock .dts files and remove the check for it from device
drivers. This change should be 100% backwards compatible with old device
trees.

Signed-off-by: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>

+2 -8
-2
Documentation/devicetree/bindings/marvell.txt
··· 265 265 serial port. 266 266 267 267 Required properties: 268 - - device_type : "serial" 269 268 - compatible : "marvell,mv64360-mpsc" 270 269 - reg : Offset and length of the register set for this device 271 270 - sdma : the phandle for the SDMA node used by this port ··· 281 282 282 283 Example Discovery MPSCINTR node: 283 284 mpsc@8000 { 284 - device_type = "serial"; 285 285 compatible = "marvell,mv64360-mpsc"; 286 286 reg = <0x8000 0x38>; 287 287 virtual-reg = <0xf1008000>;
-2
arch/powerpc/boot/dts/c2k.dts
··· 171 171 }; 172 172 173 173 MPSC0: mpsc@8000 { 174 - device_type = "serial"; 175 174 compatible = "marvell,mv64360-mpsc"; 176 175 reg = <0x8000 0x38>; 177 176 virtual-reg = <0xd8008000>; ··· 185 186 }; 186 187 187 188 MPSC1: mpsc@9000 { 188 - device_type = "serial"; 189 189 compatible = "marvell,mv64360-mpsc"; 190 190 reg = <0x9000 0x38>; 191 191 virtual-reg = <0xd8009000>;
-2
arch/powerpc/boot/dts/prpmc2800.dts
··· 159 159 }; 160 160 161 161 MPSC0: mpsc@8000 { 162 - device_type = "serial"; 163 162 compatible = "marvell,mv64360-mpsc"; 164 163 reg = <0x8000 0x38>; 165 164 virtual-reg = <0xf1008000>; ··· 173 174 }; 174 175 175 176 MPSC1: mpsc@9000 { 176 - device_type = "serial"; 177 177 compatible = "marvell,mv64360-mpsc"; 178 178 reg = <0x9000 0x38>; 179 179 virtual-reg = <0xf1009000>;
+1 -1
arch/powerpc/sysdev/mv64x60_dev.c
··· 448 448 int err; 449 449 450 450 id = 0; 451 - for_each_compatible_node(np, "serial", "marvell,mv64360-mpsc") { 451 + for_each_compatible_node(np, NULL, "marvell,mv64360-mpsc") { 452 452 err = mv64x60_mpsc_device_setup(np, id++); 453 453 if (err) 454 454 printk(KERN_ERR "Failed to initialize MV64x60 "
+1 -1
arch/powerpc/sysdev/mv64x60_udbg.c
··· 85 85 if (!stdout) 86 86 return; 87 87 88 - for_each_compatible_node(np, "serial", "marvell,mv64360-mpsc") { 88 + for_each_compatible_node(np, NULL, "marvell,mv64360-mpsc") { 89 89 if (np == stdout) 90 90 break; 91 91 }