History

Merge tag 'devicetree-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux

Pull DeviceTree updates from Rob Herring: "There's a few orphans in the conversion to %pOF printf specifiers included here that no one else picked up. Summary: - Convert more DT code to use of_property_read_* API. - Improve DT overlay support when adding multiple overlays - Convert printk's to %pOF format specifiers. Most went via subsystem trees, but picked up the remaining orphans - Correct unittests to use preferred "okay" for "status" property value - Add a KASLR seed property - Vendor prefixes for Mellanox, Theobroma System, Adaptrum, Moxa - Fix modalias buffer handling - Clean-up of include paths for building dtbs - Add bindings for amc6821, isl1208, tsl2x7x, srf02, and srf10 devices - Add nvmem bindings for MediaTek MT7623 and MT7622 SoC - Add compatible string for Allwinner H5 Mali-450 GPU - Fix links to old OpenFirmware docs with new mirror on devicetree.org - Remove status property from binding doc examples" * tag 'devicetree-for-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: (45 commits) devicetree: Adjust status "ok" -> "okay" under drivers/of/ dt-bindings: Remove "status" from examples dt-bindings: pinctrl: sh-pfc: Use generic node name dt-bindings: Add vendor Mellanox dt-binding: net/phy: fix interrupts description virt: Convert to using %pOF instead of full_name macintosh: Convert to using %pOF instead of full_name ide: pmac: Convert to using %pOF instead of full_name microblaze: Convert to using %pOF instead of full_name dt-bindings: usb: musb: Grammar s/the/to/, s/is/are/ of: Use PLATFORM_DEVID_NONE definition of/device: Fix of_device_get_modalias() buffer handling of/device: Prevent buffer overflow in of_device_modalias() dt-bindings: add amc6821, isl1208 trivial bindings dt-bindings: add vendor prefix for Theobroma Systems of: search scripts/dtc/include-prefixes path for both CPP and DTC of: remove arch/$(SRCARCH)/boot/dts from include search path for CPP of: remove drivers/of/testcase-data from include search path for CPP of: return of_get_cpu_node from of_cpu_device_node_get if CPUs are not registered iio: srf08: add device tree binding for srf02 and srf10 ...

Linus Torvalds committed 9 years ago

Commit 74fee4e2 parents 7d95565 8402446273 files · +508 −626Browse files

Unified · Split

273 files
  1. Documentation/devicetree/bindings/arm/arch_timer.txt +0 −1
  2. Documentation/devicetree/bindings/arm/marvell/cp110-system-controller0.txt +0 −1
  3. Documentation/devicetree/bindings/ata/apm-xgene.txt +0 −2
  4. Documentation/devicetree/bindings/ata/imx-pata.txt +0 −1
  5. Documentation/devicetree/bindings/bus/mvebu-mbus.txt +0 −3
  6. Documentation/devicetree/bindings/bus/nvidia,tegra20-gmi.txt +0 −2
  7. Documentation/devicetree/bindings/bus/nvidia,tegra210-aconnect.txt +0 −1
  8. Documentation/devicetree/bindings/chosen.txt +24 −2
  9. Documentation/devicetree/bindings/clock/alphascale,acc.txt +0 −1
  10. Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt +0 −1
  11. Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt +0 −1
  12. Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt +0 −1
  13. Documentation/devicetree/bindings/clock/brcm,kona-ccu.txt +0 −1
  14. Documentation/devicetree/bindings/clock/exynos5433-clock.txt +0 −1
  15. Documentation/devicetree/bindings/clock/hi3660-clock.txt +0 −1
  16. Documentation/devicetree/bindings/clock/hix5hd2-clock.txt +0 −1
  17. Documentation/devicetree/bindings/clock/imx21-clock.txt +0 −1
  18. Documentation/devicetree/bindings/clock/imx23-clock.txt +0 −1
  19. Documentation/devicetree/bindings/clock/imx25-clock.txt +0 −1
  20. Documentation/devicetree/bindings/clock/imx27-clock.txt +0 −1
  21. Documentation/devicetree/bindings/clock/imx28-clock.txt +0 −1
  22. Documentation/devicetree/bindings/clock/imx31-clock.txt +0 −1
  23. Documentation/devicetree/bindings/clock/imx5-clock.txt +0 −1
  24. Documentation/devicetree/bindings/clock/imx6q-clock.txt +0 −1
  25. Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt +0 −1
  26. Documentation/devicetree/bindings/clock/pxa-clock.txt +0 −1
  27. Documentation/devicetree/bindings/clock/renesas,cpg-mssr.txt +0 −1
  28. Documentation/devicetree/bindings/clock/renesas,r8a7778-cpg-clocks.txt +0 −1
  29. Documentation/devicetree/bindings/clock/renesas,rz-cpg-clocks.txt +0 −1
  30. Documentation/devicetree/bindings/clock/samsung,s3c2410-clock.txt +0 −1
  31. Documentation/devicetree/bindings/clock/samsung,s3c2412-clock.txt +0 −1
  32. Documentation/devicetree/bindings/clock/samsung,s3c2443-clock.txt +0 −1
  33. Documentation/devicetree/bindings/clock/samsung,s3c64xx-clock.txt +0 −1
  34. Documentation/devicetree/bindings/clock/samsung,s5pv210-clock.txt +0 −1
  35. Documentation/devicetree/bindings/clock/silabs,si5351.txt +5 −1
  36. Documentation/devicetree/bindings/clock/ti,sci-clk.txt +3 −4
  37. Documentation/devicetree/bindings/clock/ti/dra7-atl.txt +0 −2
  38. Documentation/devicetree/bindings/clock/zx296702-clk.txt +0 −1
  39. Documentation/devicetree/bindings/clock/zx296718-clk.txt +0 −1
  40. Documentation/devicetree/bindings/crypto/fsl-dcp.txt +0 −1
  41. Documentation/devicetree/bindings/crypto/inside-secure-safexcel.txt +0 −1
  42. Documentation/devicetree/bindings/crypto/marvell-cesa.txt +0 −1
  43. Documentation/devicetree/bindings/crypto/mv_cesa.txt +0 −1
  44. Documentation/devicetree/bindings/crypto/rockchip-crypto.txt +0 −1
  45. Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt +0 −1
  46. Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt +0 −1
  47. Documentation/devicetree/bindings/display/atmel,lcdc.txt +0 −1
  48. Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt +0 −1
  49. Documentation/devicetree/bindings/display/bridge/megachips-stdpxxxx-ge-b850v3-fw.txt +0 −1
  50. Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt +0 −1
  51. Documentation/devicetree/bindings/display/fsl,tcon.txt +0 −1
  52. Documentation/devicetree/bindings/display/imx/fsl-imx-drm.txt +1 −1
  53. Documentation/devicetree/bindings/display/marvell,pxa2xx-lcdc.txt +0 −1
  54. Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt +0 −1
  55. Documentation/devicetree/bindings/display/rockchip/analogix_dp-rockchip.txt +0 −1
  56. Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt +0 −1
  57. Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt +0 −2
  58. Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt +0 −1
  59. Documentation/devicetree/bindings/display/simple-framebuffer-sunxi.txt +0 −1
  60. Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt +0 −1
  61. Documentation/devicetree/bindings/dma/fsl-edma.txt +0 −1
  62. Documentation/devicetree/bindings/dma/mv-xor.txt +0 −1
  63. Documentation/devicetree/bindings/dma/qcom_adm.txt +0 −1
  64. Documentation/devicetree/bindings/dma/snps-dma.txt +0 −1
  65. Documentation/devicetree/bindings/dma/st_fdma.txt +0 −1
  66. Documentation/devicetree/bindings/dma/ste-dma40.txt +0 −1
  67. Documentation/devicetree/bindings/dma/sun4i-dma.txt +0 −1
  68. Documentation/devicetree/bindings/dma/ti-dma-crossbar.txt +0 −1
  69. Documentation/devicetree/bindings/dma/ti-edma.txt +0 −1
  70. Documentation/devicetree/bindings/fpga/xilinx-slave-serial.txt +0 −1
  71. Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt +0 −1
  72. Documentation/devicetree/bindings/gpio/spear_spics.txt +0 −1
  73. Documentation/devicetree/bindings/gpu/arm,mali-utgard.txt +5 −0
  74. Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt +0 −3
  75. Documentation/devicetree/bindings/gpu/samsung-g2d.txt +0 −1
  76. Documentation/devicetree/bindings/hsi/omap-ssi.txt +0 −1
  77. Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.txt +0 −1
  78. Documentation/devicetree/bindings/i2c/i2c-efm32.txt +0 −1
  79. Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt +0 −1
  80. Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.txt +0 −1
  81. Documentation/devicetree/bindings/iio/adc/lpc1850-adc.txt +0 −1
  82. Documentation/devicetree/bindings/iio/dac/lpc1850-dac.txt +0 −1
  83. Documentation/devicetree/bindings/input/brcm,bcm-keypad.txt +0 −1
  84. Documentation/devicetree/bindings/input/ti,drv260x.txt +1 −1
  85. Documentation/devicetree/bindings/input/touchscreen/colibri-vf50-ts.txt +0 −1
  86. Documentation/devicetree/bindings/input/touchscreen/imx6ul_tsc.txt +0 −1
  87. Documentation/devicetree/bindings/media/pxa-camera.txt +0 −1
  88. Documentation/devicetree/bindings/media/s5p-cec.txt +0 −1
  89. Documentation/devicetree/bindings/media/samsung-fimc.txt +0 −2
  90. Documentation/devicetree/bindings/media/stih407-c8sectpfe.txt +0 −1
  91. Documentation/devicetree/bindings/media/ti,da850-vpif.txt +0 −1
  92. Documentation/devicetree/bindings/memory-controllers/mvebu-devbus.txt +0 −1
  93. Documentation/devicetree/bindings/mfd/act8945a.txt +0 −2
  94. Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt +0 −1
  95. Documentation/devicetree/bindings/mfd/da9052-i2c.txt +0 −1
  96. Documentation/devicetree/bindings/mfd/mc13xxx.txt +0 −1
  97. Documentation/devicetree/bindings/mfd/mxs-lradc.txt +0 −2
  98. Documentation/devicetree/bindings/mfd/samsung,exynos5433-lpass.txt +0 −2
  99. Documentation/devicetree/bindings/misc/atmel-ssc.txt +0 −1
  100. Documentation/devicetree/bindings/mmc/arasan,sdhci.txt +0 −1
  101. Documentation/devicetree/bindings/mmc/davinci_mmc.txt +0 −1
  102. Documentation/devicetree/bindings/mmc/fsl-imx-mmc.txt +0 −1
  103. Documentation/devicetree/bindings/mmc/mmc-card.txt +0 −1
  104. Documentation/devicetree/bindings/mmc/mmc.txt +0 −1
  105. Documentation/devicetree/bindings/mmc/orion-sdio.txt +0 −1
  106. Documentation/devicetree/bindings/mmc/sdhci-st.txt +0 −3
  107. Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt +0 −1
  108. Documentation/devicetree/bindings/mtd/atmel-quadspi.txt +0 −1
  109. Documentation/devicetree/bindings/mtd/mtk-quadspi.txt +0 −1
  110. Documentation/devicetree/bindings/mtd/st-fsm.txt +0 −1
  111. Documentation/devicetree/bindings/mtd/sunxi-nand.txt +0 −1
  112. Documentation/devicetree/bindings/net/brcm,amac.txt +0 −1
  113. Documentation/devicetree/bindings/net/btusb.txt +0 −1
  114. Documentation/devicetree/bindings/net/can/m_can.txt +0 −1
  115. Documentation/devicetree/bindings/net/dsa/ksz.txt +0 −2
  116. Documentation/devicetree/bindings/net/dsa/lan9303.txt +0 −3
  117. Documentation/devicetree/bindings/net/ftgmac100.txt +0 −1
  118. Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt +0 −1
  119. Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt +0 −2
  120. Documentation/devicetree/bindings/net/marvell-neta-bm.txt +0 −2
  121. Documentation/devicetree/bindings/net/marvell-pp2.txt +0 −3
  122. Documentation/devicetree/bindings/net/meson-dwmac.txt +0 −1
  123. Documentation/devicetree/bindings/net/micrel-ksz90x1.txt +0 −1
  124. Documentation/devicetree/bindings/net/microchip,enc28j60.txt +0 −1
  125. Documentation/devicetree/bindings/net/nfc/nfcmrvl.txt +0 −2
  126. Documentation/devicetree/bindings/net/nfc/nxp-nci.txt +0 −1
  127. Documentation/devicetree/bindings/net/nfc/pn533-i2c.txt +0 −1
  128. Documentation/devicetree/bindings/net/nfc/pn544.txt +0 −1
  129. Documentation/devicetree/bindings/net/nfc/s3fwrn5.txt +0 −1
  130. Documentation/devicetree/bindings/net/nfc/st-nci-i2c.txt +0 −1
  131. Documentation/devicetree/bindings/net/nfc/st-nci-spi.txt +0 −1
  132. Documentation/devicetree/bindings/net/nfc/st21nfca.txt +0 −1
  133. Documentation/devicetree/bindings/net/nfc/st95hf.txt +0 −2
  134. Documentation/devicetree/bindings/net/nfc/trf7970a.txt +0 −2
  135. Documentation/devicetree/bindings/net/oxnas-dwmac.txt +0 −1
  136. Documentation/devicetree/bindings/net/phy.txt +3 −7
  137. Documentation/devicetree/bindings/net/qca,qca7000.txt +0 −2
  138. Documentation/devicetree/bindings/net/rockchip-dwmac.txt +0 −1
  139. Documentation/devicetree/bindings/net/smsc-lan87xx.txt +0 −1
  140. Documentation/devicetree/bindings/net/socfpga-dwmac.txt +0 −1
  141. Documentation/devicetree/bindings/net/sti-dwmac.txt +0 −1
  142. Documentation/devicetree/bindings/net/stm32-dwmac.txt +0 −1
  143. Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt +0 −1
  144. Documentation/devicetree/bindings/net/wireless/esp,esp8089.txt +0 −1
  145. Documentation/devicetree/bindings/net/wireless/marvell-8xxx.txt +0 −1
  146. Documentation/devicetree/bindings/net/wireless/ti,wlcore.txt +0 −1
  147. Documentation/devicetree/bindings/nvmem/mtk-efuse.txt +4 −1
  148. Documentation/devicetree/bindings/nvmem/mxs-ocotp.txt +0 −1
  149. Documentation/devicetree/bindings/opp/opp.txt +0 −1
  150. Documentation/devicetree/bindings/pci/aardvark-pci.txt +0 −1
  151. Documentation/devicetree/bindings/pci/hisilicon-pcie.txt +0 −2
  152. Documentation/devicetree/bindings/pci/mvebu-pci.txt +0 −11
  153. Documentation/devicetree/bindings/pci/pci-armada8k.txt +0 −1
  154. Documentation/devicetree/bindings/pci/pci.txt +2 −2
  155. Documentation/devicetree/bindings/pci/rcar-pci.txt +0 −1
  156. Documentation/devicetree/bindings/pci/xgene-pci-msi.txt +0 −1
  157. Documentation/devicetree/bindings/phy/apm-xgene-phy.txt +0 −3
  158. Documentation/devicetree/bindings/phy/keystone-usb-phy.txt +0 −1
  159. Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt +0 −4
  160. Documentation/devicetree/bindings/phy/phy-mvebu.txt +0 −1
  161. Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt +0 −2
  162. Documentation/devicetree/bindings/phy/qcom-dwc3-usb-phy.txt +0 −2
  163. Documentation/devicetree/bindings/phy/samsung-phy.txt +0 −1
  164. Documentation/devicetree/bindings/phy/sun9i-usb-phy.txt +0 −1
  165. Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt +0 −1
  166. Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt +0 −1
  167. Documentation/devicetree/bindings/pinctrl/fsl,imx7d-pinctrl.txt +0 −1
  168. Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-dpaux-padctl.txt +0 −1
  169. Documentation/devicetree/bindings/pinctrl/oxnas,pinctrl.txt +0 −1
  170. Documentation/devicetree/bindings/pinctrl/pinctrl-zx.txt +0 −1
  171. Documentation/devicetree/bindings/pinctrl/renesas,pfc-pinctrl.txt +1 −2
  172. Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt +0 −1
  173. Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt +0 −1
  174. Documentation/devicetree/bindings/power/power-controller.txt +0 −1
  175. Documentation/devicetree/bindings/power/reset/st-reset.txt +0 −1
  176. Documentation/devicetree/bindings/power/supply/act8945a-charger.txt +0 −2
  177. Documentation/devicetree/bindings/power/supply/max8903-charger.txt +0 −1
  178. Documentation/devicetree/bindings/power/supply/maxim,max14656.txt +0 −1
  179. Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt +0 −1
  180. Documentation/devicetree/bindings/pwm/pwm-meson.txt +0 −1
  181. Documentation/devicetree/bindings/pwm/pwm-sun4i.txt +0 −1
  182. Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt +0 −2
  183. Documentation/devicetree/bindings/regulator/act8865-regulator.txt +0 −1
  184. Documentation/devicetree/bindings/regulator/act8945a-regulator.txt +0 −1
  185. Documentation/devicetree/bindings/reset/nxp,lpc1850-rgu.txt +0 −1
  186. Documentation/devicetree/bindings/rtc/st,stm32-rtc.txt +0 −1
  187. Documentation/devicetree/bindings/scsi/hisilicon-sas.txt +0 −1
  188. Documentation/devicetree/bindings/security/tpm/st33zp24-i2c.txt +0 −1
  189. Documentation/devicetree/bindings/security/tpm/st33zp24-spi.txt +0 −1
  190. Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt +0 −1
  191. Documentation/devicetree/bindings/security/tpm/tpm_tis_spi.txt +0 −1
  192. Documentation/devicetree/bindings/serial/arc-uart.txt +0 −1
  193. Documentation/devicetree/bindings/serial/axis,etraxfs-uart.txt +0 −1
  194. Documentation/devicetree/bindings/serial/nvidia,tegra20-hsuart.txt +0 −1
  195. Documentation/devicetree/bindings/serial/qcom,msm-uartdm.txt +0 −3
  196. Documentation/devicetree/bindings/serial/serial.txt +0 −2
  197. Documentation/devicetree/bindings/serio/allwinner,sun4i-ps2.txt +0 −1
  198. Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.txt +0 −1
  199. Documentation/devicetree/bindings/sound/armada-370db-audio.txt +0 −1
  200. Documentation/devicetree/bindings/sound/axentia,tse850-pcm5142.txt +0 −1
  201. Documentation/devicetree/bindings/sound/brcm,cygnus-audio.txt +0 −4
  202. Documentation/devicetree/bindings/sound/davinci-mcbsp.txt +0 −1
  203. Documentation/devicetree/bindings/sound/fsl,asrc.txt +0 −1
  204. Documentation/devicetree/bindings/sound/fsl,esai.txt +0 −1
  205. Documentation/devicetree/bindings/sound/fsl,spdif.txt +0 −1
  206. Documentation/devicetree/bindings/sound/hdmi.txt +0 −1
  207. Documentation/devicetree/bindings/sound/renesas,rsnd.txt +0 −2
  208. Documentation/devicetree/bindings/sound/rockchip,pdm.txt +0 −1
  209. Documentation/devicetree/bindings/sound/rockchip-spdif.txt +0 −1
  210. Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt +0 −5
  211. Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt +0 −1
  212. Documentation/devicetree/bindings/sound/tas5720.txt +0 −1
  213. Documentation/devicetree/bindings/sound/zte,zx-i2s.txt +0 −1
  214. Documentation/devicetree/bindings/sound/zte,zx-spdif.txt +0 −1
  215. Documentation/devicetree/bindings/spi/efm32-spi.txt +0 −2
  216. Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt +0 −1
  217. Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt +0 −1
  218. Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt +0 −1
  219. Documentation/devicetree/bindings/spi/sh-hspi.txt +0 −1
  220. Documentation/devicetree/bindings/spi/sh-msiof.txt +0 −1
  221. Documentation/devicetree/bindings/spi/spi-clps711x.txt +0 −1
  222. Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt +0 −1
  223. Documentation/devicetree/bindings/spi/spi-mt65xx.txt +0 −1
  224. Documentation/devicetree/bindings/spi/spi-orion.txt +0 −2
  225. Documentation/devicetree/bindings/spi/spi-sun4i.txt +0 −1
  226. Documentation/devicetree/bindings/spi/spi-sun6i.txt +0 −1
  227. Documentation/devicetree/bindings/spi/spi_atmel.txt +0 −1
  228. Documentation/devicetree/bindings/sram/sunxi-sram.txt +0 −1
  229. Documentation/devicetree/bindings/thermal/armada-thermal.txt +0 −1
  230. Documentation/devicetree/bindings/thermal/exynos-thermal.txt +0 −1
  231. Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt +0 −1
  232. Documentation/devicetree/bindings/trivial-devices.txt +14 −0
  233. Documentation/devicetree/bindings/unittest.txt +0 −5
  234. Documentation/devicetree/bindings/usb/allwinner,sun4i-a10-musb.txt +0 −1
  235. Documentation/devicetree/bindings/usb/am33xx-usb.txt +2 −2
  236. Documentation/devicetree/bindings/usb/da8xx-usb.txt +0 −2
  237. Documentation/devicetree/bindings/usb/dwc3-st.txt +0 −1
  238. Documentation/devicetree/bindings/usb/dwc3-xilinx.txt +0 −1
  239. Documentation/devicetree/bindings/usb/ehci-st.txt +0 −1
  240. Documentation/devicetree/bindings/usb/exynos-usb.txt +0 −2
  241. Documentation/devicetree/bindings/usb/isp1301.txt +0 −1
  242. Documentation/devicetree/bindings/usb/keystone-usb.txt +0 −1
  243. Documentation/devicetree/bindings/usb/mediatek,mtu3.txt +0 −2
  244. Documentation/devicetree/bindings/usb/ohci-st.txt +0 −1
  245. Documentation/devicetree/bindings/usb/qcom,dwc3.txt +0 −3
  246. Documentation/devicetree/bindings/usb/rockchip,dwc3.txt +0 −4
  247. Documentation/devicetree/bindings/usb/usb-device.txt +1 −2
  248. Documentation/devicetree/bindings/vendor-prefixes.txt +4 −1
  249. Documentation/devicetree/bindings/w1/fsl-imx-owire.txt +0 −1
  250. Documentation/devicetree/bindings/watchdog/atmel-sama5d4-wdt.txt +0 −1
  251. Documentation/devicetree/bindings/watchdog/atmel-wdt.txt +0 −1
  252. Documentation/devicetree/bindings/watchdog/marvel.txt +0 −1
  253. Documentation/devicetree/booting-without-of.txt +1 −1
  254. arch/microblaze/kernel/timer.c +1 −1
  255. arch/microblaze/pci/pci-common.c +7 −7
  256. drivers/of/address.c +11 −13
  257. drivers/of/base.c +23 −23
  258. drivers/of/device.c +31 −44
  259. drivers/of/dynamic.c +16 −17
  260. drivers/of/irq.c +31 −46
  261. drivers/of/of_mdio.c +2 −2
  262. drivers/of/of_pci.c +34 −38
  263. drivers/of/overlay.c +121 −21
  264. drivers/of/platform.c +17 −17
  265. drivers/of/property.c +11 −12
  266. drivers/of/unittest-data/Makefile +14 −5
  267. drivers/of/unittest-data/overlay.dts +27 −4
  268. drivers/of/unittest-data/overlay_bad_symbol.dts +22 −0
  269. drivers/of/unittest-data/overlay_base.dts +11 −0
  270. drivers/of/unittest.c +47 −30
  271. drivers/virt/fsl_hypervisor.c +6 −6
  272. include/linux/of_device.h +1 −1
  273. scripts/Makefile.lib +4 −4
Documentation/devicetree/bindings/arm/arch_timer.txt+0−1
@@ -108,6 +108,5 @@ Example: · 107 unmodified lines
108108 frame-number = <1>
109109 interrupts = <0 15 0x8>;
110110 reg = <0xf0003000 0x1000>;
111− status = "disabled";
112111 };
113112 };
Documentation/devicetree/bindings/arm/marvell/cp110-system-controller0.txt+0−1
@@ -183,7 +183,6 @@ cpm_syscon0: system-controller@440000 { · 182 unmodified lines
183183 gpio-controller;
184184 #gpio-cells = <2>;
185185 gpio-ranges = <&cpm_pinctrl 0 0 32>;
186− status = "disabled";
187186 };
188187
189188 };
Documentation/devicetree/bindings/ata/apm-xgene.txt+0−2
@@ -57,7 +57,6 @@ Example: · 56 unmodified lines
5757 <0x0 0x1f227000 0x0 0x1000>;
5858 interrupts = <0x0 0x87 0x4>;
5959 dma-coherent;
60− status = "ok";
6160 clocks = <&sataclk 0>;
6261 phys = <&phy2 0>;
6362 phy-names = "sata-phy";
@@ -72,7 +71,6 @@ Example: · 8 unmodified lines
7271 <0x0 0x1f237000 0x0 0x1000>;
7372 interrupts = <0x0 0x88 0x4>;
7473 dma-coherent;
75− status = "ok";
7674 clocks = <&sataclk 0>;
7775 phys = <&phy3 0>;
7876 phy-names = "sata-phy";
Documentation/devicetree/bindings/ata/imx-pata.txt+0−1
@@ -13,5 +13,4 @@ Example: · 12 unmodified lines
1313 reg = <0x83fe0000 0x4000>;
1414 interrupts = <70>;
1515 clocks = <&clks 161>;
16− status = "disabled";
1716 };
Documentation/devicetree/bindings/bus/mvebu-mbus.txt+0−3
@@ -227,7 +227,6 @@ See the example below, where a more complete device tree is shown: · 226 unmodified lines
227227 };
228228
229229 devbus-bootcs {
230− status = "okay";
231230 ranges = <0 MBUS_ID(0x01, 0x2f) 0 0x8000000>;
232231
233232 /* NOR */
@@ -240,7 +239,6 @@ See the example below, where a more complete device tree is shown: · 6 unmodified lines
240239
241240 pcie-controller {
242241 compatible = "marvell,armada-xp-pcie";
243− status = "okay";
244242 device_type = "pci";
245243
246244 #address-cells = <3>;
@@ -258,7 +256,6 @@ See the example below, where a more complete device tree is shown: · 11 unmodified lines
258256
259257 pcie@1,0 {
260258 /* Port 0, Lane 0 */
261− status = "okay";
262259 };
263260 };
264261
Documentation/devicetree/bindings/bus/nvidia,tegra20-gmi.txt+0−2
@@ -84,7 +84,6 @@ gmi@70090000 { · 83 unmodified lines
8484 reset-names = "gmi";
8585 ranges = <4 0 0xd0000000 0xfffffff>;
8686
87− status = "okay";
8887
8988 bus@4,0 {
9089 compatible = "simple-bus";
@@ -121,7 +120,6 @@ gmi@70090000 { · 30 unmodified lines
121120 reset-names = "gmi";
122121 ranges = <4 0 0xd0000000 0xfffffff>;
123122
124− status = "okay";
125123
126124 can@4,0 {
127125 reg = <4 0 0x100>;
Documentation/devicetree/bindings/bus/nvidia,tegra210-aconnect.txt+0−1
@@ -33,7 +33,6 @@ Example: · 32 unmodified lines
3333 #size-cells = <1>;
3434 ranges = <0x702c0000 0x0 0x702c0000 0x00040000>;
3535
36− status = "disabled";
3736
3837 child1 {
3938 ...
Documentation/devicetree/bindings/chosen.txt+24−2
@@ -5,9 +5,31 @@ The chosen node does not represent a real device, but serves as a place · 4 unmodified lines
55 for passing data between firmware and the operating system, like boot
66 arguments. Data in the chosen node does not represent the hardware.
77
8+The following properties are recognized:
89
9−stdout-path property
10−--------------------
10+
11+kaslr-seed
12+-----------
13+
14+This property is used when booting with CONFIG_RANDOMIZE_BASE as the
15+entropy used to randomize the kernel image base address location. Since
16+it is used directly, this value is intended only for KASLR, and should
17+not be used for other purposes (as it may leak information about KASLR
18+offsets). It is parsed as a u64 value, e.g.
19+
20+/ {
21+ chosen {
22+ kaslr-seed = <0xfeedbeef 0xc0def00d>;
23+ };
24+};
25+
26+Note that if this property is set from UEFI (or a bootloader in EFI
27+mode) when EFI_RNG_PROTOCOL is supported, it will be overwritten by
28+the Linux EFI stub (which will populate the property itself, using
29+EFI_RNG_PROTOCOL).
30+
31+stdout-path
32+-----------
1133
1234 Device trees may specify the device to be used for boot console output
1335 with a stdout-path property under /chosen, as described in the Devicetree
Documentation/devicetree/bindings/clock/alphascale,acc.txt+0−1
@@ -102,7 +102,6 @@ uart4: serial@80010000 { · 101 unmodified lines
102102 reg = <0x80010000 0x4000>;
103103 clocks = <&acc CLKID_SYS_UART4>, <&acc CLKID_AHB_UART4>;
104104 interrupts = <19>;
105− status = "disabled";
106105 };
107106
108107 Clock consumer with only one, _AHB_ sink.
Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt+0−1
@@ -41,5 +41,4 @@ Example: UART controller node that consumes the clock and reset generated · 40 unmodified lines
4141 interrupts = <0 90 1>;
4242 clocks = <&clkc_AO CLKID_AO_UART1>;
4343 resets = <&clkc_AO RESET_AO_UART1>;
44− status = "disabled";
4544 };
Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt+0−1
@@ -33,5 +33,4 @@ Example: UART controller node that consumes the clock generated by the clock · 32 unmodified lines
3333 reg = <0xc81004c0 0x14>;
3434 interrupts = <0 90 1>;
3535 clocks = <&clkc CLKID_CLK81>;
36− status = "disabled";
3736 };
Documentation/devicetree/bindings/clock/amlogic,meson8b-clkc.txt+0−1
@@ -39,5 +39,4 @@ Example: UART controller node that consumes the clock generated by the clock · 38 unmodified lines
3939 reg = <0xc81004c0 0x14>;
4040 interrupts = <0 90 1>;
4141 clocks = <&clkc CLKID_CLK81>;
42− status = "disabled";
4342 };
Documentation/devicetree/bindings/clock/brcm,kona-ccu.txt+0−1
@@ -46,7 +46,6 @@ Device tree example: · 45 unmodified lines
4646
4747 uart@3e002000 {
4848 compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
49− status = "disabled";
5049 reg = <0x3e002000 0x1000>;
5150 clocks = <&slave_ccu BCM281XX_SLAVE_CCU_UARTB3>;
5251 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
Documentation/devicetree/bindings/clock/exynos5433-clock.txt+0−1
@@ -465,5 +465,4 @@ Example 3: UART controller node that consumes the clock generated by the clock · 464 unmodified lines
465465 clock-names = "uart", "clk_uart_baud0";
466466 pinctrl-names = "default";
467467 pinctrl-0 = <&uart0_bus>;
468− status = "disabled";
469468 };
Documentation/devicetree/bindings/clock/hi3660-clock.txt+0−1
@@ -38,5 +38,4 @@ Examples: · 37 unmodified lines
3838 clocks = <&crg_ctrl HI3660_CLK_MUX_UART0>,
3939 <&crg_ctrl HI3660_PCLK>;
4040 clock-names = "uartclk", "apb_pclk";
41− status = "disabled";
4241 };
Documentation/devicetree/bindings/clock/hix5hd2-clock.txt+0−1
@@ -27,5 +27,4 @@ Examples: · 26 unmodified lines
2727 interrupts = <0 49 4>;
2828 clocks = <&clock HIX5HD2_FIXED_83M>;
2929 clock-names = "apb_pclk";
30− status = "disabled";
3130 };
Documentation/devicetree/bindings/clock/imx21-clock.txt+0−1
@@ -24,5 +24,4 @@ Examples: · 23 unmodified lines
2424 clocks = <&clks IMX21_CLK_UART1_IPG_GATE>,
2525 <&clks IMX21_CLK_PER1>;
2626 clock-names = "ipg", "per";
27− status = "disabled";
2827 };
Documentation/devicetree/bindings/clock/imx23-clock.txt+0−1
@@ -67,5 +67,4 @@ auart0: serial@8006c000 { · 66 unmodified lines
6767 reg = <0x8006c000 0x2000>;
6868 interrupts = <24 25 23>;
6969 clocks = <&clks 32>;
70− status = "disabled";
7170 };
Documentation/devicetree/bindings/clock/imx25-clock.txt+0−1
@@ -157,5 +157,4 @@ uart1: serial@43f90000 { · 156 unmodified lines
157157 interrupts = <45>;
158158 clocks = <&clks 79>, <&clks 50>;
159159 clock-names = "ipg", "per";
160− status = "disabled";
161160 };
Documentation/devicetree/bindings/clock/imx27-clock.txt+0−1
@@ -24,5 +24,4 @@ Examples: · 23 unmodified lines
2424 clocks = <&clks IMX27_CLK_UART1_IPG_GATE>,
2525 <&clks IMX27_CLK_PER1_GATE>;
2626 clock-names = "ipg", "per";
27− status = "disabled";
2827 };
Documentation/devicetree/bindings/clock/imx28-clock.txt+0−1
@@ -90,5 +90,4 @@ auart0: serial@8006a000 { · 89 unmodified lines
9090 reg = <0x8006a000 0x2000>;
9191 interrupts = <112 70 71>;
9292 clocks = <&clks 45>;
93− status = "disabled";
9493 };
Documentation/devicetree/bindings/clock/imx31-clock.txt+0−1
@@ -87,5 +87,4 @@ uart1: serial@43f90000 { · 86 unmodified lines
8787 interrupts = <45>;
8888 clocks = <&clks 10>, <&clks 30>;
8989 clock-names = "ipg", "per";
90− status = "disabled";
9190 };
Documentation/devicetree/bindings/clock/imx5-clock.txt+0−1
@@ -25,5 +25,4 @@ can1: can@53fc8000 { · 24 unmodified lines
2525 interrupts = <82>;
2626 clocks = <&clks IMX5_CLK_CAN1_IPG_GATE>, <&clks IMX5_CLK_CAN1_SERIAL_GATE>;
2727 clock-names = "ipg", "per";
28− status = "disabled";
2928 };
Documentation/devicetree/bindings/clock/imx6q-clock.txt+0−1
@@ -27,5 +27,4 @@ uart1: serial@02020000 { · 26 unmodified lines
2727 interrupts = <0 26 0x04>;
2828 clocks = <&clks IMX6QDL_CLK_UART_IPG>, <&clks IMX6QDL_CLK_UART_SERIAL>;
2929 clock-names = "ipg", "per";
30− status = "disabled";
3130 };
Documentation/devicetree/bindings/clock/nvidia,tegra124-dfll.txt+0−1
@@ -66,7 +66,6 @@ clock@70110000 { · 65 unmodified lines
6666 #clock-cells = <0>;
6767 clock-output-names = "dfllCPU_out";
6868 vdd-cpu-supply = <&vdd_cpu>;
69− status = "okay";
7069
7170 nvidia,sample-rate = <12500>;
7271 nvidia,droop-ctrl = <0x00000f00>;
Documentation/devicetree/bindings/clock/pxa-clock.txt+0−1
@@ -12,5 +12,4 @@ Examples: · 11 unmodified lines
1212 pxa2xx_clks: pxa2xx_clks@41300004 {
1313 compatible = "marvell,pxa-clocks";
1414 #clock-cells = <1>;
15− status = "okay";
1615 };
Documentation/devicetree/bindings/clock/renesas,cpg-mssr.txt+0−1
@@ -81,5 +81,4 @@ Examples · 80 unmodified lines
8181 dma-names = "tx", "rx";
8282 power-domains = <&cpg>;
8383 resets = <&cpg 310>;
84− status = "disabled";
8584 };
Documentation/devicetree/bindings/clock/renesas,r8a7778-cpg-clocks.txt+0−1
@@ -44,5 +44,4 @@ Examples · 43 unmodified lines
4444 interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>;
4545 clocks = <&mstp3_clks R8A7778_CLK_SDHI0>;
4646 power-domains = <&cpg_clocks>;
47− status = "disabled";
4847 };
Documentation/devicetree/bindings/clock/renesas,rz-cpg-clocks.txt+0−1
@@ -50,5 +50,4 @@ Examples · 49 unmodified lines
5050 clocks = <&mstp3_clks R7S72100_CLK_MTU2>;
5151 clock-names = "fck";
5252 power-domains = <&cpg_clocks>;
53− status = "disabled";
5453 };
Documentation/devicetree/bindings/clock/samsung,s3c2410-clock.txt+0−1
@@ -46,5 +46,4 @@ Example: UART controller node that consumes the clock generated by the clock · 45 unmodified lines
4646 interrupts = <1 23 3 4>, <1 23 4 4>;
4747 clock-names = "uart", "clk_uart_baud2";
4848 clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>;
49− status = "disabled";
5049 };
Documentation/devicetree/bindings/clock/samsung,s3c2412-clock.txt+0−1
@@ -46,5 +46,4 @@ Example: UART controller node that consumes the clock generated by the clock · 45 unmodified lines
4646 clock-names = "uart", "clk_uart_baud2", "clk_uart_baud3";
4747 clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>,
4848 <&clocks SCLK_UART>;
49− status = "disabled";
5049 };
Documentation/devicetree/bindings/clock/samsung,s3c2443-clock.txt+0−1
@@ -52,5 +52,4 @@ Example: UART controller node that consumes the clock generated by the clock · 51 unmodified lines
5252 "clk_uart_baud3";
5353 clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>,
5454 <&clocks SCLK_UART>;
55− status = "disabled";
5655 };
Documentation/devicetree/bindings/clock/samsung,s3c64xx-clock.txt+0−1
@@ -73,5 +73,4 @@ Example: UART controller node that consumes the clock generated by the clock · 72 unmodified lines
7373 "clk_uart_baud3";
7474 clocks = <&clock PCLK_UART0>, <&clocks PCLK_UART0>,
7575 <&clock SCLK_UART>;
76− status = "disabled";
7776 };
Documentation/devicetree/bindings/clock/samsung,s5pv210-clock.txt+0−1
@@ -74,5 +74,4 @@ Example: UART controller node that consumes the clock generated by the clock · 73 unmodified lines
7474 "clk_uart_baud1";
7575 clocks = <&clocks UART0>, <&clocks UART0>,
7676 <&clocks SCLK_UART0>;
77− status = "disabled";
7877 };
Documentation/devicetree/bindings/clock/silabs,si5351.txt+5−1
@@ -12,7 +12,11 @@ generators can be found in [1]. · 11 unmodified lines
1212 ==I2C device node==
1313
1414 Required properties:
15−- compatible: shall be one of "silabs,si5351{a,a-msop,b,c}".
15+- compatible: shall be one of the following:
16+ "silabs,si5351a" - Si5351a, QFN20 package
17+ "silabs,si5351a-msop" - Si5351a, MSOP10 package
18+ "silabs,si5351b" - Si5351b, QFN20 package
19+ "silabs,si5351c" - Si5351c, QFN20 package
1620 - reg: i2c device address, shall be 0x60 or 0x61.
1721 - #clock-cells: from common clock binding; shall be set to 1.
1822 - clocks: from common clock binding; list of parent clock
Documentation/devicetree/bindings/clock/ti,sci-clk.txt+3−4
@@ -14,10 +14,9 @@ Required properties: · 13 unmodified lines
1414 - compatible: Must be "ti,k2g-sci-clk"
1515 - #clock-cells: Shall be 2.
1616 In clock consumers, this cell represents the device ID and clock ID
17− exposed by the PM firmware. The assignments can be found in the header
18− files <dt-bindings/genpd/<soc>.h> (which covers the device IDs) and
19− <dt-bindings/clock/<soc>.h> (which covers the clock IDs), where <soc>
20− is the SoC involved, for example 'k2g'.
17+ exposed by the PM firmware. The list of valid values for the device IDs
18+ and clocks IDs for 66AK2G SoC are documented at
19+ http://processors.wiki.ti.com/index.php/TISCI#66AK2G02_Data
2120
2221 Examples:
2322 --------
Documentation/devicetree/bindings/clock/ti/dra7-atl.txt+0−2
@@ -81,13 +81,11 @@ atl: atl@4843c000 { · 80 unmodified lines
8181 <&atl_clkin2_ck>, <&atl_clkin3_ck>;
8282 clocks = <&atl_gfclk_mux>;
8383 clock-names = "fck";
84− status = "disabled";
8584 };
8685
8786 #include <dt-bindings/clk/ti-dra7-atl.h>
8887
8988 &atl {
90− status = "okay";
9189
9290 atl2 {
9391 bws = <DRA7_ATL_WS_MCASP2_FSX>;
Documentation/devicetree/bindings/clock/zx296702-clk.txt+0−1
@@ -31,5 +31,4 @@ uart0: serial@0x09405000 { · 30 unmodified lines
3131 reg = <0x09405000 0x1000>;
3232 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
3333 clocks = <&lsp1clk ZX296702_UART0_PCLK>;
34− status = "disabled";
3534 };
Documentation/devicetree/bindings/clock/zx296718-clk.txt+0−1
@@ -34,5 +34,4 @@ usbphy0:usb-phy0 { · 33 unmodified lines
3434 #phy-cells = <0>;
3535 clocks = <&topclk USB20_PHY_CLK>;
3636 clock-names = "phyclk";
37− status = "okay";
3837 };
Documentation/devicetree/bindings/crypto/fsl-dcp.txt+0−1
@@ -13,5 +13,4 @@ dcp@80028000 { · 12 unmodified lines
1313 compatible = "fsl,imx28-dcp", "fsl,imx23-dcp";
1414 reg = <0x80028000 0x2000>;
1515 interrupts = <52 53>;
16− status = "okay";
1716 };
Documentation/devicetree/bindings/crypto/inside-secure-safexcel.txt+0−1
@@ -23,5 +23,4 @@ Example: · 22 unmodified lines
2323 interrupt-names = "mem", "ring0", "ring1", "ring2", "ring3",
2424 "eip";
2525 clocks = <&cpm_syscon0 1 26>;
26− status = "disabled";
2726 };
Documentation/devicetree/bindings/crypto/marvell-cesa.txt+0−1
@@ -41,5 +41,4 @@ Examples: · 40 unmodified lines
4141 clock-names = "cesa0", "cesa1";
4242 marvell,crypto-srams = <&crypto_sram0>, <&crypto_sram1>;
4343 marvell,crypto-sram-size = <0x600>;
44− status = "okay";
4544 };
Documentation/devicetree/bindings/crypto/mv_cesa.txt+0−1
@@ -29,5 +29,4 @@ Examples: · 28 unmodified lines
2929 interrupts = <22>;
3030 marvell,crypto-srams = <&crypto_sram>;
3131 marvell,crypto-sram-size = <0x600>;
32− status = "okay";
3332 };
Documentation/devicetree/bindings/crypto/rockchip-crypto.txt+0−1
@@ -25,5 +25,4 @@ Examples: · 24 unmodified lines
2525 clock-names = "aclk", "hclk", "sclk", "apb_pclk";
2626 resets = <&cru SRST_CRYPTO>;
2727 reset-names = "crypto-rst";
28− status = "okay";
2928 };
Documentation/devicetree/bindings/devfreq/event/rockchip-dfi.txt+0−1
@@ -15,5 +15,4 @@ Example: · 14 unmodified lines
1515 rockchip,pmu = <&pmugrf>;
1616 clocks = <&cru PCLK_DDR_MON>;
1717 clock-names = "pclk_ddr_mon";
18− status = "disabled";
1918 };
Documentation/devicetree/bindings/devfreq/rk3399_dmc.txt+0−1
@@ -205,5 +205,4 @@ Example: · 204 unmodified lines
205205 rockchip,phy_lpddr4_ck_cs_drv = <PHY_DRV_ODT_80>;
206206 rockchip,phy_lpddr4_dq_drv = <PHY_DRV_ODT_80>;
207207 rockchip,phy_lpddr4_odt = <PHY_DRV_ODT_60>;
208− status = "disabled";
209208 };
Documentation/devicetree/bindings/display/atmel,lcdc.txt+0−1
@@ -34,7 +34,6 @@ Example: · 33 unmodified lines
3434 pinctrl-names = "default";
3535 pinctrl-0 = <&pinctrl_fb>;
3636 display = <&display0>;
37− status = "okay";
3837 #address-cells = <1>;
3938 #size-cells = <1>;
4039
Documentation/devicetree/bindings/display/atmel/hlcdc-dc.txt+0−1
@@ -23,7 +23,6 @@ Example: · 22 unmodified lines
2323 interrupts = <36 IRQ_TYPE_LEVEL_HIGH 0>;
2424 clocks = <&lcdc_clk>, <&lcdck>, <&clk32k>;
2525 clock-names = "periph_clk","sys_clk", "slow_clk";
26− status = "disabled";
2726
2827 hlcdc-display-controller {
2928 compatible = "atmel,hlcdc-display-controller";
Documentation/devicetree/bindings/display/bridge/megachips-stdpxxxx-ge-b850v3-fw.txt+0−1
@@ -33,7 +33,6 @@ stdp2690-ge-b850v3-fw required properties: · 32 unmodified lines
3333 Example:
3434
3535 &mux2_i2c2 {
36− status = "okay";
3736 clock-frequency = <100000>;
3837
3938 stdp4028@73 {
Documentation/devicetree/bindings/display/bridge/renesas,dw-hdmi.txt+0−1
@@ -43,7 +43,6 @@ Example: · 42 unmodified lines
4343 clocks = <&cpg CPG_CORE R8A7795_CLK_S0D4>, <&cpg CPG_MOD 729>;
4444 clock-names = "iahb", "isfr";
4545 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
46− status = "disabled";
4746
4847 ports {
4948 #address-cells = <1>;
Documentation/devicetree/bindings/display/fsl,tcon.txt+0−1
@@ -14,5 +14,4 @@ timing-controller@4003d000 { · 13 unmodified lines
1414 reg = <0x4003d000 0x1000>;
1515 clocks = <&clks VF610_CLK_TCON0>;
1616 clock-names = "ipg";
17− status = "okay";
1817 };
Documentation/devicetree/bindings/display/imx/fsl-imx-drm.txt+1−1
@@ -116,7 +116,7 @@ Parallel display support · 115 unmodified lines
116116 Required properties:
117117 - compatible: Should be "fsl,imx-parallel-display"
118118 Optional properties:
119−- interface_pix_fmt: How this display is connected to the
119+- interface-pix-fmt: How this display is connected to the
120120 display interface. Currently supported types: "rgb24", "rgb565", "bgr666"
121121 and "lvds666".
122122 - edid: verbatim EDID data block describing attached display.
Documentation/devicetree/bindings/display/marvell,pxa2xx-lcdc.txt+0−1
@@ -23,7 +23,6 @@ Example: · 22 unmodified lines
2323 reg = <0x44000000 0x10000>;
2424 interrupts = <17>;
2525 clocks = <&clks CLK_LCD>;
26− status = "okay";
2726
2827 port {
2928 lcdc_out: endpoint {
Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt+0−1
@@ -18,6 +18,5 @@ Example: · 17 unmodified lines
1818 power-supply = <...>;
1919 backlight = <&backlight>;
2020 enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
21− status = "okay";
2221 };
2322 };
Documentation/devicetree/bindings/display/rockchip/analogix_dp-rockchip.txt+0−1
@@ -59,7 +59,6 @@ Example: · 58 unmodified lines
5959 pinctrl-names = "default";
6060 pinctrl-0 = <&edp_hpd>;
6161
62− status = "disabled";
6362
6463 ports {
6564 #address-cells = <1>;
Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt+0−1
@@ -46,7 +46,6 @@ hdmi: hdmi@ff980000 { · 45 unmodified lines
4646 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
4747 clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_HDCP>;
4848 clock-names = "iahb", "isfr";
49− status = "disabled";
5049 ports {
5150 hdmi_in: port {
5251 #address-cells = <1>;
Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt+0−2
@@ -36,7 +36,6 @@ Example: · 35 unmodified lines
3636 resets = <&cru SRST_MIPIDSI0>;
3737 reset-names = "apb";
3838 rockchip,grf = <&grf>;
39− status = "okay";
4039
4140 ports {
4241 #address-cells = <1>;
@@ -65,6 +64,5 @@ Example: · 22 unmodified lines
6564 pinctrl-names = "default";
6665 pinctrl-0 = <&lcd_en>;
6766 backlight = <&backlight>;
68− status = "okay";
6967 };
7068 };
Documentation/devicetree/bindings/display/rockchip/inno_hdmi-rockchip.txt+0−1
@@ -25,7 +25,6 @@ hdmi: hdmi@20034000 { · 24 unmodified lines
2525 clock-names = "pclk";
2626 pinctrl-names = "default";
2727 pinctrl-0 = <&hdmi_ctl>;
28− status = "disabled";
2928
3029 hdmi_in: port {
3130 #address-cells = <1>;
Documentation/devicetree/bindings/display/simple-framebuffer-sunxi.txt+0−1
@@ -28,6 +28,5 @@ chosen { · 27 unmodified lines
2828 allwinner,pipeline = "de_be0-lcd0-hdmi";
2929 clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
3030 <&ahb_gates 44>;
31− status = "disabled";
3231 };
3332 };
Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt+0−1
@@ -278,7 +278,6 @@ hdmi: hdmi@01c16000 { · 277 unmodified lines
278278 <&dma SUN4I_DMA_NORMAL 16>,
279279 <&dma SUN4I_DMA_DEDICATED 24>;
280280 dma-names = "ddc-tx", "ddc-rx", "audio-tx";
281− status = "disabled";
282281
283282 ports {
284283 #address-cells = <1>;
Documentation/devicetree/bindings/dma/fsl-edma.txt+0−1
@@ -72,5 +72,4 @@ sai2: sai@40031000 { · 71 unmodified lines
7272 dma-names = "tx", "rx";
7373 dmas = <&edma0 0 21>,
7474 <&edma0 0 20>;
75− status = "disabled";
7675 };
Documentation/devicetree/bindings/dma/mv-xor.txt+0−1
@@ -30,7 +30,6 @@ xor@d0060900 { · 29 unmodified lines
3030 reg = <0xd0060900 0x100
3131 0xd0060b00 0x100>;
3232 clocks = <&coreclk 0>;
33− status = "okay";
3433
3534 xor00 {
3635 interrupts = <51>;
Documentation/devicetree/bindings/dma/qcom_adm.txt+0−1
@@ -48,7 +48,6 @@ Each dmas request consists of 3 cells: · 47 unmodified lines
4848 Example:
4949
5050 spi4: spi@1a280000 {
51− status = "ok";
5251 spi-max-frequency = <50000000>;
5352
5453 pinctrl-0 = <&spi_pins>;
Documentation/devicetree/bindings/dma/snps-dma.txt+0−1
@@ -63,7 +63,6 @@ Example: · 62 unmodified lines
6363 compatible = "arm,pl011", "arm,primecell";
6464 reg = <0xe0000000 0x1000>;
6565 interrupts = <0 35 0x4>;
66− status = "disabled";
6766 dmas = <&dmahost 12 0 1>,
6867 <&dmahost 13 0 1 0>;
6968 dma-names = "rx", "rx";
Documentation/devicetree/bindings/dma/st_fdma.txt+0−1
@@ -69,7 +69,6 @@ Example: · 68 unmodified lines
6969
7070 sti_uni_player2: sti-uni-player@2 {
7171 compatible = "st,sti-uni-player";
72− status = "disabled";
7372 #sound-dai-cells = <0>;
7473 st,syscfg = <&syscfg_core>;
7574 clocks = <&clk_s_d0_flexgen CLK_PCM_2>;
Documentation/devicetree/bindings/dma/ste-dma40.txt+0−1
@@ -135,5 +135,4 @@ Example: · 134 unmodified lines
135135 <&dma 13 0 0x0>; /* Logical - MemToDev */
136136 dma-names = "rx", "rx";
137137
138− status = "disabled";
139138 };
Documentation/devicetree/bindings/dma/sun4i-dma.txt+0−1
@@ -40,7 +40,6 @@ Example: · 39 unmodified lines
4040 clock-names = "ahb", "mod";
4141 dmas = <&dma 1 29>, <&dma 1 28>;
4242 dma-names = "rx", "tx";
43− status = "disabled";
4443 #address-cells = <1>;
4544 #size-cells = <0>;
4645 };
Documentation/devicetree/bindings/dma/ti-dma-crossbar.txt+0−1
@@ -62,7 +62,6 @@ uart1: serial@4806a000 { · 61 unmodified lines
6262 interrupts-extended = <&gic GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
6363 ti,hwmods = "uart1";
6464 clock-frequency = <48000000>;
65− status = "disabled";
6665 /* Requesting crossbar input 49 and 50 */
6766 dmas = <&sdma_xbar 49>, <&sdma_xbar 50>;
6867 dma-names = "tx", "rx";
Documentation/devicetree/bindings/dma/ti-edma.txt+0−1
@@ -102,7 +102,6 @@ mcasp0: mcasp@48038000 { · 101 unmodified lines
102102 reg-names = "mpu", "dat";
103103 interrupts = <80>, <81>;
104104 interrupt-names = "tx", "rx";
105− status = "disabled";
106105 /* DMA channels 8 and 9 executed on eDMA TC2 - high priority queue */
107106 dmas = <&edma 8 2>,
108107 <&edma 9 2>;
Documentation/devicetree/bindings/fpga/xilinx-slave-serial.txt+0−1
@@ -31,7 +31,6 @@ Example for full FPGA configuration: · 30 unmodified lines
3131 cell-index = <1>;
3232 interrupts = <92>;
3333 clocks = <&coreclk 0>;
34− status = "okay";
3534
3635 fpga_mgr_spi: fpga-mgr@0 {
3736 compatible = "xlnx,fpga-slave-serial";
Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt+0−1
@@ -23,7 +23,6 @@ gpio0: gpio@1100 { · 22 unmodified lines
2323 #gpio-cells = <2>;
2424 reg = <0x1100 0x080>;
2525 interrupts = <78 0x8>;
26− status = "okay";
2726 };
2827
2928 Example of gpio-controller node for a ls2080a SoC:
Documentation/devicetree/bindings/gpio/spear_spics.txt+0−1
@@ -42,7 +42,6 @@ spics: spics@e0700000{ · 41 unmodified lines
4242
4343
4444 spi0: spi@e0100000 {
45− status = "okay";
4645 num-cs = <3>;
4746 cs-gpios = <&gpio1 7 0>, <&spics 0>,
4847 <&spics 1>;
Documentation/devicetree/bindings/gpu/arm,mali-utgard.txt+5−0
@@ -10,6 +10,7 @@ Required properties: · 9 unmodified lines
1010 * And, optionally, one of the vendor specific compatible:
1111 + allwinner,sun4i-a10-mali
1212 + allwinner,sun7i-a20-mali
13+ + allwinner,sun50i-h5-mali
1314 + amlogic,meson-gxbb-mali
1415 + amlogic,meson-gxl-mali
1516 + stericsson,db8500-mali
@@ -58,6 +59,10 @@ to specify one more vendor-specific compatible, among: · 42 unmodified lines
5859 Required properties:
5960 * resets: phandle to the reset line for the GPU
6061
62+ - allwinner,sun50i-h5-mali
63+ Required properties:
64+ * resets: phandle to the reset line for the GPU
65+
6166 - stericsson,db8500-mali
6267 Required properties:
6368 * interrupt-names and interrupts:
Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt+0−3
@@ -51,7 +51,6 @@ Example for GK20A: · 50 unmodified lines
5151 resets = <&tegra_car 184>;
5252 reset-names = "gpu";
5353 iommus = <&mc TEGRA_SWGROUP_GPU>;
54− status = "disabled";
5554 };
5655
5756 Example for GM20B:
@@ -70,7 +69,6 @@ Example for GM20B: · 12 unmodified lines
7069 resets = <&tegra_car 184>;
7170 reset-names = "gpu";
7271 iommus = <&mc TEGRA_SWGROUP_GPU>;
73− status = "disabled";
7472 };
7573
7674 Example for GP10B:
@@ -89,5 +87,4 @@ Example for GP10B: · 12 unmodified lines
8987 reset-names = "gpu";
9088 power-domains = <&bpmp TEGRA186_POWER_DOMAIN_GPU>;
9189 iommus = <&smmu TEGRA186_SID_GPU>;
92− status = "disabled";
9390 };
Documentation/devicetree/bindings/gpu/samsung-g2d.txt+0−1
@@ -24,5 +24,4 @@ Example: · 23 unmodified lines
2424 interrupts = <0 89 0>;
2525 clocks = <&clock 177>, <&clock 277>;
2626 clock-names = "sclk_fimg2d", "fimg2d";
27− status = "disabled";
2827 };
Documentation/devicetree/bindings/hsi/omap-ssi.txt+0−1
@@ -92,6 +92,5 @@ ssi-controller@48058000 { · 91 unmodified lines
9292 interrupts = <69>,
9393 <70>;
9494
95− status = "disabled"; /* second port is not used on N900 */
9695 }
9796 }
Documentation/devicetree/bindings/i2c/i2c-demux-pinctrl.txt+0−1
@@ -102,7 +102,6 @@ And for clarification, here are the snipplets for the i2c-parents: · 101 unmodified lines
102102 #address-cells = <1>;
103103 #size-cells = <0>;
104104 compatible = "i2c-gpio";
105− status = "disabled";
106105 gpios = <&gpio5 6 GPIO_ACTIVE_HIGH /* sda */
107106 &gpio5 5 GPIO_ACTIVE_HIGH /* scl */
108107 >;
Documentation/devicetree/bindings/i2c/i2c-efm32.txt+0−1
@@ -22,7 +22,6 @@ Example: · 21 unmodified lines
2222 interrupts = <9>;
2323 clocks = <&cmu clk_HFPERCLKI2C0>;
2424 clock-frequency = <100000>;
25− status = "ok";
2625 energymicro,location = <3>;
2726
2827 eeprom@50 {
Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt+0−1
@@ -71,5 +71,4 @@ Example: · 70 unmodified lines
7171 reset-names = "i2c";
7272 dmas = <&apbdma 16>, <&apbdma 16>;
7373 dma-names = "rx", "tx";
74− status = "disabled";
7574 };
Documentation/devicetree/bindings/iio/adc/brcm,iproc-static-adc.txt+0−1
@@ -37,5 +37,4 @@ For example: · 36 unmodified lines
3737 clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;
3838 clock-names = "tsc_clk";
3939 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
40− status = "disabled";
4140 };
Documentation/devicetree/bindings/iio/adc/lpc1850-adc.txt+0−1
@@ -17,5 +17,4 @@ adc0: adc@400e3000 { · 16 unmodified lines
1717 clocks = <&ccu1 CLK_APB3_ADC0>;
1818 vref-supply = <&reg_vdda>;
1919 resets = <&rgu 40>;
20− status = "disabled";
2120 };
Documentation/devicetree/bindings/iio/dac/lpc1850-dac.txt+0−1
@@ -16,5 +16,4 @@ dac: dac@400e1000 { · 15 unmodified lines
1616 clocks = <&ccu1 CLK_APB3_DAC>;
1717 vref-supply = <&reg_vdda>;
1818 resets = <&rgu 42>;
19− status = "disabled";
2019 };
Documentation/devicetree/bindings/input/brcm,bcm-keypad.txt+0−1
@@ -72,7 +72,6 @@ Example: · 71 unmodified lines
7272 /* Required Board specific properties */
7373 keypad,num-rows = <5>;
7474 keypad,num-columns = <5>;
75− status = "okay";
7675
7776 linux,keymap = <MATRIX_KEY(0x00, 0x02, KEY_F) /* key_forward */
7877 MATRIX_KEY(0x00, 0x03, KEY_HOME) /* key_home */
Documentation/devicetree/bindings/input/ti,drv260x.txt+1−1
@@ -43,7 +43,7 @@ haptics: haptics@5a { · 42 unmodified lines
4343 mode = <DRV260X_LRA_MODE>;
4444 library-sel = <DRV260X_LIB_LRA>;
4545 vib-rated-mv = <3200>;
46− vib-overdriver-mv = <3200>;
46+ vib-overdrive-mv = <3200>;
4747 }
4848
4949 For more product information please see the link below:
Documentation/devicetree/bindings/input/touchscreen/colibri-vf50-ts.txt+0−1
@@ -32,5 +32,4 @@ Example: · 31 unmodified lines
3232 pinctrl-1 = <&pinctrl_touchctrl_default>;
3333 pinctrl-2 = <&pinctrl_touchctrl_gpios>;
3434 vf50-ts-min-pressure = <200>;
35− status = "disabled";
3635 };
Documentation/devicetree/bindings/input/touchscreen/imx6ul_tsc.txt+0−1
@@ -35,5 +35,4 @@ Example: · 34 unmodified lines
3535 measure-delay-time = <0xfff>;
3636 pre-charge-time = <0xffff>;
3737 touchscreen-average-samples = <32>;
38− status = "okay";
3938 };
Documentation/devicetree/bindings/media/pxa-camera.txt+0−1
@@ -24,7 +24,6 @@ Example: · 23 unmodified lines
2424 clock-frequency = <50000000>;
2525 clock-output-names = "qci_mclk";
2626
27− status = "okay";
2827
2928 port {
3029 #address-cells = <1>;
Documentation/devicetree/bindings/media/s5p-cec.txt+0−1
@@ -33,5 +33,4 @@ hdmicec: cec@100B0000 { · 32 unmodified lines
3333 hdmi-phandle = <&hdmi>;
3434 pinctrl-names = "default";
3535 pinctrl-0 = <&hdmi_cec>;
36− status = "okay";
3736 };
Documentation/devicetree/bindings/media/samsung-fimc.txt+0−2
@@ -166,7 +166,6 @@ Example: · 165 unmodified lines
166166 clock-output-names = "cam_a_clkout", "cam_b_clkout";
167167 pinctrl-names = "default";
168168 pinctrl-0 = <&cam_port_a_clk_active>;
169− status = "okay";
170169 #address-cells = <1>;
171170 #size-cells = <1>;
172171
@@ -189,7 +188,6 @@ Example: · 16 unmodified lines
189188 compatible = "samsung,exynos4210-fimc";
190189 reg = <0x11800000 0x1000>;
191190 interrupts = <0 85 0>;
192− status = "okay";
193191 };
194192
195193 csis_0: csis@11880000 {
Documentation/devicetree/bindings/media/stih407-c8sectpfe.txt+0−1
@@ -52,7 +52,6 @@ Example: · 51 unmodified lines
5252
5353 c8sectpfe@08a20000 {
5454 compatible = "st,stih407-c8sectpfe";
55− status = "okay";
5655 reg = <0x08a20000 0x10000>, <0x08a00000 0x4000>;
5756 reg-names = "stfe", "stfe-ram";
5857 interrupts = <GIC_SPI 34 IRQ_TYPE_NONE>, <GIC_SPI 35 IRQ_TYPE_NONE>;
Documentation/devicetree/bindings/media/ti,da850-vpif.txt+0−1
@@ -59,7 +59,6 @@ I2C-connected TVP5147 decoder: · 58 unmodified lines
5959 tvp5147@5d {
6060 compatible = "ti,tvp5147";
6161 reg = <0x5d>;
62− status = "okay";
6362
6463 port {
6564 composite_in: endpoint {
Documentation/devicetree/bindings/memory-controllers/mvebu-devbus.txt+0−1
@@ -130,7 +130,6 @@ The reg property implicitly specifies the chip select as this: · 129 unmodified lines
130130 Example:
131131
132132 devbus-bootcs@d0010400 {
133− status = "okay";
134133 ranges = <0 0xf0000000 0x1000000>; /* @addr 0xf0000000, size 0x1000000 */
135134 #address-cells = <1>;
136135 #size-cells = <1>;
Documentation/devicetree/bindings/mfd/act8945a.txt+0−2
@@ -12,7 +12,6 @@ Example: · 11 unmodified lines
1212 pmic@5b {
1313 compatible = "active-semi,act8945a";
1414 reg = <0x5b>;
15− status = "okay";
1615
1716 active-semi,vsel-high;
1817
@@ -79,6 +78,5 @@ Example: · 60 unmodified lines
7978 active-semi,input-voltage-threshold-microvolt = <6600>;
8079 active-semi,precondition-timeout = <40>;
8180 active-semi,total-timeout = <3>;
82− status = "okay";
8381 };
8482 };
Documentation/devicetree/bindings/mfd/atmel-hlcdc.txt+0−1
@@ -25,7 +25,6 @@ Example: · 24 unmodified lines
2525 clocks = <&lcdc_clk>, <&lcdck>, <&clk32k>;
2626 clock-names = "periph_clk","sys_clk", "slow_clk";
2727 interrupts = <36 IRQ_TYPE_LEVEL_HIGH 0>;
28− status = "disabled";
2928
3029 hlcdc-display-controller {
3130 compatible = "atmel,hlcdc-display-controller";
Documentation/devicetree/bindings/mfd/da9052-i2c.txt+0−1
@@ -37,7 +37,6 @@ Sub-nodes: · 36 unmodified lines
3737 Examples:
3838
3939 i2c@63fc8000 { /* I2C1 */
40− status = "okay";
4140
4241 pmic: dialog@48 {
4342 compatible = "dlg,da9053-aa";
Documentation/devicetree/bindings/mfd/mc13xxx.txt+0−1
@@ -116,7 +116,6 @@ ecspi@70010000 { /* ECSPI1 */ · 115 unmodified lines
116116 fsl,spi-num-chipselects = <2>;
117117 cs-gpios = <&gpio4 24 0>, /* GPIO4_24 */
118118 <&gpio4 25 0>; /* GPIO4_25 */
119− status = "okay";
120119
121120 pmic: mc13892@0 {
122121 #address-cells = <1>;
Documentation/devicetree/bindings/mfd/mxs-lradc.txt+0−2
@@ -26,7 +26,6 @@ Example for i.MX23 SoC: · 25 unmodified lines
2626 compatible = "fsl,imx23-lradc";
2727 reg = <0x80050000 0x2000>;
2828 interrupts = <36 37 38 39 40 41 42 43 44>;
29− status = "okay";
3029 fsl,lradc-touchscreen-wires = <4>;
3130 fsl,ave-ctrl = <4>;
3231 fsl,ave-delay = <2>;
@@ -39,7 +38,6 @@ Example for i.MX28 SoC: · 6 unmodified lines
3938 compatible = "fsl,imx28-lradc";
4039 reg = <0x80050000 0x2000>;
4140 interrupts = <10 14 15 16 17 18 19 20 21 22 23 24 25>;
42− status = "okay";
4341 fsl,lradc-touchscreen-wires = <5>;
4442 fsl,ave-ctrl = <4>;
4543 fsl,ave-delay = <2>;
Documentation/devicetree/bindings/mfd/samsung,exynos5433-lpass.txt+0−2
@@ -57,7 +57,6 @@ audio-subsystem { · 56 unmodified lines
5757 clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
5858 pinctrl-names = "default";
5959 pinctrl-0 = <&i2s0_bus>;
60− status = "disabled";
6160 };
6261
6362 serial_3: serial@11460000 {
@@ -69,6 +68,5 @@ audio-subsystem { · 5 unmodified lines
6968 clock-names = "uart", "clk_uart_baud0";
7069 pinctrl-names = "default";
7170 pinctrl-0 = <&uart_aud_bus>;
72− status = "disabled";
7371 };
7472 };
Documentation/devicetree/bindings/misc/atmel-ssc.txt+0−1
@@ -47,5 +47,4 @@ ssc0: ssc@f0010000 { · 46 unmodified lines
4747 dma-names = "tx", "rx";
4848 pinctrl-names = "default";
4949 pinctrl-0 = <&pinctrl_ssc0_tx &pinctrl_ssc0_rx>;
50− status = "disabled";
5150 };
Documentation/devicetree/bindings/mmc/arasan,sdhci.txt+0−1
@@ -74,5 +74,4 @@ Example: · 73 unmodified lines
7474 phys = <&emmc_phy>;
7575 phy-names = "phy_arasan";
7676 #clock-cells = <0>;
77− status = "disabled";
7877 };
Documentation/devicetree/bindings/mmc/davinci_mmc.txt+0−1
@@ -24,7 +24,6 @@ mmc0: mmc@1c40000 { · 23 unmodified lines
2424 compatible = "ti,da830-mmc",
2525 reg = <0x40000 0x1000>;
2626 interrupts = <16>;
27− status = "okay";
2827 bus-width = <4>;
2928 max-frequency = <50000000>;
3029 dmas = <&edma 16
Documentation/devicetree/bindings/mmc/fsl-imx-mmc.txt+0−1
@@ -20,5 +20,4 @@ sdhci1: sdhci@10014000 { · 19 unmodified lines
2020 dma-names = "rx-tx";
2121 bus-width = <4>;
2222 cd-gpios = <&gpio3 29>;
23− status = "okay";
2423 };
Documentation/devicetree/bindings/mmc/mmc-card.txt+0−1
@@ -21,7 +21,6 @@ Example: · 20 unmodified lines
2121 vmmc-supply = <&reg_vcc3v3>;
2222 bus-width = <8>;
2323 non-removable;
24− status = "okay";
2524
2625 mmccard: mmccard@0 {
2726 reg = <0>;
Documentation/devicetree/bindings/mmc/mmc.txt+0−1
@@ -153,7 +153,6 @@ mmc3: mmc@01c12000 { · 152 unmodified lines
153153 bus-width = <4>;
154154 non-removable;
155155 mmc-pwrseq = <&sdhci0_pwrseq>
156− status = "okay";
157156
158157 brcmf: bcrmf@1 {
159158 reg = <1>;
Documentation/devicetree/bindings/mmc/orion-sdio.txt+0−1
@@ -13,5 +13,4 @@ Example: · 12 unmodified lines
1313 reg = <0xd00d4000 0x200>;
1414 interrupts = <54>;
1515 clocks = <&gateclk 17>;
16− status = "disabled";
1716 };
Documentation/devicetree/bindings/mmc/sdhci-st.txt+0−3
@@ -63,7 +63,6 @@ Example: · 62 unmodified lines
6363
6464 mmc0: sdhci@fe81e000 {
6565 compatible = "st,sdhci";
66− status = "disabled";
6766 reg = <0xfe81e000 0x1000>;
6867 interrupts = <GIC_SPI 127 IRQ_TYPE_NONE>;
6968 interrupt-names = "mmcirq";
@@ -77,7 +76,6 @@ mmc0: sdhci@fe81e000 { · 7 unmodified lines
7776
7877 mmc1: sdhci@09080000 {
7978 compatible = "st,sdhci-stih407", "st,sdhci";
80− status = "disabled";
8179 reg = <0x09080000 0x7ff>;
8280 reg-names = "mmc";
8381 interrupts = <GIC_SPI 90 IRQ_TYPE_NONE>;
@@ -94,7 +92,6 @@ mmc1: sdhci@09080000 { · 10 unmodified lines
9492
9593 mmc0: sdhci@09060000 {
9694 compatible = "st,sdhci-stih407", "st,sdhci";
97− status = "disabled";
9895 reg = <0x09060000 0x7ff>, <0x9061008 0x20>;
9996 reg-names = "mmc", "top-mmc-delay";
10097 interrupts = <GIC_SPI 92 IRQ_TYPE_NONE>;
Documentation/devicetree/bindings/mmc/zx-dw-mshc.txt+0−1
@@ -28,5 +28,4 @@ Example: · 27 unmodified lines
2828 max-frequency = <50000000>;
2929 cap-sdio-irq;
3030 cap-sd-highspeed;
31− status = "disabled";
3231 };
Documentation/devicetree/bindings/mtd/atmel-quadspi.txt+0−1
@@ -24,7 +24,6 @@ spi@f0020000 { · 23 unmodified lines
2424 #size-cells = <0>;
2525 pinctrl-names = "default";
2626 pinctrl-0 = <&pinctrl_spi0_default>;
27− status = "okay";
2827
2928 m25p80@0 {
3029 ...
Documentation/devicetree/bindings/mtd/mtk-quadspi.txt+0−1
@@ -37,7 +37,6 @@ nor_flash: spi@1100d000 { · 36 unmodified lines
3737 clock-names = "spi", "sf";
3838 #address-cells = <1>;
3939 #size-cells = <0>;
40− status = "disabled";
4140
4241 flash@0 {
4342 compatible = "jedec,spi-nor";
Documentation/devicetree/bindings/mtd/st-fsm.txt+0−1
@@ -21,6 +21,5 @@ Example: · 20 unmodified lines
2121 st,syscfg = <&syscfg_rear>;
2222 st,boot-device-reg = <0x958>;
2323 st,boot-device-spi = <0x1a>;
24− status = "okay";
2524 };
2625
Documentation/devicetree/bindings/mtd/sunxi-nand.txt+0−1
@@ -41,7 +41,6 @@ nfc: nand@01c03000 { · 40 unmodified lines
4141 #size-cells = <0>;
4242 pinctrl-names = "default";
4343 pinctrl-0 = <&nand_pins_a &nand_cs0_pins_a &nand_rb0_pins_a>;
44− status = "okay";
4544
4645 nand@0 {
4746 reg = <0>;
Documentation/devicetree/bindings/net/brcm,amac.txt+0−1
@@ -27,5 +27,4 @@ amac0: ethernet@18022000 { · 26 unmodified lines
2727 <0x18110000 0x1000>;
2828 reg-names = "amac_base", "idm_base";
2929 interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
30− status = "disabled";
3130 };
Documentation/devicetree/bindings/net/btusb.txt+0−1
@@ -29,7 +29,6 @@ Example: · 28 unmodified lines
2929 Following example uses irq pin number 3 of gpio0 for out of band wake-on-bt:
3030
3131 &usb_host1_ehci {
32− status = "okay";
3332 #address-cells = <1>;
3433 #size-cells = <0>;
3534
Documentation/devicetree/bindings/net/can/m_can.txt+0−1
@@ -56,7 +56,6 @@ m_can1: can@020e8000 { · 55 unmodified lines
5656 <&clks IMX6SX_CLK_CANFD>;
5757 clock-names = "hclk", "cclk";
5858 bosch,mram-cfg = <0x0 0 0 32 0 0 0 1>;
59− status = "disabled";
6059 };
6160
6261 Board dts:
Documentation/devicetree/bindings/net/dsa/ksz.txt+0−2
@@ -24,7 +24,6 @@ Ethernet switch connected via SPI to the host, CPU port wired to eth0: · 23 unmodified lines
2424 pinctrl-0 = <&pinctrl_spi_ksz>;
2525 cs-gpios = <&pioC 25 0>;
2626 id = <1>;
27− status = "okay";
2827
2928 ksz9477: ksz9477@0 {
3029 compatible = "microchip,ksz9477";
@@ -34,7 +33,6 @@ Ethernet switch connected via SPI to the host, CPU port wired to eth0: · 3 unmodified lines
3433 spi-cpha;
3534 spi-cpol;
3635
37− status = "okay";
3836 ports {
3937 #address-cells = <1>;
4038 #size-cells = <0>;
Documentation/devicetree/bindings/net/dsa/lan9303.txt+0−3
@@ -27,7 +27,6 @@ Example: · 26 unmodified lines
2727 I2C managed mode:
2828
2929 master: masterdevice@X {
30− status = "okay";
3130
3231 fixed-link { /* RMII fixed link to LAN9303 */
3332 speed = <100>;
@@ -38,7 +37,6 @@ I2C managed mode: · 4 unmodified lines
3837 switch: switch@a {
3938 compatible = "smsc,lan9303-i2c";
4039 reg = <0xa>;
41− status = "okay";
4240 reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
4341 reset-duration = <200>;
4442
@@ -67,7 +65,6 @@ I2C managed mode: · 22 unmodified lines
6765 MDIO managed mode:
6866
6967 master: masterdevice@X {
70− status = "okay";
7168 phy-handle = <&switch>;
7269
7370 mdio {
Documentation/devicetree/bindings/net/ftgmac100.txt+0−1
@@ -30,6 +30,5 @@ Example: · 29 unmodified lines
3030 compatible = "aspeed,ast2500-mac", "faraday,ftgmac100";
3131 reg = <0x1e660000 0x180>;
3232 interrupts = <2>;
33− status = "okay";
3433 use-ncsi;
3534 };
Documentation/devicetree/bindings/net/marvell-armada-370-neta.txt+0−1
@@ -41,7 +41,6 @@ ethernet@70000 { · 40 unmodified lines
4141 interrupts = <8>;
4242 clocks = <&gate_clk 4>;
4343 tx-csum-limit = <9800>
44− status = "okay";
4544 phy = <&phy0>;
4645 phy-mode = "rgmii-id";
4746 buffer-manager = <&bm>;
Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt+0−2
@@ -44,7 +44,6 @@ Example for SDIO device follows (calibration data is also available in · 43 unmodified lines
4444 below example).
4545
4646 &mmc3 {
47− status = "okay";
4847 vmmc-supply = <&wlan_en_reg>;
4948 bus-width = <4>;
5049 cap-power-off-card;
@@ -70,7 +69,6 @@ below example). · 19 unmodified lines
7069 Example for USB device:
7170
7271 &usb_host1_ohci {
73− status = "okay";
7472 #address-cells = <1>;
7573 #size-cells = <0>;
7674
Documentation/devicetree/bindings/net/marvell-neta-bm.txt+0−2
@@ -31,7 +31,6 @@ bm: bm@c8000 { · 30 unmodified lines
3131 reg = <0xc8000 0xac>;
3232 clocks = <&gateclk 13>;
3333 internal-mem = <&bm_bppi>;
34− status = "okay";
3534 pool2,capacity = <4096>;
3635 pool1,pkt-size = <512>;
3736 };
@@ -45,5 +44,4 @@ bm_bppi: bm-bppi { · 7 unmodified lines
4544 #address-cells = <1>;
4645 #size-cells = <1>;
4746 clocks = <&gateclk 13>;
48− status = "okay";
4947 };
Documentation/devicetree/bindings/net/marvell-pp2.txt+0−3
@@ -57,12 +57,10 @@ ethernet@f0000 { · 56 unmodified lines
5757 <0xc5000 0x100>;
5858 clocks = <&gateclk 3>, <&gateclk 19>;
5959 clock-names = "pp_clk", "gop_clk";
60− status = "okay";
6160
6261 eth0: eth0@c4000 {
6362 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
6463 port-id = <0>;
65− status = "okay";
6664 phy = <&phy0>;
6765 phy-mode = "gmii";
6866 };
@@ -70,7 +68,6 @@ ethernet@f0000 { · 1 unmodified line
7068 eth1: eth1@c5000 {
7169 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
7270 port-id = <1>;
73− status = "okay";
7471 phy = <&phy3>;
7572 phy-mode = "gmii";
7673 };
Documentation/devicetree/bindings/net/meson-dwmac.txt+0−1
@@ -66,5 +66,4 @@ Example for GXBB: · 65 unmodified lines
6666 <&clkc CLKID_MPLL2>;
6767 clock-names = "stmmaceth", "clkin0", "clkin1";
6868 phy-mode = "rgmii";
69− status = "disabled";
7069 };
Documentation/devicetree/bindings/net/micrel-ksz90x1.txt+0−1
@@ -69,7 +69,6 @@ Examples: · 68 unmodified lines
6969 };
7070 };
7171 ethernet@70000 {
72− status = "okay";
7372 phy = <&phy0>;
7473 phy-mode = "rgmii-id";
7574 };
Documentation/devicetree/bindings/net/microchip,enc28j60.txt+0−1
@@ -33,7 +33,6 @@ Example (for NXP i.MX28 with pin control stuff for GPIO irq): · 32 unmodified lines
3333 compatible = "fsl,imx28-spi";
3434 pinctrl-names = "default";
3535 pinctrl-0 = <&spi2_pins_b &spi2_sck_cfg>;
36− status = "okay";
3736
3837 enc28j60: ethernet@0 {
3938 compatible = "microchip,enc28j60";
Documentation/devicetree/bindings/net/nfc/nfcmrvl.txt+0−2
@@ -25,7 +25,6 @@ Optional I2C-based chip specific properties: · 24 unmodified lines
2525 Example (for ARM-based BeagleBoard Black with 88W8887 on UART5):
2626
2727 &uart5 {
28− status = "okay";
2928
3029 nfcmrvluart: nfcmrvluart@5 {
3130 compatible = "marvell,nfc-uart";
@@ -41,7 +40,6 @@ Example (for ARM-based BeagleBoard Black with 88W8887 on UART5): · 9 unmodified lines
4140 Example (for ARM-based BeagleBoard Black with 88W8887 on I2C1):
4241
4342 &i2c1 {
44− status = "okay";
4543 clock-frequency = <400000>;
4644
4745 nfcmrvli2c0: i2c@1 {
Documentation/devicetree/bindings/net/nfc/nxp-nci.txt+0−1
@@ -17,7 +17,6 @@ Example (for ARM-based BeagleBone with NPC100 NFC controller on I2C2): · 16 unmodified lines
1717
1818 &i2c2 {
1919
20− status = "okay";
2120
2221 npc100: npc100@29 {
2322
Documentation/devicetree/bindings/net/nfc/pn533-i2c.txt+0−1
@@ -15,7 +15,6 @@ Example (for ARM-based BeagleBone with PN532 on I2C2): · 14 unmodified lines
1515
1616 &i2c2 {
1717
18− status = "okay";
1918
2019 pn532: pn532@24 {
2120
Documentation/devicetree/bindings/net/nfc/pn544.txt+0−1
@@ -17,7 +17,6 @@ Example (for ARM-based BeagleBone with PN544 on I2C2): · 16 unmodified lines
1717
1818 &i2c2 {
1919
20− status = "okay";
2120
2221 pn544: pn544@28 {
2322
Documentation/devicetree/bindings/net/nfc/s3fwrn5.txt+0−1
@@ -12,7 +12,6 @@ Required properties: · 11 unmodified lines
1212 Example:
1313
1414 &hsi2c_4 {
15− status = "okay";
1615 s3fwrn5@27 {
1716 compatible = "samsung,s3fwrn5-i2c";
1817
Documentation/devicetree/bindings/net/nfc/st-nci-i2c.txt+0−1
@@ -20,7 +20,6 @@ Example (for ARM-based BeagleBoard xM with ST21NFCB on I2C2): · 19 unmodified lines
2020
2121 &i2c2 {
2222
23− status = "okay";
2423
2524 st21nfcb: st21nfcb@8 {
2625
Documentation/devicetree/bindings/net/nfc/st-nci-spi.txt+0−1
@@ -19,7 +19,6 @@ Example (for ARM-based BeagleBoard xM with ST21NFCB on SPI4): · 18 unmodified lines
1919
2020 &mcspi4 {
2121
22− status = "okay";
2322
2423 st21nfcb: st21nfcb@0 {
2524
Documentation/devicetree/bindings/net/nfc/st21nfca.txt+0−1
@@ -20,7 +20,6 @@ Example (for ARM-based BeagleBoard xM with ST21NFCA on I2C2): · 19 unmodified lines
2020
2121 &i2c2 {
2222
23− status = "okay";
2423
2524 st21nfca: st21nfca@1 {
2625
Documentation/devicetree/bindings/net/nfc/st95hf.txt+0−2
@@ -35,12 +35,10 @@ spi@9840000 { · 34 unmodified lines
3535 #address-cells = <1>;
3636 #size-cells = <0>;
3737 cs-gpios = <&pio0 4>;
38− status = "okay";
3938
4039 st95hf@0{
4140 reg = <0>;
4241 compatible = "st,st95hf";
43− status = "okay";
4442 spi-max-frequency = <1000000>;
4543 enable-gpio = <&pio4 0>;
4644 interrupt-parent = <&pio0>;
Documentation/devicetree/bindings/net/nfc/trf7970a.txt+0−2
@@ -23,7 +23,6 @@ Optional SoC Specific Properties: · 22 unmodified lines
2323 Example (for ARM-based BeagleBone with TRF7970A on SPI1):
2424
2525 &spi1 {
26− status = "okay";
2726
2827 nfc@0 {
2928 compatible = "ti,trf7970a";
@@ -41,6 +40,5 @@ Example (for ARM-based BeagleBone with TRF7970A on SPI1): · 11 unmodified lines
4140 irq-status-read-quirk;
4241 en2-rf-quirk;
4342 clock-frequency = <27120000>;
44− status = "okay";
4543 };
4644 };
Documentation/devicetree/bindings/net/oxnas-dwmac.txt+0−1
@@ -35,5 +35,4 @@ etha: ethernet@40400000 { · 34 unmodified lines
3535 /* Regmap for sys registers */
3636 oxsemi,sys-ctrl = <&sys>;
3737
38− status = "disabled";
3938 };
Documentation/devicetree/bindings/net/phy.txt+3−7
@@ -2,11 +2,7 @@ PHY nodes · 1 unmodified line
22
33 Required properties:
44
5− - interrupts : <a b> where a is the interrupt number and b is a
6− field that represents an encoding of the sense and level
7− information for the interrupt. This should be encoded based on
8− the information in section 2) depending on the type of interrupt
9− controller you have.
5+ - interrupts : interrupt specifier for the sole interrupt.
106 - interrupt-parent : the phandle for the interrupt controller that
117 services interrupts for this device.
128 - reg : The ID number for the phy, usually a small integer
@@ -61,7 +57,7 @@ Example: · 48 unmodified lines
6157
6258 ethernet-phy@0 {
6359 compatible = "ethernet-phy-id0141.0e90", "ethernet-phy-ieee802.3-c22";
64− interrupt-parent = <40000>;
65− interrupts = <35 1>;
60+ interrupt-parent = <&PIC>;
61+ interrupts = <35 IRQ_TYPE_EDGE_RISING>;
6662 reg = <0>;
6763 };
Documentation/devicetree/bindings/net/qca,qca7000.txt+0−2
@@ -41,7 +41,6 @@ ssp2: spi@80014000 { · 40 unmodified lines
4141 compatible = "fsl,imx28-spi";
4242 pinctrl-names = "default";
4343 pinctrl-0 = <&spi2_pins_a>;
44− status = "okay";
4544
4645 qca7000: ethernet@0 {
4746 compatible = "qca,qca7000";
@@ -78,7 +77,6 @@ auart0: serial@8006a000 { · 30 unmodified lines
7877 reg = <0x8006a000 0x2000>;
7978 pinctrl-names = "default";
8079 pinctrl-0 = <&auart0_2pins_a>;
81− status = "okay";
8280
8381 qca7000: ethernet {
8482 compatible = "qca,qca7000";
Documentation/devicetree/bindings/net/rockchip-dwmac.txt+0−1
@@ -71,5 +71,4 @@ gmac: ethernet@ff290000 { · 70 unmodified lines
7171 tx_delay = <0x30>;
7272 rx_delay = <0x10>;
7373
74− status = "ok";
7574 };
Documentation/devicetree/bindings/net/smsc-lan87xx.txt+0−1
@@ -15,7 +15,6 @@ smsc phy with disabled energy detect mode on an am335x based board. · 14 unmodified lines
1515 pinctrl-names = "default", "sleep";
1616 pinctrl-0 = <&davinci_mdio_default>;
1717 pinctrl-1 = <&davinci_mdio_sleep>;
18− status = "okay";
1918
2019 ethernetphy0: ethernet-phy@0 {
2120 reg = <0>;
Documentation/devicetree/bindings/net/socfpga-dwmac.txt+0−1
@@ -40,7 +40,6 @@ gmii_to_sgmii_converter: phy@0x100000240 { · 39 unmodified lines
4040 gmac0: ethernet@ff700000 {
4141 compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
4242 altr,sysmgr-syscon = <&sysmgr 0x60 0>;
43− status = "disabled";
4443 reg = <0xff700000 0x2000>;
4544 interrupts = <0 115 4>;
4645 interrupt-names = "macirq";
Documentation/devicetree/bindings/net/sti-dwmac.txt+0−1
@@ -34,7 +34,6 @@ Example: · 33 unmodified lines
3434
3535 ethernet0: dwmac@9630000 {
3636 device_type = "network";
37− status = "disabled";
3837 compatible = "st,stih407-dwmac", "snps,dwmac", "snps,dwmac-3.710";
3938 reg = <0x9630000 0x8000>;
4039 reg-names = "stmmaceth";
Documentation/devicetree/bindings/net/stm32-dwmac.txt+0−1
@@ -18,7 +18,6 @@ Example: · 17 unmodified lines
1818
1919 ethernet@40028000 {
2020 compatible = "st,stm32-dwmac", "snps,dwmac-3.50a";
21− status = "disabled";
2221 reg = <0x40028000 0x8000>;
2322 reg-names = "stmmaceth";
2423 interrupts = <0 61 0>, <0 62 0>;
Documentation/devicetree/bindings/net/wireless/brcm,bcm43xx-fmac.txt+0−1
@@ -29,7 +29,6 @@ mmc3: mmc@01c12000 { · 28 unmodified lines
2929 vmmc-supply = <&reg_vmmc3>;
3030 bus-width = <4>;
3131 non-removable;
32− status = "okay";
3332
3433 brcmf: wifi@1 {
3534 reg = <1>;
Documentation/devicetree/bindings/net/wireless/esp,esp8089.txt+0−1
@@ -21,7 +21,6 @@ Example: · 20 unmodified lines
2121 mmc-pwrseq = <&wifi_pwrseq>;
2222 bus-width = <4>;
2323 non-removable;
24− status = "okay";
2524
2625 esp8089: sdio_wifi@1 {
2726 compatible = "esp,esp8089";
Documentation/devicetree/bindings/net/wireless/marvell-8xxx.txt+0−1
@@ -48,7 +48,6 @@ IRQ pin 38 is used as system wakeup source interrupt. wakeup pin 3 is configured · 47 unmodified lines
4848 so that firmware can wakeup host using this device side pin.
4949
5050 &mmc3 {
51− status = "okay";
5251 vmmc-supply = <&wlan_en_reg>;
5352 mmc-pwrseq = <&wifi_pwrseq>;
5453 bus-width = <4>;
Documentation/devicetree/bindings/net/wireless/ti,wlcore.txt+0−1
@@ -31,7 +31,6 @@ clock, new bindings (for parsing the clock nodes) have to be added. · 30 unmodified lines
3131 Example:
3232
3333 &mmc3 {
34− status = "okay";
3534 vmmc-supply = <&wlan_en_reg>;
3635 bus-width = <4>;
3736 cap-power-off-card;
Documentation/devicetree/bindings/nvmem/mtk-efuse.txt+4−1
@@ -3,7 +3,10 @@ · 2 unmodified lines
33 This binding is intended to represent MTK-EFUSE which is found in most Mediatek SOCs.
44
55 Required properties:
6−- compatible: should be "mediatek,mt8173-efuse" or "mediatek,efuse"
6+- compatible: should be
7+ "mediatek,mt7622-efuse", "mediatek,efuse": for MT7622
8+ "mediatek,mt7623-efuse", "mediatek,efuse": for MT7623
9+ "mediatek,mt8173-efuse" or "mediatek,efuse": for MT8173
710 - reg: Should contain registers location and length
811
912 = Data cells =
Documentation/devicetree/bindings/nvmem/mxs-ocotp.txt+0−1
@@ -21,5 +21,4 @@ Example for i.MX28: · 20 unmodified lines
2121 #size-cells = <1>;
2222 reg = <0x8002c000 0x2000>;
2323 clocks = <&clks 25>;
24− status = "okay";
2524 };
Documentation/devicetree/bindings/opp/opp.txt+0−1
@@ -464,7 +464,6 @@ Example 5: opp-supported-hw · 463 unmodified lines
464464
465465 opp_table {
466466 compatible = "operating-points-v2";
467− status = "okay";
468467 opp-shared;
469468
470469 opp-600000000 {
Documentation/devicetree/bindings/pci/aardvark-pci.txt+0−1
@@ -33,7 +33,6 @@ Example: · 32 unmodified lines
3333 pcie0: pcie@d0070000 {
3434 compatible = "marvell,armada-3700-pcie";
3535 device_type = "pci";
36− status = "disabled";
3736 reg = <0 0xd0070000 0 0x20000>;
3837 #address-cells = <3>;
3938 #size-cells = <2>;
Documentation/devicetree/bindings/pci/hisilicon-pcie.txt+0−2
@@ -40,7 +40,6 @@ Hip05 Example (note that Hip06 is the same except compatible): · 39 unmodified lines
4040 0x0 0 0 2 &mbigen_pcie 2 11
4141 0x0 0 0 3 &mbigen_pcie 3 12
4242 0x0 0 0 4 &mbigen_pcie 4 13>;
43− status = "ok";
4443 };
4544
4645 HiSilicon Hip06/Hip07 PCIe host bridge DT (almost-ECAM) description.
@@ -83,5 +82,4 @@ Example: · 36 unmodified lines
8382 0x0 0 0 2 &mbigen_pcie0 650 4
8483 0x0 0 0 3 &mbigen_pcie0 650 4
8584 0x0 0 0 4 &mbigen_pcie0 650 4>;
86− status = "ok";
8785 };
Documentation/devicetree/bindings/pci/mvebu-pci.txt+0−11
@@ -85,7 +85,6 @@ Example: · 84 unmodified lines
8585
8686 pcie-controller {
8787 compatible = "marvell,armada-xp-pcie";
88− status = "disabled";
8988 device_type = "pci";
9089
9190 #address-cells = <3>;
@@ -147,7 +146,6 @@ pcie-controller { · 55 unmodified lines
147146 /* wait 20ms for device settle after reset deassertion */
148147 reset-delay-us = <20000>;
149148 clocks = <&gateclk 5>;
150− status = "disabled";
151149 };
152150
153151 pcie@2,0 {
@@ -164,7 +162,6 @@ pcie-controller { · 10 unmodified lines
164162 marvell,pcie-port = <0>;
165163 marvell,pcie-lane = <1>;
166164 clocks = <&gateclk 6>;
167− status = "disabled";
168165 };
169166
170167 pcie@3,0 {
@@ -181,7 +178,6 @@ pcie-controller { · 10 unmodified lines
181178 marvell,pcie-port = <0>;
182179 marvell,pcie-lane = <2>;
183180 clocks = <&gateclk 7>;
184− status = "disabled";
185181 };
186182
187183 pcie@4,0 {
@@ -198,7 +194,6 @@ pcie-controller { · 10 unmodified lines
198194 marvell,pcie-port = <0>;
199195 marvell,pcie-lane = <3>;
200196 clocks = <&gateclk 8>;
201− status = "disabled";
202197 };
203198
204199 pcie@5,0 {
@@ -215,7 +210,6 @@ pcie-controller { · 10 unmodified lines
215210 marvell,pcie-port = <1>;
216211 marvell,pcie-lane = <0>;
217212 clocks = <&gateclk 9>;
218− status = "disabled";
219213 };
220214
221215 pcie@6,0 {
@@ -232,7 +226,6 @@ pcie-controller { · 10 unmodified lines
232226 marvell,pcie-port = <1>;
233227 marvell,pcie-lane = <1>;
234228 clocks = <&gateclk 10>;
235− status = "disabled";
236229 };
237230
238231 pcie@7,0 {
@@ -249,7 +242,6 @@ pcie-controller { · 10 unmodified lines
249242 marvell,pcie-port = <1>;
250243 marvell,pcie-lane = <2>;
251244 clocks = <&gateclk 11>;
252− status = "disabled";
253245 };
254246
255247 pcie@8,0 {
@@ -266,7 +258,6 @@ pcie-controller { · 10 unmodified lines
266258 marvell,pcie-port = <1>;
267259 marvell,pcie-lane = <3>;
268260 clocks = <&gateclk 12>;
269− status = "disabled";
270261 };
271262
272263 pcie@9,0 {
@@ -283,7 +274,6 @@ pcie-controller { · 10 unmodified lines
283274 marvell,pcie-port = <2>;
284275 marvell,pcie-lane = <0>;
285276 clocks = <&gateclk 26>;
286− status = "disabled";
287277 };
288278
289279 pcie@10,0 {
@@ -300,6 +290,5 @@ pcie-controller { · 10 unmodified lines
300290 marvell,pcie-port = <3>;
301291 marvell,pcie-lane = <0>;
302292 clocks = <&gateclk 27>;
303− status = "disabled";
304293 };
305294 };
Documentation/devicetree/bindings/pci/pci-armada8k.txt+0−1
@@ -34,5 +34,4 @@ Example: · 33 unmodified lines
3434 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
3535 num-lanes = <1>;
3636 clocks = <&cpm_syscon0 1 13>;
37− status = "disabled";
3837 };
Documentation/devicetree/bindings/pci/pci.txt+2−2
@@ -1,12 +1,12 @@
11 PCI bus bridges have standardized Device Tree bindings:
22
33 PCI Bus Binding to: IEEE Std 1275-1994
4−http://www.firmware.org/1275/bindings/pci/pci2_1.pdf
4+http://www.devicetree.org/open-firmware/bindings/pci/pci2_1.pdf
55
66 And for the interrupt mapping part:
77
88 Open Firmware Recommended Practice: Interrupt Mapping
9−http://www.firmware.org/1275/practice/imap/imap0_9d.pdf
9+http://www.devicetree.org/open-firmware/practice/imap/imap0_9d.pdf
1010
1111 Additionally to the properties specified in the above standards a host bridge
1212 driver implementation may support the following properties:
Documentation/devicetree/bindings/pci/rcar-pci.txt+0−1
@@ -54,5 +54,4 @@ SoC specific DT Entry: · 53 unmodified lines
5454 interrupt-map = <0 0 0 0 &gic 0 116 4>;
5555 clocks = <&mstp3_clks R8A7791_CLK_PCIE>, <&pcie_bus_clk>;
5656 clock-names = "pcie", "pcie_bus";
57− status = "disabled";
5857 };
Documentation/devicetree/bindings/pci/xgene-pci-msi.txt+0−1
@@ -44,7 +44,6 @@ SoC DTSI: · 43 unmodified lines
4444
4545 + PCIe controller node with msi-parent property pointing to MSI node:
4646 pcie0: pcie@1f2b0000 {
47− status = "disabled";
4847 device_type = "pci";
4948 compatible = "apm,xgene-storm-pcie", "apm,xgene-pcie";
5049 #interrupt-cells = <1>;
Documentation/devicetree/bindings/phy/apm-xgene-phy.txt+0−3
@@ -61,19 +61,16 @@ Example: · 60 unmodified lines
6161 compatible = "apm,xgene-phy";
6262 reg = <0x0 0x1f21a000 0x0 0x100>;
6363 #phy-cells = <1>;
64− status = "disabled";
6564 };
6665
6766 phy2: phy@1f22a000 {
6867 compatible = "apm,xgene-phy";
6968 reg = <0x0 0x1f22a000 0x0 0x100>;
7069 #phy-cells = <1>;
71− status = "ok";
7270 };
7371
7472 phy3: phy@1f23a000 {
7573 compatible = "apm,xgene-phy";
7674 reg = <0x0 0x1f23a000 0x0 0x100>;
7775 #phy-cells = <1>;
78− status = "ok";
7976 };
Documentation/devicetree/bindings/phy/keystone-usb-phy.txt+0−1
@@ -16,5 +16,4 @@ usb_phy: usb_phy@2620738 { · 15 unmodified lines
1616 #address-cells = <1>;
1717 #size-cells = <1>;
1818 reg = <0x2620738 32>;
19− status = "disabled";
2019 };
Documentation/devicetree/bindings/phy/phy-mtk-tphy.txt+0−4
@@ -51,14 +51,12 @@ u3phy: usb-phy@11290000 { · 50 unmodified lines
5151 #address-cells = <2>;
5252 #size-cells = <2>;
5353 ranges;
54− status = "okay";
5554
5655 u2port0: usb-phy@11290800 {
5756 reg = <0 0x11290800 0 0x100>;
5857 clocks = <&apmixedsys CLK_APMIXED_REF2USB_TX>;
5958 clock-names = "ref";
6059 #phy-cells = <1>;
61− status = "okay";
6260 };
6361
6462 u3port0: usb-phy@11290900 {
@@ -66,7 +64,6 @@ u3phy: usb-phy@11290000 { · 1 unmodified line
6664 clocks = <&clk26m>;
6765 clock-names = "ref";
6866 #phy-cells = <1>;
69− status = "okay";
7067 };
7168
7269 u2port1: usb-phy@11291000 {
@@ -74,7 +71,6 @@ u3phy: usb-phy@11290000 { · 1 unmodified line
7471 clocks = <&apmixedsys CLK_APMIXED_REF2USB_TX>;
7572 clock-names = "ref";
7673 #phy-cells = <1>;
77− status = "okay";
7874 };
7975 };
8076
Documentation/devicetree/bindings/phy/phy-mvebu.txt+0−1
@@ -18,7 +18,6 @@ Example: · 17 unmodified lines
1818 clocks = <&gate_clk 15>;
1919 clock-names = "sata";
2020 #phy-cells = <0>;
21− status = "ok";
2221 };
2322
2423 Armada 375 USB cluster
Documentation/devicetree/bindings/phy/phy-rockchip-inno-usb2.txt+0−2
@@ -67,14 +67,12 @@ grf: syscon@ff770000 { · 66 unmodified lines
6767 <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>,
6868 <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
6969 interrupt-names = "otg-id", "otg-bvalid", "linestate";
70− status = "okay";
7170 };
7271
7372 u2phy_host: host-port {
7473 #phy-cells = <0>;
7574 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
7675 interrupt-names = "linestate";
77− status = "okay";
7876 };
7977 };
8078 };
Documentation/devicetree/bindings/phy/qcom-dwc3-usb-phy.txt+0−2
@@ -25,7 +25,6 @@ Example: · 24 unmodified lines
2525 clock-names = "ref";
2626 #phy-cells = <0>;
2727
28− status = "ok";
2928 };
3029
3130 phy@100f8830 {
@@ -35,5 +34,4 @@ Example: · 3 unmodified lines
3534 clock-names = "ref";
3635 #phy-cells = <0>;
3736
38− status = "ok";
3937 };
Documentation/devicetree/bindings/phy/samsung-phy.txt+0−1
@@ -82,7 +82,6 @@ usbphy: phy@125b0000 { · 81 unmodified lines
8282 reg = <0x125b0000 0x100>;
8383 clocks = <&clock 305>, <&clock 2>;
8484 clock-names = "phy", "ref";
85− status = "okay";
8685 #phy-cells = <1>;
8786 samsung,sysreg-phandle = <&sys_reg>;
8887 samsung,pmureg-phandle = <&pmu_reg>;
Documentation/devicetree/bindings/phy/sun9i-usb-phy.txt+0−1
@@ -33,6 +33,5 @@ Example: · 32 unmodified lines
3333 clock-names = "hsic_480M", "hsic_12M", "phy";
3434 resets = <&usb_phy_clk 18>, <&usb_phy_clk 19>;
3535 reset-names = "hsic", "phy";
36− status = "disabled";
3736 #phy-cells = <0>;
3837 };
Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt+0−1
@@ -148,5 +148,4 @@ dbgu: serial@fffff200 { · 147 unmodified lines
148148 interrupts = <1 4 7>;
149149 pinctrl-names = "default";
150150 pinctrl-0 = <&pinctrl_dbgu>;
151− status = "disabled";
152151 };
Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt+0−1
@@ -61,7 +61,6 @@ Examples: · 60 unmodified lines
6161 usdhc@0219c000 { /* uSDHC4 */
6262 non-removable;
6363 vmmc-supply = <&reg_3p3v>;
64− status = "okay";
6564 pinctrl-names = "default";
6665 pinctrl-0 = <&pinctrl_usdhc4_1>;
6766 };
Documentation/devicetree/bindings/pinctrl/fsl,imx7d-pinctrl.txt+0−1
@@ -61,7 +61,6 @@ iomuxc-lpsr controller and SDA pad from iomuxc controller as: · 60 unmodified lines
6161 i2c1: i2c@30a20000 {
6262 pinctrl-names = "default";
6363 pinctrl-0 = <&pinctrl_i2c1_1 &pinctrl_i2c1_2>;
64− status = "okay";
6564 };
6665
6766 iomuxc-lpsr@302c0000 {
Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-dpaux-padctl.txt+0−1
@@ -56,5 +56,4 @@ Example: · 55 unmodified lines
5656 pinctrl-0 = <&state_dpaux_i2c>;
5757 pinctrl-1 = <&state_dpaux_off>;
5858 pinctrl-names = "default", "idle";
59− status = "disabled";
6059 };
Documentation/devicetree/bindings/pinctrl/oxnas,pinctrl.txt+0−1
@@ -50,7 +50,6 @@ uart2: serial@900000 { · 49 unmodified lines
5050 reg-io-width = <1>;
5151 current-speed = <115200>;
5252 no-loopback-test;
53− status = "disabled";
5453 resets = <&reset 22>;
5554 pinctrl-names = "default";
5655 pinctrl-0 = <&pinctrl_uart2>;
Documentation/devicetree/bindings/pinctrl/pinctrl-zx.txt+0−1
@@ -81,5 +81,4 @@ pmm: pin-controller@1462000 { · 80 unmodified lines
8181 &vga {
8282 pinctrl-names = "default";
8383 pinctrl-0 = <&vga_pins>;
84− status = "okay";
8584 };
Documentation/devicetree/bindings/pinctrl/renesas,pfc-pinctrl.txt+1−2
@@ -112,7 +112,7 @@ Examples · 111 unmodified lines
112112
113113 Example 1: SH73A0 (SH-Mobile AG5) pin controller node
114114
115− pfc: pfc@e6050000 {
115+ pfc: pin-controller@e6050000 {
116116 compatible = "renesas,pfc-sh73a0";
117117 reg = <0xe6050000 0x8000>,
118118 <0xe605801c 0x1c>;
@@ -173,5 +173,4 @@ Example 4: KZM-A9-GT (SH-Mobile AG5) default pin state for the MMCIF device · 54 unmodified lines
173173
174174 bus-width = <8>;
175175 vmmc-supply = <&reg_1p8v>;
176− status = "okay";
177176 };
Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.txt+0−1
@@ -121,7 +121,6 @@ uart2: serial@20064000 { · 120 unmodified lines
121121 reg-shift = <2>;
122122 reg-io-width = <1>;
123123 clocks = <&mux_uart2>;
124− status = "okay";
125124
126125 pinctrl-names = "default";
127126 pinctrl-0 = <&uart2_xfer>;
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.txt+0−1
@@ -180,5 +180,4 @@ pin-controller { · 179 unmodified lines
180180 &usart1 {
181181 pinctrl-0 = <&usart1_pins_a>;
182182 pinctrl-names = "default";
183− status = "okay";
184183 };
Documentation/devicetree/bindings/power/power-controller.txt+0−1
@@ -13,6 +13,5 @@ Example: · 12 unmodified lines
1313
1414 act8846: act8846@5 {
1515 compatible = "active-semi,act8846";
16− status = "okay";
1716 system-power-controller;
1817 }
Documentation/devicetree/bindings/power/reset/st-reset.txt+0−1
@@ -8,5 +8,4 @@ Example node: · 7 unmodified lines
88 restart {
99 compatible = "st,stih407-restart";
1010 st,syscfg = <&syscfg_sbc_reg>;
11− status = "okay";
1211 };
Documentation/devicetree/bindings/power/supply/act8945a-charger.txt+0−2
@@ -29,7 +29,6 @@ Example: · 28 unmodified lines
2929 pmic@5b {
3030 compatible = "active-semi,act8945a";
3131 reg = <0x5b>;
32− status = "okay";
3332
3433 charger {
3534 compatible = "active-semi,act8945a-charger";
@@ -43,6 +42,5 @@ Example: · 7 unmodified lines
4342 active-semi,input-voltage-threshold-microvolt = <6600>;
4443 active-semi,precondition-timeout = <40>;
4544 active-semi,total-timeout = <3>;
46− status = "okay";
4745 };
4846 };
Documentation/devicetree/bindings/power/supply/max8903-charger.txt+0−1
@@ -21,5 +21,4 @@ Example: · 20 unmodified lines
2121 flt-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
2222 chg-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
2323 cen-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
24− status = "okay";
2524 };
Documentation/devicetree/bindings/power/supply/maxim,max14656.txt+0−1
@@ -12,7 +12,6 @@ Example: · 11 unmodified lines
1212 clock-frequency = <50000>;
1313 pinctrl-names = "default";
1414 pinctrl-0 = <&pinctrl_i2c2>;
15− status = "okay";
1615
1716 max14656@35 {
1817 compatible = "maxim,max14656";
Documentation/devicetree/bindings/ptp/brcm,ptp-dte.txt+0−1
@@ -16,5 +16,4 @@ Example: · 15 unmodified lines
1616 ptp: ptp-dte@180af650 {
1717 compatible = "brcm,iproc-ptp-dte", "brcm,ptp-dte";
1818 reg = <0x180af650 0x10>;
19− status = "okay";
2019 };
Documentation/devicetree/bindings/pwm/pwm-meson.txt+0−1
@@ -19,7 +19,6 @@ Example: · 18 unmodified lines
1919 compatible = "amlogic,meson-gxbb-pwm";
2020 reg = <0x0 0x08550 0x0 0x10>;
2121 #pwm-cells = <3>;
22− status = "disabled";
2322 clocks = <&xtal>, <&xtal>;
2423 clock-names = "clkin0", "clkin1";
2524 }
Documentation/devicetree/bindings/pwm/pwm-sun4i.txt+0−1
@@ -19,5 +19,4 @@ Example: · 18 unmodified lines
1919 reg = <0x01c20e00 0xc>;
2020 clocks = <&osc24M>;
2121 #pwm-cells = <3>;
22− status = "disabled";
2322 };
Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt+0−2
@@ -26,7 +26,6 @@ epwmss0: epwmss@48300000 { /* PWMSS for am33xx */ · 25 unmodified lines
2626 ti,hwmods = "epwmss0";
2727 #address-cells = <1>;
2828 #size-cells = <1>;
29− status = "disabled";
3029 ranges = <0x48300100 0x48300100 0x80 /* ECAP */
3130 0x48300180 0x48300180 0x80 /* EQEP */
3231 0x48300200 0x48300200 0x80>; /* EHRPWM */
@@ -40,7 +39,6 @@ epwmss0: epwmss@48300000 { /* PWMSS for am4372 */ · 7 unmodified lines
4039 ti,hwmods = "epwmss0";
4140 #address-cells = <1>;
4241 #size-cells = <1>;
43− status = "disabled";
4442 ranges = <0x48300100 0x48300100 0x80 /* ECAP */
4543 0x48300180 0x48300180 0x80 /* EQEP */
4644 0x48300200 0x48300200 0x80>; /* EHRPWM */
Documentation/devicetree/bindings/regulator/act8865-regulator.txt+0−1
@@ -52,7 +52,6 @@ Example: · 51 unmodified lines
5252 compatible = "active-semi,act8865";
5353 reg = <0x5b>;
5454 active-semi,vsel-high;
55− status = "disabled";
5655
5756 regulators {
5857 vcc_1v8_reg: DCDC_REG1 {
Documentation/devicetree/bindings/regulator/act8945a-regulator.txt+0−1
@@ -23,7 +23,6 @@ Example: · 22 unmodified lines
2323 pmic@5b {
2424 compatible = "active-semi,act8945a";
2525 reg = <0x5b>;
26− status = "okay";
2726
2827 active-semi,vsel-high;
2928
Documentation/devicetree/bindings/reset/nxp,lpc1850-rgu.txt+0−1
@@ -80,5 +80,4 @@ mac: ethernet@40010000 { · 79 unmodified lines
8080 clock-names = "stmmaceth";
8181 resets = <&rgu 22>;
8282 reset-names = "stmmaceth";
83− status = "disabled";
8483 };
Documentation/devicetree/bindings/rtc/st,stm32-rtc.txt+0−1
@@ -45,5 +45,4 @@ Example: · 44 unmodified lines
4545 interrupts = <17 1>;
4646 interrupt-names = "alarm";
4747 st,syscfg = <&pwrcfg>;
48− status = "disabled";
4948 };
Documentation/devicetree/bindings/scsi/hisilicon-sas.txt+0−1
@@ -85,5 +85,4 @@ Example: · 84 unmodified lines
8585 <366 1>,<367 1>/* cq30-31 */
8686 <376 4>,/* fatal ecc */
8787 <381 4>;/* fatal axi */
88− status = "disabled";
8988 };
Documentation/devicetree/bindings/security/tpm/st33zp24-i2c.txt+0−1
@@ -19,7 +19,6 @@ Example (for ARM-based BeagleBoard xM with ST33ZP24 on I2C2): · 18 unmodified lines
1919
2020 &i2c2 {
2121
22− status = "okay";
2322
2423 st33zp24: st33zp24@13 {
2524
Documentation/devicetree/bindings/security/tpm/st33zp24-spi.txt+0−1
@@ -18,7 +18,6 @@ Example (for ARM-based BeagleBoard xM with ST33ZP24 on SPI4): · 17 unmodified lines
1818
1919 &mcspi4 {
2020
21− status = "okay";
2221
2322 st33zp24@0 {
2423
Documentation/devicetree/bindings/security/tpm/tpm-i2c.txt+0−1
@@ -17,5 +17,4 @@ tpm@57 { · 16 unmodified lines
1717 compatible = "nuvoton,npct650", "nuvoton,npct601";
1818 linux,sml-base = <0x7f 0xfd450000>;
1919 linux,sml-size = <0x10000>;
20− status = "okay";
2120 };
Documentation/devicetree/bindings/security/tpm/tpm_tis_spi.txt+0−1
@@ -13,7 +13,6 @@ Example (for ARM-based BeagleBoard xM with TPM_TIS on SPI4): · 12 unmodified lines
1313
1414 &mcspi4 {
1515
16− status = "okay";
1716
1817 tpm_tis@0 {
1918
Documentation/devicetree/bindings/serial/arc-uart.txt+0−1
@@ -15,7 +15,6 @@ arcuart0: serial@c0fc1000 { · 14 unmodified lines
1515 interrupts = <5>;
1616 clock-frequency = <80000000>;
1717 current-speed = <115200>;
18− status = "okay";
1918 };
2019
2120 Note: Each port should have an alias correctly numbered in "aliases" node.
Documentation/devicetree/bindings/serial/axis,etraxfs-uart.txt+0−1
@@ -15,7 +15,6 @@ serial@b00260000 { · 14 unmodified lines
1515 compatible = "axis,etraxfs-uart";
1616 reg = <0xb0026000 0x1000>;
1717 interrupts = <68>;
18− status = "disabled";
1918 dtr-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>;
2019 dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>;
2120 rng-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>;
Documentation/devicetree/bindings/serial/nvidia,tegra20-hsuart.txt+0−1
@@ -33,5 +33,4 @@ serial@70006000 { · 32 unmodified lines
3333 reset-names = "serial";
3434 dmas = <&apbdma 8>, <&apbdma 8>;
3535 dma-names = "rx", "tx";
36− status = "disabled";
3736 };
Documentation/devicetree/bindings/serial/qcom,msm-uartdm.txt+0−3
@@ -72,13 +72,10 @@ Examples: · 71 unmodified lines
7272 };
7373
7474 uarta: serial@12490000 {
75− status = "ok";
7675 };
7776
7877 uartb: serial@16340000 {
79− status = "ok";
8078 };
8179
8280 uartc: serial@1a240000 {
83− status = "ok";
8481 };
Documentation/devicetree/bindings/serial/serial.txt+0−2
@@ -43,7 +43,6 @@ Examples: · 42 unmodified lines
4343 rng-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
4444 cts-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
4545 rts-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
46− status = "okay";
4746 };
4847
4948 scifa4: serial@e6c80000 {
@@ -54,5 +53,4 @@ Examples: · 4 unmodified lines
5453 clock-names = "fck";
5554 power-domains = <&pd_a3sp>;
5655 uart-has-rtscts;
57− status = "okay";
5856 };
Documentation/devicetree/bindings/serio/allwinner,sun4i-ps2.txt+0−1
@@ -19,5 +19,4 @@ Example: · 18 unmodified lines
1919 reg = <0x01c2a000 0x400>;
2020 interrupts = <0 62 4>;
2121 clocks = <&apb1_gates 6>;
22− status = "disabled";
2322 };
Documentation/devicetree/bindings/soc/qcom/qcom,gsbi.txt+0−1
@@ -78,7 +78,6 @@ Example for APQ8064: · 77 unmodified lines
7878 interrupts = <0 152 0x0>;
7979 clocks = <&gcc GSBI4_UART_CLK>, <&gcc GSBI4_H_CLK>;
8080 clock-names = "core", "iface";
81− status = "ok";
8281 };
8382 };
8483
Documentation/devicetree/bindings/sound/armada-370db-audio.txt+0−1
@@ -23,5 +23,4 @@ Example: · 22 unmodified lines
2323 compatible = "marvell,a370db-audio";
2424 marvell,audio-controller = <&audio_controller>;
2525 marvell,audio-codec = <&audio_codec &spdif_out &spdif_in>;
26− status = "okay";
2726 };
Documentation/devicetree/bindings/sound/axentia,tse850-pcm5142.txt+0−1
@@ -45,7 +45,6 @@ Example: · 44 unmodified lines
4545 &ssc0 {
4646 #sound-dai-cells = <0>;
4747
48− status = "okay";
4948 };
5049
5150 &i2c {
Documentation/devicetree/bindings/sound/brcm,cygnus-audio.txt+0−4
@@ -47,21 +47,17 @@ Example: · 46 unmodified lines
4747
4848 ssp0: ssp_port@0 {
4949 reg = <0>;
50− status = "okay";
5150 };
5251
5352 ssp1: ssp_port@1 {
5453 reg = <1>;
55− status = "disabled";
5654 };
5755
5856 ssp2: ssp_port@2 {
5957 reg = <2>;
60− status = "disabled";
6158 };
6259
6360 spdif: spdif_port@3 {
6461 reg = <3>;
65− status = "disabled";
6662 };
6763 };
Documentation/devicetree/bindings/sound/davinci-mcbsp.txt+0−1
@@ -47,5 +47,4 @@ mcbsp0: mcbsp@1d10000 { · 46 unmodified lines
4747 dmas = <&edma0 3 1
4848 &edma0 2 1>;
4949 dma-names = "tx", "rx";
50− status = "okay";
5150 };
Documentation/devicetree/bindings/sound/fsl,asrc.txt+0−1
@@ -61,5 +61,4 @@ asrc: asrc@02034000 { · 60 unmodified lines
6161 "txa", "txb", "txc";
6262 fsl,asrc-rate = <48000>;
6363 fsl,asrc-width = <16>;
64− status = "okay";
6564 };
Documentation/devicetree/bindings/sound/fsl,esai.txt+0−1
@@ -59,5 +59,4 @@ esai: esai@02024000 { · 58 unmodified lines
5959 fsl,fifo-depth = <128>;
6060 fsl,esai-synchronous;
6161 big-endian;
62− status = "disabled";
6362 };
Documentation/devicetree/bindings/sound/fsl,spdif.txt+0−1
@@ -59,5 +59,4 @@ spdif: spdif@02004000 { · 58 unmodified lines
5959 "rxtx7";
6060
6161 big-endian;
62− status = "okay";
6362 };
Documentation/devicetree/bindings/sound/hdmi.txt+0−1
@@ -13,5 +13,4 @@ Example node: · 12 unmodified lines
1313
1414 hdmi_audio: hdmi_audio@0 {
1515 compatible = "linux,hdmi-audio";
16− status = "okay";
1716 };
Documentation/devicetree/bindings/sound/renesas,rsnd.txt+0−2
@@ -621,7 +621,6 @@ Example: simple sound card · 620 unmodified lines
621621 /* Single DAI */
622622 #sound-dai-cells = <0>;
623623
624− status = "okay";
625624
626625 rcar_sound,dai {
627626 dai0 {
@@ -667,7 +666,6 @@ Example: simple sound card for Multi channel · 39 unmodified lines
667666 /* Single DAI */
668667 #sound-dai-cells = <0>;
669668
670− status = "okay";
671669
672670 rcar_sound,dai {
673671 dai0 {
Documentation/devicetree/bindings/sound/rockchip,pdm.txt+0−1
@@ -38,5 +38,4 @@ pdm: pdm@ff040000 { · 37 unmodified lines
3838 &pdmm0_sdi1_sleep
3939 &pdmm0_sdi2_sleep
4040 &pdmm0_sdi3_sleep>;
41− status = "disabled";
4241 };
Documentation/devicetree/bindings/sound/rockchip-spdif.txt+0−1
@@ -41,6 +41,5 @@ spdif: spdif@0x1011e000 { · 40 unmodified lines
4141 dma-names = "tx";
4242 clock-names = "hclk", "mclk";
4343 clocks = <&cru HCLK_SPDIF>, <&cru SCLK_SPDIF>;
44− status = "disabled";
4544 #sound-dai-cells = <0>;
4645 };
Documentation/devicetree/bindings/sound/st,sti-asoc-card.txt+0−5
@@ -53,7 +53,6 @@ Example: · 52 unmodified lines
5353
5454 sti_uni_player1: sti-uni-player@0x8D81000 {
5555 compatible = "st,stih407-uni-player-hdmi";
56− status = "okay";
5756 #sound-dai-cells = <0>;
5857 st,syscfg = <&syscfg_core>;
5958 clocks = <&clk_s_d0_flexgen CLK_PCM_1>;
@@ -66,7 +65,6 @@ Example: · 6 unmodified lines
6665
6766 sti_uni_player2: sti-uni-player@0x8D82000 {
6867 compatible = "st,stih407-uni-player-pcm-out";
69− status = "okay";
7068 #sound-dai-cells = <0>;
7169 st,syscfg = <&syscfg_core>;
7270 clocks = <&clk_s_d0_flexgen CLK_PCM_2>;
@@ -78,7 +76,6 @@ Example: · 5 unmodified lines
7876
7977 sti_uni_player3: sti-uni-player@0x8D85000 {
8078 compatible = "st,stih407-uni-player-spdif";
81− status = "okay";
8279 #sound-dai-cells = <0>;
8380 st,syscfg = <&syscfg_core>;
8481 clocks = <&clk_s_d0_flexgen CLK_SPDIFF>;
@@ -90,7 +87,6 @@ Example: · 5 unmodified lines
9087
9188 sti_uni_reader1: sti-uni-reader@0x8D84000 {
9289 compatible = "st,stih407-uni-reader-hdmi";
93− status = "disabled";
9490 #sound-dai-cells = <0>;
9591 st,syscfg = <&syscfg_core>;
9692 reg = <0x8D84000 0x158>;
@@ -125,7 +121,6 @@ Example of audio card declaration: · 28 unmodified lines
125121 sound {
126122 compatible = "simple-audio-card";
127123 simple-audio-card,name = "sti audio card";
128− status = "okay";
129124
130125 simple-audio-card,dai-link@0 {
131126 /* DAC */
Documentation/devicetree/bindings/sound/sunxi,sun4i-spdif.txt+0−1
@@ -39,5 +39,4 @@ spdif: spdif@01c21000 { · 38 unmodified lines
3939 clock-names = "apb", "spdif";
4040 dmas = <&dma 0 2>, <&dma 0 2>;
4141 dma-names = "rx", "tx";
42− status = "okay";
4342 };
Documentation/devicetree/bindings/sound/tas5720.txt+0−1
@@ -17,7 +17,6 @@ Required properties: · 16 unmodified lines
1717 Example:
1818
1919 tas5720: tas5720@6c {
20− status = "okay";
2120 compatible = "ti,tas5720";
2221 reg = <0x6c>;
2322 dvdd-supply = <&vdd_3v3_reg>;
Documentation/devicetree/bindings/sound/zte,zx-i2s.txt+0−1
@@ -27,7 +27,6 @@ Example: · 26 unmodified lines
2727 interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
2828 dmas = <&dma 5>, <&dma 6>;
2929 dma-names = "tx", "rx";
30− status = "okay";
3130 };
3231
3332 sound {
Documentation/devicetree/bindings/sound/zte,zx-spdif.txt+0−1
@@ -24,5 +24,4 @@ Example: · 23 unmodified lines
2424 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
2525 dmas = <&dma 4>;
2626 dma-names = "tx";
27− status = "okay";
2827 };
Documentation/devicetree/bindings/spi/efm32-spi.txt+0−2
@@ -28,7 +28,6 @@ spi1: spi@0x4000c400 { /* USART1 */ · 27 unmodified lines
2828 clocks = <&cmu 20>;
2929 cs-gpios = <&gpio 51 1>; // D3
3030 energymicro,location = <1>;
31− status = "ok";
3231
3332 ks8851@0 {
3433 compatible = "ks8851";
@@ -36,6 +35,5 @@ spi1: spi@0x4000c400 { /* USART1 */ · 1 unmodified line
3635 reg = <0>;
3736 interrupt-parent = <&boardfpga>;
3837 interrupts = <4>;
39− status = "ok";
4038 };
4139 };
Documentation/devicetree/bindings/spi/nvidia,tegra114-spi.txt+0−1
@@ -38,5 +38,4 @@ spi@7000d600 { · 37 unmodified lines
3838 reset-names = "spi";
3939 dmas = <&apbdma 16>, <&apbdma 16>;
4040 dma-names = "rx", "tx";
41− status = "disabled";
4241 };
Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt+0−1
@@ -34,5 +34,4 @@ spi@7000c380 { · 33 unmodified lines
3434 reset-names = "spi";
3535 dmas = <&apbdma 11>, <&apbdma 11>;
3636 dma-names = "rx", "tx";
37− status = "disabled";
3837 };
Documentation/devicetree/bindings/spi/nvidia,tegra20-slink.txt+0−1
@@ -34,5 +34,4 @@ spi@7000d600 { · 33 unmodified lines
3434 reset-names = "spi";
3535 dmas = <&apbdma 16>, <&apbdma 16>;
3636 dma-names = "rx", "tx";
37− status = "disabled";
3837 };
Documentation/devicetree/bindings/spi/sh-hspi.txt+0−1
@@ -24,6 +24,5 @@ Example: · 23 unmodified lines
2424 interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>;
2525 #address-cells = <1>;
2626 #size-cells = <0>;
27− status = "disabled";
2827 };
2928
Documentation/devicetree/bindings/spi/sh-msiof.txt+0−1
@@ -79,5 +79,4 @@ Example: · 78 unmodified lines
7979 dma-names = "tx", "rx";
8080 #address-cells = <1>;
8181 #size-cells = <0>;
82− status = "disabled";
8382 };
Documentation/devicetree/bindings/spi/spi-clps711x.txt+0−1
@@ -23,7 +23,6 @@ spi@80000500 { · 22 unmodified lines
2323 reg = <0x80000500 0x4>;
2424 interrupts = <15>;
2525 clocks = <&clks CLPS711X_CLK_SPI>;
26− status = "disabled";
2726 };
2827
2928 syscon3: syscon@80002200 {
Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt+0−1
@@ -39,7 +39,6 @@ dspi0@4002c000 { · 38 unmodified lines
3939 pinctrl-names = "default";
4040 pinctrl-0 = <&pinctrl_dspi0_1>;
4141 big-endian;
42− status = "okay";
4342
4443 sflash: at26df081a@0 {
4544 #address-cells = <1>;
Documentation/devicetree/bindings/spi/spi-mt65xx.txt+0−1
@@ -57,5 +57,4 @@ spi: spi@1100a000 { · 56 unmodified lines
5757 clock-names = "parent-clk", "sel-clk", "spi-clk";
5858 cs-gpios = <&pio 105 GPIO_ACTIVE_LOW>, <&pio 72 GPIO_ACTIVE_LOW>;
5959 mediatek,pad-select = <1>, <0>;
60− status = "disabled";
6160 };
Documentation/devicetree/bindings/spi/spi-orion.txt+0−2
@@ -29,7 +29,6 @@ Example: · 28 unmodified lines
2929 cell-index = <0>;
3030 reg = <0x10600 0x28>;
3131 interrupts = <23>;
32− status = "disabled";
3332 };
3433
3534 Example with SPI direct mode support (optionally):
@@ -48,7 +47,6 @@ Example with SPI direct mode support (optionally): · 12 unmodified lines
4847 <MBUS_ID(0x01, 0x9f) 0 0xffffffff>, /* CS6 */
4948 <MBUS_ID(0x01, 0xdf) 0 0xffffffff>; /* CS7 */
5049 interrupts = <23>;
51− status = "disabled";
5250 };
5351
5452 To enable the direct mode, the board specific 'ranges' property in the
Documentation/devicetree/bindings/spi/spi-sun4i.txt+0−1
@@ -18,7 +18,6 @@ spi1: spi@01c06000 { · 17 unmodified lines
1818 interrupts = <11>;
1919 clocks = <&ahb_gates 21>, <&spi1_clk>;
2020 clock-names = "ahb", "mod";
21− status = "disabled";
2221 #address-cells = <1>;
2322 #size-cells = <0>;
2423 };
Documentation/devicetree/bindings/spi/spi-sun6i.txt+0−1
@@ -39,7 +39,6 @@ spi0: spi@01c68000 { · 38 unmodified lines
3939 pinctrl-names = "default";
4040 pinctrl-0 = <&spi0_pins>;
4141 resets = <&ccu RST_BUS_SPI0>;
42− status = "disabled";
4342 #address-cells = <1>;
4443 #size-cells = <0>;
4544 };
Documentation/devicetree/bindings/spi/spi_atmel.txt+0−1
@@ -26,7 +26,6 @@ spi1: spi@fffcc000 { · 25 unmodified lines
2626 clock-names = "spi_clk";
2727 cs-gpios = <&pioB 3 0>;
2828 atmel,fifo-size = <32>;
29− status = "okay";
3029
3130 mmc-slot@0 {
3231 compatible = "mmc-spi-slot";
Documentation/devicetree/bindings/sram/sunxi-sram.txt+0−1
@@ -59,7 +59,6 @@ sram-controller@01c00000 { · 58 unmodified lines
5959 emac_sram: sram-section@8000 {
6060 compatible = "allwinner,sun4i-a10-sram-a3-a4";
6161 reg = <0x8000 0x4000>;
62− status = "disabled";
6362 };
6463 };
6564 };
Documentation/devicetree/bindings/thermal/armada-thermal.txt+0−1
@@ -20,5 +20,4 @@ Example: · 19 unmodified lines
2020 compatible = "marvell,armada370-thermal";
2121 reg = <0xd0018300 0x4
2222 0xd0018304 0x4>;
23− status = "okay";
2423 };
Documentation/devicetree/bindings/thermal/exynos-thermal.txt+0−1
@@ -77,7 +77,6 @@ Example 1): · 76 unmodified lines
7777 interrupts = <2 4>;
7878 clocks = <&clock 383>;
7979 clock-names = "tmu_apbif";
80− status = "disabled";
8180 vtmu-supply = <&tmu_regulator_node>;
8281 #include "exynos4412-tmu-sensor-conf.dtsi"
8382 };
Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt+0−1
@@ -36,7 +36,6 @@ Example: · 35 unmodified lines
3636 clocks = <&cpg CPG_MOD 522>;
3737 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
3838 #thermal-sensor-cells = <1>;
39− status = "okay";
4039 };
4140
4241 thermal-zones {
Documentation/devicetree/bindings/trivial-devices.txt+14−0
@@ -21,6 +21,16 @@ adi,adt7490 +/-1C TDM Extended Temp Range I.C · 20 unmodified lines
2121 adi,adxl345 Three-Axis Digital Accelerometer
2222 adi,adxl346 Three-Axis Digital Accelerometer (backward-compatibility value "adi,adxl345" must be listed too)
2323 ams,iaq-core AMS iAQ-Core VOC Sensor
24+amstaos,tsl2571 AMS/TAOS ALS and proximity sensor
25+amstaos,tsl2671 AMS/TAOS ALS and proximity sensor
26+amstaos,tmd2671 AMS/TAOS ALS and proximity sensor
27+amstaos,tsl2771 AMS/TAOS ALS and proximity sensor
28+amstaos,tmd2771 AMS/TAOS ALS and proximity sensor
29+amstaos,tsl2572 AMS/TAOS ALS and proximity sensor
30+amstaos,tsl2672 AMS/TAOS ALS and proximity sensor
31+amstaos,tmd2672 AMS/TAOS ALS and proximity sensor
32+amstaos,tsl2772 AMS/TAOS ALS and proximity sensor
33+amstaos,tmd2772 AMS/TAOS ALS and proximity sensor
2434 at,24c08 i2c serial eeprom (24cxx)
2535 atmel,at97sc3204t i2c trusted platform module (TPM)
2636 capella,cm32181 CM32181: Ambient Light Sensor
@@ -36,7 +46,9 @@ dallas,ds1775 Tiny Digital Thermometer and Thermostat · 9 unmodified lines
3646 dallas,ds3232 Extremely Accurate I²C RTC with Integrated Crystal and SRAM
3747 dallas,ds4510 CPU Supervisor with Nonvolatile Memory and Programmable I/O
3848 dallas,ds75 Digital Thermometer and Thermostat
49+devantech,srf02 Devantech SRF02 ultrasonic ranger in I2C mode
3950 devantech,srf08 Devantech SRF08 ultrasonic ranger
51+devantech,srf10 Devantech SRF10 ultrasonic ranger
4052 dlg,da9053 DA9053: flexible system level PMIC with multicore support
4153 dlg,da9063 DA9063: system PMIC for quad-core application processors
4254 domintech,dmard09 DMARD09: 3-axis Accelerometer
@@ -54,6 +66,7 @@ fsl,sgtl5000 SGTL5000: Ultra Low-Power Audio Codec · 11 unmodified lines
5466 gmt,g751 G751: Digital Temperature Sensor and Thermal Watchdog with Two-Wire Interface
5567 infineon,slb9635tt Infineon SLB9635 (Soft-) I2C TPM (old protocol, max 100khz)
5668 infineon,slb9645tt Infineon SLB9645 I2C TPM (new protocol, max 400khz)
69+isil,isl1208 Intersil ISL1208 Low Power RTC with Battery Backed SRAM
5770 isil,isl29028 Intersil ISL29028 Ambient Light and Proximity Sensor
5871 isil,isl29030 Intersil ISL29030 Ambient Light and Proximity Sensor
5972 maxim,ds1050 5 Bit Programmable, Pulse-Width Modulator
@@ -168,6 +181,7 @@ st,m41t80 M41T80 - SERIAL ACCESS RTC WITH ALARMS · 108 unmodified lines
168181 taos,tsl2550 Ambient Light Sensor with SMBUS/Two Wire Serial Interface
169182 ti,ads7828 8-Channels, 12-bit ADC
170183 ti,ads7830 8-Channels, 8-bit ADC
184+ti,amc6821 Temperature Monitoring and Fan Control
171185 ti,tsc2003 I2C Touch-Screen Controller
172186 ti,tmp102 Low Power Digital Temperature Sensor with SMBUS/Two Wire Serial Interface
173187 ti,tmp103 Low Power Digital Temperature Sensor with SMBUS/Two Wire Serial Interface
Documentation/devicetree/bindings/unittest.txt+0−5
@@ -10,7 +10,6 @@ All other properties are optional. · 9 unmodified lines
1010 Example:
1111 unittest {
1212 compatible = "unittest";
13− status = "okay";
1413 };
1514
1615 2) OF unittest i2c adapter platform device
@@ -25,7 +24,6 @@ Children nodes contain unittest i2c devices. · 8 unmodified lines
2524 Example:
2625 unittest-i2c-bus {
2726 compatible = "unittest-i2c-bus";
28− status = "okay";
2927 };
3028
3129 3) OF unittest i2c device
@@ -40,7 +38,6 @@ All other properties are optional · 8 unmodified lines
4038 Example:
4139 unittest-i2c-dev {
4240 compatible = "unittest-i2c-dev";
43− status = "okay";
4441 };
4542
4643 4) OF unittest i2c mux device
@@ -55,7 +52,6 @@ Children nodes contain unittest i2c bus nodes per channel. · 8 unmodified lines
5552 Example:
5653 unittest-i2c-mux {
5754 compatible = "unittest-i2c-mux";
58− status = "okay";
5955 #address-cells = <1>;
6056 #size-cells = <0>;
6157 channel-0 {
@@ -65,7 +61,6 @@ Example: · 3 unmodified lines
6561 i2c-dev {
6662 reg = <8>;
6763 compatible = "unittest-i2c-dev";
68− status = "okay";
6964 };
7065 };
7166 };
Documentation/devicetree/bindings/usb/allwinner,sun4i-a10-musb.txt+0−1
@@ -25,5 +25,4 @@ Example: · 24 unmodified lines
2525 phys = <&usbphy 0>;
2626 phy-names = "usb";
2727 extcon = <&usbphy 0>;
28− status = "disabled";
2928 };
Documentation/devicetree/bindings/usb/am33xx-usb.txt+2−2
@@ -4,9 +4,9 @@ · 3 unmodified lines
44 - reg: offset and length of the usbss register sets
55 - ti,hwmods : must be "usb_otg_hs"
66
7−The glue layer contains multiple child nodes. It is required the have
7+The glue layer contains multiple child nodes. It is required to have
88 at least a control module node, USB node and a PHY node. The second USB
9−node and its PHY node is optional. The DMA node is also optional.
9+node and its PHY node are optional. The DMA node is also optional.
1010
1111 Reset module
1212 ~~~~~~~~~~~~
Documentation/devicetree/bindings/usb/da8xx-usb.txt+0−2
@@ -42,7 +42,6 @@ Example: · 41 unmodified lines
4242 usb_phy: usb-phy {
4343 compatible = "ti,da830-usb-phy";
4444 #phy-cells = <0>;
45− status = "okay";
4645 };
4746 usb0: usb@200000 {
4847 compatible = "ti,da830-musb";
@@ -66,7 +65,6 @@ Example: · 17 unmodified lines
6665 "rx1", "rx2", "rx3", "rx4",
6766 "tx1", "tx2", "tx3", "tx4";
6867
69− status = "okay";
7068
7169 cppi41dma: dma-controller@201000 {
7270 compatible = "ti,da830-cppi41";
Documentation/devicetree/bindings/usb/dwc3-st.txt+0−1
@@ -42,7 +42,6 @@ or "device". · 41 unmodified lines
4242 Example:
4343
4444 st_dwc3: dwc3@8f94000 {
45− status = "disabled";
4645 compatible = "st,stih407-dwc3";
4746 reg = <0x08f94000 0x1000>, <0x110 0x4>;
4847 reg-names = "reg-glue", "syscfg-reg";
Documentation/devicetree/bindings/usb/dwc3-xilinx.txt+0−1
@@ -18,7 +18,6 @@ Example device node: · 17 unmodified lines
1818 usb@0 {
1919 #address-cells = <0x2>;
2020 #size-cells = <0x1>;
21− status = "okay";
2221 compatible = "xlnx,zynqmp-dwc3";
2322 clock-names = "bus_clk" "ref_clk";
2423 clocks = <&clk125>, <&clk125>;
Documentation/devicetree/bindings/usb/ehci-st.txt+0−1
@@ -31,7 +31,6 @@ Example: · 30 unmodified lines
3131 clocks = <&clk_s_a1_ls 0>;
3232 phys = <&usb2_phy>;
3333 phy-names = "usb";
34− status = "okay";
3534
3635 resets = <&powerdown STIH416_USB1_POWERDOWN>,
3736 <&softreset STIH416_USB1_SOFTRESET>;
Documentation/devicetree/bindings/usb/exynos-usb.txt+0−2
@@ -40,7 +40,6 @@ Example: · 39 unmodified lines
4040 port@0 {
4141 reg = <0>;
4242 phys = <&usb2phy 1>;
43− status = "disabled";
4443 };
4544 };
4645
@@ -75,7 +74,6 @@ Example: · 28 unmodified lines
7574 port@0 {
7675 reg = <0>;
7776 phys = <&usb2phy 1>;
78− status = "disabled";
7977 };
8078
8179 };
Documentation/devicetree/bindings/usb/isp1301.txt+0−1
@@ -21,5 +21,4 @@ Example: · 20 unmodified lines
2121 interrupt-parent = <&mic>;
2222 interrupts = <0x3d 0>, <0x3e 0>, <0x3c 0>, <0x3a 0>;
2323 transceiver = <&isp1301>;
24− status = "okay";
2524 };
Documentation/devicetree/bindings/usb/keystone-usb.txt+0−1
@@ -44,7 +44,6 @@ Example: · 43 unmodified lines
4444 clock-names = "usb";
4545 interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
4646 ranges;
47− status = "disabled";
4847
4948 dwc3@2690000 {
5049 compatible = "synopsys,dwc3";
Documentation/devicetree/bindings/usb/mediatek,mtu3.txt+0−2
@@ -75,7 +75,6 @@ ssusb: usb@11271000 { · 74 unmodified lines
7575 #address-cells = <2>;
7676 #size-cells = <2>;
7777 ranges;
78− status = "disabled";
7978
8079 usb_host: xhci@11270000 {
8180 compatible = "mediatek,mt8173-xhci";
@@ -86,6 +85,5 @@ ssusb: usb@11271000 { · 4 unmodified lines
8685 clocks = <&topckgen CLK_TOP_USB30_SEL>, <&clk26m>;
8786 clock-names = "sys_ck", "ref_ck";
8887 vusb33-supply = <&mt6397_vusb_reg>;
89− status = "disabled";
9088 };
9189 };
Documentation/devicetree/bindings/usb/ohci-st.txt+0−1
@@ -29,7 +29,6 @@ Example: · 28 unmodified lines
2929 clock-names = "ic", "clk48";
3030 phys = <&usb2_phy>;
3131 phy-names = "usb";
32− status = "okay";
3332
3433 resets = <&powerdown STIH416_USB0_POWERDOWN>,
3534 <&softreset STIH416_USB0_SOFTRESET>;
Documentation/devicetree/bindings/usb/qcom,dwc3.txt+0−3
@@ -29,7 +29,6 @@ Example device nodes: · 28 unmodified lines
2929 clock-names = "ref";
3030 #phy-cells = <0>;
3131
32− status = "ok";
3332 };
3433
3534 ss_phy: phy@100f8830 {
@@ -39,7 +38,6 @@ Example device nodes: · 3 unmodified lines
3938 clock-names = "ref";
4039 #phy-cells = <0>;
4140
42− status = "ok";
4341 };
4442
4543 usb3_0: usb30@0 {
@@ -51,7 +49,6 @@ Example device nodes: · 5 unmodified lines
5149
5250 ranges;
5351
54− status = "ok";
5552
5653 dwc3@10000000 {
5754 compatible = "snps,dwc3";
Documentation/devicetree/bindings/usb/rockchip,dwc3.txt+0−4
@@ -29,13 +29,11 @@ Example device nodes: · 28 unmodified lines
2929 #address-cells = <2>;
3030 #size-cells = <2>;
3131 ranges;
32− status = "disabled";
3332 usbdrd_dwc3_0: dwc3@fe800000 {
3433 compatible = "snps,dwc3";
3534 reg = <0x0 0xfe800000 0x0 0x100000>;
3635 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
3736 dr_mode = "otg";
38− status = "disabled";
3937 };
4038 };
4139
@@ -48,12 +46,10 @@ Example device nodes: · 6 unmodified lines
4846 #address-cells = <2>;
4947 #size-cells = <2>;
5048 ranges;
51− status = "disabled";
5249 usbdrd_dwc3_1: dwc3@fe900000 {
5350 compatible = "snps,dwc3";
5451 reg = <0x0 0xfe900000 0x0 0x100000>;
5552 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
5653 dr_mode = "otg";
57− status = "disabled";
5854 };
5955 };
Documentation/devicetree/bindings/usb/usb-device.txt+1−2
@@ -2,7 +2,7 @@ Generic USB Device Properties · 1 unmodified line
22
33 Usually, we only use device tree for hard wired USB device.
44 The reference binding doc is from:
5−http://www.firmware.org/1275/bindings/usb/usb-1_0.ps
5+http://www.devicetree.org/open-firmware/bindings/usb/usb-1_0.ps
66
77 Required properties:
88 - compatible: usbVID,PID. The textual representation of VID, PID shall
@@ -16,7 +16,6 @@ Required properties: · 7 unmodified lines
1616 Example:
1717
1818 &usb1 {
19− status = "okay";
2019
2120 #address-cells = <1>;
2221 #size-cells = <0>;
Documentation/devicetree/bindings/vendor-prefixes.txt+4−1
@@ -9,6 +9,7 @@ actions Actions Semiconductor Co., Ltd. · 8 unmodified lines
99 active-semi Active-Semi International Inc
1010 ad Avionic Design GmbH
1111 adapteva Adapteva, Inc.
12+adaptrum Adaptrum, Inc.
1213 adh AD Holdings Plc.
1314 adi Analog Devices, Inc.
1415 advantech Advantech Corporation
@@ -197,6 +198,7 @@ mediatek MediaTek Inc. · 182 unmodified lines
197198 megachips MegaChips
198199 melexis Melexis N.V.
199200 melfas MELFAS Inc.
201+mellanox Mellanox Technologies
200202 memsic MEMSIC Inc.
201203 merrii Merrii Technology Co., Ltd.
202204 micrel Micrel Inc.
@@ -208,7 +210,7 @@ miramems MiraMEMS Sensing Technology Co., Ltd. · 5 unmodified lines
208210 mitsubishi Mitsubishi Electric Corporation
209211 mosaixtech Mosaix Technologies, Inc.
210212 motorola Motorola, Inc.
211−moxa Moxa
213+moxa Moxa Inc.
212214 mpl MPL AG
213215 mqmaker mqmaker Inc.
214216 msi Micro-Star International Co. Ltd.
@@ -344,6 +346,7 @@ tpo TPO · 129 unmodified lines
344346 tronfy Tronfy
345347 tronsmart Tronsmart
346348 truly Truly Semiconductors Limited
349+tsd Theobroma Systems Design und Consulting GmbH
347350 tyan Tyan Computer Corporation
348351 ucrobotics uCRobotics
349352 udoo Udoo
Documentation/devicetree/bindings/w1/fsl-imx-owire.txt+0−1
@@ -15,5 +15,4 @@ owire: owire@63fa4000 { · 14 unmodified lines
1515 compatible = "fsl,imx53-owire", "fsl,imx21-owire";
1616 reg = <0x63fa4000 0x4000>;
1717 clocks = <&clks 159>;
18− status = "disabled";
1918 };
Documentation/devicetree/bindings/watchdog/atmel-sama5d4-wdt.txt+0−1
@@ -31,5 +31,4 @@ Example: · 30 unmodified lines
3131 atmel,watchdog-type = "hardware";
3232 atmel,dbg-halt;
3333 atmel,idle-halt;
34− status = "okay";
3534 };
Documentation/devicetree/bindings/watchdog/atmel-wdt.txt+0−1
@@ -48,5 +48,4 @@ Example: · 47 unmodified lines
4848 atmel,idle-halt;
4949 atmel,max-heartbeat-sec = <16>;
5050 atmel,min-heartbeat-sec = <0>;
51− status = "okay";
5251 };
Documentation/devicetree/bindings/watchdog/marvel.txt+0−1
@@ -41,6 +41,5 @@ Example: · 40 unmodified lines
4141 reg = <0x20300 0x28>, <0x20108 0x4>;
4242 interrupts = <3>;
4343 timeout-sec = <10>;
44− status = "okay";
4544 clocks = <&gate_clk 7>;
4645 };
Documentation/devicetree/booting-without-of.txt+1−1
@@ -1282,7 +1282,7 @@ hierarchy and routing of interrupts in the hardware. · 1281 unmodified lines
12821282 The interrupt tree model is fully described in the
12831283 document "Open Firmware Recommended Practice: Interrupt
12841284 Mapping Version 0.9". The document is available at:
1285−<http://www.openfirmware.org/ofwg/practice/>
1285+<http://www.devicetree.org/open-firmware/practice/>
12861286
12871287 1) interrupts property
12881288 ----------------------
arch/microblaze/kernel/timer.c+1−1
@@ -293,7 +293,7 @@ static int __init xilinx_timer_init(struct device_node *timer) · 292 unmodified lines
293293 return -EINVAL;
294294 }
295295
296− pr_info("%s: irq=%d\n", timer->full_name, irq);
296+ pr_info("%pOF: irq=%d\n", timer, irq);
297297
298298 clk = of_clk_get(timer, 0);
299299 if (IS_ERR(clk)) {
arch/microblaze/pci/pci-common.c+7−7
@@ -508,8 +508,8 @@ void pci_process_bridge_OF_ranges(struct pci_controller *hose, · 507 unmodified lines
508508 struct of_pci_range range;
509509 struct of_pci_range_parser parser;
510510
511− pr_info("PCI host bridge %s %s ranges:\n",
512− dev->full_name, primary ? "(primary)" : "");
511+ pr_info("PCI host bridge %pOF %s ranges:\n",
512+ dev, primary ? "(primary)" : "");
513513
514514 /* Check for ranges property */
515515 if (of_pci_range_parser_init(&parser, dev))
@@ -1219,8 +1219,8 @@ static void pcibios_setup_phb_resources(struct pci_controller *hose, · 703 unmodified lines
12191219
12201220 if (!res->flags) {
12211221 pr_warn("PCI: I/O resource not set for host ");
1222− pr_cont("bridge %s (domain %d)\n",
1223− hose->dn->full_name, hose->global_number);
1222+ pr_cont("bridge %pOF (domain %d)\n",
1223+ hose->dn, hose->global_number);
12241224 /* Workaround for lack of IO resource only on 32-bit */
12251225 res->start = (unsigned long)hose->io_base_virt - isa_io_base;
12261226 res->end = res->start + IO_SPACE_LIMIT;
@@ -1241,8 +1241,8 @@ static void pcibios_setup_phb_resources(struct pci_controller *hose, · 14 unmodified lines
12411241 if (i > 0)
12421242 continue;
12431243 pr_err("PCI: Memory resource 0 not set for ");
1244− pr_cont("host bridge %s (domain %d)\n",
1245− hose->dn->full_name, hose->global_number);
1244+ pr_cont("host bridge %pOF (domain %d)\n",
1245+ hose->dn, hose->global_number);
12461246
12471247 /* Workaround for lack of MEM resource only on 32-bit */
12481248 res->start = hose->pci_mem_offset;
@@ -1270,7 +1270,7 @@ static void pcibios_scan_phb(struct pci_controller *hose) · 21 unmodified lines
12701270 struct pci_bus *bus;
12711271 struct device_node *node = hose->dn;
12721272
1273− pr_debug("PCI: Scanning PHB %s\n", of_node_full_name(node));
1273+ pr_debug("PCI: Scanning PHB %pOF\n", node);
12741274
12751275 pcibios_setup_phb_resources(hose, &resources);
12761276
drivers/of/address.c+11−13
@@ -274,10 +274,9 @@ struct of_pci_range *of_pci_range_parser_one(struct of_pci_range_parser *parser, · 273 unmodified lines
274274
275275 /* Now consume following elements while they are contiguous */
276276 while (parser->range + parser->np <= parser->end) {
277− u32 flags, pci_space;
277+ u32 flags;
278278 u64 pci_addr, cpu_addr, size;
279279
280− pci_space = be32_to_cpup(parser->range);
281280 flags = of_bus_pci_get_flags(parser->range);
282281 pci_addr = of_read_number(parser->range + 1, ns);
283282 cpu_addr = of_translate_address(parser->node,
@@ -559,7 +558,7 @@ static u64 __of_translate_address(struct device_node *dev, · 275 unmodified lines
559558 int na, ns, pna, pns;
560559 u64 result = OF_BAD_ADDR;
561560
562− pr_debug("** translation for device %s **\n", of_node_full_name(dev));
561+ pr_debug("** translation for device %pOF **\n", dev);
563562
564563 /* Increase refcount at current level */
565564 of_node_get(dev);
@@ -573,13 +572,13 @@ static u64 __of_translate_address(struct device_node *dev, · 7 unmodified lines
573572 /* Count address cells & copy address locally */
574573 bus->count_cells(dev, &na, &ns);
575574 if (!OF_CHECK_COUNTS(na, ns)) {
576− pr_debug("Bad cell count for %s\n", of_node_full_name(dev));
575+ pr_debug("Bad cell count for %pOF\n", dev);
577576 goto bail;
578577 }
579578 memcpy(addr, in_addr, na * 4);
580579
581− pr_debug("bus is %s (na=%d, ns=%d) on %s\n",
582− bus->name, na, ns, of_node_full_name(parent));
580+ pr_debug("bus is %s (na=%d, ns=%d) on %pOF\n",
581+ bus->name, na, ns, parent);
583582 of_dump_addr("translating address:", addr, na);
584583
585584 /* Translate */
@@ -600,13 +599,12 @@ static u64 __of_translate_address(struct device_node *dev, · 14 unmodified lines
600599 pbus = of_match_bus(parent);
601600 pbus->count_cells(dev, &pna, &pns);
602601 if (!OF_CHECK_COUNTS(pna, pns)) {
603− pr_err("Bad cell count for %s\n",
604− of_node_full_name(dev));
602+ pr_err("Bad cell count for %pOF\n", dev);
605603 break;
606604 }
607605
608− pr_debug("parent bus is %s (na=%d, ns=%d) on %s\n",
609− pbus->name, pna, pns, of_node_full_name(parent));
606+ pr_debug("parent bus is %s (na=%d, ns=%d) on %pOF\n",
607+ pbus->name, pna, pns, parent);
610608
611609 /* Apply bus translation */
612610 if (of_translate_one(dev, bus, pbus, addr, na, ns, pna, rprop))
@@ -855,7 +853,7 @@ int of_dma_get_range(struct device_node *np, u64 *dma_addr, u64 *paddr, u64 *siz · 242 unmodified lines
855853 }
856854
857855 if (!ranges) {
858− pr_debug("no dma-ranges found for node(%s)\n", np->full_name);
856+ pr_debug("no dma-ranges found for node(%pOF)\n", np);
859857 ret = -ENODEV;
860858 goto out;
861859 }
@@ -872,8 +870,8 @@ int of_dma_get_range(struct device_node *np, u64 *dma_addr, u64 *paddr, u64 *siz · 10 unmodified lines
872870 dmaaddr = of_read_number(ranges, naddr);
873871 *paddr = of_translate_dma_address(np, ranges);
874872 if (*paddr == OF_BAD_ADDR) {
875− pr_err("translation of DMA address(%pad) to CPU address failed node(%s)\n",
876− dma_addr, np->full_name);
873+ pr_err("translation of DMA address(%pad) to CPU address failed node(%pOF)\n",
874+ dma_addr, np);
877875 ret = -EINVAL;
878876 goto out;
879877 }
drivers/of/base.c+23−23
@@ -60,14 +60,13 @@ DEFINE_RAW_SPINLOCK(devtree_lock); · 59 unmodified lines
6060
6161 int of_n_addr_cells(struct device_node *np)
6262 {
63− const __be32 *ip;
63+ u32 cells;
6464
6565 do {
6666 if (np->parent)
6767 np = np->parent;
68− ip = of_get_property(np, "#address-cells", NULL);
69− if (ip)
70− return be32_to_cpup(ip);
68+ if (!of_property_read_u32(np, "#address-cells", &cells))
69+ return cells;
7170 } while (np->parent);
7271 /* No #address-cells property for the root node */
7372 return OF_ROOT_NODE_ADDR_CELLS_DEFAULT;
@@ -76,14 +75,13 @@ EXPORT_SYMBOL(of_n_addr_cells); · 2 unmodified lines
7675
7776 int of_n_size_cells(struct device_node *np)
7877 {
79− const __be32 *ip;
78+ u32 cells;
8079
8180 do {
8281 if (np->parent)
8382 np = np->parent;
84− ip = of_get_property(np, "#size-cells", NULL);
85− if (ip)
86− return be32_to_cpup(ip);
83+ if (!of_property_read_u32(np, "#size-cells", &cells))
84+ return cells;
8785 } while (np->parent);
8886 /* No #size-cells property for the root node */
8987 return OF_ROOT_NODE_SIZE_CELLS_DEFAULT;
@@ -160,7 +158,7 @@ int __of_add_property_sysfs(struct device_node *np, struct property *pp) · 70 unmodified lines
160158 pp->attr.read = of_node_property_read;
161159
162160 rc = sysfs_create_bin_file(&np->kobj, &pp->attr);
163− WARN(rc, "error adding attribute %s to node %s\n", pp->name, np->full_name);
161+ WARN(rc, "error adding attribute %s to node %pOF\n", pp->name, np);
164162 return rc;
165163 }
166164
@@ -1122,7 +1120,7 @@ EXPORT_SYMBOL(of_find_node_by_phandle); · 955 unmodified lines
11221120 void of_print_phandle_args(const char *msg, const struct of_phandle_args *args)
11231121 {
11241122 int i;
1125− printk("%s %s", msg, of_node_full_name(args->np));
1123+ printk("%s %pOF", msg, args->np);
11261124 for (i = 0; i < args->args_count; i++) {
11271125 const char delim = i ? ',' : ':';
11281126
@@ -1184,17 +1182,17 @@ int of_phandle_iterator_next(struct of_phandle_iterator *it) · 55 unmodified lines
11841182
11851183 if (it->cells_name) {
11861184 if (!it->node) {
1187− pr_err("%s: could not find phandle\n",
1188− it->parent->full_name);
1185+ pr_err("%pOF: could not find phandle\n",
1186+ it->parent);
11891187 goto err;
11901188 }
11911189
11921190 if (of_property_read_u32(it->node, it->cells_name,
11931191 &count)) {
1194− pr_err("%s: could not get %s for %s\n",
1195− it->parent->full_name,
1192+ pr_err("%pOF: could not get %s for %pOF\n",
1193+ it->parent,
11961194 it->cells_name,
1197− it->node->full_name);
1195+ it->node);
11981196 goto err;
11991197 }
12001198 } else {
@@ -1206,8 +1204,8 @@ int of_phandle_iterator_next(struct of_phandle_iterator *it) · 5 unmodified lines
12061204 * property data length
12071205 */
12081206 if (it->cur + count > it->list_end) {
1209− pr_err("%s: arguments longer than property\n",
1210− it->parent->full_name);
1207+ pr_err("%pOF: arguments longer than property\n",
1208+ it->parent);
12111209 goto err;
12121210 }
12131211 }
@@ -1639,8 +1637,8 @@ static void of_alias_add(struct alias_prop *ap, struct device_node *np, · 425 unmodified lines
16391637 strncpy(ap->stem, stem, stem_len);
16401638 ap->stem[stem_len] = 0;
16411639 list_add_tail(&ap->link, &aliases_lookup);
1642− pr_debug("adding DT alias:%s: stem=%s id=%i node=%s\n",
1643− ap->alias, ap->stem, ap->id, of_node_full_name(np));
1640+ pr_debug("adding DT alias:%s: stem=%s id=%i node=%pOF\n",
1641+ ap->alias, ap->stem, ap->id, np);
16441642 }
16451643
16461644 /**
@@ -1664,11 +1662,13 @@ void of_alias_scan(void * (*dt_alloc)(u64 size, u64 align)) · 17 unmodified lines
16641662
16651663 if (of_chosen) {
16661664 /* linux,stdout-path and /aliases/stdout are for legacy compatibility */
1667− const char *name = of_get_property(of_chosen, "stdout-path", NULL);
1668− if (!name)
1669− name = of_get_property(of_chosen, "linux,stdout-path", NULL);
1665+ const char *name = NULL;
1666+
1667+ if (of_property_read_string(of_chosen, "stdout-path", &name))
1668+ of_property_read_string(of_chosen, "linux,stdout-path",
1669+ &name);
16701670 if (IS_ENABLED(CONFIG_PPC) && !name)
1671− name = of_get_property(of_aliases, "stdout", NULL);
1671+ of_property_read_string(of_aliases, "stdout", &name);
16721672 if (name)
16731673 of_stdout = of_find_node_opts_by_path(name, &of_stdout_options);
16741674 }
drivers/of/device.c+31−44
@@ -58,7 +58,7 @@ int of_device_add(struct platform_device *ofdev) · 57 unmodified lines
5858 /* name and id have to be set so that the platform bus doesn't get
5959 * confused on matching */
6060 ofdev->name = dev_name(&ofdev->dev);
61− ofdev->id = -1;
61+ ofdev->id = PLATFORM_DEVID_NONE;
6262
6363 /*
6464 * If this device has not binding numa node in devicetree, that is
@@ -196,8 +196,10 @@ EXPORT_SYMBOL(of_device_get_match_data); · 131 unmodified lines
196196 static ssize_t of_device_get_modalias(struct device *dev, char *str, ssize_t len)
197197 {
198198 const char *compat;
199− int cplen, i;
200− ssize_t tsize, csize, repend;
199+ char *c;
200+ struct property *p;
201+ ssize_t csize;
202+ ssize_t tsize;
201203
202204 if ((!dev) || (!dev->of_node))
203205 return -ENODEV;
@@ -205,42 +207,28 @@ static ssize_t of_device_get_modalias(struct device *dev, char *str, ssize_t len · 1 unmodified line
205207 /* Name & Type */
206208 csize = snprintf(str, len, "of:N%sT%s", dev->of_node->name,
207209 dev->of_node->type);
208−
209− /* Get compatible property if any */
210− compat = of_get_property(dev->of_node, "compatible", &cplen);
211− if (!compat)
212− return csize;
213−
214− /* Find true end (we tolerate multiple \0 at the end */
215− for (i = (cplen - 1); i >= 0 && !compat[i]; i--)
216− cplen--;
217− if (!cplen)
218− return csize;
219− cplen++;
220−
221− /* Check space (need cplen+1 chars including final \0) */
222− tsize = csize + cplen;
223− repend = tsize;
224−
225− if (csize >= len) /* @ the limit, all is already filled */
226− return tsize;
227−
228− if (tsize >= len) { /* limit compat list */
229− cplen = len - csize - 1;
230− repend = len;
231− }
232−
233− /* Copy and do char replacement */
234− memcpy(&str[csize + 1], compat, cplen);
235− for (i = csize; i < repend; i++) {
236− char c = str[i];
237− if (c == '\0')
238− str[i] = 'C';
239− else if (c == ' ')
240− str[i] = '_';
210+ tsize = csize;
211+ len -= csize;
212+ if (str)
213+ str += csize;
214+
215+ of_property_for_each_string(dev->of_node, "compatible", p, compat) {
216+ csize = strlen(compat) + 1;
217+ tsize += csize;
218+ if (csize > len)
219+ continue;
220+
221+ csize = snprintf(str, len, "C%s", compat);
222+ for (c = str; c; ) {
223+ c = strchr(c, ' ');
224+ if (c)
225+ *c++ = '_';
226+ }
227+ len -= csize;
228+ str += csize;
241229 }
242230
243− return repend;
231+ return tsize;
244232 }
245233
246234 int of_device_request_module(struct device *dev)
@@ -274,6 +262,8 @@ ssize_t of_device_modalias(struct device *dev, char *str, ssize_t len) · 27 unmodified lines
274262 ssize_t sl = of_device_get_modalias(dev, str, len - 2);
275263 if (sl < 0)
276264 return sl;
265+ if (sl > len - 2)
266+ return -ENOMEM;
277267
278268 str[sl++] = '\n';
279269 str[sl] = 0;
@@ -288,25 +278,22 @@ void of_device_uevent(struct device *dev, struct kobj_uevent_env *env) · 8 unmodified lines
288278 {
289279 const char *compat;
290280 struct alias_prop *app;
291− int seen = 0, cplen, sl;
281+ struct property *p;
282+ int seen = 0;
292283
293284 if ((!dev) || (!dev->of_node))
294285 return;
295286
296287 add_uevent_var(env, "OF_NAME=%s", dev->of_node->name);
297− add_uevent_var(env, "OF_FULLNAME=%s", dev->of_node->full_name);
288+ add_uevent_var(env, "OF_FULLNAME=%pOF", dev->of_node);
298289 if (dev->of_node->type && strcmp("<NULL>", dev->of_node->type) != 0)
299290 add_uevent_var(env, "OF_TYPE=%s", dev->of_node->type);
300291
301292 /* Since the compatible field can contain pretty much anything
302293 * it's not really legal to split it out with commas. We split it
303294 * up using a number of environment variables instead. */
304− compat = of_get_property(dev->of_node, "compatible", &cplen);
305− while (compat && *compat && cplen > 0) {
295+ of_property_for_each_string(dev->of_node, "compatible", p, compat) {
306296 add_uevent_var(env, "OF_COMPATIBLE_%d=%s", seen, compat);
307− sl = strlen(compat) + 1;
308− compat += sl;
309− cplen -= sl;
310297 seen++;
311298 }
312299 add_uevent_var(env, "OF_COMPATIBLE_N=%d", seen);
drivers/of/dynamic.c+16−17
@@ -98,14 +98,14 @@ int of_reconfig_notify(unsigned long action, struct of_reconfig_data *p) · 97 unmodified lines
9898 switch (action) {
9999 case OF_RECONFIG_ATTACH_NODE:
100100 case OF_RECONFIG_DETACH_NODE:
101− pr_debug("notify %-15s %s\n", action_names[action],
102− pr->dn->full_name);
101+ pr_debug("notify %-15s %pOF\n", action_names[action],
102+ pr->dn);
103103 break;
104104 case OF_RECONFIG_ADD_PROPERTY:
105105 case OF_RECONFIG_REMOVE_PROPERTY:
106106 case OF_RECONFIG_UPDATE_PROPERTY:
107− pr_debug("notify %-15s %s:%s\n", action_names[action],
108− pr->dn->full_name, pr->prop->name);
107+ pr_debug("notify %-15s %pOF:%s\n", action_names[action],
108+ pr->dn, pr->prop->name);
109109 break;
110110
111111 }
@@ -328,11 +328,10 @@ void of_node_release(struct kobject *kobj) · 216 unmodified lines
328328
329329 /* We should never be releasing nodes that haven't been detached. */
330330 if (!of_node_check_flag(node, OF_DETACHED)) {
331− pr_err("ERROR: Bad of_node_put() on %s\n", node->full_name);
331+ pr_err("ERROR: Bad of_node_put() on %pOF\n", node);
332332 dump_stack();
333333 return;
334334 }
335−
336335 if (!of_node_check_flag(node, OF_DYNAMIC))
337336 return;
338337
@@ -462,13 +461,13 @@ static void __of_changeset_entry_dump(struct of_changeset_entry *ce) · 123 unmodified lines
462461 case OF_RECONFIG_ADD_PROPERTY:
463462 case OF_RECONFIG_REMOVE_PROPERTY:
464463 case OF_RECONFIG_UPDATE_PROPERTY:
465− pr_debug("cset<%p> %-15s %s/%s\n", ce, action_names[ce->action],
466− ce->np->full_name, ce->prop->name);
464+ pr_debug("cset<%p> %-15s %pOF/%s\n", ce, action_names[ce->action],
465+ ce->np, ce->prop->name);
467466 break;
468467 case OF_RECONFIG_ATTACH_NODE:
469468 case OF_RECONFIG_DETACH_NODE:
470− pr_debug("cset<%p> %-15s %s\n", ce, action_names[ce->action],
471− ce->np->full_name);
469+ pr_debug("cset<%p> %-15s %pOF\n", ce, action_names[ce->action],
470+ ce->np);
472471 break;
473472 }
474473 }
@@ -539,7 +538,7 @@ static void __of_changeset_entry_notify(struct of_changeset_entry *ce, bool reve · 64 unmodified lines
539538 }
540539
541540 if (ret)
542− pr_err("changeset notifier error @%s\n", ce->np->full_name);
541+ pr_err("changeset notifier error @%pOF\n", ce->np);
543542 }
544543
545544 static int __of_changeset_entry_apply(struct of_changeset_entry *ce)
@@ -570,8 +569,8 @@ static int __of_changeset_entry_apply(struct of_changeset_entry *ce) · 24 unmodified lines
570569
571570 ret = __of_add_property(ce->np, ce->prop);
572571 if (ret) {
573− pr_err("changeset: add_property failed @%s/%s\n",
574− ce->np->full_name,
572+ pr_err("changeset: add_property failed @%pOF/%s\n",
573+ ce->np,
575574 ce->prop->name);
576575 break;
577576 }
@@ -579,8 +578,8 @@ static int __of_changeset_entry_apply(struct of_changeset_entry *ce) · 1 unmodified line
579578 case OF_RECONFIG_REMOVE_PROPERTY:
580579 ret = __of_remove_property(ce->np, ce->prop);
581580 if (ret) {
582− pr_err("changeset: remove_property failed @%s/%s\n",
583− ce->np->full_name,
581+ pr_err("changeset: remove_property failed @%pOF/%s\n",
582+ ce->np,
584583 ce->prop->name);
585584 break;
586585 }
@@ -598,8 +597,8 @@ static int __of_changeset_entry_apply(struct of_changeset_entry *ce) · 11 unmodified lines
598597
599598 ret = __of_update_property(ce->np, ce->prop, &old_prop);
600599 if (ret) {
601− pr_err("changeset: update_property failed @%s/%s\n",
602− ce->np->full_name,
600+ pr_err("changeset: update_property failed @%pOF/%s\n",
601+ ce->np,
603602 ce->prop->name);
604603 break;
605604 }
drivers/of/irq.c+31−46
@@ -59,20 +59,19 @@ EXPORT_SYMBOL_GPL(irq_of_parse_and_map); · 58 unmodified lines
5959 struct device_node *of_irq_find_parent(struct device_node *child)
6060 {
6161 struct device_node *p;
62− const __be32 *parp;
62+ phandle parent;
6363
6464 if (!of_node_get(child))
6565 return NULL;
6666
6767 do {
68− parp = of_get_property(child, "interrupt-parent", NULL);
69− if (parp == NULL)
68+ if (of_property_read_u32(child, "interrupt-parent", &parent)) {
7069 p = of_get_parent(child);
71− else {
70+ } else {
7271 if (of_irq_workarounds & OF_IMAP_NO_PHANDLE)
7372 p = of_node_get(of_irq_dflt_pic);
7473 else
75− p = of_find_node_by_phandle(be32_to_cpup(parp));
74+ p = of_find_node_by_phandle(parent);
7675 }
7776 of_node_put(child);
7877 child = p;
@@ -117,11 +116,8 @@ int of_irq_parse_raw(const __be32 *addr, struct of_phandle_args *out_irq) · 38 unmodified lines
117116 * is none, we are nice and just walk up the tree
118117 */
119118 do {
120− tmp = of_get_property(ipar, "#interrupt-cells", NULL);
121− if (tmp != NULL) {
122− intsize = be32_to_cpu(*tmp);
119+ if (!of_property_read_u32(ipar, "#interrupt-cells", &intsize))
123120 break;
124− }
125121 tnode = ipar;
126122 ipar = of_irq_find_parent(ipar);
127123 of_node_put(tnode);
@@ -131,7 +127,7 @@ int of_irq_parse_raw(const __be32 *addr, struct of_phandle_args *out_irq) · 3 unmodified lines
131127 goto fail;
132128 }
133129
134− pr_debug("of_irq_parse_raw: ipar=%s, size=%d\n", of_node_full_name(ipar), intsize);
130+ pr_debug("of_irq_parse_raw: ipar=%pOF, size=%d\n", ipar, intsize);
135131
136132 if (out_irq->args_count != intsize)
137133 goto fail;
@@ -169,8 +165,7 @@ int of_irq_parse_raw(const __be32 *addr, struct of_phandle_args *out_irq) · 31 unmodified lines
169165 /* Now check if cursor is an interrupt-controller and if it is
170166 * then we are done
171167 */
172− if (of_get_property(ipar, "interrupt-controller", NULL) !=
173− NULL) {
168+ if (of_property_read_bool(ipar, "interrupt-controller")) {
174169 pr_debug(" -> got it !\n");
175170 return 0;
176171 }
@@ -229,14 +224,14 @@ int of_irq_parse_raw(const __be32 *addr, struct of_phandle_args *out_irq) · 52 unmodified lines
229224 /* Get #interrupt-cells and #address-cells of new
230225 * parent
231226 */
232− tmp = of_get_property(newpar, "#interrupt-cells", NULL);
233− if (tmp == NULL) {
227+ if (of_property_read_u32(newpar, "#interrupt-cells",
228+ &newintsize)) {
234229 pr_debug(" -> parent lacks #interrupt-cells!\n");
235230 goto fail;
236231 }
237− newintsize = be32_to_cpu(*tmp);
238− tmp = of_get_property(newpar, "#address-cells", NULL);
239− newaddrsize = (tmp == NULL) ? 0 : be32_to_cpu(*tmp);
232+ if (of_property_read_u32(newpar, "#address-cells",
233+ &newaddrsize))
234+ newaddrsize = 0;
240235
241236 pr_debug(" -> newintsize=%d, newaddrsize=%d\n",
242237 newintsize, newaddrsize);
@@ -269,7 +264,7 @@ int of_irq_parse_raw(const __be32 *addr, struct of_phandle_args *out_irq) · 26 unmodified lines
269264 skiplevel:
270265 /* Iterate again with new parent */
271266 out_irq->np = newpar;
272− pr_debug(" -> new parent: %s\n", of_node_full_name(newpar));
267+ pr_debug(" -> new parent: %pOF\n", newpar);
273268 of_node_put(ipar);
274269 ipar = newpar;
275270 newpar = NULL;
@@ -297,11 +292,11 @@ EXPORT_SYMBOL_GPL(of_irq_parse_raw); · 21 unmodified lines
297292 int of_irq_parse_one(struct device_node *device, int index, struct of_phandle_args *out_irq)
298293 {
299294 struct device_node *p;
300− const __be32 *intspec, *tmp, *addr;
301− u32 intsize, intlen;
295+ const __be32 *addr;
296+ u32 intsize;
302297 int i, res;
303298
304− pr_debug("of_irq_parse_one: dev=%s, index=%d\n", of_node_full_name(device), index);
299+ pr_debug("of_irq_parse_one: dev=%pOF, index=%d\n", device, index);
305300
306301 /* OldWorld mac stuff is "special", handle out of line */
307302 if (of_irq_workarounds & OF_IMAP_OLDWORLD_MAC)
@@ -316,42 +311,32 @@ int of_irq_parse_one(struct device_node *device, int index, struct of_phandle_ar · 8 unmodified lines
316311 if (!res)
317312 return of_irq_parse_raw(addr, out_irq);
318313
319− /* Get the interrupts property */
320− intspec = of_get_property(device, "interrupts", &intlen);
321− if (intspec == NULL)
322− return -EINVAL;
323−
324− intlen /= sizeof(*intspec);
325−
326− pr_debug(" intspec=%d intlen=%d\n", be32_to_cpup(intspec), intlen);
327−
328314 /* Look for the interrupt parent. */
329315 p = of_irq_find_parent(device);
330316 if (p == NULL)
331317 return -EINVAL;
332318
333319 /* Get size of interrupt specifier */
334− tmp = of_get_property(p, "#interrupt-cells", NULL);
335− if (tmp == NULL) {
320+ if (of_property_read_u32(p, "#interrupt-cells", &intsize)) {
336321 res = -EINVAL;
337322 goto out;
338323 }
339− intsize = be32_to_cpu(*tmp);
340324
341− pr_debug(" intsize=%d intlen=%d\n", intsize, intlen);
342−
343− /* Check index */
344− if ((index + 1) * intsize > intlen) {
345− res = -EINVAL;
346− goto out;
347− }
325+ pr_debug(" parent=%pOF, intsize=%d\n", p, intsize);
348326
349327 /* Copy intspec into irq structure */
350− intspec += index * intsize;
351328 out_irq->np = p;
352329 out_irq->args_count = intsize;
353− for (i = 0; i < intsize; i++)
354− out_irq->args[i] = be32_to_cpup(intspec++);
330+ for (i = 0; i < intsize; i++) {
331+ res = of_property_read_u32_index(device, "interrupts",
332+ (index * intsize) + i,
333+ out_irq->args + i);
334+ if (res)
335+ goto out;
336+ }
337+
338+ pr_debug(" intspec=%d\n", *out_irq->args);
339+
355340
356341 /* Check if there are any interrupt-map translations to process */
357342 res = of_irq_parse_raw(addr, out_irq);
@@ -508,7 +493,7 @@ void __init of_irq_init(const struct of_device_id *matches) · 150 unmodified lines
508493 INIT_LIST_HEAD(&intc_parent_list);
509494
510495 for_each_matching_node_and_match(np, matches, &match) {
511− if (!of_find_property(np, "interrupt-controller", NULL) ||
496+ if (!of_property_read_bool(np, "interrupt-controller") ||
512497 !of_device_is_available(np))
513498 continue;
514499
@@ -555,8 +540,8 @@ void __init of_irq_init(const struct of_device_id *matches) · 40 unmodified lines
555540
556541 of_node_set_flag(desc->dev, OF_POPULATED);
557542
558− pr_debug("of_irq_init: init %s (%p), parent %p\n",
559− desc->dev->full_name,
543+ pr_debug("of_irq_init: init %pOF (%p), parent %p\n",
544+ desc->dev,
560545 desc->dev, desc->interrupt_parent);
561546 ret = desc->irq_init_cb(desc->dev,
562547 desc->interrupt_parent);
drivers/of/of_mdio.c+2−2
@@ -166,8 +166,8 @@ static bool of_mdiobus_child_is_phy(struct device_node *child) · 165 unmodified lines
166166
167167 if (of_match_node(whitelist_phys, child)) {
168168 pr_warn(FW_WARN
169− "%s: Whitelisted compatible string. Please remove\n",
170− child->full_name);
169+ "%pOF: Whitelisted compatible string. Please remove\n",
170+ child);
171171 return true;
172172 }
173173
drivers/of/of_pci.c+34−38
@@ -57,15 +57,14 @@ EXPORT_SYMBOL_GPL(of_pci_find_child_device); · 56 unmodified lines
5757 */
5858 int of_pci_get_devfn(struct device_node *np)
5959 {
60− unsigned int size;
61− const __be32 *reg;
60+ u32 reg[5];
61+ int error;
6262
63− reg = of_get_property(np, "reg", &size);
63+ error = of_property_read_u32_array(np, "reg", reg, ARRAY_SIZE(reg));
64+ if (error)
65+ return error;
6466
65− if (!reg || size < 5 * sizeof(__be32))
66− return -EINVAL;
67−
68− return (be32_to_cpup(reg) >> 8) & 0xff;
67+ return (reg[0] >> 8) & 0xff;
6968 }
7069 EXPORT_SYMBOL_GPL(of_pci_get_devfn);
7170
@@ -78,16 +77,17 @@ EXPORT_SYMBOL_GPL(of_pci_get_devfn); · 6 unmodified lines
7877 */
7978 int of_pci_parse_bus_range(struct device_node *node, struct resource *res)
8079 {
81− const __be32 *values;
82− int len;
80+ u32 bus_range[2];
81+ int error;
8382
84− values = of_get_property(node, "bus-range", &len);
85− if (!values || len < sizeof(*values) * 2)
86− return -EINVAL;
83+ error = of_property_read_u32_array(node, "bus-range", bus_range,
84+ ARRAY_SIZE(bus_range));
85+ if (error)
86+ return error;
8787
8888 res->name = node->name;
89− res->start = be32_to_cpup(values++);
90− res->end = be32_to_cpup(values);
89+ res->start = bus_range[0];
90+ res->end = bus_range[1];
9191 res->flags = IORESOURCE_BUS;
9292
9393 return 0;
@@ -105,17 +105,14 @@ EXPORT_SYMBOL_GPL(of_pci_parse_bus_range); · 11 unmodified lines
105105 */
106106 int of_get_pci_domain_nr(struct device_node *node)
107107 {
108− const __be32 *value;
109− int len;
110− u16 domain;
111−
112− value = of_get_property(node, "linux,pci-domain", &len);
113− if (!value || len < sizeof(*value))
114− return -EINVAL;
108+ u32 domain;
109+ int error;
115110
116− domain = (u16)be32_to_cpup(value);
111+ error = of_property_read_u32(node, "linux,pci-domain", &domain);
112+ if (error)
113+ return error;
117114
118− return domain;
115+ return (u16)domain;
119116 }
120117 EXPORT_SYMBOL_GPL(of_get_pci_domain_nr);
121118
@@ -204,15 +201,15 @@ int of_pci_get_host_bridge_resources(struct device_node *dev, · 82 unmodified lines
204201 if (!bus_range)
205202 return -ENOMEM;
206203
207− pr_info("host bridge %s ranges:\n", dev->full_name);
204+ pr_info("host bridge %pOF ranges:\n", dev);
208205
209206 err = of_pci_parse_bus_range(dev, bus_range);
210207 if (err) {
211208 bus_range->start = busno;
212209 bus_range->end = bus_max;
213210 bus_range->flags = IORESOURCE_BUS;
214− pr_info(" No bus range found for %s, using %pR\n",
215− dev->full_name, bus_range);
211+ pr_info(" No bus range found for %pOF, using %pR\n",
212+ dev, bus_range);
216213 } else {
217214 if (bus_range->end > bus_range->start + bus_max)
218215 bus_range->end = bus_range->start + bus_max;
@@ -258,14 +255,14 @@ int of_pci_get_host_bridge_resources(struct device_node *dev, · 39 unmodified lines
258255
259256 if (resource_type(res) == IORESOURCE_IO) {
260257 if (!io_base) {
261− pr_err("I/O range found for %s. Please provide an io_base pointer to save CPU base address\n",
262− dev->full_name);
258+ pr_err("I/O range found for %pOF. Please provide an io_base pointer to save CPU base address\n",
259+ dev);
263260 err = -EINVAL;
264261 goto conversion_failed;
265262 }
266263 if (*io_base != (resource_size_t)OF_BAD_ADDR)
267− pr_warn("More than one I/O resource converted for %s. CPU base address for old range lost!\n",
268− dev->full_name);
264+ pr_warn("More than one I/O resource converted for %pOF. CPU base address for old range lost!\n",
265+ dev);
269266 *io_base = range.cpu_addr;
270267 }
271268
@@ -325,7 +322,7 @@ int of_pci_map_rid(struct device_node *np, u32 rid, · 53 unmodified lines
325322 }
326323
327324 if (!map_len || map_len % (4 * sizeof(*map))) {
328− pr_err("%s: Error: Bad %s length: %d\n", np->full_name,
325+ pr_err("%pOF: Error: Bad %s length: %d\n", np,
329326 map_name, map_len);
330327 return -EINVAL;
331328 }
@@ -349,8 +346,8 @@ int of_pci_map_rid(struct device_node *np, u32 rid, · 17 unmodified lines
349346 u32 rid_len = be32_to_cpup(map + 3);
350347
351348 if (rid_base & ~map_mask) {
352− pr_err("%s: Invalid %s translation - %s-mask (0x%x) ignores rid-base (0x%x)\n",
353− np->full_name, map_name, map_name,
349+ pr_err("%pOF: Invalid %s translation - %s-mask (0x%x) ignores rid-base (0x%x)\n",
350+ np, map_name, map_name,
354351 map_mask, rid_base);
355352 return -EFAULT;
356353 }
@@ -375,14 +372,13 @@ int of_pci_map_rid(struct device_node *np, u32 rid, · 18 unmodified lines
375372 if (id_out)
376373 *id_out = masked_rid - rid_base + out_base;
377374
378− pr_debug("%s: %s, using mask %08x, rid-base: %08x, out-base: %08x, length: %08x, rid: %08x -> %08x\n",
379− np->full_name, map_name, map_mask, rid_base, out_base,
375+ pr_debug("%pOF: %s, using mask %08x, rid-base: %08x, out-base: %08x, length: %08x, rid: %08x -> %08x\n",
376+ np, map_name, map_mask, rid_base, out_base,
380377 rid_len, rid, *id_out);
381378 return 0;
382379 }
383380
384− pr_err("%s: Invalid %s translation - no match for rid 0x%x on %s\n",
385− np->full_name, map_name, rid,
386− target && *target ? (*target)->full_name : "any target");
381+ pr_err("%pOF: Invalid %s translation - no match for rid 0x%x on %pOF\n",
382+ np, map_name, rid, target && *target ? *target : NULL);
387383 return -EFAULT;
388384 }
drivers/of/overlay.c+121−21
@@ -35,6 +35,7 @@ · 34 unmodified lines
3535 struct of_overlay_info {
3636 struct device_node *target;
3737 struct device_node *overlay;
38+ bool is_symbols_node;
3839 };
3940
4041 /**
@@ -55,7 +56,8 @@ struct of_overlay { · 14 unmodified lines
5556 };
5657
5758 static int of_overlay_apply_one(struct of_overlay *ov,
58− struct device_node *target, const struct device_node *overlay);
59+ struct device_node *target, const struct device_node *overlay,
60+ bool is_symbols_node);
5961
6062 static BLOCKING_NOTIFIER_HEAD(of_overlay_chain);
6163
@@ -92,10 +94,74 @@ static int of_overlay_notify(struct of_overlay *ov, · 30 unmodified lines
9294 return 0;
9395 }
9496
97+static struct property *dup_and_fixup_symbol_prop(struct of_overlay *ov,
98+ const struct property *prop)
99+{
100+ struct of_overlay_info *ovinfo;
101+ struct property *new;
102+ const char *overlay_name;
103+ char *label_path;
104+ char *symbol_path;
105+ const char *target_path;
106+ int k;
107+ int label_path_len;
108+ int overlay_name_len;
109+ int target_path_len;
110+
111+ if (!prop->value)
112+ return NULL;
113+ symbol_path = prop->value;
114+
115+ new = kzalloc(sizeof(*new), GFP_KERNEL);
116+ if (!new)
117+ return NULL;
118+
119+ for (k = 0; k < ov->count; k++) {
120+ ovinfo = &ov->ovinfo_tab[k];
121+ overlay_name = ovinfo->overlay->full_name;
122+ overlay_name_len = strlen(overlay_name);
123+ if (!strncasecmp(symbol_path, overlay_name, overlay_name_len))
124+ break;
125+ }
126+
127+ if (k >= ov->count)
128+ goto err_free;
129+
130+ target_path = ovinfo->target->full_name;
131+ target_path_len = strlen(target_path);
132+
133+ label_path = symbol_path + overlay_name_len;
134+ label_path_len = strlen(label_path);
135+
136+ new->name = kstrdup(prop->name, GFP_KERNEL);
137+ new->length = target_path_len + label_path_len + 1;
138+ new->value = kzalloc(new->length, GFP_KERNEL);
139+
140+ if (!new->name || !new->value)
141+ goto err_free;
142+
143+ strcpy(new->value, target_path);
144+ strcpy(new->value + target_path_len, label_path);
145+
146+ /* mark the property as dynamic */
147+ of_property_set_flag(new, OF_DYNAMIC);
148+
149+ return new;
150+
151+ err_free:
152+ kfree(new->name);
153+ kfree(new->value);
154+ kfree(new);
155+ return NULL;
156+
157+
158+}
159+
95160 static int of_overlay_apply_single_property(struct of_overlay *ov,
96− struct device_node *target, struct property *prop)
161+ struct device_node *target, struct property *prop,
162+ bool is_symbols_node)
97163 {
98− struct property *propn, *tprop;
164+ struct property *propn = NULL, *tprop;
99165
100166 /* NOTE: Multiple changes of single properties not supported */
101167 tprop = of_find_property(target, prop->name, NULL);
@@ -106,7 +172,15 @@ static int of_overlay_apply_single_property(struct of_overlay *ov, · 4 unmodified lines
106172 of_prop_cmp(prop->name, "linux,phandle") == 0)
107173 return 0;
108174
109− propn = __of_prop_dup(prop, GFP_KERNEL);
175+ if (is_symbols_node) {
176+ /* changing a property in __symbols__ node not allowed */
177+ if (tprop)
178+ return -EINVAL;
179+ propn = dup_and_fixup_symbol_prop(ov, prop);
180+ } else {
181+ propn = __of_prop_dup(prop, GFP_KERNEL);
182+ }
183+
110184 if (propn == NULL)
111185 return -ENOMEM;
112186
@@ -130,18 +204,21 @@ static int of_overlay_apply_single_device_node(struct of_overlay *ov, · 17 unmodified lines
130204 return -ENOMEM;
131205
132206 /* NOTE: Multiple mods of created nodes not supported */
133− tchild = of_get_child_by_name(target, cname);
207+ for_each_child_of_node(target, tchild)
208+ if (!of_node_cmp(cname, kbasename(tchild->full_name)))
209+ break;
210+
134211 if (tchild != NULL) {
135212 /* new overlay phandle value conflicts with existing value */
136213 if (child->phandle)
137214 return -EINVAL;
138215
139216 /* apply overlay recursively */
140− ret = of_overlay_apply_one(ov, tchild, child);
217+ ret = of_overlay_apply_one(ov, tchild, child, 0);
141218 of_node_put(tchild);
142219 } else {
143220 /* create empty tree as a target */
144− tchild = __of_node_dup(child, "%s/%s", target->full_name, cname);
221+ tchild = __of_node_dup(child, "%pOF/%s", target, cname);
145222 if (!tchild)
146223 return -ENOMEM;
147224
@@ -152,7 +229,7 @@ static int of_overlay_apply_single_device_node(struct of_overlay *ov, · 4 unmodified lines
152229 if (ret)
153230 return ret;
154231
155− ret = of_overlay_apply_one(ov, tchild, child);
232+ ret = of_overlay_apply_one(ov, tchild, child, 0);
156233 if (ret)
157234 return ret;
158235 }
@@ -168,26 +245,32 @@ static int of_overlay_apply_single_device_node(struct of_overlay *ov, · 9 unmodified lines
168245 * by using the changeset.
169246 */
170247 static int of_overlay_apply_one(struct of_overlay *ov,
171− struct device_node *target, const struct device_node *overlay)
248+ struct device_node *target, const struct device_node *overlay,
249+ bool is_symbols_node)
172250 {
173251 struct device_node *child;
174252 struct property *prop;
175253 int ret;
176254
177255 for_each_property_of_node(overlay, prop) {
178− ret = of_overlay_apply_single_property(ov, target, prop);
256+ ret = of_overlay_apply_single_property(ov, target, prop,
257+ is_symbols_node);
179258 if (ret) {
180− pr_err("Failed to apply prop @%s/%s\n",
181− target->full_name, prop->name);
259+ pr_err("Failed to apply prop @%pOF/%s\n",
260+ target, prop->name);
182261 return ret;
183262 }
184263 }
185264
265+ /* do not allow symbols node to have any children */
266+ if (is_symbols_node)
267+ return 0;
268+
186269 for_each_child_of_node(overlay, child) {
187270 ret = of_overlay_apply_single_device_node(ov, target, child);
188271 if (ret != 0) {
189− pr_err("Failed to apply single node @%s/%s\n",
190− target->full_name, child->name);
272+ pr_err("Failed to apply single node @%pOF/%s\n",
273+ target, child->name);
191274 of_node_put(child);
192275 return ret;
193276 }
@@ -213,9 +296,10 @@ static int of_overlay_apply(struct of_overlay *ov) · 19 unmodified lines
213296 for (i = 0; i < ov->count; i++) {
214297 struct of_overlay_info *ovinfo = &ov->ovinfo_tab[i];
215298
216− err = of_overlay_apply_one(ov, ovinfo->target, ovinfo->overlay);
299+ err = of_overlay_apply_one(ov, ovinfo->target, ovinfo->overlay,
300+ ovinfo->is_symbols_node);
217301 if (err != 0) {
218− pr_err("apply failed '%s'\n", ovinfo->target->full_name);
302+ pr_err("apply failed '%pOF'\n", ovinfo->target);
219303 return err;
220304 }
221305 }
@@ -311,6 +395,9 @@ static int of_build_overlay_info(struct of_overlay *ov, · 89 unmodified lines
311395 for_each_child_of_node(tree, node)
312396 cnt++;
313397
398+ if (of_get_child_by_name(tree, "__symbols__"))
399+ cnt++;
400+
314401 ovinfo = kcalloc(cnt, sizeof(*ovinfo), GFP_KERNEL);
315402 if (ovinfo == NULL)
316403 return -ENOMEM;
@@ -322,6 +409,20 @@ static int of_build_overlay_info(struct of_overlay *ov, · 5 unmodified lines
322409 cnt++;
323410 }
324411
412+ node = of_get_child_by_name(tree, "__symbols__");
413+ if (node) {
414+ ovinfo[cnt].overlay = node;
415+ ovinfo[cnt].target = of_find_node_by_path("/__symbols__");
416+ ovinfo[cnt].is_symbols_node = 1;
417+
418+ if (!ovinfo[cnt].target) {
419+ pr_err("no symbols in root of device tree.\n");
420+ return -EINVAL;
421+ }
422+
423+ cnt++;
424+ }
425+
325426 /* if nothing filled, return error */
326427 if (cnt == 0) {
327428 kfree(ovinfo);
@@ -400,8 +501,8 @@ int of_overlay_create(struct device_node *tree) · 72 unmodified lines
400501 /* build the overlay info structures */
401502 err = of_build_overlay_info(ov, tree);
402503 if (err) {
403− pr_err("of_build_overlay_info() failed for tree@%s\n",
404− tree->full_name);
504+ pr_err("of_build_overlay_info() failed for tree@%pOF\n",
505+ tree);
405506 goto err_free_idr;
406507 }
407508
@@ -480,9 +581,8 @@ static int overlay_is_topmost(struct of_overlay *ov, struct device_node *dn) · 72 unmodified lines
480581 /* check against each subtree affected by this overlay */
481582 list_for_each_entry(ce, &ovt->cset.entries, node) {
482583 if (overlay_subtree_check(ce->np, dn)) {
483− pr_err("%s: #%d clashes #%d @%s\n",
484− __func__, ov->id, ovt->id,
485− dn->full_name);
584+ pr_err("%s: #%d clashes #%d @%pOF\n",
585+ __func__, ov->id, ovt->id, dn);
486586 return 0;
487587 }
488588 }
drivers/of/platform.c+17−17
@@ -118,7 +118,7 @@ struct platform_device *of_device_alloc(struct device_node *np, · 117 unmodified lines
118118 int rc, i, num_reg = 0, num_irq;
119119 struct resource *res, temp_res;
120120
121− dev = platform_device_alloc("", -1);
121+ dev = platform_device_alloc("", PLATFORM_DEVID_NONE);
122122 if (!dev)
123123 return NULL;
124124
@@ -228,7 +228,7 @@ static struct amba_device *of_amba_device_create(struct device_node *node, · 103 unmodified lines
228228 const void *prop;
229229 int i, ret;
230230
231− pr_debug("Creating amba device %s\n", node->full_name);
231+ pr_debug("Creating amba device %pOF\n", node);
232232
233233 if (!of_device_is_available(node) ||
234234 of_node_test_and_set_flag(node, OF_POPULATED))
@@ -259,15 +259,15 @@ static struct amba_device *of_amba_device_create(struct device_node *node, · 24 unmodified lines
259259
260260 ret = of_address_to_resource(node, 0, &dev->res);
261261 if (ret) {
262− pr_err("amba: of_address_to_resource() failed (%d) for %s\n",
263− ret, node->full_name);
262+ pr_err("amba: of_address_to_resource() failed (%d) for %pOF\n",
263+ ret, node);
264264 goto err_free;
265265 }
266266
267267 ret = amba_device_add(dev, &iomem_resource);
268268 if (ret) {
269− pr_err("amba_device_add() failed (%d) for %s\n",
270− ret, node->full_name);
269+ pr_err("amba_device_add() failed (%d) for %pOF\n",
270+ ret, node);
271271 goto err_free;
272272 }
273273
@@ -310,7 +310,7 @@ static const struct of_dev_auxdata *of_dev_lookup(const struct of_dev_auxdata *l · 36 unmodified lines
310310 if (!of_address_to_resource(np, 0, &res))
311311 if (res.start != auxdata->phys_addr)
312312 continue;
313− pr_debug("%s: devname=%s\n", np->full_name, auxdata->name);
313+ pr_debug("%pOF: devname=%s\n", np, auxdata->name);
314314 return auxdata;
315315 }
316316
@@ -323,7 +323,7 @@ static const struct of_dev_auxdata *of_dev_lookup(const struct of_dev_auxdata *l · 6 unmodified lines
323323 if (!of_device_is_compatible(np, auxdata->compatible))
324324 continue;
325325 if (!auxdata->phys_addr && !auxdata->name) {
326− pr_debug("%s: compatible match\n", np->full_name);
326+ pr_debug("%pOF: compatible match\n", np);
327327 return auxdata;
328328 }
329329 }
@@ -356,14 +356,14 @@ static int of_platform_bus_create(struct device_node *bus, · 26 unmodified lines
356356
357357 /* Make sure it has a compatible property */
358358 if (strict && (!of_get_property(bus, "compatible", NULL))) {
359− pr_debug("%s() - skipping %s, no compatible prop\n",
360− __func__, bus->full_name);
359+ pr_debug("%s() - skipping %pOF, no compatible prop\n",
360+ __func__, bus);
361361 return 0;
362362 }
363363
364364 if (of_node_check_flag(bus, OF_POPULATED_BUS)) {
365− pr_debug("%s() - skipping %s, already populated\n",
366− __func__, bus->full_name);
365+ pr_debug("%s() - skipping %pOF, already populated\n",
366+ __func__, bus);
367367 return 0;
368368 }
369369
@@ -387,7 +387,7 @@ static int of_platform_bus_create(struct device_node *bus, · 17 unmodified lines
387387 return 0;
388388
389389 for_each_child_of_node(bus, child) {
390− pr_debug(" create child: %s\n", child->full_name);
390+ pr_debug(" create child: %pOF\n", child);
391391 rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict);
392392 if (rc) {
393393 of_node_put(child);
@@ -419,7 +419,7 @@ int of_platform_bus_probe(struct device_node *root, · 25 unmodified lines
419419 return -EINVAL;
420420
421421 pr_debug("%s()\n", __func__);
422− pr_debug(" starting at: %s\n", root->full_name);
422+ pr_debug(" starting at: %pOF\n", root);
423423
424424 /* Do a self check of bus type, if there's a match, create children */
425425 if (of_match_node(matches, root)) {
@@ -471,7 +471,7 @@ int of_platform_populate(struct device_node *root, · 45 unmodified lines
471471 return -EINVAL;
472472
473473 pr_debug("%s()\n", __func__);
474− pr_debug(" starting at: %s\n", root->full_name);
474+ pr_debug(" starting at: %pOF\n", root);
475475
476476 for_each_child_of_node(root, child) {
477477 rc = of_platform_bus_create(child, matches, lookup, parent, true);
@@ -660,8 +660,8 @@ static int of_platform_notify(struct notifier_block *nb, · 182 unmodified lines
660660 of_dev_put(pdev_parent);
661661
662662 if (pdev == NULL) {
663− pr_err("%s: failed to create for '%s'\n",
664− __func__, rd->dn->full_name);
663+ pr_err("%s: failed to create for '%pOF'\n",
664+ __func__, rd->dn);
665665 /* of_platform_device_create tosses the error code */
666666 return notifier_from_errno(-EINVAL);
667667 }
drivers/of/property.c+11−12
@@ -55,8 +55,8 @@ int of_property_count_elems_of_size(const struct device_node *np, · 54 unmodified lines
5555 return -ENODATA;
5656
5757 if (prop->length % elem_size != 0) {
58− pr_err("size of %s in node %s is not a multiple of %d\n",
59− propname, np->full_name, elem_size);
58+ pr_err("size of %s in node %pOF is not a multiple of %d\n",
59+ propname, np, elem_size);
6060 return -EINVAL;
6161 }
6262
@@ -537,8 +537,8 @@ int of_graph_parse_endpoint(const struct device_node *node, · 474 unmodified lines
537537 {
538538 struct device_node *port_node = of_get_parent(node);
539539
540− WARN_ONCE(!port_node, "%s(): endpoint %s has no parent node\n",
541− __func__, node->full_name);
540+ WARN_ONCE(!port_node, "%s(): endpoint %pOF has no parent node\n",
541+ __func__, node);
542542
543543 memset(endpoint, 0, sizeof(*endpoint));
544544
@@ -621,14 +621,13 @@ struct device_node *of_graph_get_next_endpoint(const struct device_node *parent, · 76 unmodified lines
621621 of_node_put(node);
622622
623623 if (!port) {
624− pr_err("graph: no port node found in %s\n",
625− parent->full_name);
624+ pr_err("graph: no port node found in %pOF\n", parent);
626625 return NULL;
627626 }
628627 } else {
629628 port = of_get_parent(prev);
630− if (WARN_ONCE(!port, "%s(): endpoint %s has no parent node\n",
631− __func__, prev->full_name))
629+ if (WARN_ONCE(!port, "%s(): endpoint %pOF has no parent node\n",
630+ __func__, prev))
632631 return NULL;
633632 }
634633
@@ -797,8 +796,8 @@ struct device_node *of_graph_get_remote_node(const struct device_node *node, · 162 unmodified lines
797796
798797 endpoint_node = of_graph_get_endpoint_by_regs(node, port, endpoint);
799798 if (!endpoint_node) {
800− pr_debug("no valid endpoint (%d, %d) for node %s\n",
801− port, endpoint, node->full_name);
799+ pr_debug("no valid endpoint (%d, %d) for node %pOF\n",
800+ port, endpoint, node);
802801 return NULL;
803802 }
804803
@@ -945,8 +944,8 @@ of_fwnode_graph_get_next_endpoint(const struct fwnode_handle *fwnode, · 140 unmodified lines
945944 static struct fwnode_handle *
946945 of_fwnode_graph_get_remote_endpoint(const struct fwnode_handle *fwnode)
947946 {
948− return of_fwnode_handle(of_parse_phandle(to_of_node(fwnode),
949− "remote-endpoint", 0));
947+ return of_fwnode_handle(
948+ of_graph_get_remote_endpoint(to_of_node(fwnode)));
950949 }
951950
952951 static struct fwnode_handle *
drivers/of/unittest-data/Makefile+14−5
@@ -1,18 +1,27 @@
11 obj-y += testcases.dtb.o
2+
3+targets += testcases.dtb testcases.dtb.S
4+
5+ifdef CONFIG_OF_OVERLAY
6+
27 obj-y += overlay.dtb.o
38 obj-y += overlay_bad_phandle.dtb.o
9+obj-y += overlay_bad_symbol.dtb.o
410 obj-y += overlay_base.dtb.o
511
6−targets += testcases.dtb testcases.dtb.S
712 targets += overlay.dtb overlay.dtb.S
813 targets += overlay_bad_phandle.dtb overlay_bad_phandle.dtb.S
14+targets += overlay_bad_symbol.dtb overlay_bad_symbol.dtb.S
915 targets += overlay_base.dtb overlay_base.dtb.S
1016
11−.PRECIOUS: \
12− $(obj)/%.dtb.S \
13− $(obj)/%.dtb
14−
1517 # enable creation of __symbols__ node
1618 DTC_FLAGS_overlay := -@
1719 DTC_FLAGS_overlay_bad_phandle := -@
20+DTC_FLAGS_overlay_bad_symbol := -@
1821 DTC_FLAGS_overlay_base := -@
22+
23+endif
24+
25+.PRECIOUS: \
26+ $(obj)/%.dtb.S \
27+ $(obj)/%.dtb
drivers/of/unittest-data/overlay.dts+27−4
@@ -7,7 +7,7 @@ · 6 unmodified lines
77 target = <&electric_1>;
88
99 __overlay__ {
10− status = "ok";
10+ status = "okay";
1111
1212 hvac_2: hvac-large-1 {
1313 compatible = "ot,hvac-large";
@@ -23,9 +23,24 @@ · 9 unmodified lines
2323 __overlay__ {
2424 #address-cells = <1>;
2525 #size-cells = <1>;
26− status = "ok";
26+ status = "okay";
2727
28− ride@200 {
28+ ride@100 {
29+ #address-cells = <1>;
30+ #size-cells = <1>;
31+
32+ track@30 {
33+ incline-up = < 48 32 16 >;
34+ };
35+
36+ track@40 {
37+ incline-up = < 47 31 15 >;
38+ };
39+ };
40+
41+ ride_200: ride@200 {
42+ #address-cells = <1>;
43+ #size-cells = <1>;
2944 compatible = "ot,ferris-wheel";
3045 reg = < 0x00000200 0x100 >;
3146 hvac-provider = < &hvac_2 >;
@@ -36,6 +51,14 @@ · 4 unmodified lines
3651 spin-rph = < 30 >;
3752 gondolas = < 16 >;
3853 gondola-capacity = < 6 >;
54+
55+ ride_200_left: track@10 {
56+ reg = < 0x00000010 0x10 >;
57+ };
58+
59+ ride_200_right: track@20 {
60+ reg = < 0x00000020 0x10 >;
61+ };
3962 };
4063 };
4164 };
@@ -44,7 +67,7 @@ · 2 unmodified lines
4467 target = <&lights_2>;
4568
4669 __overlay__ {
47− status = "ok";
70+ status = "okay";
4871 color = "purple", "white", "red", "green";
4972 rate = < 3 256 >;
5073 };
drivers/of/unittest-data/overlay_bad_symbol.dts+22−0
@@ -0,0 +1,22 @@
1+/dts-v1/;
2+/plugin/;
3+
4+/ {
5+
6+ fragment@0 {
7+ target = <&electric_1>;
8+
9+ __overlay__ {
10+
11+ // This label should cause an error when the overlay
12+ // is applied. There is already a symbol hvac_1
13+ // in the base tree
14+ hvac_1: hvac-medium-2 {
15+ compatible = "ot,hvac-medium";
16+ heat-range = < 50 75 >;
17+ cool-range = < 60 80 >;
18+ };
19+
20+ };
21+ };
22+};
drivers/of/unittest-data/overlay_base.dts+11−0
@@ -44,6 +44,8 @@ · 43 unmodified lines
4444 orientation = < 127 >;
4545
4646 ride@100 {
47+ #address-cells = <1>;
48+ #size-cells = <1>;
4749 compatible = "ot,roller-coaster";
4850 reg = < 0x00000100 0x100 >;
4951 hvac-provider = < &hvac_1 >;
@@ -53,6 +55,15 @@ · 3 unmodified lines
5355 spin-controller = < &spin_ctrl_2 5 &spin_ctrl_2 7 >;
5456 spin-controller-names = "track_1", "track_2";
5557 queues = < 2 >;
58+
59+ track@30 {
60+ reg = < 0x00000030 0x10 >;
61+ };
62+
63+ track@40 {
64+ reg = < 0x00000040 0x10 >;
65+ };
66+
5667 };
5768 };
5869
drivers/of/unittest.c+47−30
@@ -46,46 +46,54 @@ static struct unittest_results { · 45 unmodified lines
4646 static void __init of_unittest_find_node_by_name(void)
4747 {
4848 struct device_node *np;
49− const char *options;
49+ const char *options, *name;
5050
5151 np = of_find_node_by_path("/testcase-data");
52− unittest(np && !strcmp("/testcase-data", np->full_name),
52+ name = kasprintf(GFP_KERNEL, "%pOF", np);
53+ unittest(np && !strcmp("/testcase-data", name),
5354 "find /testcase-data failed\n");
5455 of_node_put(np);
56+ kfree(name);
5557
5658 /* Test if trailing '/' works */
5759 np = of_find_node_by_path("/testcase-data/");
5860 unittest(!np, "trailing '/' on /testcase-data/ should fail\n");
5961
6062 np = of_find_node_by_path("/testcase-data/phandle-tests/consumer-a");
61− unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", np->full_name),
63+ name = kasprintf(GFP_KERNEL, "%pOF", np);
64+ unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", name),
6265 "find /testcase-data/phandle-tests/consumer-a failed\n");
6366 of_node_put(np);
67+ kfree(name);
6468
6569 np = of_find_node_by_path("testcase-alias");
66− unittest(np && !strcmp("/testcase-data", np->full_name),
70+ name = kasprintf(GFP_KERNEL, "%pOF", np);
71+ unittest(np && !strcmp("/testcase-data", name),
6772 "find testcase-alias failed\n");
6873 of_node_put(np);
74+ kfree(name);
6975
7076 /* Test if trailing '/' works on aliases */
7177 np = of_find_node_by_path("testcase-alias/");
7278 unittest(!np, "trailing '/' on testcase-alias/ should fail\n");
7379
7480 np = of_find_node_by_path("testcase-alias/phandle-tests/consumer-a");
75− unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", np->full_name),
81+ name = kasprintf(GFP_KERNEL, "%pOF", np);
82+ unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", name),
7683 "find testcase-alias/phandle-tests/consumer-a failed\n");
7784 of_node_put(np);
85+ kfree(name);
7886
7987 np = of_find_node_by_path("/testcase-data/missing-path");
80− unittest(!np, "non-existent path returned node %s\n", np->full_name);
88+ unittest(!np, "non-existent path returned node %pOF\n", np);
8189 of_node_put(np);
8290
8391 np = of_find_node_by_path("missing-alias");
84− unittest(!np, "non-existent alias returned node %s\n", np->full_name);
92+ unittest(!np, "non-existent alias returned node %pOF\n", np);
8593 of_node_put(np);
8694
8795 np = of_find_node_by_path("testcase-alias/missing-path");
88− unittest(!np, "non-existent alias with relative path returned node %s\n", np->full_name);
96+ unittest(!np, "non-existent alias with relative path returned node %pOF\n", np);
8997 of_node_put(np);
9098
9199 np = of_find_node_opts_by_path("/testcase-data:testoption", &options);
@@ -315,8 +323,8 @@ static void __init of_unittest_check_phandles(void) · 223 unmodified lines
315323
316324 hash_for_each_possible(phandle_ht, nh, node, np->phandle) {
317325 if (nh->np->phandle == np->phandle) {
318− pr_info("Duplicate phandle! %i used by %s and %s\n",
319− np->phandle, nh->np->full_name, np->full_name);
326+ pr_info("Duplicate phandle! %i used by %pOF and %pOF\n",
327+ np->phandle, nh->np, np);
320328 dup_count++;
321329 break;
322330 }
@@ -406,8 +414,8 @@ static void __init of_unittest_parse_phandle_with_args(void) · 83 unmodified lines
406414 passed = false;
407415 }
408416
409− unittest(passed, "index %i - data error on node %s rc=%i\n",
410− i, args.np->full_name, rc);
417+ unittest(passed, "index %i - data error on node %pOF rc=%i\n",
418+ i, args.np, rc);
411419 }
412420
413421 /* Check for missing list property */
@@ -590,7 +598,7 @@ static void __init of_unittest_changeset(void) · 176 unmodified lines
590598
591599 /* Make sure node names are constructed correctly */
592600 unittest((np = of_find_node_by_path("/testcase-data/changeset/n2/n21")),
593− "'%s' not added\n", n21->full_name);
601+ "'%pOF' not added\n", n21);
594602 of_node_put(np);
595603
596604 unittest(!of_changeset_revert(&chgset), "revert failed\n");
@@ -621,8 +629,8 @@ static void __init of_unittest_parse_interrupts(void) · 24 unmodified lines
621629 passed &= (args.args_count == 1);
622630 passed &= (args.args[0] == (i + 1));
623631
624− unittest(passed, "index %i - data error on node %s rc=%i\n",
625− i, args.np->full_name, rc);
632+ unittest(passed, "index %i - data error on node %pOF rc=%i\n",
633+ i, args.np, rc);
626634 }
627635 of_node_put(np);
628636
@@ -667,8 +675,8 @@ static void __init of_unittest_parse_interrupts(void) · 38 unmodified lines
667675 default:
668676 passed = false;
669677 }
670− unittest(passed, "index %i - data error on node %s rc=%i\n",
671− i, args.np->full_name, rc);
678+ unittest(passed, "index %i - data error on node %pOF rc=%i\n",
679+ i, args.np, rc);
672680 }
673681 of_node_put(np);
674682 }
@@ -737,8 +745,8 @@ static void __init of_unittest_parse_interrupts_extended(void) · 62 unmodified lines
737745 passed = false;
738746 }
739747
740− unittest(passed, "index %i - data error on node %s rc=%i\n",
741− i, args.np->full_name, rc);
748+ unittest(passed, "index %i - data error on node %pOF rc=%i\n",
749+ i, args.np, rc);
742750 }
743751 of_node_put(np);
744752 }
@@ -917,8 +925,11 @@ static int attach_node_and_children(struct device_node *np) · 172 unmodified lines
917925 {
918926 struct device_node *next, *dup, *child;
919927 unsigned long flags;
928+ const char *full_name;
920929
921− dup = of_find_node_by_path(np->full_name);
930+ full_name = kasprintf(GFP_KERNEL, "%pOF", np);
931+ dup = of_find_node_by_path(full_name);
932+ kfree(full_name);
922933 if (dup) {
923934 update_node_properties(np, dup);
924935 return 0;
@@ -1023,7 +1034,7 @@ static int unittest_probe(struct platform_device *pdev) · 98 unmodified lines
10231034
10241035 }
10251036
1026− dev_dbg(dev, "%s for node @%s\n", __func__, np->full_name);
1037+ dev_dbg(dev, "%s for node @%pOF\n", __func__, np);
10271038
10281039 of_platform_populate(np, NULL, NULL, &pdev->dev);
10291040
@@ -1035,7 +1046,7 @@ static int unittest_remove(struct platform_device *pdev) · 5 unmodified lines
10351046 struct device *dev = &pdev->dev;
10361047 struct device_node *np = dev->of_node;
10371048
1038− dev_dbg(dev, "%s for node @%s\n", __func__, np->full_name);
1049+ dev_dbg(dev, "%s for node @%pOF\n", __func__, np);
10391050 return 0;
10401051 }
10411052
@@ -1649,7 +1660,7 @@ static int unittest_i2c_bus_probe(struct platform_device *pdev) · 607 unmodified lines
16491660
16501661 }
16511662
1652− dev_dbg(dev, "%s for node @%s\n", __func__, np->full_name);
1663+ dev_dbg(dev, "%s for node @%pOF\n", __func__, np);
16531664
16541665 std = devm_kzalloc(dev, sizeof(*std), GFP_KERNEL);
16551666 if (!std) {
@@ -1687,7 +1698,7 @@ static int unittest_i2c_bus_remove(struct platform_device *pdev) · 31 unmodified lines
16871698 struct device_node *np = dev->of_node;
16881699 struct unittest_i2c_bus_data *std = platform_get_drvdata(pdev);
16891700
1690− dev_dbg(dev, "%s for node @%s\n", __func__, np->full_name);
1701+ dev_dbg(dev, "%s for node @%pOF\n", __func__, np);
16911702 i2c_del_adapter(&std->adap);
16921703
16931704 return 0;
@@ -1718,7 +1729,7 @@ static int unittest_i2c_dev_probe(struct i2c_client *client, · 24 unmodified lines
17181729 return -EINVAL;
17191730 }
17201731
1721− dev_dbg(dev, "%s for node @%s\n", __func__, np->full_name);
1732+ dev_dbg(dev, "%s for node @%pOF\n", __func__, np);
17221733
17231734 return 0;
17241735 };
@@ -1728,7 +1739,7 @@ static int unittest_i2c_dev_remove(struct i2c_client *client) · 3 unmodified lines
17281739 struct device *dev = &client->dev;
17291740 struct device_node *np = client->dev.of_node;
17301741
1731− dev_dbg(dev, "%s for node @%s\n", __func__, np->full_name);
1742+ dev_dbg(dev, "%s for node @%pOF\n", __func__, np);
17321743 return 0;
17331744 }
17341745
@@ -1763,7 +1774,7 @@ static int unittest_i2c_mux_probe(struct i2c_client *client, · 28 unmodified lines
17631774 struct i2c_mux_core *muxc;
17641775 u32 reg, max_reg;
17651776
1766− dev_dbg(dev, "%s for node @%s\n", __func__, np->full_name);
1777+ dev_dbg(dev, "%s for node @%pOF\n", __func__, np);
17671778
17681779 if (!np) {
17691780 dev_err(dev, "No OF node\n");
@@ -1808,7 +1819,7 @@ static int unittest_i2c_mux_remove(struct i2c_client *client) · 38 unmodified lines
18081819 struct device_node *np = client->dev.of_node;
18091820 struct i2c_mux_core *muxc = i2c_get_clientdata(client);
18101821
1811− dev_dbg(dev, "%s for node @%s\n", __func__, np->full_name);
1822+ dev_dbg(dev, "%s for node @%pOF\n", __func__, np);
18121823 i2c_mux_del_adapters(muxc);
18131824 return 0;
18141825 }
@@ -1983,6 +1994,8 @@ out: · 168 unmodified lines
19831994 static inline void __init of_unittest_overlay(void) { }
19841995 #endif
19851996
1997+#ifdef CONFIG_OF_OVERLAY
1998+
19861999 /*
19872000 * __dtb_ot_begin[] and __dtb_ot_end[] are created by cmd_dt_S_dtb
19882001 * in scripts/Makefile.lib
@@ -2010,14 +2023,14 @@ struct overlay_info { · 21 unmodified lines
20102023 OVERLAY_INFO_EXTERN(overlay_base);
20112024 OVERLAY_INFO_EXTERN(overlay);
20122025 OVERLAY_INFO_EXTERN(overlay_bad_phandle);
2013−
2014−#ifdef CONFIG_OF_OVERLAY
2026+OVERLAY_INFO_EXTERN(overlay_bad_symbol);
20152027
20162028 /* order of entries is hard-coded into users of overlays[] */
20172029 static struct overlay_info overlays[] = {
20182030 OVERLAY_INFO(overlay_base, -9999),
20192031 OVERLAY_INFO(overlay, 0),
20202032 OVERLAY_INFO(overlay_bad_phandle, -EINVAL),
2033+ OVERLAY_INFO(overlay_bad_symbol, -EINVAL),
20212034 {}
20222035 };
20232036
@@ -2289,6 +2302,10 @@ static __init void of_unittest_overlay_high_level(void) · 265 unmodified lines
22892302
22902303 unittest(overlay_data_add(2),
22912304 "Adding overlay 'overlay_bad_phandle' failed\n");
2305+
2306+ unittest(overlay_data_add(3),
2307+ "Adding overlay 'overlay_bad_symbol' failed\n");
2308+
22922309 return;
22932310
22942311 err_unlock:
drivers/virt/fsl_hypervisor.c+6−6
@@ -841,8 +841,8 @@ static int __init fsl_hypervisor_init(void) · 840 unmodified lines
841841 handle = of_get_property(np, "interrupts", NULL);
842842 irq = irq_of_parse_and_map(np, 0);
843843 if (!handle || (irq == NO_IRQ)) {
844− pr_err("fsl-hv: no 'interrupts' property in %s node\n",
845− np->full_name);
844+ pr_err("fsl-hv: no 'interrupts' property in %pOF node\n",
845+ np);
846846 continue;
847847 }
848848
@@ -869,8 +869,8 @@ static int __init fsl_hypervisor_init(void) · 20 unmodified lines
869869 */
870870 dbisr->partition = ret = get_parent_handle(np);
871871 if (ret < 0) {
872− pr_err("fsl-hv: node %s has missing or "
873− "malformed parent\n", np->full_name);
872+ pr_err("fsl-hv: node %pOF has missing or "
873+ "malformed parent\n", np);
874874 kfree(dbisr);
875875 continue;
876876 }
@@ -881,8 +881,8 @@ static int __init fsl_hypervisor_init(void) · 4 unmodified lines
881881 ret = request_irq(irq, fsl_hv_isr, 0, np->name, dbisr);
882882
883883 if (ret < 0) {
884− pr_err("fsl-hv: could not request irq %u for node %s\n",
885− irq, np->full_name);
884+ pr_err("fsl-hv: could not request irq %u for node %pOF\n",
885+ irq, np);
886886 kfree(dbisr);
887887 continue;
888888 }
include/linux/of_device.h+1−1
@@ -50,7 +50,7 @@ static inline struct device_node *of_cpu_device_node_get(int cpu) · 49 unmodified lines
5050 struct device *cpu_dev;
5151 cpu_dev = get_cpu_device(cpu);
5252 if (!cpu_dev)
53− return NULL;
53+ return of_get_cpu_node(cpu, NULL);
5454 return of_node_get(cpu_dev->of_node);
5555 }
5656
scripts/Makefile.lib+4−4
@@ -173,10 +173,10 @@ cpp_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(LINUXINCLUDE) \ · 172 unmodified lines
173173
174174 ld_flags = $(LDFLAGS) $(ldflags-y)
175175
176+DTC_INCLUDE := $(srctree)/scripts/dtc/include-prefixes
177+
176178 dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \
177− -I$(srctree)/arch/$(SRCARCH)/boot/dts \
178− -I$(srctree)/scripts/dtc/include-prefixes \
179− -I$(srctree)/drivers/of/testcase-data \
179+ $(addprefix -I,$(DTC_INCLUDE)) \
180180 -undef -D__DTS__
181181
182182 # Finds the multi-part object the current object will be linked into
@@ -317,7 +317,7 @@ quiet_cmd_dtc = DTC $@ · 134 unmodified lines
317317 cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
318318 $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
319319 $(DTC) -O dtb -o $@ -b 0 \
320− -i $(dir $<) $(DTC_FLAGS) \
320+ $(addprefix -i,$(dir $<) $(DTC_INCLUDE)) $(DTC_FLAGS) \
321321 -d $(depfile).dtc.tmp $(dtc-tmp) ; \
322322 cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
323323