dm: Move to new driver model schema for device tree tags
Subsystems (26)
v3 cover dm: Move to new driver model schema for device tree tags
Now that a new schema has been accepted upstream, press it into service in U-Boot.
Changes in v3:
- Add a new patch to warn about pre-schema driver model tags
- Add a new patch to check for pre-schema driver model tags in CI
Changes in v2:
- Add binding document
- Convert k3-am68-sk boards also
Simon Glass (8):
schemas: Add schema for U-Boot driver model 'phase tags'
dm: dts: Convert driver model tags to use new schema
dm: doc: Update device tree binding docs for new schema
dm: doc: Update documentation for new driver model schema
dm: doc: Move to new driver model schema
dm: treewide: Complete migration to new driver model schema
checkpatch: Add a warning for pre-schema driver model tags
CI: Add a check for pre-schema driver model tags
.azure-pipelines.yml | 12 +++ .gitlab-ci.yml | 9 ++ arch/arc/dts/abilis_tb100.dts | 2 +- arch/arc/dts/axc001.dtsi | 2 +- arch/arc/dts/axc003.dtsi | 2 +- arch/arc/dts/axs10x_mb.dtsi | 6 +- arch/arc/dts/emsdp.dts | 2 +- arch/arc/dts/hsdk-common.dtsi | 2 +- arch/arc/dts/iot_devkit.dts | 2 +- arch/arc/dts/nsim.dts | 2 +- arch/arc/dts/skeleton.dtsi | 2 +- arch/arm/dts/am335x-brppt1-mmc-u-boot.dtsi | 48 +++++----- arch/arm/dts/am335x-brsmarc1.dts | 28 +++--- arch/arm/dts/am335x-brxre1.dts | 22 ++--- arch/arm/dts/am335x-evm-u-boot.dtsi | 22 ++--- arch/arm/dts/am335x-evmsk-u-boot.dtsi | 4 +- arch/arm/dts/am335x-guardian-u-boot.dtsi | 28 +++--- arch/arm/dts/am335x-pdu001-u-boot.dtsi | 30 +++---- arch/arm/dts/am335x-pxm50-u-boot.dtsi | 4 +- arch/arm/dts/am335x-regor-rdk-u-boot.dtsi | 8 +- arch/arm/dts/am335x-rut-u-boot.dtsi | 4 +- .../dts/am335x-sancloud-bbe-lite-u-boot.dtsi | 18 ++-- arch/arm/dts/am335x-shc-u-boot.dtsi | 20 ++--- arch/arm/dts/am335x-wega-rdk-u-boot.dtsi | 14 +-- arch/arm/dts/am33xx-u-boot.dtsi | 2 +- arch/arm/dts/am3517-evm-u-boot.dtsi | 18 ++-- arch/arm/dts/am4372-generic-u-boot.dtsi | 4 +- arch/arm/dts/am4372-u-boot.dtsi | 20 ++--- arch/arm/dts/am437x-gp-evm-u-boot.dtsi | 24 ++--- arch/arm/dts/am437x-idk-evm-u-boot.dtsi | 8 +- arch/arm/dts/am437x-sk-evm-u-boot.dtsi | 8 +- arch/arm/dts/armada-3720-eDPU-u-boot.dtsi | 6 +- arch/arm/dts/armada-3720-uDPU-u-boot.dtsi | 6 +- arch/arm/dts/armada-385-atl-x530-u-boot.dtsi | 2 +- .../dts/armada-385-turris-omnia-u-boot.dtsi | 12 +-- arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 18 ++-- arch/arm/dts/armada-388-helios4-u-boot.dtsi | 20 ++--- .../armada-38x-controlcenterdc-u-boot.dtsi | 12 +-- arch/arm/dts/armada-ap80x-quad.dtsi | 8 +- .../arm/dts/armada-xp-theadorable-u-boot.dtsi | 2 +- arch/arm/dts/ast2500-evb.dts | 8 +- arch/arm/dts/ast2500-u-boot.dtsi | 8 +- arch/arm/dts/ast2600-evb.dts | 6 +- arch/arm/dts/ast2600-u-boot.dtsi | 10 +-- .../dts/at91-sam9x60_curiosity-u-boot.dtsi | 34 +++---- arch/arm/dts/at91-sama5d27_giantboard.dts | 16 ++-- arch/arm/dts/at91-sama5d27_som1_ek.dts | 24 ++--- .../dts/at91-sama5d27_wlsom1_ek-u-boot.dtsi | 20 ++--- arch/arm/dts/at91-sama5d2_icp-u-boot.dtsi | 18 ++-- arch/arm/dts/at91-sama5d2_ptc_ek.dts | 18 ++-- arch/arm/dts/at91-sama5d2_xplained.dts | 38 ++++---- arch/arm/dts/at91-sama5d3_xplained.dts | 14 +-- arch/arm/dts/at91-sama5d4_xplained.dts | 20 ++--- arch/arm/dts/at91-sama5d4ek.dts | 20 ++--- arch/arm/dts/at91-sama7g5ek-u-boot.dtsi | 24 ++--- arch/arm/dts/at91sam9260-smartweb.dts | 4 +- arch/arm/dts/at91sam9260.dtsi | 26 +++--- arch/arm/dts/at91sam9260ek.dts | 4 +- arch/arm/dts/at91sam9261.dtsi | 26 +++--- arch/arm/dts/at91sam9263.dtsi | 26 +++--- arch/arm/dts/at91sam9263ek.dts | 4 +- arch/arm/dts/at91sam9g15ek.dts | 2 +- arch/arm/dts/at91sam9g20-taurus.dts | 6 +- arch/arm/dts/at91sam9g20ek_common.dtsi | 4 +- ...1sam9g25-gardena-smart-gateway-u-boot.dtsi | 2 +- arch/arm/dts/at91sam9g35ek.dts | 2 +- arch/arm/dts/at91sam9g45-corvus.dts | 4 +- arch/arm/dts/at91sam9g45-gurnard.dts | 4 +- arch/arm/dts/at91sam9g45.dtsi | 12 +-- arch/arm/dts/at91sam9m10g45ek.dts | 4 +- arch/arm/dts/at91sam9n12.dtsi | 26 +++--- arch/arm/dts/at91sam9n12ek.dts | 4 +- arch/arm/dts/at91sam9rl.dtsi | 30 +++---- arch/arm/dts/at91sam9rlek.dts | 4 +- arch/arm/dts/at91sam9x35ek.dts | 2 +- arch/arm/dts/at91sam9x5.dtsi | 14 +-- arch/arm/dts/at91sam9x5dm.dtsi | 4 +- arch/arm/dts/at91sam9x5ek.dtsi | 4 +- arch/arm/dts/bcm283x-u-boot.dtsi | 10 +-- arch/arm/dts/bcm63158.dtsi | 4 +- arch/arm/dts/bcm6855.dtsi | 4 +- arch/arm/dts/bcm6856.dtsi | 4 +- arch/arm/dts/bcm6858.dtsi | 4 +- arch/arm/dts/bcm96753ref.dts | 2 +- arch/arm/dts/bcm968360bg.dts | 2 +- arch/arm/dts/bcm968580xref.dts | 2 +- arch/arm/dts/bitmain-antminer-s9.dts | 4 +- arch/arm/dts/ca-presidio-engboard.dts | 2 +- arch/arm/dts/da850-evm-u-boot.dtsi | 12 +-- arch/arm/dts/da850-lcdk-u-boot.dtsi | 8 +- arch/arm/dts/dm8168-evm-u-boot.dtsi | 2 +- arch/arm/dts/dra7-evm-u-boot.dtsi | 18 ++-- arch/arm/dts/dra7-ipu-common-early-boot.dtsi | 40 ++++----- arch/arm/dts/dra71-evm-u-boot.dtsi | 20 ++--- arch/arm/dts/dra72-evm-revc-u-boot.dtsi | 20 ++--- arch/arm/dts/dra72-evm-u-boot.dtsi | 8 +- arch/arm/dts/dra76-evm-u-boot.dtsi | 14 +-- arch/arm/dts/dragonboard410c-uboot.dtsi | 12 +-- arch/arm/dts/dragonboard820c-uboot.dtsi | 12 +-- arch/arm/dts/dragonboard845c-uboot.dtsi | 8 +- arch/arm/dts/exynos5.dtsi | 4 +- arch/arm/dts/exynos5422-odroidxu3.dts | 2 +- arch/arm/dts/exynos7420.dtsi | 14 +-- arch/arm/dts/exynos78x0.dtsi | 6 +- arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi | 66 +++++++------- arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi | 76 ++++++++-------- arch/arm/dts/fsl-imx8qxp-ai_ml-u-boot.dtsi | 56 ++++++------ arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi | 62 ++++++------- arch/arm/dts/fsl-imx8qxp-mek-u-boot.dtsi | 76 ++++++++-------- arch/arm/dts/fsl-imx8qxp-mek.dts | 2 +- .../dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi | 18 ++-- arch/arm/dts/fsl-ls1088a-qds.dtsi | 2 +- arch/arm/dts/fsl-ls1088a-rdb.dts | 2 +- arch/arm/dts/fsl-ls2088a-rdb-qspi.dts | 2 +- arch/arm/dts/fsl-lx2160a-qds.dtsi | 2 +- arch/arm/dts/fsl-lx2160a-rdb.dts | 2 +- arch/arm/dts/hi3660-hikey960-u-boot.dtsi | 2 +- arch/arm/dts/hi6220-hikey-u-boot.dtsi | 4 +- arch/arm/dts/hpe-gxp-u-boot.dtsi | 4 +- arch/arm/dts/imx28-xea-u-boot.dtsi | 16 ++-- arch/arm/dts/imx53-m53menlo-u-boot.dtsi | 18 ++-- arch/arm/dts/imx53-ppd-uboot.dtsi | 10 +-- arch/arm/dts/imx6dl-brppt2.dts | 18 ++-- .../dts/imx6dl-colibri-eval-v3-u-boot.dtsi | 2 +- arch/arm/dts/imx6dl-icore-mipi-u-boot.dtsi | 2 +- arch/arm/dts/imx6dl-mamoj-u-boot.dtsi | 4 +- arch/arm/dts/imx6q-apalis-eval-u-boot.dtsi | 2 +- arch/arm/dts/imx6q-bosch-acc-u-boot.dtsi | 32 +++---- arch/arm/dts/imx6q-display5-u-boot.dtsi | 6 +- arch/arm/dts/imx6q-icore-mipi-u-boot.dtsi | 2 +- arch/arm/dts/imx6q-kp-u-boot.dtsi | 22 ++--- arch/arm/dts/imx6q-logicpd-u-boot.dtsi | 12 +-- .../imx6q-phytec-mira-rdk-nand-u-boot.dtsi | 18 ++-- arch/arm/dts/imx6q-tbs2910-u-boot.dtsi | 8 +- .../arm/dts/imx6qdl-aristainetos2-u-boot.dtsi | 22 ++--- .../dts/imx6qdl-aristainetos2c-u-boot.dtsi | 22 ++--- .../imx6qdl-aristainetos2c_cslb-u-boot.dtsi | 22 ++--- ...qdl-hummingboard2-emmc-som-v15-u-boot.dtsi | 20 ++--- arch/arm/dts/imx6qdl-icore-rqs-u-boot.dtsi | 8 +- arch/arm/dts/imx6qdl-icore-u-boot.dtsi | 6 +- arch/arm/dts/imx6qdl-sabreauto-u-boot.dtsi | 4 +- arch/arm/dts/imx6qdl-sabresd-u-boot.dtsi | 4 +- arch/arm/dts/imx6qdl-u-boot.dtsi | 16 ++-- arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi | 10 +-- arch/arm/dts/imx6ul-geam-u-boot.dtsi | 8 +- arch/arm/dts/imx6ul-isiot-emmc-u-boot.dtsi | 2 +- arch/arm/dts/imx6ul-isiot-u-boot.dtsi | 6 +- arch/arm/dts/imx6ul-opos6ul-u-boot.dtsi | 10 +-- arch/arm/dts/imx6ul-opos6uldev-u-boot.dtsi | 10 +-- arch/arm/dts/imx6ul-u-boot.dtsi | 12 +-- .../dts/imx6ull-colibri-eval-v3-u-boot.dtsi | 10 +-- arch/arm/dts/imx6ull-dart-6ul.dtsi | 10 +-- arch/arm/dts/imx6ull-mys-6ulx-u-boot.dtsi | 14 +-- .../dts/imx6ull-seeed-npi-imx6ull-u-boot.dtsi | 14 +-- arch/arm/dts/imx6ull-u-boot.dtsi | 14 +-- arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi | 16 ++-- arch/arm/dts/imx7-cm-u-boot.dtsi | 6 +- .../arm/dts/imx7d-colibri-eval-v3-u-boot.dtsi | 2 +- arch/arm/dts/imx7d-pico-pi-u-boot.dtsi | 2 +- arch/arm/dts/imx7s-warp-u-boot.dtsi | 8 +- arch/arm/dts/imx7ulp-com-u-boot.dtsi | 16 ++-- arch/arm/dts/imx7ulp-uboot.dtsi | 18 ++-- arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi | 48 +++++----- .../dts/imx8mm-cl-iot-gate-optee-u-boot.dtsi | 42 ++++----- arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dtsi | 44 ++++----- .../dts/imx8mm-data-modul-edm-sbc-u-boot.dtsi | 44 ++++----- arch/arm/dts/imx8mm-evk-u-boot.dtsi | 60 ++++++------- .../imx8mm-icore-mx8mm-ctouch2-u-boot.dtsi | 12 +-- .../imx8mm-icore-mx8mm-edimm2.2-u-boot.dtsi | 12 +-- arch/arm/dts/imx8mm-icore-mx8mm-u-boot.dtsi | 10 +-- .../dts/imx8mm-kontron-bl-common-u-boot.dtsi | 60 ++++++------- arch/arm/dts/imx8mm-mx8menlo-u-boot.dtsi | 10 +-- arch/arm/dts/imx8mm-u-boot.dtsi | 30 +++---- arch/arm/dts/imx8mm-venice-gw700x-u-boot.dtsi | 6 +- arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi | 8 +- arch/arm/dts/imx8mm-venice-gw7902-u-boot.dtsi | 8 +- arch/arm/dts/imx8mm-venice-gw7903-u-boot.dtsi | 8 +- arch/arm/dts/imx8mm-venice-gw7904-u-boot.dtsi | 8 +- arch/arm/dts/imx8mm-venice-u-boot.dtsi | 34 +++---- .../dts/imx8mm-verdin-wifi-dev-u-boot.dtsi | 40 ++++----- arch/arm/dts/imx8mn-beacon-kit-u-boot.dtsi | 32 +++---- .../dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi | 24 ++--- arch/arm/dts/imx8mn-bsh-smm-s2-u-boot.dtsi | 4 +- arch/arm/dts/imx8mn-bsh-smm-s2pro-u-boot.dtsi | 4 +- arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi | 38 ++++---- arch/arm/dts/imx8mn-evk-u-boot.dtsi | 10 +-- arch/arm/dts/imx8mn-u-boot.dtsi | 30 +++---- .../dts/imx8mn-var-som-symphony-u-boot.dtsi | 32 +++---- arch/arm/dts/imx8mn-venice-gw7902-u-boot.dtsi | 8 +- arch/arm/dts/imx8mn-venice-u-boot.dtsi | 30 +++---- arch/arm/dts/imx8mp-dhcom-u-boot.dtsi | 54 +++++------ arch/arm/dts/imx8mp-evk-u-boot.dtsi | 54 +++++------ .../imx8mp-icore-mx8mp-edimm2.2-u-boot.dtsi | 52 +++++------ arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi | 26 +++--- .../imx8mp-phyboard-pollux-rdk-u-boot.dtsi | 36 ++++---- arch/arm/dts/imx8mp-rsb3720-a1-u-boot.dtsi | 56 ++++++------ arch/arm/dts/imx8mp-u-boot.dtsi | 26 +++--- arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi | 28 +++--- arch/arm/dts/imx8mp-venice-u-boot.dtsi | 34 +++---- .../dts/imx8mp-verdin-wifi-dev-u-boot.dtsi | 56 ++++++------ arch/arm/dts/imx8mq-cm-u-boot.dtsi | 4 +- arch/arm/dts/imx8mq-evk-u-boot.dtsi | 4 +- arch/arm/dts/imx8mq-librem5-r4-u-boot.dtsi | 4 +- arch/arm/dts/imx8mq-phanbell-u-boot.dtsi | 4 +- arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi | 4 +- arch/arm/dts/imx8mq-u-boot.dtsi | 12 +-- arch/arm/dts/imx8qxp-capricorn-u-boot.dtsi | 64 ++++++------- arch/arm/dts/imx8ulp-evk-u-boot.dtsi | 18 ++-- arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 50 +++++------ arch/arm/dts/imxrt1020-evk-u-boot.dtsi | 40 ++++----- arch/arm/dts/imxrt1050-evk-u-boot.dtsi | 40 ++++----- arch/arm/dts/imxrt1170-evk-u-boot.dtsi | 44 ++++----- arch/arm/dts/k3-am625-r5-sk.dts | 26 +++--- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 60 ++++++------- arch/arm/dts/k3-am62a-ddr.dtsi | 2 +- arch/arm/dts/k3-am62a7-r5-sk.dts | 22 ++--- arch/arm/dts/k3-am62a7-sk-u-boot.dtsi | 62 ++++++------- arch/arm/dts/k3-am64-ddr.dtsi | 2 +- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 44 ++++----- arch/arm/dts/k3-am642-r5-evm.dts | 32 +++---- arch/arm/dts/k3-am642-r5-sk.dts | 26 +++--- arch/arm/dts/k3-am642-sk-u-boot.dtsi | 72 +++++++-------- .../dts/k3-am65-iot2050-common-u-boot.dtsi | 44 ++++----- arch/arm/dts/k3-am654-ddr.dtsi | 2 +- .../dts/k3-am654-r5-base-board-u-boot.dtsi | 68 +++++++------- arch/arm/dts/k3-am654-r5-base-board.dts | 52 +++++------ .../arm/dts/k3-am68-sk-base-board-u-boot.dtsi | 46 +++++----- arch/arm/dts/k3-am68-sk-r5-base-board.dts | 22 ++--- .../k3-j7200-common-proc-board-u-boot.dtsi | 66 +++++++------- .../arm/dts/k3-j7200-r5-common-proc-board.dts | 38 ++++---- .../k3-j721e-common-proc-board-u-boot.dtsi | 84 ++++++++--------- arch/arm/dts/k3-j721e-ddr.dtsi | 2 +- .../k3-j721e-r5-common-proc-board-u-boot.dtsi | 4 +- .../arm/dts/k3-j721e-r5-common-proc-board.dts | 38 ++++---- arch/arm/dts/k3-j721e-r5-sk-u-boot.dtsi | 4 +- arch/arm/dts/k3-j721e-r5-sk.dts | 32 +++---- arch/arm/dts/k3-j721e-sk-u-boot.dtsi | 70 +++++++-------- .../k3-j721s2-common-proc-board-u-boot.dtsi | 48 +++++----- arch/arm/dts/k3-j721s2-ddr.dtsi | 6 +- .../dts/k3-j721s2-r5-common-proc-board.dts | 22 ++--- arch/arm/dts/keystone-k2e-evm-u-boot.dtsi | 4 +- arch/arm/dts/keystone-k2g-evm-u-boot.dtsi | 6 +- arch/arm/dts/keystone-k2g-generic-u-boot.dtsi | 6 +- arch/arm/dts/keystone-k2g-ice-u-boot.dtsi | 6 +- arch/arm/dts/keystone-k2hk-evm-u-boot.dtsi | 4 +- .../logicpd-som-lv-35xx-devkit-u-boot.dtsi | 16 ++-- .../logicpd-som-lv-37xx-devkit-u-boot.dtsi | 16 ++-- .../logicpd-torpedo-35xx-devkit-u-boot.dtsi | 16 ++-- .../logicpd-torpedo-37xx-devkit-u-boot.dtsi | 14 +-- arch/arm/dts/ls1021a-twr-u-boot.dtsi | 14 +-- arch/arm/dts/meson-g12-common-u-boot.dtsi | 4 +- arch/arm/dts/meson-gx-u-boot.dtsi | 4 +- arch/arm/dts/mt7622-bananapi-bpi-r64.dts | 2 +- arch/arm/dts/mt7622-rfb.dts | 4 +- arch/arm/dts/mt7622-u-boot.dtsi | 12 +-- arch/arm/dts/mt7623-u-boot.dtsi | 12 +-- arch/arm/dts/mt7629-rfb-u-boot.dtsi | 18 ++-- arch/arm/dts/mt7629-rfb.dts | 8 +- arch/arm/dts/mt7981.dtsi | 14 +-- arch/arm/dts/mt7986-u-boot.dtsi | 14 +-- arch/arm/dts/mt7986.dtsi | 8 +- arch/arm/dts/mt8516-u-boot.dtsi | 10 +-- arch/arm/dts/mvebu-u-boot.dtsi | 12 +-- arch/arm/dts/omap3-u-boot.dtsi | 34 +++---- arch/arm/dts/omap5-u-boot.dtsi | 40 ++++----- arch/arm/dts/phycore-imx8mm-u-boot.dtsi | 30 +++---- arch/arm/dts/px30-ringneck-haikou-u-boot.dtsi | 30 +++---- arch/arm/dts/px30-u-boot.dtsi | 30 +++---- arch/arm/dts/qcom-ipq4019.dtsi | 10 +-- arch/arm/dts/qcs404-evb-uboot.dtsi | 8 +- arch/arm/dts/r7s72100-gr-peach-u-boot.dts | 10 +-- arch/arm/dts/r8a774a1-u-boot.dtsi | 2 +- arch/arm/dts/r8a774b1-u-boot.dtsi | 2 +- arch/arm/dts/r8a774e1-u-boot.dtsi | 2 +- arch/arm/dts/r8a7790-lager-u-boot.dts | 2 +- arch/arm/dts/r8a7790-stout-u-boot.dts | 2 +- arch/arm/dts/r8a7790-u-boot.dtsi | 6 +- arch/arm/dts/r8a7791-koelsch-u-boot.dts | 2 +- arch/arm/dts/r8a7791-porter-u-boot.dts | 2 +- arch/arm/dts/r8a7791-u-boot.dtsi | 6 +- arch/arm/dts/r8a7792-blanche-u-boot.dts | 2 +- arch/arm/dts/r8a7792-u-boot.dtsi | 4 +- arch/arm/dts/r8a7793-gose-u-boot.dts | 2 +- arch/arm/dts/r8a7793-u-boot.dtsi | 6 +- arch/arm/dts/r8a7794-alt-u-boot.dts | 2 +- arch/arm/dts/r8a7794-silk-u-boot.dts | 2 +- arch/arm/dts/r8a7794-u-boot.dtsi | 6 +- arch/arm/dts/r8a77950-salvator-x-u-boot.dts | 6 +- arch/arm/dts/r8a77950-u-boot.dtsi | 2 +- arch/arm/dts/r8a77950-ulcb-u-boot.dts | 6 +- arch/arm/dts/r8a77960-salvator-x-u-boot.dts | 6 +- arch/arm/dts/r8a77960-u-boot.dtsi | 2 +- arch/arm/dts/r8a77960-ulcb-u-boot.dts | 6 +- arch/arm/dts/r8a77965-salvator-x-u-boot.dts | 6 +- arch/arm/dts/r8a77965-u-boot.dtsi | 2 +- arch/arm/dts/r8a77965-ulcb-u-boot.dts | 6 +- arch/arm/dts/r8a77970-u-boot.dtsi | 2 +- arch/arm/dts/r8a77980-u-boot.dtsi | 2 +- arch/arm/dts/r8a77990-ebisu-u-boot.dts | 6 +- arch/arm/dts/r8a779a0-u-boot.dtsi | 2 +- arch/arm/dts/r8a779x-u-boot.dtsi | 8 +- arch/arm/dts/rk3036-sdk-u-boot.dtsi | 6 +- arch/arm/dts/rk3066a-mk808-u-boot.dtsi | 8 +- arch/arm/dts/rk3128-evb-u-boot.dtsi | 2 +- arch/arm/dts/rk3128-u-boot.dtsi | 6 +- arch/arm/dts/rk3188-radxarock-u-boot.dtsi | 10 +-- arch/arm/dts/rk3229-evb-u-boot.dtsi | 4 +- arch/arm/dts/rk322x-u-boot.dtsi | 8 +- arch/arm/dts/rk3288-evb-u-boot.dtsi | 20 ++--- arch/arm/dts/rk3288-firefly-u-boot.dtsi | 30 +++---- arch/arm/dts/rk3288-miqi-u-boot.dtsi | 20 ++--- arch/arm/dts/rk3288-phycore-rdk-u-boot.dtsi | 14 +-- arch/arm/dts/rk3288-popmetal-u-boot.dtsi | 20 ++--- arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi | 8 +- arch/arm/dts/rk3288-rock2-square-u-boot.dtsi | 8 +- arch/arm/dts/rk3288-tinker-s-u-boot.dtsi | 10 +-- arch/arm/dts/rk3288-tinker-u-boot.dtsi | 32 +++---- arch/arm/dts/rk3288-u-boot.dtsi | 18 ++-- arch/arm/dts/rk3288-veyron-speedy-u-boot.dtsi | 8 +- arch/arm/dts/rk3288-veyron-u-boot.dtsi | 20 ++--- arch/arm/dts/rk3288-vyasa-u-boot.dtsi | 8 +- arch/arm/dts/rk3308-evb-u-boot.dtsi | 2 +- arch/arm/dts/rk3308-roc-cc-u-boot.dtsi | 2 +- arch/arm/dts/rk3308-u-boot.dtsi | 10 +-- arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 32 +++---- arch/arm/dts/rk3328-nanopi-r2s-u-boot.dtsi | 10 +-- arch/arm/dts/rk3328-roc-cc-u-boot.dtsi | 10 +-- arch/arm/dts/rk3328-rock-pi-e-u-boot.dtsi | 10 +-- arch/arm/dts/rk3328-rock64-u-boot.dtsi | 12 +-- arch/arm/dts/rk3328-u-boot.dtsi | 14 +-- arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 14 +-- arch/arm/dts/rk3368-lion-haikou-u-boot.dtsi | 28 +++--- arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 22 ++--- arch/arm/dts/rk3368-sheep-u-boot.dtsi | 14 +-- arch/arm/dts/rk3399-evb-u-boot.dtsi | 6 +- arch/arm/dts/rk3399-gru-u-boot.dtsi | 2 +- arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi | 6 +- arch/arm/dts/rk3399-pinephone-pro-u-boot.dtsi | 4 +- arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi | 20 ++--- arch/arm/dts/rk3399-roc-pc-u-boot.dtsi | 2 +- arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 2 +- arch/arm/dts/rk3399-u-boot.dtsi | 38 ++++---- arch/arm/dts/rk3568-evb-u-boot.dtsi | 2 +- arch/arm/dts/rk356x-u-boot.dtsi | 14 +-- arch/arm/dts/rk3xxx-u-boot.dtsi | 8 +- arch/arm/dts/rv1108-u-boot.dtsi | 2 +- arch/arm/dts/rv1126-u-boot.dtsi | 24 ++--- arch/arm/dts/rz-g2-beacon-u-boot.dtsi | 10 +-- arch/arm/dts/s5p4418.dtsi | 4 +- arch/arm/dts/s700-u-boot.dtsi | 6 +- arch/arm/dts/s900-u-boot.dtsi | 6 +- arch/arm/dts/sam9x60ek-u-boot.dtsi | 36 ++++---- arch/arm/dts/sama5d2.dtsi | 52 +++++------ arch/arm/dts/sama5d27_som1.dtsi | 8 +- arch/arm/dts/sama5d3.dtsi | 72 +++++++-------- arch/arm/dts/sama5d3xdm.dtsi | 6 +- arch/arm/dts/sama5d3xmb.dtsi | 18 ++-- arch/arm/dts/sama5d3xmb_cmp.dtsi | 4 +- arch/arm/dts/sama5d4.dtsi | 50 +++++------ arch/arm/dts/socfpga-common-u-boot.dtsi | 10 +-- arch/arm/dts/socfpga_agilex-u-boot.dtsi | 20 ++--- arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi | 6 +- arch/arm/dts/socfpga_arria10-handoff.dtsi | 42 ++++----- arch/arm/dts/socfpga_arria10-u-boot.dtsi | 44 ++++----- .../dts/socfpga_arria10_handoff_u-boot.dtsi | 44 ++++----- .../socfpga_arria10_mercury_aa1-u-boot.dtsi | 20 ++--- .../arm/dts/socfpga_arria10_socdk-u-boot.dtsi | 4 +- .../socfpga_arria10_socdk_sdmmc-u-boot.dtsi | 14 +-- arch/arm/dts/socfpga_arria5_secu1.dts | 6 +- arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi | 8 +- arch/arm/dts/socfpga_cyclone5_dbm_soc1.dts | 4 +- .../socfpga_cyclone5_de0_nano_soc-u-boot.dtsi | 4 +- arch/arm/dts/socfpga_cyclone5_de10_nano.dts | 4 +- .../dts/socfpga_cyclone5_de10_standard.dts | 4 +- arch/arm/dts/socfpga_cyclone5_de1_soc.dts | 4 +- arch/arm/dts/socfpga_cyclone5_is1.dts | 8 +- .../dts/socfpga_cyclone5_mcvevk-u-boot.dtsi | 4 +- .../dts/socfpga_cyclone5_socdk-u-boot.dtsi | 8 +- .../dts/socfpga_cyclone5_sockit-u-boot.dtsi | 8 +- .../dts/socfpga_cyclone5_socrates-u-boot.dtsi | 8 +- arch/arm/dts/socfpga_cyclone5_sr1500.dts | 8 +- .../socfpga_cyclone5_vining_fpga-u-boot.dtsi | 10 +-- arch/arm/dts/socfpga_n5x-u-boot.dtsi | 26 +++--- arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi | 6 +- arch/arm/dts/socfpga_stratix10.dtsi | 10 +-- .../dts/socfpga_stratix10_socdk-u-boot.dtsi | 10 +-- arch/arm/dts/socfpga_stratix10_socdk.dts | 2 +- arch/arm/dts/starqltechn-uboot.dtsi | 12 +-- arch/arm/dts/stm32429i-eval-u-boot.dtsi | 54 +++++------ arch/arm/dts/stm32746g-eval-u-boot.dtsi | 8 +- arch/arm/dts/stm32f429-disco-u-boot.dtsi | 52 +++++------ arch/arm/dts/stm32f469-disco-u-boot.dtsi | 54 +++++------ arch/arm/dts/stm32f7-u-boot.dtsi | 38 ++++---- arch/arm/dts/stm32f746-disco-u-boot.dtsi | 12 +-- arch/arm/dts/stm32f769-disco-u-boot.dtsi | 12 +-- arch/arm/dts/stm32h7-u-boot.dtsi | 44 ++++----- arch/arm/dts/stm32mp13-u-boot.dtsi | 46 +++++----- arch/arm/dts/stm32mp135f-dk-u-boot.dtsi | 8 +- arch/arm/dts/stm32mp15-ddr.dtsi | 2 +- arch/arm/dts/stm32mp15-scmi-u-boot.dtsi | 46 +++++----- arch/arm/dts/stm32mp15-u-boot.dtsi | 64 ++++++------- arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi | 8 +- arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 34 +++---- ...2mp157a-icore-stm32mp1-ctouch2-u-boot.dtsi | 16 ++-- ...mp157a-icore-stm32mp1-edimm2.2-u-boot.dtsi | 16 ++-- .../stm32mp157a-icore-stm32mp1-u-boot.dtsi | 28 +++--- ...rogea-stm32mp1-microdev2.0-of7-u-boot.dtsi | 16 ++-- ...-microgea-stm32mp1-microdev2.0-u-boot.dtsi | 16 ++-- .../stm32mp157a-microgea-stm32mp1-u-boot.dtsi | 14 +-- arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi | 8 +- arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 48 +++++----- arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 20 ++--- .../dts/stm32mp157c-odyssey-som-u-boot.dtsi | 26 +++--- arch/arm/dts/stm32mp157c-odyssey-u-boot.dtsi | 16 ++-- arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 90 +++++++++---------- .../stm32mp15xx-dhcor-avenger96-u-boot.dtsi | 36 ++++---- .../stm32mp15xx-dhcor-drc-compact-u-boot.dtsi | 34 +++---- .../stm32mp15xx-dhcor-testbench-u-boot.dtsi | 34 +++---- arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi | 56 ++++++------ arch/arm/dts/t8103-u-boot.dtsi | 12 +-- arch/arm/dts/tegra124-nyan-big-u-boot.dtsi | 4 +- arch/arm/dts/tegra20-u-boot.dtsi | 4 +- arch/arm/dts/uniphier-v7-u-boot.dtsi | 24 ++--- arch/arm/dts/versal-mini-emmc0.dts | 4 +- arch/arm/dts/versal-mini-emmc1.dts | 4 +- arch/arm/dts/versal-mini-ospi.dtsi | 4 +- arch/arm/dts/versal-mini-qspi.dtsi | 4 +- arch/arm/dts/versal-mini.dts | 2 +- arch/arm/dts/versal-net-mini.dts | 8 +- arch/arm/dts/vf610-bk4r1-u-boot.dtsi | 10 +-- .../arm/dts/vf610-colibri-eval-v3-u-boot.dtsi | 12 +-- arch/arm/dts/zynq-7000.dtsi | 8 +- arch/arm/dts/zynq-cc108.dts | 2 +- arch/arm/dts/zynq-cse-nand.dts | 10 +-- arch/arm/dts/zynq-cse-nor.dts | 12 +-- arch/arm/dts/zynq-cse-qspi.dtsi | 10 +-- arch/arm/dts/zynq-dlc20-rev1.0.dts | 6 +- arch/arm/dts/zynq-microzed.dts | 6 +- arch/arm/dts/zynq-minized.dts | 2 +- arch/arm/dts/zynq-picozed.dts | 6 +- arch/arm/dts/zynq-syzygy-hub.dts | 4 +- arch/arm/dts/zynq-topic-miami.dts | 6 +- arch/arm/dts/zynq-zc702.dts | 6 +- arch/arm/dts/zynq-zc706.dts | 6 +- arch/arm/dts/zynq-zc770-xm010.dts | 2 +- arch/arm/dts/zynq-zc770-xm011.dts | 2 +- arch/arm/dts/zynq-zc770-xm012.dts | 2 +- arch/arm/dts/zynq-zc770-xm013.dts | 2 +- arch/arm/dts/zynq-zed.dts | 6 +- arch/arm/dts/zynq-zturn-common.dtsi | 8 +- arch/arm/dts/zynq-zybo-z7.dts | 6 +- arch/arm/dts/zynq-zybo.dts | 6 +- arch/arm/dts/zynqmp-a2197-revA.dts | 12 +-- arch/arm/dts/zynqmp-clk-ccf.dtsi | 12 +-- arch/arm/dts/zynqmp-dlc21-revA.dts | 6 +- arch/arm/dts/zynqmp-mini-emmc0.dts | 4 +- arch/arm/dts/zynqmp-mini-emmc1.dts | 4 +- arch/arm/dts/zynqmp-mini-nand.dts | 2 +- arch/arm/dts/zynqmp-mini-qspi.dts | 2 +- arch/arm/dts/zynqmp-mini.dts | 2 +- arch/arm/dts/zynqmp-r5.dts | 6 +- arch/arm/dts/zynqmp-sm-k26-revA.dts | 6 +- arch/arm/dts/zynqmp.dtsi | 24 ++--- arch/m68k/dts/M5208EVBE.dts | 2 +- arch/m68k/dts/M5235EVB.dts | 2 +- arch/m68k/dts/M5235EVB_Flash32.dts | 2 +- arch/m68k/dts/M5249EVB.dts | 2 +- arch/m68k/dts/M5253DEMO.dts | 2 +- arch/m68k/dts/M5272C3.dts | 2 +- arch/m68k/dts/M5275EVB.dts | 2 +- arch/m68k/dts/M5282EVB.dts | 2 +- arch/m68k/dts/M53017EVB.dts | 2 +- arch/m68k/dts/M5329AFEE.dts | 2 +- arch/m68k/dts/M5329BFEE.dts | 2 +- arch/m68k/dts/M5373EVB.dts | 2 +- arch/m68k/dts/amcore.dts | 2 +- arch/m68k/dts/astro_mcf5373l.dts | 2 +- arch/m68k/dts/cobra5272.dts | 2 +- arch/m68k/dts/eb_cpu5282.dts | 2 +- arch/m68k/dts/eb_cpu5282_internal.dts | 2 +- arch/m68k/dts/stmark2.dts | 2 +- arch/mips/dts/ar933x.dtsi | 2 +- arch/mips/dts/brcm,bcm3380.dtsi | 14 +-- arch/mips/dts/brcm,bcm6318.dtsi | 12 +-- arch/mips/dts/brcm,bcm63268.dtsi | 14 +-- arch/mips/dts/brcm,bcm6328.dtsi | 14 +-- arch/mips/dts/brcm,bcm6338.dtsi | 12 +-- arch/mips/dts/brcm,bcm6348.dtsi | 12 +-- arch/mips/dts/brcm,bcm6358.dtsi | 14 +-- arch/mips/dts/brcm,bcm6362.dtsi | 14 +-- arch/mips/dts/brcm,bcm6368.dtsi | 14 +-- arch/mips/dts/brcm,bcm6838.dtsi | 14 +-- arch/mips/dts/brcm,bcm968380gerg.dts | 2 +- arch/mips/dts/comtrend,ar-5315u.dts | 2 +- arch/mips/dts/comtrend,ar-5387un.dts | 2 +- arch/mips/dts/comtrend,ct-5361.dts | 2 +- arch/mips/dts/comtrend,vr-3032u.dts | 2 +- arch/mips/dts/comtrend,wap-5813n.dts | 2 +- arch/mips/dts/huawei,hg556a.dts | 2 +- arch/mips/dts/img,boston.dts | 6 +- arch/mips/dts/mrvl,cn73xx.dtsi | 6 +- arch/mips/dts/mrvl,octeon-ebb7304.dts | 4 +- arch/mips/dts/mrvl,octeon-nic23.dts | 4 +- arch/mips/dts/mt7620-u-boot.dtsi | 4 +- arch/mips/dts/mt7621-u-boot.dtsi | 16 ++-- arch/mips/dts/mt7628-u-boot.dtsi | 16 ++-- arch/mips/dts/mt7628a.dtsi | 2 +- arch/mips/dts/mti,malta.dts | 2 +- arch/mips/dts/netgear,cg3100d.dts | 2 +- arch/mips/dts/netgear,dgnd3700v2.dts | 2 +- arch/mips/dts/pic32mzda_sk.dts | 6 +- arch/mips/dts/qca953x.dtsi | 2 +- arch/mips/dts/sagem,[email protected] | 2 +- arch/mips/dts/sfr,nb4-ser.dts | 2 +- arch/nios2/dts/10m50_devboard.dts | 2 +- arch/powerpc/dts/gdsys/gazerbeam-uboot.dtsi | 18 ++-- arch/powerpc/dts/km8321-uboot.dtsi | 26 +++--- arch/powerpc/dts/km836x-uboot.dtsi | 26 +++--- arch/powerpc/dts/kmcent2-u-boot.dtsi | 6 +- arch/powerpc/dts/pq3-i2c-0.dtsi | 2 +- arch/powerpc/dts/pq3-i2c-1.dtsi | 2 +- arch/powerpc/dts/qoriq-i2c-0.dtsi | 4 +- arch/powerpc/dts/qoriq-i2c-1.dtsi | 4 +- arch/powerpc/dts/socrates-u-boot.dtsi | 4 +- arch/riscv/dts/ae350-u-boot.dtsi | 28 +++--- arch/riscv/dts/fu540-c000-u-boot.dtsi | 34 +++---- arch/riscv/dts/fu740-c000-u-boot.dtsi | 36 ++++---- .../dts/hifive-unleashed-a00-u-boot.dtsi | 14 +-- .../dts/hifive-unmatched-a00-u-boot.dtsi | 14 +-- arch/riscv/dts/k210.dtsi | 8 +- arch/riscv/dts/openpiton-riscv64.dts | 8 +- arch/sandbox/dts/sandbox.dts | 6 +- arch/sandbox/dts/sandbox.dtsi | 48 +++++----- arch/sandbox/dts/sandbox64.dts | 4 +- arch/sandbox/dts/test.dts | 22 ++--- arch/sh/dts/sh7751-r2dplus.dts | 4 +- arch/x86/cpu/mp_init.c | 4 +- arch/x86/dts/bayleybay.dts | 14 +-- arch/x86/dts/baytrail_som-db5800-som-6867.dts | 14 +-- arch/x86/dts/cherryhill.dts | 2 +- arch/x86/dts/chromebook_coral.dts | 74 +++++++-------- arch/x86/dts/chromebook_link.dts | 46 +++++----- arch/x86/dts/chromebook_samus.dts | 74 +++++++-------- arch/x86/dts/chromebox_panther.dts | 8 +- arch/x86/dts/conga-qeval20-qa3-e3845.dts | 14 +-- arch/x86/dts/coreboot.dts | 4 +- arch/x86/dts/cougarcanyon2.dts | 10 +-- arch/x86/dts/crownbay.dts | 18 ++-- arch/x86/dts/dfi-bt700.dtsi | 16 ++-- arch/x86/dts/edison.dts | 4 +- arch/x86/dts/efi-x86_app.dts | 2 +- arch/x86/dts/efi-x86_payload.dts | 2 +- arch/x86/dts/galileo.dts | 8 +- arch/x86/dts/minnowmax.dts | 14 +-- arch/x86/dts/qemu-x86_i440fx.dts | 10 +-- arch/x86/dts/qemu-x86_q35.dts | 10 +-- arch/x86/dts/reset.dtsi | 2 +- arch/x86/dts/rtc.dtsi | 2 +- arch/x86/dts/serial.dtsi | 2 +- arch/x86/dts/tsc_timer.dtsi | 2 +- doc/README.TPL | 4 +- doc/develop/driver-model/design.rst | 15 ++-- .../driver-model/fs_firmware_loader.rst | 4 +- doc/develop/driver-model/of-plat.rst | 25 +++--- doc/develop/driver-model/pci-info.rst | 10 +-- doc/develop/driver-model/serial-howto.rst | 24 ++--- doc/develop/spl.rst | 5 +- doc/device-tree-bindings/bootph.yaml | 88 ++++++++++++++++++ doc/device-tree-bindings/chosen.txt | 2 +- .../clock/rockchip,rk3368-dmc.txt | 2 +- .../clock/rockchip,rk3399-dmc.txt | 2 +- .../clock/st,stm32mp1.txt | 22 ++--- doc/device-tree-bindings/device.txt | 6 +- .../fsp/fsp2/apollolake/fsp-s.txt | 2 +- .../memory-controller/k3-j721e-ddrss.txt | 2 +- .../memory-controllers/k3-am654-ddrss.txt | 2 +- doc/device-tree-bindings/misc/fs_loader.txt | 8 +- doc/device-tree-bindings/net/mdio-mux-reg.txt | 2 +- doc/device-tree-bindings/pci/x86-pci.txt | 4 +- .../pinctrl/nexell,s5pxx18-pinctrl.txt | 2 +- .../ram/fsl,mpc83xx-mem-controller.txt | 2 +- .../video/atmel-hlcdc.txt | 2 +- drivers/core/ofnode.c | 10 +-- drivers/video/video-uclass.c | 4 +- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +-- scripts/Makefile.lib | 12 +-- scripts/checkpatch.pl | 6 ++ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 +- tools/binman/binman.rst | 3 +- tools/dtoc/dtb_platdata.py | 10 +-- tools/dtoc/test/dtoc_test_add_prop.dts | 4 +- tools/dtoc/test/dtoc_test_addr32.dts | 4 +- tools/dtoc/test/dtoc_test_addr32_64.dts | 6 +- tools/dtoc/test/dtoc_test_addr64.dts | 6 +- tools/dtoc/test/dtoc_test_addr64_32.dts | 6 +- tools/dtoc/test/dtoc_test_alias_bad.dts | 6 +- tools/dtoc/test/dtoc_test_alias_bad_path.dts | 6 +- tools/dtoc/test/dtoc_test_alias_bad_uc.dts | 6 +- tools/dtoc/test/dtoc_test_aliases.dts | 4 +- tools/dtoc/test/dtoc_test_driver_alias.dts | 2 +- tools/dtoc/test/dtoc_test_inst.dts | 6 +- tools/dtoc/test/dtoc_test_invalid_driver.dts | 2 +- tools/dtoc/test/dtoc_test_noparent.dts | 6 +- tools/dtoc/test/dtoc_test_noprops.dts | 2 +- tools/dtoc/test/dtoc_test_phandle.dts | 10 +-- tools/dtoc/test/dtoc_test_phandle_bad.dts | 2 +- tools/dtoc/test/dtoc_test_phandle_bad2.dts | 4 +- .../dtoc/test/dtoc_test_phandle_cd_gpios.dts | 10 +-- tools/dtoc/test/dtoc_test_phandle_reorder.dts | 4 +- tools/dtoc/test/dtoc_test_phandle_single.dts | 4 +- tools/dtoc/test/dtoc_test_simple.dts | 10 +-- tools/dtoc/test/dtoc_test_single_reg.dts | 4 +- tools/dtoc/test_fdt.py | 8 +- tools/patman/test_checkpatch.py | 6 ++ 617 files changed, 4463 insertions(+), 4340 deletions(-) create mode 100644 doc/device-tree-bindings/bootph.yaml
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
PATCH v3 1/8 schemas: Add schema for U-Boot driver model 'phase tags'
U-Boot has some particular challenges with device tree and devices:
- U-Boot has multiple build phases, such as a Secondary Program Loader (SPL) phase which typically runs in a pre-SDRAM environment where code and data space are limited. In particular, there may not be enough space for the full device tree blob. U-Boot uses various automated techniques to reduce the size from perhaps 40KB to 3KB. It is not always possible to handle these tags entirely at build time, since U-Boot proper must have the full device tree, even though we do not want it to process all nodes until after relocation.
- Some U-Boot phases needs to run before the clocks are properly set up, where the CPU may be running very slowly. Therefore it is important to bind only those devices which are actually needed in that phase
- U-Boot uses lazy initialisation for its devices, with 'bind' and 'probe' being separate steps. Even if a device is bound, it is not actually probed until it is used. This is necessary to keep the boot time reasonable, e.g. to under a second
The phases of U-Boot in order are: TPL, VPL, SPL, U-Boot (first pre-relocation, then post-relocation). ALl but the last two are optional.
For the above reasons, U-Boot only includes the full device tree in the final 'U-Boot proper' build. Even then, before relocation U-Boot only processes nodes which are marked as being needed.
For this to work, U-Boot's driver model[1] provides a way to mark device tree nodes as applicable for a particular phase. This works by adding a tag to the node, e.g.:
cru: clock-controller@ff760000 {
bootph-all;
compatible = "rockchip,rk3399-cru";
reg = <0x0 0xff760000 0x0 0x1000>;
rockchip,grf = <&grf>;
#clock-cells = <1>;
#reset-cells = <1>;
...
};Here the "bootph-all" tag indicates that the node must be present in all phases, since the clock driver is required.
There has been discussion over the years about whether this could be done in a property instead, e.g.
options {
bootph-all = <&cru> <&gpio_a> ...;
...
};Some problems with this:
- we need to be able to merge several such tags from different .dtsi files since many boards have their own specific requirements
- it is hard to find and cross-reference the affected nodes
- it is more error-prone
- it requires significant tool rework in U-Boot, including fdtgrep and the build system
- is harder (slower, more code) to process since it involves scanning another node/property to find out what to do with a particular node
- we don't want to add phandle arguments to the above since we are referring, e.g., to the clock device as a whole, not a paricular clock
- the of-platdata feature[2], which converts device tree to C for even more constrained environments, would need to become aware of the /options node
There is also the question about whether this needs to be U-Boot-specific, or whether the tags could be generic. From what I can tell, U-Boot is the only bootloader which seriously attempts to use a runtime device tree in all cases. For this version, an attempt is made to name the phases in a generic manner.
It should also be noted that the approach provided here has stood the test of time, used in U-Boot for 8 years so far.
So add the schema for this. This will allow a major class of schema exceptions to be dropped from the U-Boot source tree.
This has been applied upstream[3]
[1] https://u-boot.readthedocs.io/en/latest/develop/driver-model/index.html
[2] https://u-boot.readthedocs.io/en/latest/develop/driver-model/of-plat.html
[3] https://github.com/devicetree-org/dt-schema/commit/63bd847
---
(no changes since v2)
Changes in v2:
- Add binding document
doc/device-tree-bindings/bootph.yaml | 88 ++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 doc/device-tree-bindings/bootph.yaml
doc/device-tree-bindings/bootph.yaml new file +88 -0
@@ -0,0 +1,88 @@ +# SPDX-License-Identifier: BSD-2-Clause +# Copyright 2022 Google LLC +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bootph.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Boot-phase-specific device nodes + +maintainers: + - Simon Glass <[email protected]> + +description: | + Some programs run in memory-constrained environments yet want to make use + of device tree. + + The full device tree is often quite large relative to the available memory + of a boot phase, so cannot fit into every phase of the boot process. Even + when memory is not a problem, some phases may wish to limit which device + nodes are present, so as to reduce execution time. + + This binding supports adding tags to device tree nodes to allow them to be + marked according to the phases where they should be included. + + Without any tags, nodes are included only in the final phase, where all + memory is available. Any untagged nodes are dropped from previous phases + and are ignored before the final phase is reached. + + The build process produces a separate executable for each phase. It can + use fdtgrep to drop any nodes which are not needed for a particular build. + For example, the pre-sram build will drop any nodes which are not marked + with bootph-pre-sram or bootph-all tags. + + Note that phase builds may drop the tags, since they have served their + purpose by that point. So when looking at phase-specific device tree files + you may not see these tags. + + Multiple tags can be used in the same node. + + Tags in a child node are implied to be present in all parent nodes as well. + This is important, since some missing properties (such as "ranges", or + "compatible") can cause the child node to be ignored or incorrectly + parsed. + + That said, at present, fdtgrep applies tags only to the node they are + added to, not to any parents. This means U-Boot device tree files often + add the same tag to parent nodes, rather than relying on tooling to do + this. This is a limitation of fdtgrep and it will be addressed so that + 'Linux DTs' do not need to do this. + + The available tags are described as properties below, in order of phase + execution. + +select: true + +properties: + bootph-pre-sram: + type: boolean + description: + Enable this node when SRAM is not available. This phase must set up + some SRAM or cache-as-RAM so it can obtain data/BSS space to use + during execution. + + bootph-verify: + type: boolean + description: + Enable this node in the verification step, which decides which of the + available images should be run next. + + bootph-pre-ram: + type: boolean + description: + Enable this node in the phase that sets up SDRAM. + + bootph-some-ram: + type: boolean + description: + Enable this node in the phase that is run after SDRAM is working but + before all of it is available. Some RAM is available but it is limited + (e.g. it may be split into two pieces by the location of the running + program) because the program code is not yet relocated out of the way. + + bootph-all: + type: boolean + description: + Include this node in all phases (for U-Boot see enum u_boot_phase). + +additionalProperties: true
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
PATCH v3 2/8 dm: dts: Convert driver model tags to use new schema
In reply to Simon GlassNow that Linux has accepted these tags, move the device tree files in U-Boot over to use them.
---
(no changes since v2)
Changes in v2:
- Convert k3-am68-sk boards also
arch/arc/dts/abilis_tb100.dts | 2 +- arch/arc/dts/axc001.dtsi | 2 +- arch/arc/dts/axc003.dtsi | 2 +- arch/arc/dts/axs10x_mb.dtsi | 6 +- arch/arc/dts/emsdp.dts | 2 +- arch/arc/dts/hsdk-common.dtsi | 2 +- arch/arc/dts/iot_devkit.dts | 2 +- arch/arc/dts/nsim.dts | 2 +- arch/arc/dts/skeleton.dtsi | 2 +- arch/arm/dts/am335x-brppt1-mmc-u-boot.dtsi | 48 +++++----- arch/arm/dts/am335x-brsmarc1.dts | 28 +++--- arch/arm/dts/am335x-brxre1.dts | 22 ++--- arch/arm/dts/am335x-evm-u-boot.dtsi | 22 ++--- arch/arm/dts/am335x-evmsk-u-boot.dtsi | 4 +- arch/arm/dts/am335x-guardian-u-boot.dtsi | 28 +++--- arch/arm/dts/am335x-pdu001-u-boot.dtsi | 30 +++---- arch/arm/dts/am335x-pxm50-u-boot.dtsi | 4 +- arch/arm/dts/am335x-regor-rdk-u-boot.dtsi | 8 +- arch/arm/dts/am335x-rut-u-boot.dtsi | 4 +- .../dts/am335x-sancloud-bbe-lite-u-boot.dtsi | 18 ++-- arch/arm/dts/am335x-shc-u-boot.dtsi | 20 ++--- arch/arm/dts/am335x-wega-rdk-u-boot.dtsi | 14 +-- arch/arm/dts/am33xx-u-boot.dtsi | 2 +- arch/arm/dts/am3517-evm-u-boot.dtsi | 18 ++-- arch/arm/dts/am4372-generic-u-boot.dtsi | 4 +- arch/arm/dts/am4372-u-boot.dtsi | 20 ++--- arch/arm/dts/am437x-gp-evm-u-boot.dtsi | 24 ++--- arch/arm/dts/am437x-idk-evm-u-boot.dtsi | 8 +- arch/arm/dts/am437x-sk-evm-u-boot.dtsi | 8 +- arch/arm/dts/armada-3720-eDPU-u-boot.dtsi | 6 +- arch/arm/dts/armada-3720-uDPU-u-boot.dtsi | 6 +- arch/arm/dts/armada-385-atl-x530-u-boot.dtsi | 2 +- .../dts/armada-385-turris-omnia-u-boot.dtsi | 12 +-- arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 18 ++-- arch/arm/dts/armada-388-helios4-u-boot.dtsi | 20 ++--- .../armada-38x-controlcenterdc-u-boot.dtsi | 12 +-- arch/arm/dts/armada-ap80x-quad.dtsi | 8 +- .../arm/dts/armada-xp-theadorable-u-boot.dtsi | 2 +- arch/arm/dts/ast2500-evb.dts | 8 +- arch/arm/dts/ast2500-u-boot.dtsi | 8 +- arch/arm/dts/ast2600-evb.dts | 6 +- arch/arm/dts/ast2600-u-boot.dtsi | 10 +-- .../dts/at91-sam9x60_curiosity-u-boot.dtsi | 34 +++---- arch/arm/dts/at91-sama5d27_giantboard.dts | 16 ++-- arch/arm/dts/at91-sama5d27_som1_ek.dts | 24 ++--- .../dts/at91-sama5d27_wlsom1_ek-u-boot.dtsi | 20 ++--- arch/arm/dts/at91-sama5d2_icp-u-boot.dtsi | 18 ++-- arch/arm/dts/at91-sama5d2_ptc_ek.dts | 18 ++-- arch/arm/dts/at91-sama5d2_xplained.dts | 38 ++++---- arch/arm/dts/at91-sama5d3_xplained.dts | 14 +-- arch/arm/dts/at91-sama5d4_xplained.dts | 20 ++--- arch/arm/dts/at91-sama5d4ek.dts | 20 ++--- arch/arm/dts/at91-sama7g5ek-u-boot.dtsi | 24 ++--- arch/arm/dts/at91sam9260-smartweb.dts | 4 +- arch/arm/dts/at91sam9260.dtsi | 26 +++--- arch/arm/dts/at91sam9260ek.dts | 4 +- arch/arm/dts/at91sam9261.dtsi | 26 +++--- arch/arm/dts/at91sam9263.dtsi | 26 +++--- arch/arm/dts/at91sam9263ek.dts | 4 +- arch/arm/dts/at91sam9g15ek.dts | 2 +- arch/arm/dts/at91sam9g20-taurus.dts | 6 +- arch/arm/dts/at91sam9g20ek_common.dtsi | 4 +- ...1sam9g25-gardena-smart-gateway-u-boot.dtsi | 2 +- arch/arm/dts/at91sam9g35ek.dts | 2 +- arch/arm/dts/at91sam9g45-corvus.dts | 4 +- arch/arm/dts/at91sam9g45-gurnard.dts | 4 +- arch/arm/dts/at91sam9g45.dtsi | 12 +-- arch/arm/dts/at91sam9m10g45ek.dts | 4 +- arch/arm/dts/at91sam9n12.dtsi | 26 +++--- arch/arm/dts/at91sam9n12ek.dts | 4 +- arch/arm/dts/at91sam9rl.dtsi | 30 +++---- arch/arm/dts/at91sam9rlek.dts | 4 +- arch/arm/dts/at91sam9x35ek.dts | 2 +- arch/arm/dts/at91sam9x5.dtsi | 14 +-- arch/arm/dts/at91sam9x5dm.dtsi | 4 +- arch/arm/dts/at91sam9x5ek.dtsi | 4 +- arch/arm/dts/bcm283x-u-boot.dtsi | 10 +-- arch/arm/dts/bcm63158.dtsi | 4 +- arch/arm/dts/bcm6855.dtsi | 4 +- arch/arm/dts/bcm6856.dtsi | 4 +- arch/arm/dts/bcm6858.dtsi | 4 +- arch/arm/dts/bcm96753ref.dts | 2 +- arch/arm/dts/bcm968360bg.dts | 2 +- arch/arm/dts/bcm968580xref.dts | 2 +- arch/arm/dts/bitmain-antminer-s9.dts | 4 +- arch/arm/dts/ca-presidio-engboard.dts | 2 +- arch/arm/dts/da850-evm-u-boot.dtsi | 12 +-- arch/arm/dts/da850-lcdk-u-boot.dtsi | 8 +- arch/arm/dts/dm8168-evm-u-boot.dtsi | 2 +- arch/arm/dts/dra7-evm-u-boot.dtsi | 18 ++-- arch/arm/dts/dra7-ipu-common-early-boot.dtsi | 40 ++++----- arch/arm/dts/dra71-evm-u-boot.dtsi | 20 ++--- arch/arm/dts/dra72-evm-revc-u-boot.dtsi | 20 ++--- arch/arm/dts/dra72-evm-u-boot.dtsi | 8 +- arch/arm/dts/dra76-evm-u-boot.dtsi | 14 +-- arch/arm/dts/dragonboard410c-uboot.dtsi | 12 +-- arch/arm/dts/dragonboard820c-uboot.dtsi | 12 +-- arch/arm/dts/dragonboard845c-uboot.dtsi | 8 +- arch/arm/dts/exynos5.dtsi | 4 +- arch/arm/dts/exynos5422-odroidxu3.dts | 2 +- arch/arm/dts/exynos7420.dtsi | 14 +-- arch/arm/dts/exynos78x0.dtsi | 6 +- arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi | 66 +++++++------- arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi | 76 ++++++++-------- arch/arm/dts/fsl-imx8qxp-ai_ml-u-boot.dtsi | 56 ++++++------ arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi | 62 ++++++------- arch/arm/dts/fsl-imx8qxp-mek-u-boot.dtsi | 76 ++++++++-------- arch/arm/dts/fsl-imx8qxp-mek.dts | 2 +- .../dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi | 18 ++-- arch/arm/dts/fsl-ls1088a-qds.dtsi | 2 +- arch/arm/dts/fsl-ls1088a-rdb.dts | 2 +- arch/arm/dts/fsl-ls2088a-rdb-qspi.dts | 2 +- arch/arm/dts/fsl-lx2160a-qds.dtsi | 2 +- arch/arm/dts/fsl-lx2160a-rdb.dts | 2 +- arch/arm/dts/hi3660-hikey960-u-boot.dtsi | 2 +- arch/arm/dts/hi6220-hikey-u-boot.dtsi | 4 +- arch/arm/dts/hpe-gxp-u-boot.dtsi | 4 +- arch/arm/dts/imx28-xea-u-boot.dtsi | 16 ++-- arch/arm/dts/imx53-m53menlo-u-boot.dtsi | 18 ++-- arch/arm/dts/imx53-ppd-uboot.dtsi | 10 +-- arch/arm/dts/imx6dl-brppt2.dts | 18 ++-- .../dts/imx6dl-colibri-eval-v3-u-boot.dtsi | 2 +- arch/arm/dts/imx6dl-icore-mipi-u-boot.dtsi | 2 +- arch/arm/dts/imx6dl-mamoj-u-boot.dtsi | 4 +- arch/arm/dts/imx6q-apalis-eval-u-boot.dtsi | 2 +- arch/arm/dts/imx6q-bosch-acc-u-boot.dtsi | 32 +++---- arch/arm/dts/imx6q-display5-u-boot.dtsi | 6 +- arch/arm/dts/imx6q-icore-mipi-u-boot.dtsi | 2 +- arch/arm/dts/imx6q-kp-u-boot.dtsi | 22 ++--- arch/arm/dts/imx6q-logicpd-u-boot.dtsi | 12 +-- .../imx6q-phytec-mira-rdk-nand-u-boot.dtsi | 18 ++-- arch/arm/dts/imx6q-tbs2910-u-boot.dtsi | 8 +- .../arm/dts/imx6qdl-aristainetos2-u-boot.dtsi | 22 ++--- .../dts/imx6qdl-aristainetos2c-u-boot.dtsi | 22 ++--- .../imx6qdl-aristainetos2c_cslb-u-boot.dtsi | 22 ++--- ...qdl-hummingboard2-emmc-som-v15-u-boot.dtsi | 20 ++--- arch/arm/dts/imx6qdl-icore-rqs-u-boot.dtsi | 8 +- arch/arm/dts/imx6qdl-icore-u-boot.dtsi | 6 +- arch/arm/dts/imx6qdl-sabreauto-u-boot.dtsi | 4 +- arch/arm/dts/imx6qdl-sabresd-u-boot.dtsi | 4 +- arch/arm/dts/imx6qdl-u-boot.dtsi | 16 ++-- arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi | 10 +-- arch/arm/dts/imx6ul-geam-u-boot.dtsi | 8 +- arch/arm/dts/imx6ul-isiot-emmc-u-boot.dtsi | 2 +- arch/arm/dts/imx6ul-isiot-u-boot.dtsi | 6 +- arch/arm/dts/imx6ul-opos6ul-u-boot.dtsi | 10 +-- arch/arm/dts/imx6ul-opos6uldev-u-boot.dtsi | 10 +-- arch/arm/dts/imx6ul-u-boot.dtsi | 12 +-- .../dts/imx6ull-colibri-eval-v3-u-boot.dtsi | 10 +-- arch/arm/dts/imx6ull-dart-6ul.dtsi | 10 +-- arch/arm/dts/imx6ull-mys-6ulx-u-boot.dtsi | 14 +-- .../dts/imx6ull-seeed-npi-imx6ull-u-boot.dtsi | 14 +-- arch/arm/dts/imx6ull-u-boot.dtsi | 14 +-- arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi | 16 ++-- arch/arm/dts/imx7-cm-u-boot.dtsi | 6 +- .../arm/dts/imx7d-colibri-eval-v3-u-boot.dtsi | 2 +- arch/arm/dts/imx7d-pico-pi-u-boot.dtsi | 2 +- arch/arm/dts/imx7s-warp-u-boot.dtsi | 8 +- arch/arm/dts/imx7ulp-com-u-boot.dtsi | 16 ++-- arch/arm/dts/imx7ulp-uboot.dtsi | 18 ++-- arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi | 48 +++++----- .../dts/imx8mm-cl-iot-gate-optee-u-boot.dtsi | 42 ++++----- arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dtsi | 44 ++++----- .../dts/imx8mm-data-modul-edm-sbc-u-boot.dtsi | 44 ++++----- arch/arm/dts/imx8mm-evk-u-boot.dtsi | 60 ++++++------- .../imx8mm-icore-mx8mm-ctouch2-u-boot.dtsi | 12 +-- .../imx8mm-icore-mx8mm-edimm2.2-u-boot.dtsi | 12 +-- arch/arm/dts/imx8mm-icore-mx8mm-u-boot.dtsi | 10 +-- .../dts/imx8mm-kontron-bl-common-u-boot.dtsi | 60 ++++++------- arch/arm/dts/imx8mm-mx8menlo-u-boot.dtsi | 10 +-- arch/arm/dts/imx8mm-u-boot.dtsi | 30 +++---- arch/arm/dts/imx8mm-venice-gw700x-u-boot.dtsi | 6 +- arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi | 8 +- arch/arm/dts/imx8mm-venice-gw7902-u-boot.dtsi | 8 +- arch/arm/dts/imx8mm-venice-gw7903-u-boot.dtsi | 8 +- arch/arm/dts/imx8mm-venice-gw7904-u-boot.dtsi | 8 +- arch/arm/dts/imx8mm-venice-u-boot.dtsi | 34 +++---- .../dts/imx8mm-verdin-wifi-dev-u-boot.dtsi | 40 ++++----- arch/arm/dts/imx8mn-beacon-kit-u-boot.dtsi | 32 +++---- .../dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi | 24 ++--- arch/arm/dts/imx8mn-bsh-smm-s2-u-boot.dtsi | 4 +- arch/arm/dts/imx8mn-bsh-smm-s2pro-u-boot.dtsi | 4 +- arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi | 38 ++++---- arch/arm/dts/imx8mn-evk-u-boot.dtsi | 10 +-- arch/arm/dts/imx8mn-u-boot.dtsi | 30 +++---- .../dts/imx8mn-var-som-symphony-u-boot.dtsi | 32 +++---- arch/arm/dts/imx8mn-venice-gw7902-u-boot.dtsi | 8 +- arch/arm/dts/imx8mn-venice-u-boot.dtsi | 30 +++---- arch/arm/dts/imx8mp-dhcom-u-boot.dtsi | 54 +++++------ arch/arm/dts/imx8mp-evk-u-boot.dtsi | 54 +++++------ .../imx8mp-icore-mx8mp-edimm2.2-u-boot.dtsi | 52 +++++------ arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi | 26 +++--- .../imx8mp-phyboard-pollux-rdk-u-boot.dtsi | 36 ++++---- arch/arm/dts/imx8mp-rsb3720-a1-u-boot.dtsi | 56 ++++++------ arch/arm/dts/imx8mp-u-boot.dtsi | 26 +++--- arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi | 28 +++--- arch/arm/dts/imx8mp-venice-u-boot.dtsi | 34 +++---- .../dts/imx8mp-verdin-wifi-dev-u-boot.dtsi | 56 ++++++------ arch/arm/dts/imx8mq-cm-u-boot.dtsi | 4 +- arch/arm/dts/imx8mq-evk-u-boot.dtsi | 4 +- arch/arm/dts/imx8mq-librem5-r4-u-boot.dtsi | 4 +- arch/arm/dts/imx8mq-phanbell-u-boot.dtsi | 4 +- arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi | 4 +- arch/arm/dts/imx8mq-u-boot.dtsi | 12 +-- arch/arm/dts/imx8qxp-capricorn-u-boot.dtsi | 64 ++++++------- arch/arm/dts/imx8ulp-evk-u-boot.dtsi | 18 ++-- arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 50 +++++------ arch/arm/dts/imxrt1020-evk-u-boot.dtsi | 40 ++++----- arch/arm/dts/imxrt1050-evk-u-boot.dtsi | 40 ++++----- arch/arm/dts/imxrt1170-evk-u-boot.dtsi | 44 ++++----- arch/arm/dts/k3-am625-r5-sk.dts | 26 +++--- arch/arm/dts/k3-am625-sk-u-boot.dtsi | 60 ++++++------- arch/arm/dts/k3-am62a-ddr.dtsi | 2 +- arch/arm/dts/k3-am62a7-r5-sk.dts | 22 ++--- arch/arm/dts/k3-am62a7-sk-u-boot.dtsi | 62 ++++++------- arch/arm/dts/k3-am64-ddr.dtsi | 2 +- arch/arm/dts/k3-am642-evm-u-boot.dtsi | 44 ++++----- arch/arm/dts/k3-am642-r5-evm.dts | 32 +++---- arch/arm/dts/k3-am642-r5-sk.dts | 26 +++--- arch/arm/dts/k3-am642-sk-u-boot.dtsi | 72 +++++++-------- .../dts/k3-am65-iot2050-common-u-boot.dtsi | 44 ++++----- arch/arm/dts/k3-am654-ddr.dtsi | 2 +- .../dts/k3-am654-r5-base-board-u-boot.dtsi | 68 +++++++------- arch/arm/dts/k3-am654-r5-base-board.dts | 52 +++++------ .../arm/dts/k3-am68-sk-base-board-u-boot.dtsi | 46 +++++----- arch/arm/dts/k3-am68-sk-r5-base-board.dts | 22 ++--- .../k3-j7200-common-proc-board-u-boot.dtsi | 66 +++++++------- .../arm/dts/k3-j7200-r5-common-proc-board.dts | 38 ++++---- .../k3-j721e-common-proc-board-u-boot.dtsi | 84 ++++++++--------- arch/arm/dts/k3-j721e-ddr.dtsi | 2 +- .../k3-j721e-r5-common-proc-board-u-boot.dtsi | 4 +- .../arm/dts/k3-j721e-r5-common-proc-board.dts | 38 ++++---- arch/arm/dts/k3-j721e-r5-sk-u-boot.dtsi | 4 +- arch/arm/dts/k3-j721e-r5-sk.dts | 32 +++---- arch/arm/dts/k3-j721e-sk-u-boot.dtsi | 70 +++++++-------- .../k3-j721s2-common-proc-board-u-boot.dtsi | 48 +++++----- arch/arm/dts/k3-j721s2-ddr.dtsi | 6 +- .../dts/k3-j721s2-r5-common-proc-board.dts | 22 ++--- arch/arm/dts/keystone-k2e-evm-u-boot.dtsi | 4 +- arch/arm/dts/keystone-k2g-evm-u-boot.dtsi | 6 +- arch/arm/dts/keystone-k2g-generic-u-boot.dtsi | 6 +- arch/arm/dts/keystone-k2g-ice-u-boot.dtsi | 6 +- arch/arm/dts/keystone-k2hk-evm-u-boot.dtsi | 4 +- .../logicpd-som-lv-35xx-devkit-u-boot.dtsi | 16 ++-- .../logicpd-som-lv-37xx-devkit-u-boot.dtsi | 16 ++-- .../logicpd-torpedo-35xx-devkit-u-boot.dtsi | 16 ++-- .../logicpd-torpedo-37xx-devkit-u-boot.dtsi | 14 +-- arch/arm/dts/ls1021a-twr-u-boot.dtsi | 14 +-- arch/arm/dts/meson-g12-common-u-boot.dtsi | 4 +- arch/arm/dts/meson-gx-u-boot.dtsi | 4 +- arch/arm/dts/mt7622-bananapi-bpi-r64.dts | 2 +- arch/arm/dts/mt7622-rfb.dts | 4 +- arch/arm/dts/mt7622-u-boot.dtsi | 12 +-- arch/arm/dts/mt7623-u-boot.dtsi | 12 +-- arch/arm/dts/mt7629-rfb-u-boot.dtsi | 18 ++-- arch/arm/dts/mt7629-rfb.dts | 8 +- arch/arm/dts/mt7981.dtsi | 14 +-- arch/arm/dts/mt7986-u-boot.dtsi | 14 +-- arch/arm/dts/mt7986.dtsi | 8 +- arch/arm/dts/mt8516-u-boot.dtsi | 10 +-- arch/arm/dts/mvebu-u-boot.dtsi | 12 +-- arch/arm/dts/omap3-u-boot.dtsi | 34 +++---- arch/arm/dts/omap5-u-boot.dtsi | 40 ++++----- arch/arm/dts/phycore-imx8mm-u-boot.dtsi | 30 +++---- arch/arm/dts/px30-ringneck-haikou-u-boot.dtsi | 30 +++---- arch/arm/dts/px30-u-boot.dtsi | 30 +++---- arch/arm/dts/qcom-ipq4019.dtsi | 10 +-- arch/arm/dts/qcs404-evb-uboot.dtsi | 8 +- arch/arm/dts/r7s72100-gr-peach-u-boot.dts | 10 +-- arch/arm/dts/r8a774a1-u-boot.dtsi | 2 +- arch/arm/dts/r8a774b1-u-boot.dtsi | 2 +- arch/arm/dts/r8a774e1-u-boot.dtsi | 2 +- arch/arm/dts/r8a7790-lager-u-boot.dts | 2 +- arch/arm/dts/r8a7790-stout-u-boot.dts | 2 +- arch/arm/dts/r8a7790-u-boot.dtsi | 6 +- arch/arm/dts/r8a7791-koelsch-u-boot.dts | 2 +- arch/arm/dts/r8a7791-porter-u-boot.dts | 2 +- arch/arm/dts/r8a7791-u-boot.dtsi | 6 +- arch/arm/dts/r8a7792-blanche-u-boot.dts | 2 +- arch/arm/dts/r8a7792-u-boot.dtsi | 4 +- arch/arm/dts/r8a7793-gose-u-boot.dts | 2 +- arch/arm/dts/r8a7793-u-boot.dtsi | 6 +- arch/arm/dts/r8a7794-alt-u-boot.dts | 2 +- arch/arm/dts/r8a7794-silk-u-boot.dts | 2 +- arch/arm/dts/r8a7794-u-boot.dtsi | 6 +- arch/arm/dts/r8a77950-salvator-x-u-boot.dts | 6 +- arch/arm/dts/r8a77950-u-boot.dtsi | 2 +- arch/arm/dts/r8a77950-ulcb-u-boot.dts | 6 +- arch/arm/dts/r8a77960-salvator-x-u-boot.dts | 6 +- arch/arm/dts/r8a77960-u-boot.dtsi | 2 +- arch/arm/dts/r8a77960-ulcb-u-boot.dts | 6 +- arch/arm/dts/r8a77965-salvator-x-u-boot.dts | 6 +- arch/arm/dts/r8a77965-u-boot.dtsi | 2 +- arch/arm/dts/r8a77965-ulcb-u-boot.dts | 6 +- arch/arm/dts/r8a77970-u-boot.dtsi | 2 +- arch/arm/dts/r8a77980-u-boot.dtsi | 2 +- arch/arm/dts/r8a77990-ebisu-u-boot.dts | 6 +- arch/arm/dts/r8a779a0-u-boot.dtsi | 2 +- arch/arm/dts/r8a779x-u-boot.dtsi | 8 +- arch/arm/dts/rk3036-sdk-u-boot.dtsi | 6 +- arch/arm/dts/rk3066a-mk808-u-boot.dtsi | 8 +- arch/arm/dts/rk3128-evb-u-boot.dtsi | 2 +- arch/arm/dts/rk3128-u-boot.dtsi | 6 +- arch/arm/dts/rk3188-radxarock-u-boot.dtsi | 10 +-- arch/arm/dts/rk3229-evb-u-boot.dtsi | 4 +- arch/arm/dts/rk322x-u-boot.dtsi | 8 +- arch/arm/dts/rk3288-evb-u-boot.dtsi | 20 ++--- arch/arm/dts/rk3288-firefly-u-boot.dtsi | 30 +++---- arch/arm/dts/rk3288-miqi-u-boot.dtsi | 20 ++--- arch/arm/dts/rk3288-phycore-rdk-u-boot.dtsi | 14 +-- arch/arm/dts/rk3288-popmetal-u-boot.dtsi | 20 ++--- arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi | 8 +- arch/arm/dts/rk3288-rock2-square-u-boot.dtsi | 8 +- arch/arm/dts/rk3288-tinker-s-u-boot.dtsi | 10 +-- arch/arm/dts/rk3288-tinker-u-boot.dtsi | 32 +++---- arch/arm/dts/rk3288-u-boot.dtsi | 18 ++-- arch/arm/dts/rk3288-veyron-speedy-u-boot.dtsi | 8 +- arch/arm/dts/rk3288-veyron-u-boot.dtsi | 20 ++--- arch/arm/dts/rk3288-vyasa-u-boot.dtsi | 8 +- arch/arm/dts/rk3308-evb-u-boot.dtsi | 2 +- arch/arm/dts/rk3308-roc-cc-u-boot.dtsi | 2 +- arch/arm/dts/rk3308-u-boot.dtsi | 10 +-- arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 32 +++---- arch/arm/dts/rk3328-nanopi-r2s-u-boot.dtsi | 10 +-- arch/arm/dts/rk3328-roc-cc-u-boot.dtsi | 10 +-- arch/arm/dts/rk3328-rock-pi-e-u-boot.dtsi | 10 +-- arch/arm/dts/rk3328-rock64-u-boot.dtsi | 12 +-- arch/arm/dts/rk3328-u-boot.dtsi | 14 +-- arch/arm/dts/rk3368-geekbox-u-boot.dtsi | 14 +-- arch/arm/dts/rk3368-lion-haikou-u-boot.dtsi | 28 +++--- arch/arm/dts/rk3368-px5-evb-u-boot.dtsi | 22 ++--- arch/arm/dts/rk3368-sheep-u-boot.dtsi | 14 +-- arch/arm/dts/rk3399-evb-u-boot.dtsi | 6 +- arch/arm/dts/rk3399-gru-u-boot.dtsi | 2 +- arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi | 6 +- arch/arm/dts/rk3399-pinephone-pro-u-boot.dtsi | 4 +- arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi | 20 ++--- arch/arm/dts/rk3399-roc-pc-u-boot.dtsi | 2 +- arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 2 +- arch/arm/dts/rk3399-u-boot.dtsi | 38 ++++---- arch/arm/dts/rk3568-evb-u-boot.dtsi | 2 +- arch/arm/dts/rk356x-u-boot.dtsi | 14 +-- arch/arm/dts/rk3xxx-u-boot.dtsi | 8 +- arch/arm/dts/rv1108-u-boot.dtsi | 2 +- arch/arm/dts/rv1126-u-boot.dtsi | 24 ++--- arch/arm/dts/rz-g2-beacon-u-boot.dtsi | 10 +-- arch/arm/dts/s5p4418.dtsi | 4 +- arch/arm/dts/s700-u-boot.dtsi | 6 +- arch/arm/dts/s900-u-boot.dtsi | 6 +- arch/arm/dts/sam9x60ek-u-boot.dtsi | 36 ++++---- arch/arm/dts/sama5d2.dtsi | 52 +++++------ arch/arm/dts/sama5d27_som1.dtsi | 8 +- arch/arm/dts/sama5d3.dtsi | 72 +++++++-------- arch/arm/dts/sama5d3xdm.dtsi | 6 +- arch/arm/dts/sama5d3xmb.dtsi | 18 ++-- arch/arm/dts/sama5d3xmb_cmp.dtsi | 4 +- arch/arm/dts/sama5d4.dtsi | 50 +++++------ arch/arm/dts/socfpga-common-u-boot.dtsi | 10 +-- arch/arm/dts/socfpga_agilex-u-boot.dtsi | 20 ++--- arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi | 6 +- arch/arm/dts/socfpga_arria10-handoff.dtsi | 42 ++++----- arch/arm/dts/socfpga_arria10-u-boot.dtsi | 44 ++++----- .../dts/socfpga_arria10_handoff_u-boot.dtsi | 44 ++++----- .../socfpga_arria10_mercury_aa1-u-boot.dtsi | 20 ++--- .../arm/dts/socfpga_arria10_socdk-u-boot.dtsi | 4 +- .../socfpga_arria10_socdk_sdmmc-u-boot.dtsi | 14 +-- arch/arm/dts/socfpga_arria5_secu1.dts | 6 +- arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi | 8 +- arch/arm/dts/socfpga_cyclone5_dbm_soc1.dts | 4 +- .../socfpga_cyclone5_de0_nano_soc-u-boot.dtsi | 4 +- arch/arm/dts/socfpga_cyclone5_de10_nano.dts | 4 +- .../dts/socfpga_cyclone5_de10_standard.dts | 4 +- arch/arm/dts/socfpga_cyclone5_de1_soc.dts | 4 +- arch/arm/dts/socfpga_cyclone5_is1.dts | 8 +- .../dts/socfpga_cyclone5_mcvevk-u-boot.dtsi | 4 +- .../dts/socfpga_cyclone5_socdk-u-boot.dtsi | 8 +- .../dts/socfpga_cyclone5_sockit-u-boot.dtsi | 8 +- .../dts/socfpga_cyclone5_socrates-u-boot.dtsi | 8 +- arch/arm/dts/socfpga_cyclone5_sr1500.dts | 8 +- .../socfpga_cyclone5_vining_fpga-u-boot.dtsi | 10 +-- arch/arm/dts/socfpga_n5x-u-boot.dtsi | 26 +++--- arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi | 6 +- arch/arm/dts/socfpga_stratix10.dtsi | 10 +-- .../dts/socfpga_stratix10_socdk-u-boot.dtsi | 10 +-- arch/arm/dts/socfpga_stratix10_socdk.dts | 2 +- arch/arm/dts/starqltechn-uboot.dtsi | 12 +-- arch/arm/dts/stm32429i-eval-u-boot.dtsi | 54 +++++------ arch/arm/dts/stm32746g-eval-u-boot.dtsi | 8 +- arch/arm/dts/stm32f429-disco-u-boot.dtsi | 52 +++++------ arch/arm/dts/stm32f469-disco-u-boot.dtsi | 54 +++++------ arch/arm/dts/stm32f7-u-boot.dtsi | 38 ++++---- arch/arm/dts/stm32f746-disco-u-boot.dtsi | 12 +-- arch/arm/dts/stm32f769-disco-u-boot.dtsi | 12 +-- arch/arm/dts/stm32h7-u-boot.dtsi | 44 ++++----- arch/arm/dts/stm32mp13-u-boot.dtsi | 46 +++++----- arch/arm/dts/stm32mp135f-dk-u-boot.dtsi | 8 +- arch/arm/dts/stm32mp15-ddr.dtsi | 2 +- arch/arm/dts/stm32mp15-scmi-u-boot.dtsi | 46 +++++----- arch/arm/dts/stm32mp15-u-boot.dtsi | 64 ++++++------- arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi | 8 +- arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 34 +++---- ...2mp157a-icore-stm32mp1-ctouch2-u-boot.dtsi | 16 ++-- ...mp157a-icore-stm32mp1-edimm2.2-u-boot.dtsi | 16 ++-- .../stm32mp157a-icore-stm32mp1-u-boot.dtsi | 28 +++--- ...rogea-stm32mp1-microdev2.0-of7-u-boot.dtsi | 16 ++-- ...-microgea-stm32mp1-microdev2.0-u-boot.dtsi | 16 ++-- .../stm32mp157a-microgea-stm32mp1-u-boot.dtsi | 14 +-- arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi | 8 +- arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 48 +++++----- arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi | 20 ++--- .../dts/stm32mp157c-odyssey-som-u-boot.dtsi | 26 +++--- arch/arm/dts/stm32mp157c-odyssey-u-boot.dtsi | 16 ++-- arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 90 +++++++++---------- .../stm32mp15xx-dhcor-avenger96-u-boot.dtsi | 36 ++++---- .../stm32mp15xx-dhcor-drc-compact-u-boot.dtsi | 34 +++---- .../stm32mp15xx-dhcor-testbench-u-boot.dtsi | 34 +++---- arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi | 56 ++++++------ arch/arm/dts/t8103-u-boot.dtsi | 12 +-- arch/arm/dts/tegra124-nyan-big-u-boot.dtsi | 4 +- arch/arm/dts/tegra20-u-boot.dtsi | 4 +- arch/arm/dts/uniphier-v7-u-boot.dtsi | 24 ++--- arch/arm/dts/versal-mini-emmc0.dts | 4 +- arch/arm/dts/versal-mini-emmc1.dts | 4 +- arch/arm/dts/versal-mini-ospi.dtsi | 4 +- arch/arm/dts/versal-mini-qspi.dtsi | 4 +- arch/arm/dts/versal-mini.dts | 2 +- arch/arm/dts/versal-net-mini.dts | 8 +- arch/arm/dts/vf610-bk4r1-u-boot.dtsi | 10 +-- .../arm/dts/vf610-colibri-eval-v3-u-boot.dtsi | 12 +-- arch/arm/dts/zynq-7000.dtsi | 8 +- arch/arm/dts/zynq-cc108.dts | 2 +- arch/arm/dts/zynq-cse-nand.dts | 10 +-- arch/arm/dts/zynq-cse-nor.dts | 12 +-- arch/arm/dts/zynq-cse-qspi.dtsi | 10 +-- arch/arm/dts/zynq-dlc20-rev1.0.dts | 6 +- arch/arm/dts/zynq-microzed.dts | 6 +- arch/arm/dts/zynq-minized.dts | 2 +- arch/arm/dts/zynq-picozed.dts | 6 +- arch/arm/dts/zynq-syzygy-hub.dts | 4 +- arch/arm/dts/zynq-topic-miami.dts | 6 +- arch/arm/dts/zynq-zc702.dts | 6 +- arch/arm/dts/zynq-zc706.dts | 6 +- arch/arm/dts/zynq-zc770-xm010.dts | 2 +- arch/arm/dts/zynq-zc770-xm011.dts | 2 +- arch/arm/dts/zynq-zc770-xm012.dts | 2 +- arch/arm/dts/zynq-zc770-xm013.dts | 2 +- arch/arm/dts/zynq-zed.dts | 6 +- arch/arm/dts/zynq-zturn-common.dtsi | 8 +- arch/arm/dts/zynq-zybo-z7.dts | 6 +- arch/arm/dts/zynq-zybo.dts | 6 +- arch/arm/dts/zynqmp-a2197-revA.dts | 12 +-- arch/arm/dts/zynqmp-clk-ccf.dtsi | 12 +-- arch/arm/dts/zynqmp-dlc21-revA.dts | 6 +- arch/arm/dts/zynqmp-mini-emmc0.dts | 4 +- arch/arm/dts/zynqmp-mini-emmc1.dts | 4 +- arch/arm/dts/zynqmp-mini-nand.dts | 2 +- arch/arm/dts/zynqmp-mini-qspi.dts | 2 +- arch/arm/dts/zynqmp-mini.dts | 2 +- arch/arm/dts/zynqmp-r5.dts | 6 +- arch/arm/dts/zynqmp-sm-k26-revA.dts | 6 +- arch/arm/dts/zynqmp.dtsi | 24 ++--- arch/m68k/dts/M5208EVBE.dts | 2 +- arch/m68k/dts/M5235EVB.dts | 2 +- arch/m68k/dts/M5235EVB_Flash32.dts | 2 +- arch/m68k/dts/M5249EVB.dts | 2 +- arch/m68k/dts/M5253DEMO.dts | 2 +- arch/m68k/dts/M5272C3.dts | 2 +- arch/m68k/dts/M5275EVB.dts | 2 +- arch/m68k/dts/M5282EVB.dts | 2 +- arch/m68k/dts/M53017EVB.dts | 2 +- arch/m68k/dts/M5329AFEE.dts | 2 +- arch/m68k/dts/M5329BFEE.dts | 2 +- arch/m68k/dts/M5373EVB.dts | 2 +- arch/m68k/dts/amcore.dts | 2 +- arch/m68k/dts/astro_mcf5373l.dts | 2 +- arch/m68k/dts/cobra5272.dts | 2 +- arch/m68k/dts/eb_cpu5282.dts | 2 +- arch/m68k/dts/eb_cpu5282_internal.dts | 2 +- arch/m68k/dts/stmark2.dts | 2 +- arch/mips/dts/ar933x.dtsi | 2 +- arch/mips/dts/brcm,bcm3380.dtsi | 14 +-- arch/mips/dts/brcm,bcm6318.dtsi | 12 +-- arch/mips/dts/brcm,bcm63268.dtsi | 14 +-- arch/mips/dts/brcm,bcm6328.dtsi | 14 +-- arch/mips/dts/brcm,bcm6338.dtsi | 12 +-- arch/mips/dts/brcm,bcm6348.dtsi | 12 +-- arch/mips/dts/brcm,bcm6358.dtsi | 14 +-- arch/mips/dts/brcm,bcm6362.dtsi | 14 +-- arch/mips/dts/brcm,bcm6368.dtsi | 14 +-- arch/mips/dts/brcm,bcm6838.dtsi | 14 +-- arch/mips/dts/brcm,bcm968380gerg.dts | 2 +- arch/mips/dts/comtrend,ar-5315u.dts | 2 +- arch/mips/dts/comtrend,ar-5387un.dts | 2 +- arch/mips/dts/comtrend,ct-5361.dts | 2 +- arch/mips/dts/comtrend,vr-3032u.dts | 2 +- arch/mips/dts/comtrend,wap-5813n.dts | 2 +- arch/mips/dts/huawei,hg556a.dts | 2 +- arch/mips/dts/img,boston.dts | 6 +- arch/mips/dts/mrvl,cn73xx.dtsi | 6 +- arch/mips/dts/mrvl,octeon-ebb7304.dts | 4 +- arch/mips/dts/mrvl,octeon-nic23.dts | 4 +- arch/mips/dts/mt7620-u-boot.dtsi | 4 +- arch/mips/dts/mt7621-u-boot.dtsi | 16 ++-- arch/mips/dts/mt7628-u-boot.dtsi | 16 ++-- arch/mips/dts/mt7628a.dtsi | 2 +- arch/mips/dts/mti,malta.dts | 2 +- arch/mips/dts/netgear,cg3100d.dts | 2 +- arch/mips/dts/netgear,dgnd3700v2.dts | 2 +- arch/mips/dts/pic32mzda_sk.dts | 6 +- arch/mips/dts/qca953x.dtsi | 2 +- arch/mips/dts/sagem,[email protected] | 2 +- arch/mips/dts/sfr,nb4-ser.dts | 2 +- arch/nios2/dts/10m50_devboard.dts | 2 +- arch/powerpc/dts/gdsys/gazerbeam-uboot.dtsi | 18 ++-- arch/powerpc/dts/km8321-uboot.dtsi | 26 +++--- arch/powerpc/dts/km836x-uboot.dtsi | 26 +++--- arch/powerpc/dts/kmcent2-u-boot.dtsi | 6 +- arch/powerpc/dts/pq3-i2c-0.dtsi | 2 +- arch/powerpc/dts/pq3-i2c-1.dtsi | 2 +- arch/powerpc/dts/qoriq-i2c-0.dtsi | 4 +- arch/powerpc/dts/qoriq-i2c-1.dtsi | 4 +- arch/powerpc/dts/socrates-u-boot.dtsi | 4 +- arch/riscv/dts/ae350-u-boot.dtsi | 28 +++--- arch/riscv/dts/fu540-c000-u-boot.dtsi | 34 +++---- arch/riscv/dts/fu740-c000-u-boot.dtsi | 36 ++++---- .../dts/hifive-unleashed-a00-u-boot.dtsi | 14 +-- .../dts/hifive-unmatched-a00-u-boot.dtsi | 14 +-- arch/riscv/dts/k210.dtsi | 8 +- arch/riscv/dts/openpiton-riscv64.dts | 8 +- arch/sandbox/dts/sandbox.dts | 6 +- arch/sandbox/dts/sandbox.dtsi | 48 +++++----- arch/sandbox/dts/sandbox64.dts | 4 +- arch/sandbox/dts/test.dts | 22 ++--- arch/sh/dts/sh7751-r2dplus.dts | 4 +- arch/x86/cpu/mp_init.c | 4 +- arch/x86/dts/bayleybay.dts | 14 +-- arch/x86/dts/baytrail_som-db5800-som-6867.dts | 14 +-- arch/x86/dts/cherryhill.dts | 2 +- arch/x86/dts/chromebook_coral.dts | 74 +++++++-------- arch/x86/dts/chromebook_link.dts | 46 +++++----- arch/x86/dts/chromebook_samus.dts | 74 +++++++-------- arch/x86/dts/chromebox_panther.dts | 8 +- arch/x86/dts/conga-qeval20-qa3-e3845.dts | 14 +-- arch/x86/dts/coreboot.dts | 4 +- arch/x86/dts/cougarcanyon2.dts | 10 +-- arch/x86/dts/crownbay.dts | 18 ++-- arch/x86/dts/dfi-bt700.dtsi | 16 ++-- arch/x86/dts/edison.dts | 4 +- arch/x86/dts/efi-x86_app.dts | 2 +- arch/x86/dts/efi-x86_payload.dts | 2 +- arch/x86/dts/galileo.dts | 8 +- arch/x86/dts/minnowmax.dts | 14 +-- arch/x86/dts/qemu-x86_i440fx.dts | 10 +-- arch/x86/dts/qemu-x86_q35.dts | 10 +-- arch/x86/dts/reset.dtsi | 2 +- arch/x86/dts/rtc.dtsi | 2 +- arch/x86/dts/serial.dtsi | 2 +- arch/x86/dts/tsc_timer.dtsi | 2 +- 558 files changed, 4175 insertions(+), 4175 deletions(-)
arch/arc/dts/abilis_tb100.dts +1 -1
@@ -18,7 +18,7 @@ #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <500000000>; - u-boot,dm-pre-reloc; + bootph-all; }; };
arch/arc/dts/axc001.dtsi +1 -1
@@ -11,7 +11,7 @@ #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <750000000>; - u-boot,dm-pre-reloc; + bootph-all; }; }; };
arch/arc/dts/axc003.dtsi +1 -1
@@ -11,7 +11,7 @@ #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <100000000>; - u-boot,dm-pre-reloc; + bootph-all; }; }; };
arch/arc/dts/axs10x_mb.dtsi +3 -3
@@ -13,11 +13,11 @@ #address-cells = <1>; #size-cells = <1>; ranges = <0x00000000 0xe0000000 0x10000000>; - u-boot,dm-pre-reloc; + bootph-all; clocks { compatible = "simple-bus"; - u-boot,dm-pre-reloc; + bootph-all; apbclk: apbclk { compatible = "fixed-clock";
@@ -29,7 +29,7 @@ compatible = "fixed-clock"; clock-frequency = <33333333>; #clock-cells = <0>; - u-boot,dm-pre-reloc; + bootph-all; }; mmcclk_ciu: mmcclk-ciu {
arch/arc/dts/emsdp.dts +1 -1
@@ -21,7 +21,7 @@ #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <40000000>; - u-boot,dm-pre-reloc; + bootph-all; }; };
arch/arc/dts/hsdk-common.dtsi +1 -1
@@ -23,7 +23,7 @@ #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <500000000>; - u-boot,dm-pre-reloc; + bootph-all; }; };
arch/arc/dts/iot_devkit.dts +1 -1
@@ -19,7 +19,7 @@ #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <144000000>; - u-boot,dm-pre-reloc; + bootph-all; }; };
arch/arc/dts/nsim.dts +1 -1
@@ -18,7 +18,7 @@ #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <70000000>; - u-boot,dm-pre-reloc; + bootph-all; }; };
arch/arc/dts/skeleton.dtsi +1 -1
@@ -14,7 +14,7 @@ compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; - u-boot,dm-pre-reloc; + bootph-all; timer@0 { compatible = "snps,arc-timer";
arch/arm/dts/am335x-brppt1-mmc-u-boot.dtsi +24 -24
126 lines not on this page · raw message
arch/arm/dts/am335x-brsmarc1.dts +14 -14
@@ -122,7 +122,7 @@ }; &uart0 { /* console uart */ - u-boot,dm-spl; + bootph-pre-ram; status = "okay"; };
@@ -139,12 +139,12 @@ }; &i2c0 { - u-boot,dm-spl; + bootph-pre-ram; status = "okay"; clock-frequency = <100000>; tps: tps@24 { /* PMIC controller */ - u-boot,dm-spl; + bootph-pre-ram; reg = <0x24>; compatible = "ti,tps65217"; };
@@ -176,12 +176,12 @@ }; &i2c1 { - u-boot,dm-spl; + bootph-pre-ram; status = "okay"; }; &spi0 { - u-boot,dm-spl; + bootph-pre-ram; status = "okay"; cs-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>,
@@ -192,8 +192,8 @@ spi-max-frequency = <24000000>; spi_flash: spiflash@0 { - u-boot,dm-spl; - u-boot,dm-pre-reloc; + bootph-pre-ram; + bootph-all; compatible = "spidev", "spi-flash"; spi-max-frequency = <24000000>; reg = <0>;
@@ -201,7 +201,7 @@ }; &spi1 { - u-boot,dm-spl; + bootph-pre-ram; status = "okay"; cs-gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>, <&gpio0 19 GPIO_ACTIVE_HIGH>,
@@ -302,10 +302,10 @@ segment@300000 { target-module@e000 { - u-boot,dm-pre-reloc; + bootph-all; lcdc: lcdc@0 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; ti,no-reset-on-init; ti,no-idle-on-init;
@@ -327,22 +327,22 @@ }; &gpio0 { - u-boot,dm-spl; + bootph-pre-ram; ti,no-reset-on-init; }; &gpio1 { - u-boot,dm-spl; + bootph-pre-ram; ti,no-reset-on-init; }; &gpio2 { - u-boot,dm-spl; + bootph-pre-ram; ti,no-reset-on-init; }; &gpio3 { - u-boot,dm-spl; + bootph-pre-ram; ti,no-reset-on-init; };
arch/arm/dts/am335x-brxre1.dts +11 -11
@@ -113,7 +113,7 @@ }; &uart0 { /* console uart */ - u-boot,dm-spl; + bootph-pre-ram; status = "okay"; };
@@ -130,12 +130,12 @@ }; &i2c0 { - u-boot,dm-spl; + bootph-pre-ram; status = "okay"; clock-frequency = <100000>; tps: tps@24 { /* PMIC controller */ - u-boot,dm-spl; + bootph-pre-ram; reg = <0x24>; compatible = "ti,tps65217";
@@ -233,7 +233,7 @@ }; &mmc1 { - u-boot,dm-pre-reloc; + bootph-all; vmmc-supply = <&vmmcsd_fixed>; bus-width = <0x4>; ti,non-removable;
@@ -243,7 +243,7 @@ }; &mmc2 { - u-boot,dm-pre-reloc; + bootph-all; vmmc-supply = <&vmmcsd_fixed>; bus-width = <0x8>; ti,non-removable;
@@ -257,10 +257,10 @@ segment@300000 { target-module@e000 { - u-boot,dm-pre-reloc; + bootph-all; lcdc: lcdc@0 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; ti,no-reset-on-init; ti,no-idle-on-init;
@@ -282,22 +282,22 @@ }; &gpio0 { - u-boot,dm-spl; + bootph-pre-ram; ti,no-reset-on-init; }; &gpio1 { - u-boot,dm-spl; + bootph-pre-ram; ti,no-reset-on-init; }; &gpio2 { - u-boot,dm-spl; + bootph-pre-ram; ti,no-reset-on-init; }; &gpio3 { - u-boot,dm-spl; + bootph-pre-ram; ti,no-reset-on-init; };
arch/arm/dts/am335x-evm-u-boot.dtsi +11 -11
@@ -6,14 +6,14 @@ #include "am33xx-u-boot.dtsi" &l4_per { - u-boot,dm-pre-reloc; + bootph-all; segment@300000 { - u-boot,dm-pre-reloc; + bootph-all; target-module@e000 { - u-boot,dm-pre-reloc; + bootph-all; lcdc: lcdc@0 { - u-boot,dm-pre-reloc; + bootph-all; }; }; };
@@ -28,27 +28,27 @@ }; &i2c0 { - u-boot,dm-pre-reloc; + bootph-all; }; &l4_wkup { - u-boot,dm-pre-reloc; + bootph-all; segment@200000 { - u-boot,dm-pre-reloc; + bootph-all; target-module@9000 { - u-boot,dm-pre-reloc; + bootph-all; }; }; }; &uart0 { - u-boot,dm-pre-reloc; + bootph-all; }; &mmc1 { - u-boot,dm-pre-reloc; + bootph-all; }; &mmc2 { - u-boot,dm-pre-reloc; + bootph-all; };
arch/arm/dts/am335x-evmsk-u-boot.dtsi +2 -2
@@ -12,10 +12,10 @@ segment@300000 { target-module@e000 { - u-boot,dm-pre-reloc; + bootph-all; lcdc: lcdc@0 { - u-boot,dm-pre-reloc; + bootph-all; }; }; };
arch/arm/dts/am335x-guardian-u-boot.dtsi +14 -14
@@ -8,12 +8,12 @@ / { ocp { - u-boot,dm-pre-reloc; + bootph-all; }; }; &l4_wkup { - u-boot,dm-pre-reloc; + bootph-all; }; &l4_per {
@@ -21,25 +21,25 @@ segment@300000 { target-module@e000 { - u-boot,dm-pre-reloc; + bootph-all; lcdc: lcdc@0 { - u-boot,dm-pre-reloc; + bootph-all; }; }; }; }; &mmc1 { - u-boot,dm-pre-reloc; + bootph-all; }; &mmc1_pins { - u-boot,dm-pre-reloc; + bootph-all; }; &scm { - u-boot,dm-pre-reloc; + bootph-all; }; &spi0 {
@@ -54,31 +54,31 @@ }; &uart0 { - u-boot,dm-pre-reloc; + bootph-all; }; &uart0_pins { - u-boot,dm-pre-reloc; + bootph-all; }; &usb { - u-boot,dm-pre-reloc; + bootph-all; }; &usb_ctrl_mod { - u-boot,dm-pre-reloc; + bootph-all; }; &usb0 { - u-boot,dm-pre-reloc; + bootph-all; }; &usb0_phy { - u-boot,dm-pre-reloc; + bootph-all; }; &am33xx_pinmux { - u-boot,dm-pre-reloc; + bootph-all; lcd0_pins: pinmux_lcd0_pins { pinctrl-single,pins = <
arch/arm/dts/am335x-pdu001-u-boot.dtsi +15 -15
@@ -6,65 +6,65 @@ #include "am33xx-u-boot.dtsi" &l4_wkup { - u-boot,dm-pre-reloc; + bootph-all; segment@200000 { target-module@10000 { - u-boot,dm-pre-reloc; + bootph-all; }; }; }; &l4_per { - u-boot,dm-pre-reloc; + bootph-all; segment@100000 { - u-boot,dm-pre-reloc; + bootph-all; target-module@a6000 { - u-boot,dm-pre-reloc; + bootph-all; }; }; segment@300000 { target-module@e000 { - u-boot,dm-pre-reloc; + bootph-all; lcdc: lcdc@0 { - u-boot,dm-pre-reloc; + bootph-all; }; }; }; }; &scm { - u-boot,dm-pre-reloc; + bootph-all; }; &am33xx_pinmux { - u-boot,dm-pre-reloc; + bootph-all; }; &uart3_pins { - u-boot,dm-pre-reloc; + bootph-all; }; &uart3 { - u-boot,dm-pre-reloc; + bootph-all; }; &mmc1 { - u-boot,dm-pre-reloc; + bootph-all; }; &mmc1_pins { - u-boot,dm-pre-reloc; + bootph-all; }; &mmc2 { - u-boot,dm-pre-reloc; + bootph-all; }; &mmc2_pins { - u-boot,dm-pre-reloc; + bootph-all; };
arch/arm/dts/am335x-pxm50-u-boot.dtsi +2 -2
@@ -12,10 +12,10 @@ segment@300000 { target-module@e000 { - u-boot,dm-pre-reloc; + bootph-all; lcdc: lcdc@0 { - u-boot,dm-pre-reloc; + bootph-all; }; }; };
arch/arm/dts/am335x-regor-rdk-u-boot.dtsi +4 -4
@@ -15,19 +15,19 @@ }; ocp { - u-boot,dm-pre-reloc; + bootph-all; }; }; &i2c0 { - u-boot,dm-pre-reloc; + bootph-all; }; &uart0 { - u-boot,dm-pre-reloc; + bootph-all; }; &mmc1 { - u-boot,dm-pre-reloc; + bootph-all; cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; };
arch/arm/dts/am335x-rut-u-boot.dtsi +2 -2
@@ -12,10 +12,10 @@ segment@300000 { target-module@e000 { - u-boot,dm-pre-reloc; + bootph-all; lcdc: lcdc@0 { - u-boot,dm-pre-reloc; + bootph-all; }; }; };
arch/arm/dts/am335x-sancloud-bbe-lite-u-boot.dtsi +9 -9
@@ -9,36 +9,36 @@ &l4_wkup { segment@200000 { target-module@0 { - u-boot,dm-pre-reloc; + bootph-all; }; }; }; &prcm { - u-boot,dm-pre-reloc; + bootph-all; }; &per_cm { - u-boot,dm-pre-reloc; + bootph-all; }; &l4ls_clkctrl { - u-boot,dm-pre-reloc; + bootph-all; }; &l4_per { - u-boot,dm-pre-reloc; + bootph-all; segment@0 { - u-boot,dm-pre-reloc; + bootph-all; target-module@30000 { - u-boot,dm-pre-reloc; + bootph-all; }; }; }; &spi0 { - u-boot,dm-pre-reloc; + bootph-all; channel@0 { - u-boot,dm-pre-reloc; + bootph-all; }; };
arch/arm/dts/am335x-shc-u-boot.dtsi +10 -10
@@ -7,45 +7,45 @@ / { ocp { - u-boot,dm-pre-reloc; + bootph-all; }; }; &l4_wkup { - u-boot,dm-pre-reloc; + bootph-all; }; &scm { - u-boot,dm-pre-reloc; + bootph-all; }; &am33xx_pinmux { - u-boot,dm-pre-reloc; + bootph-all; }; &uart0_pins { - u-boot,dm-pre-reloc; + bootph-all; }; &uart0 { - u-boot,dm-pre-reloc; + bootph-all; }; &mmc1 { - u-boot,dm-pre-reloc; + bootph-all; cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; }; &emmc_pins { - u-boot,dm-pre-reloc; + bootph-all; }; &mmc2 { - u-boot,dm-pre-reloc; + bootph-all; }; &mmc1_pins { - u-boot,dm-pre-reloc; + bootph-all; }; &mmc3 {
arch/arm/dts/am335x-wega-rdk-u-boot.dtsi +7 -7
@@ -15,16 +15,16 @@ }; ocp { - u-boot,dm-pre-reloc; + bootph-all; l4_wkup@44c00000 { - u-boot,dm-pre-reloc; + bootph-all; segment@200000 { - u-boot,dm-pre-reloc; + bootph-all; target-module@9000 { - u-boot,dm-pre-reloc; + bootph-all; }; }; };
@@ -32,14 +32,14 @@ }; &i2c0 { - u-boot,dm-pre-reloc; + bootph-all; }; &uart0 { - u-boot,dm-pre-reloc; + bootph-all; }; &mmc1 { - u-boot,dm-pre-reloc; + bootph-all; cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; };
arch/arm/dts/am33xx-u-boot.dtsi +1 -1
@@ -6,7 +6,7 @@ / { ocp { - u-boot,dm-pre-reloc; + bootph-all; }; };
arch/arm/dts/am3517-evm-u-boot.dtsi +9 -9
@@ -18,37 +18,37 @@ }; &gpio1 { - /delete-property/ u-boot,dm-spl; + /delete-property/ bootph-pre-ram; }; &gpio2 { - /delete-property/ u-boot,dm-spl; + /delete-property/ bootph-pre-ram; }; &gpio3 { - /delete-property/ u-boot,dm-spl; + /delete-property/ bootph-pre-ram; }; &gpio5 { - /delete-property/ u-boot,dm-spl; + /delete-property/ bootph-pre-ram; }; &gpio6 { - /delete-property/ u-boot,dm-spl; + /delete-property/ bootph-pre-ram; }; &mmc2 { - /delete-property/ u-boot,dm-spl; + /delete-property/ bootph-pre-ram; }; &mmc3 { - /delete-property/ u-boot,dm-spl; + /delete-property/ bootph-pre-ram; }; &uart1 { - /delete-property/ u-boot,dm-spl; + /delete-property/ bootph-pre-ram; }; &uart2 { - /delete-property/ u-boot,dm-spl; + /delete-property/ bootph-pre-ram; };
arch/arm/dts/am4372-generic-u-boot.dtsi +2 -2
@@ -7,10 +7,10 @@ /{ ocp { - u-boot,dm-pre-reloc; + bootph-all; }; }; &i2c0 { - u-boot,dm-pre-reloc; + bootph-all; };
arch/arm/dts/am4372-u-boot.dtsi +10 -10
@@ -27,41 +27,41 @@ }; &dwc3_1 { - u-boot,dm-spl; + bootph-pre-ram; }; &usb1 { - u-boot,dm-spl; + bootph-pre-ram; }; &usb2_phy1 { - u-boot,dm-spl; + bootph-pre-ram; }; &am43xx_control_usb2phy1 { - u-boot,dm-spl; + bootph-pre-ram; }; &ocp2scp0 { - u-boot,dm-spl; + bootph-pre-ram; }; &dwc3_2 { - u-boot,dm-spl; + bootph-pre-ram; }; &usb2 { - u-boot,dm-spl; + bootph-pre-ram; }; &usb2_phy2 { - u-boot,dm-spl; + bootph-pre-ram; }; &am43xx_control_usb2phy2 { - u-boot,dm-spl; + bootph-pre-ram; }; &ocp2scp1 { - u-boot,dm-spl; + bootph-pre-ram; };
arch/arm/dts/am437x-gp-evm-u-boot.dtsi +12 -12
@@ -11,50 +11,50 @@ /{ ocp { - u-boot,dm-spl; + bootph-pre-ram; }; }; &uart0 { - u-boot,dm-spl; + bootph-pre-ram; }; &mmc1 { - u-boot,dm-spl; + bootph-pre-ram; }; &mac { - u-boot,dm-spl; + bootph-pre-ram; }; &davinci_mdio { - u-boot,dm-spl; + bootph-pre-ram; }; &cpsw_emac0 { - u-boot,dm-spl; + bootph-pre-ram; }; &phy_sel { - u-boot,dm-spl; + bootph-pre-ram; }; &i2c0 { - u-boot,dm-spl; + bootph-pre-ram; }; &l4_wkup { - u-boot,dm-spl; + bootph-pre-ram; }; &scm { - u-boot,dm-spl; + bootph-pre-ram; }; &scm_conf { - u-boot,dm-spl; + bootph-pre-ram; }; ðphy0 { - u-boot,dm-spl; + bootph-pre-ram; };
arch/arm/dts/am437x-idk-evm-u-boot.dtsi +4 -4
@@ -7,7 +7,7 @@ /{ ocp { - u-boot,dm-spl; + bootph-pre-ram; }; xtal25mhz: xtal25mhz {
@@ -18,11 +18,11 @@ }; &uart0 { - u-boot,dm-spl; + bootph-pre-ram; }; &i2c0 { - u-boot,dm-spl; + bootph-pre-ram; cdce913: cdce913@65 { compatible = "ti,cdce913";
@@ -34,5 +34,5 @@ }; &mmc1 { - u-boot,dm-spl; + bootph-pre-ram; };
arch/arm/dts/am437x-sk-evm-u-boot.dtsi +4 -4
@@ -7,18 +7,18 @@ /{ ocp { - u-boot,dm-spl; + bootph-pre-ram; }; }; &uart0 { - u-boot,dm-spl; + bootph-pre-ram; }; &i2c0 { - u-boot,dm-spl; + bootph-pre-ram; }; &mmc1 { - u-boot,dm-spl; + bootph-pre-ram; };
arch/arm/dts/armada-3720-eDPU-u-boot.dtsi +3 -3
@@ -21,15 +21,15 @@ }; &spi0 { - u-boot,dm-pre-reloc; + bootph-all; spi-flash@0 { - u-boot,dm-pre-reloc; + bootph-all; }; }; &sdhci0 { - u-boot,dm-pre-reloc; + bootph-all; }; ð0 {
arch/arm/dts/armada-3720-uDPU-u-boot.dtsi +3 -3
@@ -21,15 +21,15 @@ }; &spi0 { - u-boot,dm-pre-reloc; + bootph-all; spi-flash@0 { - u-boot,dm-pre-reloc; + bootph-all; }; }; &sdhci0 { - u-boot,dm-pre-reloc; + bootph-all; }; &pinctrl_sb {
arch/arm/dts/armada-385-atl-x530-u-boot.dtsi +1 -1
@@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 &watchdog { - u-boot,dm-pre-reloc; + bootph-all; }; #include "mvebu-u-boot.dtsi"
arch/arm/dts/armada-385-turris-omnia-u-boot.dtsi +6 -6
@@ -12,24 +12,24 @@ }; &i2c0 { - u-boot,dm-pre-reloc; + bootph-all; i2cmux: i2cmux@70 { - u-boot,dm-pre-reloc; + bootph-all; i2c@0 { - u-boot,dm-pre-reloc; + bootph-all; }; i2c@1 { - u-boot,dm-pre-reloc; + bootph-all; }; i2c@5 { - u-boot,dm-pre-reloc; + bootph-all; crypto@64 { - u-boot,dm-pre-reloc; + bootph-all; }; }; };
arch/arm/dts/armada-388-clearfog-u-boot.dtsi +9 -9
@@ -1,38 +1,38 @@ // SPDX-License-Identifier: GPL-2.0+ &spi1 { - u-boot,dm-spl; + bootph-pre-ram; spi-flash@0 { - u-boot,dm-spl; + bootph-pre-ram; }; }; &sdhci { - u-boot,dm-spl; + bootph-pre-ram; }; &gpio0 { - u-boot,dm-spl; + bootph-pre-ram; }; &ahci0 { - u-boot,dm-spl; + bootph-pre-ram; }; &ahci1 { - u-boot,dm-spl; + bootph-pre-ram; }; &i2c0 { - u-boot,dm-spl; + bootph-pre-ram; eeprom@52 { - u-boot,dm-spl; + bootph-pre-ram; }; eeprom@53 { - u-boot,dm-spl; + bootph-pre-ram; }; };
arch/arm/dts/armada-388-helios4-u-boot.dtsi +10 -10
@@ -5,41 +5,41 @@ }; &spi1 { - u-boot,dm-spl; + bootph-pre-ram; spi-flash@0 { - u-boot,dm-spl; + bootph-pre-ram; }; }; &w25q32 { - u-boot,dm-spl; + bootph-pre-ram; }; &gpio0 { - u-boot,dm-spl; + bootph-pre-ram; }; &ahci0 { - u-boot,dm-spl; + bootph-pre-ram; }; &ahci1 { - u-boot,dm-spl; + bootph-pre-ram; }; &sdhci { - u-boot,dm-spl; + bootph-pre-ram; }; &i2c0 { - u-boot,dm-spl; + bootph-pre-ram; eeprom@52 { - u-boot,dm-spl; + bootph-pre-ram; }; eeprom@53 { - u-boot,dm-spl; + bootph-pre-ram; }; };
arch/arm/dts/armada-38x-controlcenterdc-u-boot.dtsi +6 -6
@@ -1,25 +1,25 @@ &gpio0 { - u-boot,dm-pre-reloc; + bootph-all; }; &gpio1 { - u-boot,dm-pre-reloc; + bootph-all; }; &uart1 { - u-boot,dm-pre-reloc; + bootph-all; }; &spi1 { - u-boot,dm-pre-reloc; + bootph-all; }; &I2C0 { - u-boot,dm-pre-reloc; + bootph-all; }; &PCA22 { - u-boot,dm-pre-reloc; + bootph-all; }; #include "mvebu-u-boot.dtsi"
arch/arm/dts/armada-ap80x-quad.dtsi +4 -4
@@ -18,7 +18,7 @@ cpu@000 { clocks; - u-boot,dm-pre-reloc; + bootph-all; device_type = "cpu"; compatible = "arm,cortex-a72", "arm,armv8"; reg = <0x000>;
@@ -26,7 +26,7 @@ }; cpu@001 { clocks; - u-boot,dm-pre-reloc; + bootph-all; device_type = "cpu"; compatible = "arm,cortex-a72", "arm,armv8"; reg = <0x001>;
@@ -34,7 +34,7 @@ }; cpu@100 { clocks; - u-boot,dm-pre-reloc; + bootph-all; device_type = "cpu"; compatible = "arm,cortex-a72", "arm,armv8"; reg = <0x100>;
@@ -42,7 +42,7 @@ }; cpu@101 { clocks; - u-boot,dm-pre-reloc; + bootph-all; device_type = "cpu"; compatible = "arm,cortex-a72", "arm,armv8"; reg = <0x101>;
arch/arm/dts/armada-xp-theadorable-u-boot.dtsi +1 -1
@@ -1,5 +1,5 @@ &lcd0 { - u-boot,dm-pre-reloc; + bootph-all; }; #include "mvebu-u-boot.dtsi"
arch/arm/dts/ast2500-evb.dts +4 -4
@@ -19,7 +19,7 @@ }; &uart5 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; };
@@ -28,17 +28,17 @@ }; &wdt1 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; }; &wdt2 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; }; &wdt3 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; };
arch/arm/dts/ast2500-u-boot.dtsi +4 -4
@@ -8,19 +8,19 @@ scu: clock-controller@1e6e2000 { compatible = "aspeed,ast2500-scu"; reg = <0x1e6e2000 0x1000>; - u-boot,dm-pre-reloc; + bootph-all; #clock-cells = <1>; #reset-cells = <1>; }; rst: reset-controller { - u-boot,dm-pre-reloc; + bootph-all; compatible = "aspeed,ast2500-reset"; #reset-cells = <1>; }; sdrammc: sdrammc@1e6e0000 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "aspeed,ast2500-sdrammc"; reg = <0x1e6e0000 0x174 0x1e6e0200 0x1d4 >;
@@ -51,7 +51,7 @@ }; &timer { - u-boot,dm-pre-reloc; + bootph-all; }; &mac0 {
arch/arm/dts/ast2600-evb.dts +3 -3
@@ -58,7 +58,7 @@ }; &uart5 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; };
@@ -258,11 +258,11 @@ }; &hace { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; }; &acry { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; };
arch/arm/dts/ast2600-u-boot.dtsi +5 -5
@@ -8,21 +8,21 @@ scu: clock-controller@1e6e2000 { compatible = "aspeed,ast2600-scu"; reg = <0x1e6e2000 0x1000>; - u-boot,dm-pre-reloc; + bootph-all; #clock-cells = <1>; #reset-cells = <1>; uart-clk-source = <0x0>; /* uart clock source selection: 0: uxclk 1: huxclk*/ }; rst: reset-controller { - u-boot,dm-pre-reloc; + bootph-all; compatible = "aspeed,ast2600-reset"; aspeed,wdt = <&wdt1>; #reset-cells = <1>; }; sdrammc: sdrammc@1e6e0000 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "aspeed,ast2600-sdrammc"; reg = <0x1e6e0000 0x100 0x1e6e0100 0x300
@@ -33,10 +33,10 @@ }; ahb { - u-boot,dm-pre-reloc; + bootph-all; apb { - u-boot,dm-pre-reloc; + bootph-all; }; };
arch/arm/dts/at91-sam9x60_curiosity-u-boot.dtsi +17 -17
@@ -10,70 +10,70 @@ / { ahb { - u-boot,dm-pre-reloc; + bootph-all; apb { - u-boot,dm-pre-reloc; + bootph-all; pinctrl { - u-boot,dm-pre-reloc; + bootph-all; }; }; }; chosen { - u-boot,dm-pre-reloc; + bootph-all; }; }; &clk32 { - u-boot,dm-pre-reloc; + bootph-all; }; &dbgu { - u-boot,dm-pre-reloc; + bootph-all; }; &main_rc { - u-boot,dm-pre-reloc; + bootph-all; }; &main_xtal { - u-boot,dm-pre-reloc; + bootph-all; }; &pinctrl_dbgu { - u-boot,dm-pre-reloc; + bootph-all; }; &pinctrl_sdhci0 { - u-boot,dm-pre-reloc; + bootph-all; }; &pioA { - u-boot,dm-pre-reloc; + bootph-all; }; &pioB { - u-boot,dm-pre-reloc; + bootph-all; }; &pit64b0 { - u-boot,dm-pre-reloc; + bootph-all; }; &pmc { - u-boot,dm-pre-reloc; + bootph-all; }; &sdhci0 { - u-boot,dm-pre-reloc; + bootph-all; }; &slow_rc_osc { - u-boot,dm-pre-reloc; + bootph-all; }; &slow_xtal { - u-boot,dm-pre-reloc; + bootph-all; };
arch/arm/dts/at91-sama5d27_giantboard.dts +8 -8
@@ -22,7 +22,7 @@ }; chosen { - u-boot,dm-pre-reloc; + bootph-all; stdout-path = &uart1; };
@@ -32,7 +32,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; }; apb {
@@ -41,7 +41,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1_default>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; }; i2c0: i2c@f8028000 {
@@ -65,12 +65,12 @@ pit: timer@f8048030 { status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; }; sfr: sfr@f8030000 { status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; }; pioA: pinctrl@fc038000 {
@@ -82,14 +82,14 @@ <PIN_PA20__SDMMC1_DAT2>, <PIN_PA21__SDMMC1_DAT3>; bias-pull-up; - u-boot,dm-pre-reloc; + bootph-all; }; ck_cd { pinmux = <PIN_PA22__SDMMC1_CK>, <PIN_PA30__SDMMC1_CD>; bias-disable; - u-boot,dm-pre-reloc; + bootph-all; }; };
@@ -97,7 +97,7 @@ pinmux = <PIN_PD2__URXD1>, <PIN_PD3__UTXD1>; bias-disable; - u-boot,dm-pre-reloc; + bootph-all; }; pinctrl_i2c0_default: i2c0_default {
arch/arm/dts/at91-sama5d27_som1_ek.dts +12 -12
@@ -51,7 +51,7 @@ compatible = "atmel,sama5d27-som1-ek", "atmel,sama5d2", "atmel,sama5"; chosen { - u-boot,dm-pre-reloc; + bootph-all; stdout-path = &uart1; };
@@ -85,7 +85,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; }; sdmmc1: sdio-host@b0000000 {
@@ -93,7 +93,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; status = "okay"; /* conflict with qspi0 */ - u-boot,dm-pre-reloc; + bootph-all; }; apb {
@@ -103,10 +103,10 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_pwm &pinctrl_lcd_rgb666>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; display-timings { - u-boot,dm-pre-reloc; + bootph-all; 480x272 { clock-frequency = <9000000>; hactive = <480>;
@@ -117,7 +117,7 @@ vfront-porch = <2>; vback-porch = <2>; vsync-len = <11>; - u-boot,dm-pre-reloc; + bootph-all; }; }; };
@@ -126,7 +126,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1_default>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; }; pioA: pinctrl@fc038000 {
@@ -178,7 +178,7 @@ <PIN_PA8__SDMMC0_DAT6>, <PIN_PA9__SDMMC0_DAT7>; bias-pull-up; - u-boot,dm-pre-reloc; + bootph-all; }; ck_cd {
@@ -186,7 +186,7 @@ <PIN_PA10__SDMMC0_RSTN>, <PIN_PA13__SDMMC0_CD>; bias-disable; - u-boot,dm-pre-reloc; + bootph-all; }; };
@@ -198,14 +198,14 @@ <PIN_PA20__SDMMC1_DAT2>, <PIN_PA21__SDMMC1_DAT3>; bias-pull-up; - u-boot,dm-pre-reloc; + bootph-all; }; ck_cd { pinmux = <PIN_PA22__SDMMC1_CK>, <PIN_PA30__SDMMC1_CD>; bias-disable; - u-boot,dm-pre-reloc; + bootph-all; }; };
@@ -213,7 +213,7 @@ pinmux = <PIN_PD2__URXD1>, <PIN_PD3__UTXD1>; bias-disable; - u-boot,dm-pre-reloc; + bootph-all; }; pinctrl_usb_default: usb_default {
arch/arm/dts/at91-sama5d27_wlsom1_ek-u-boot.dtsi +10 -10
@@ -9,42 +9,42 @@ / { chosen { - u-boot,dm-pre-reloc; + bootph-all; }; }; &hlcdc { - u-boot,dm-pre-reloc; + bootph-all; }; &qspi1 { - u-boot,dm-pre-reloc; + bootph-all; }; &qspi1_flash { - u-boot,dm-pre-reloc; + bootph-all; }; &sdmmc0 { - u-boot,dm-pre-reloc; + bootph-all; }; &uart0 { - u-boot,dm-pre-reloc; + bootph-all; }; &sfr { - u-boot,dm-pre-reloc; + bootph-all; }; &pinctrl_sdmmc0_default { - u-boot,dm-pre-reloc; + bootph-all; }; &pinctrl_uart0_default { - u-boot,dm-pre-reloc; + bootph-all; }; &pinctrl_qspi1_default { - u-boot,dm-pre-reloc; + bootph-all; };
arch/arm/dts/at91-sama5d2_icp-u-boot.dtsi +9 -9
@@ -9,39 +9,39 @@ / { chosen { - u-boot,dm-pre-reloc; + bootph-all; }; }; &pinctrl_mikrobus1_uart { - u-boot,dm-pre-reloc; + bootph-all; }; &pinctrl_qspi1_sck_cs_default { - u-boot,dm-pre-reloc; + bootph-all; }; &pinctrl_qspi1_dat_default { - u-boot,dm-pre-reloc; + bootph-all; }; &pinctrl_sdmmc0_default { - u-boot,dm-pre-reloc; + bootph-all; }; &qspi1 { - u-boot,dm-pre-reloc; + bootph-all; flash@0 { - u-boot,dm-pre-reloc; + bootph-all; }; }; &sdmmc0 { - u-boot,dm-pre-reloc; + bootph-all; }; &uart0 { /* mikrobus1 uart */ - u-boot,dm-pre-reloc; + bootph-all; };
arch/arm/dts/at91-sama5d2_ptc_ek.dts +9 -9
@@ -52,7 +52,7 @@ compatible = "atmel,sama5d2-ptc_ek", "atmel,sama5d2", "atmel,sama5"; chosen { - u-boot,dm-pre-reloc; + bootph-all; stdout-path = &uart0; };
@@ -96,7 +96,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; }; sdmmc1: sdio-host@b0000000 {
@@ -104,7 +104,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; status = "disabled"; /* conflicts with nand and qspi0*/ - u-boot,dm-pre-reloc; + bootph-all; }; apb {
@@ -123,7 +123,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart0_default>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; }; i2c1: i2c@fc028000 {
@@ -175,7 +175,7 @@ <PIN_PA8__SDMMC0_DAT6>, <PIN_PA9__SDMMC0_DAT7>; bias-pull-up; - u-boot,dm-pre-reloc; + bootph-all; }; ck_cd {
@@ -184,7 +184,7 @@ <PIN_PA11__SDMMC0_VDDSEL>, <PIN_PA13__SDMMC0_CD>; bias-disable; - u-boot,dm-pre-reloc; + bootph-all; }; };
@@ -196,14 +196,14 @@ <PIN_PA20__SDMMC1_DAT2>, <PIN_PA21__SDMMC1_DAT3>; bias-pull-up; - u-boot,dm-pre-reloc; + bootph-all; }; ck_cd { pinmux = <PIN_PA22__SDMMC1_CK>, <PIN_PA30__SDMMC1_CD>; bias-disable; - u-boot,dm-pre-reloc; + bootph-all; }; };
@@ -211,7 +211,7 @@ pinmux = <PIN_PB26__URXD0>, <PIN_PB27__UTXD0>; bias-disable; - u-boot,dm-pre-reloc; + bootph-all; }; pinctrl_usb_default: usb_default {
arch/arm/dts/at91-sama5d2_xplained.dts +19 -19
@@ -8,7 +8,7 @@ compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5"; chosen { - u-boot,dm-pre-reloc; + bootph-all; stdout-path = &uart1; };
@@ -46,7 +46,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; }; sdmmc1: sdio-host@b0000000 {
@@ -54,7 +54,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; status = "okay"; /* conflict with qspi0 */ - u-boot,dm-pre-reloc; + bootph-all; }; apb {
@@ -64,10 +64,10 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_pwm &pinctrl_lcd_rgb666>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; display-timings { - u-boot,dm-pre-reloc; + bootph-all; 480x272 { clock-frequency = <9000000>; hactive = <480>;
@@ -78,7 +78,7 @@ vfront-porch = <2>; vback-porch = <2>; vsync-len = <11>; - u-boot,dm-pre-reloc; + bootph-all; }; }; };
@@ -87,7 +87,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_qspi0_sck_cs_default &pinctrl_qspi0_dat_default>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; flash@0 { compatible = "jedec,spi-nor";
@@ -95,7 +95,7 @@ spi-max-frequency = <83000000>; spi-rx-bus-width = <4>; spi-tx-bus-width = <4>; - u-boot,dm-pre-reloc; + bootph-all; }; };
@@ -104,13 +104,13 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_spi0_default>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; spi_flash@0 { compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <50000000>; - u-boot,dm-pre-reloc; + bootph-all; }; };
@@ -129,7 +129,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1_default>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; }; i2c1: i2c@fc028000 {
@@ -208,7 +208,7 @@ pinmux = <PIN_PA22__QSPI0_SCK>, <PIN_PA23__QSPI0_CS>; bias-disable; - u-boot,dm-pre-reloc; + bootph-all; }; pinctrl_qspi0_dat_default: qspi0_dat_default {
@@ -217,7 +217,7 @@ <PIN_PA26__QSPI0_IO2>, <PIN_PA27__QSPI0_IO3>; bias-pull-up; - u-boot,dm-pre-reloc; + bootph-all; }; pinctrl_sdmmc0_default: sdmmc0_default {
@@ -232,7 +232,7 @@ <PIN_PA8__SDMMC0_DAT6>, <PIN_PA9__SDMMC0_DAT7>; bias-pull-up; - u-boot,dm-pre-reloc; + bootph-all; }; ck_cd_default {
@@ -241,7 +241,7 @@ <PIN_PA11__SDMMC0_VDDSEL>, <PIN_PA13__SDMMC0_CD>; bias-disable; - u-boot,dm-pre-reloc; + bootph-all; }; };
@@ -253,14 +253,14 @@ <PIN_PA20__SDMMC1_DAT2>, <PIN_PA21__SDMMC1_DAT3>; bias-pull-up; - u-boot,dm-pre-reloc; + bootph-all; }; ck_cd { pinmux = <PIN_PA22__SDMMC1_CK>, <PIN_PA30__SDMMC1_CD>; bias-disable; - u-boot,dm-pre-reloc; + bootph-all; }; };
@@ -269,14 +269,14 @@ <PIN_PA15__SPI0_MOSI>, <PIN_PA16__SPI0_MISO>; bias-disable; - u-boot,dm-pre-reloc; + bootph-all; }; pinctrl_uart1_default: uart1_default { pinmux = <PIN_PD2__URXD1>, <PIN_PD3__UTXD1>; bias-disable; - u-boot,dm-pre-reloc; + bootph-all; }; pinctrl_usb_default: usb_default {
arch/arm/dts/at91-sama5d3_xplained.dts +7 -7
@@ -14,7 +14,7 @@ compatible = "atmel,sama5d3-xplained", "atmel,sama5d3", "atmel,sama5"; chosen { - u-boot,dm-pre-reloc; + bootph-all; stdout-path = &dbgu; };
@@ -51,7 +51,7 @@ ahb { apb { mmc0: mmc@f0000000 { - u-boot,dm-pre-reloc; + bootph-all; pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7 &pinctrl_mmc0_cd>; vmmc-supply = <&vcc_mmc0_reg>; vqmmc-supply = <&vcc_3v3_reg>;
@@ -64,7 +64,7 @@ }; mmc1: mmc@f8000000 { - u-boot,dm-pre-reloc; + bootph-all; vmmc-supply = <&vcc_3v3_reg>; vqmmc-supply = <&vcc_3v3_reg>; status = "disabled";
@@ -215,13 +215,13 @@ }; dbgu: serial@ffffee00 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; }; pinctrl@fffff200 { board { - u-boot,dm-pre-reloc; + bootph-all; pinctrl_i2c0_pu: i2c0_pu { atmel,pins = <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
@@ -240,13 +240,13 @@ }; pinctrl_mmc0_cd: mmc0_cd { - u-boot,dm-pre-reloc; + bootph-all; atmel,pins = <AT91_PIOE 0 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; }; pinctrl_mmc1_cd: mmc1_cd { - u-boot,dm-pre-reloc; + bootph-all; atmel,pins = <AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; };
arch/arm/dts/at91-sama5d4_xplained.dts +10 -10
@@ -54,7 +54,7 @@ }; chosen { - u-boot,dm-pre-reloc; + bootph-all; stdout-path = &usart3; };
@@ -92,10 +92,10 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_pwm &pinctrl_lcd_rgb888>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; display-timings { - u-boot,dm-pre-reloc; + bootph-all; 480x272 { clock-frequency = <9000000>; hactive = <480>;
@@ -106,17 +106,17 @@ vfront-porch = <2>; vback-porch = <2>; vsync-len = <11>; - u-boot,dm-pre-reloc; + bootph-all; }; }; }; spi0: spi@f8010000 { - u-boot,dm-pre-reloc; + bootph-all; cs-gpios = <&pioC 3 0>, <0>, <0>, <0>; status = "okay"; spi_flash@0 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "jedec,spi-nor"; spi-max-frequency = <50000000>; reg = <0>;
@@ -146,7 +146,7 @@ }; mmc1: mmc@fc000000 { - u-boot,dm-pre-reloc; + bootph-all; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>; vmmc-supply = <&vcc_mmc1_reg>;
@@ -160,7 +160,7 @@ }; usart3: serial@fc00c000 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; };
@@ -193,9 +193,9 @@ pinctrl@fc06a000 { board { - u-boot,dm-pre-reloc; + bootph-all; pinctrl_mmc1_cd: mmc1_cd { - u-boot,dm-pre-reloc; + bootph-all; atmel,pins = <AT91_PIOE 3 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; };
arch/arm/dts/at91-sama5d4ek.dts +10 -10
@@ -54,7 +54,7 @@ }; chosen { - u-boot,dm-pre-reloc; + bootph-all; stdout-path = &usart3; };
@@ -82,10 +82,10 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_pwm &pinctrl_lcd_rgb666>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; display-timings { - u-boot,dm-pre-reloc; + bootph-all; 800x480 { clock-frequency = <33260000>; hactive = <800>;
@@ -96,7 +96,7 @@ vfront-porch = <23>; vback-porch = <22>; vsync-len = <5>; - u-boot,dm-pre-reloc; + bootph-all; }; }; };
@@ -132,11 +132,11 @@ }; spi0: spi@f8010000 { - u-boot,dm-pre-reloc; + bootph-all; cs-gpios = <&pioC 3 0>, <0>, <0>, <0>; status = "okay"; spi_flash@0 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "jedec,spi-nor"; spi-max-frequency = <50000000>; reg = <0>;
@@ -186,7 +186,7 @@ }; mmc1: mmc@fc000000 { - u-boot,dm-pre-reloc; + bootph-all; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3 &pinctrl_mmc1_cd>; status = "okay";
@@ -202,7 +202,7 @@ }; usart3: serial@fc00c000 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; };
@@ -216,7 +216,7 @@ pinctrl@fc06a000 { board { - u-boot,dm-pre-reloc; + bootph-all; pinctrl_macb0_phy_irq: macb0_phy_irq { atmel,pins = <AT91_PIOE 1 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
@@ -226,7 +226,7 @@ <AT91_PIOE 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; }; pinctrl_mmc1_cd: mmc1_cd { - u-boot,dm-pre-reloc; + bootph-all; atmel,pins = <AT91_PIOE 6 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; };
arch/arm/dts/at91-sama7g5ek-u-boot.dtsi +12 -12
@@ -16,7 +16,7 @@ / { chosen { - u-boot,dm-pre-reloc; + bootph-all; }; utmi {
@@ -68,7 +68,7 @@ }; soc { - u-boot,dm-pre-reloc; + bootph-all; usb2: usb@400000 { compatible = "microchip,sama7g5-ohci", "usb-ohci";
@@ -96,23 +96,23 @@ }; &main_rc { - u-boot,dm-pre-reloc; + bootph-all; }; &main_xtal { - u-boot,dm-pre-reloc; + bootph-all; }; &pioA { - u-boot,dm-pre-reloc; + bootph-all; }; &pinctrl_flx3_default { - u-boot,dm-pre-reloc; + bootph-all; }; &pioA { - u-boot,dm-pre-reloc; + bootph-all; pinctrl_usb_default: usb_default { pinmux = <PIN_PC6__GPIO>;
@@ -121,23 +121,23 @@ }; &pit64b0 { - u-boot,dm-pre-reloc; + bootph-all; }; &pmc { - u-boot,dm-pre-reloc; + bootph-all; }; &slow_rc_osc { - u-boot,dm-pre-reloc; + bootph-all; }; &slow_xtal { - u-boot,dm-pre-reloc; + bootph-all; }; &uart3 { - u-boot,dm-pre-reloc; + bootph-all; }; &usb2 {
arch/arm/dts/at91sam9260-smartweb.dts +2 -2
@@ -18,7 +18,7 @@ compatible = "atmel,at91sam9260", "atmel,at91sam9"; chosen { - u-boot,dm-pre-reloc; + bootph-all; stdout-path = &dbgu; };
@@ -49,7 +49,7 @@ }; dbgu: serial@fffff200 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; };
arch/arm/dts/at91sam9260.dtsi +13 -13
@@ -77,14 +77,14 @@ #address-cells = <1>; #size-cells = <1>; ranges; - u-boot,dm-pre-reloc; + bootph-all; apb { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; ranges; - u-boot,dm-pre-reloc; + bootph-all; aic: interrupt-controller@fffff000 { #interrupt-cells = <3>;
@@ -107,7 +107,7 @@ #address-cells = <1>; #size-cells = <0>; #interrupt-cells = <1>; - u-boot,dm-pre-reloc; + bootph-all; main_osc: main_osc { compatible = "atmel,at91rm9200-clk-main-osc";
@@ -165,7 +165,7 @@ clocks = <&clk32k>, <&main>, <&plla>, <&pllb>; atmel,clk-output-range = <0 105000000>; atmel,clk-divisors = <1 2 4 0>; - u-boot,dm-pre-reloc; + bootph-all; }; usb: usbck {
@@ -230,24 +230,24 @@ #address-cells = <1>; #size-cells = <0>; clocks = <&mck>; - u-boot,dm-pre-reloc; + bootph-all; pioA_clk: pioA_clk@2 { #clock-cells = <0>; reg = <2>; - u-boot,dm-pre-reloc; + bootph-all; }; pioB_clk: pioB_clk@3 { #clock-cells = <0>; reg = <3>; - u-boot,dm-pre-reloc; + bootph-all; }; pioC_clk: pioC_clk@4 { #clock-cells = <0>; reg = <4>; - u-boot,dm-pre-reloc; + bootph-all; }; adc_clk: adc_clk@5 {
@@ -410,7 +410,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioA_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pioB: gpio@fffff600 {
@@ -422,7 +422,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioB_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pioC: gpio@fffff800 {
@@ -434,7 +434,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioC_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pinctrl: pinctrl@fffff400 {
@@ -453,11 +453,11 @@ 0xffffffff 0x7fff3ccf /* pioB */ 0xffffffff 0x007fffff /* pioC */ >; - u-boot,dm-pre-reloc; + bootph-all; /* shared pinctrl settings */ dbgu { - u-boot,dm-pre-reloc; + bootph-all; pinctrl_dbgu: dbgu-0 { atmel,pins = <AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB14 periph A */
arch/arm/dts/at91sam9260ek.dts +2 -2
@@ -50,7 +50,7 @@ compatible = "atmel,at91sam9260ek", "atmel,at91sam9260", "atmel,at91sam9"; chosen { - u-boot,dm-pre-reloc; + bootph-all; stdout-path = &dbgu; };
@@ -124,7 +124,7 @@ }; dbgu: serial@fffff200 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; };
arch/arm/dts/at91sam9261.dtsi +13 -13
@@ -68,7 +68,7 @@ #address-cells = <1>; #size-cells = <1>; ranges; - u-boot,dm-pre-reloc; + bootph-all; usb0: ohci@00500000 { compatible = "atmel,at91rm9200-ohci", "usb-ohci";
@@ -111,7 +111,7 @@ #address-cells = <1>; #size-cells = <1>; ranges; - u-boot,dm-pre-reloc; + bootph-all; tcb0: timer@fffa0000 { compatible = "atmel,at91rm9200-tcb";
@@ -295,7 +295,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioA_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pioB: gpio@fffff600 {
@@ -307,7 +307,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioB_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pioC: gpio@fffff800 {
@@ -319,7 +319,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioC_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pinctrl@fffff400 {
@@ -336,11 +336,11 @@ <0xffffffff 0xfffffff7>, /* pioA */ <0xffffffff 0xfffffff4>, /* pioB */ <0xffffffff 0xffffff07>; /* pioC */ - u-boot,dm-pre-reloc; + bootph-all; /* shared pinctrl settings */ dbgu { - u-boot,dm-pre-reloc; + bootph-all; pinctrl_dbgu: dbgu-0 { atmel,pins = <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE>,
@@ -583,7 +583,7 @@ #address-cells = <1>; #size-cells = <0>; #interrupt-cells = <1>; - u-boot,dm-pre-reloc; + bootph-all; main_osc: main_osc { compatible = "atmel,at91rm9200-clk-main-osc";
@@ -628,7 +628,7 @@ clocks = <&slow_xtal>, <&main>, <&plla>, <&pllb>; atmel,clk-output-range = <0 94000000>; atmel,clk-divisors = <1 2 4 0>; - u-boot,dm-pre-reloc; + bootph-all; }; usb: usbck {
@@ -729,24 +729,24 @@ #address-cells = <1>; #size-cells = <0>; clocks = <&mck>; - u-boot,dm-pre-reloc; + bootph-all; pioA_clk: pioA_clk@2 { #clock-cells = <0>; reg = <2>; - u-boot,dm-pre-reloc; + bootph-all; }; pioB_clk: pioB_clk@3 { #clock-cells = <0>; reg = <3>; - u-boot,dm-pre-reloc; + bootph-all; }; pioC_clk: pioC_clk@4 { #clock-cells = <0>; reg = <4>; - u-boot,dm-pre-reloc; + bootph-all; }; usart0_clk: usart0_clk@6 {
arch/arm/dts/at91sam9263.dtsi +13 -13
@@ -75,14 +75,14 @@ #address-cells = <1>; #size-cells = <1>; ranges; - u-boot,dm-pre-reloc; + bootph-all; apb { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; ranges; - u-boot,dm-pre-reloc; + bootph-all; aic: interrupt-controller@fffff000 { #interrupt-cells = <3>;
@@ -100,7 +100,7 @@ #address-cells = <1>; #size-cells = <0>; #interrupt-cells = <1>; - u-boot,dm-pre-reloc; + bootph-all; main_osc: main_osc { compatible = "atmel,at91rm9200-clk-main-osc";
@@ -146,7 +146,7 @@ clocks = <&slow_xtal>, <&main>, <&plla>, <&pllb>; atmel,clk-output-range = <0 120000000>; atmel,clk-divisors = <1 2 4 0>; - u-boot,dm-pre-reloc; + bootph-all; }; usb: usbck {
@@ -235,24 +235,24 @@ #address-cells = <1>; #size-cells = <0>; clocks = <&mck>; - u-boot,dm-pre-reloc; + bootph-all; pioA_clk: pioA_clk@2 { #clock-cells = <0>; reg = <2>; - u-boot,dm-pre-reloc; + bootph-all; }; pioB_clk: pioB_clk@3 { #clock-cells = <0>; reg = <3>; - u-boot,dm-pre-reloc; + bootph-all; }; pioCDE_clk: pioCDE_clk@4 { #clock-cells = <0>; reg = <4>; - u-boot,dm-pre-reloc; + bootph-all; }; usart0_clk: usart0_clk@7 {
@@ -730,7 +730,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioA_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pioB: gpio@fffff400 {
@@ -742,7 +742,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioB_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pioC: gpio@fffff600 {
@@ -754,7 +754,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioCDE_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pioD: gpio@fffff800 {
@@ -766,7 +766,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioCDE_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pioE: gpio@fffffa00 {
@@ -778,7 +778,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioCDE_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; dbgu: serial@ffffee00 {
arch/arm/dts/at91sam9263ek.dts +2 -2
@@ -15,7 +15,7 @@ chosen { bootargs = "mem=64M root=/dev/mtdblock5 rw rootfstype=ubifs"; stdout-path = "serial0:115200n8"; - u-boot,dm-pre-reloc; + bootph-all; }; memory {
@@ -35,7 +35,7 @@ ahb { apb { dbgu: serial@ffffee00 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; };
arch/arm/dts/at91sam9g15ek.dts +1 -1
@@ -18,7 +18,7 @@ ahb { apb { hlcdc: hlcdc@f8038000 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; }; };
arch/arm/dts/at91sam9g20-taurus.dts +3 -3
@@ -18,7 +18,7 @@ compatible = "atmel,at91sam9g20", "atmel,at91sam9"; chosen { - u-boot,dm-pre-reloc; + bootph-all; stdout-path = &dbgu; };
@@ -58,7 +58,7 @@ }; &pinctrl { - u-boot,dm-pre-reloc; + bootph-all; board { pinctrl_pck0_as_mck: pck0_as_mck { atmel,pins =
@@ -114,7 +114,7 @@ }; &watchdog { - u-boot,dm-pre-reloc; + bootph-all; timeout-sec = <15>; status = "okay"; };
arch/arm/dts/at91sam9g20ek_common.dtsi +2 -2
@@ -9,7 +9,7 @@ / { chosen { - u-boot,dm-pre-reloc; + bootph-all; stdout-path = &dbgu; };
@@ -47,7 +47,7 @@ }; dbgu: serial@fffff200 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; };
arch/arm/dts/at91sam9g25-gardena-smart-gateway-u-boot.dtsi +1 -1
@@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0+ &dbgu { - u-boot,dm-pre-reloc; + bootph-all; };
arch/arm/dts/at91sam9g35ek.dts +1 -1
@@ -23,7 +23,7 @@ }; hlcdc: hlcdc@f8038000 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; }; };
arch/arm/dts/at91sam9g45-corvus.dts +2 -2
@@ -17,7 +17,7 @@ compatible = "atmel,at91sam9m10g45ek", "atmel,at91sam9g45", "atmel,at91sam9"; chosen { - u-boot,dm-pre-reloc; + bootph-all; stdout-path = &dbgu; };
@@ -38,7 +38,7 @@ ahb { apb { dbgu: serial@ffffee00 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; };
arch/arm/dts/at91sam9g45-gurnard.dts +2 -2
@@ -32,10 +32,10 @@ }; ahb { - u-boot,dm-pre-reloc; + bootph-all; fb@0x00500000 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; display-timings { rev1 {
arch/arm/dts/at91sam9g45.dtsi +6 -6
@@ -81,14 +81,14 @@ #address-cells = <1>; #size-cells = <1>; ranges; - u-boot,dm-pre-reloc; + bootph-all; apb { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; ranges; - u-boot,dm-pre-reloc; + bootph-all; aic: interrupt-controller@fffff000 { #interrupt-cells = <3>;
@@ -120,7 +120,7 @@ #address-cells = <1>; #size-cells = <0>; #interrupt-cells = <1>; - u-boot,dm-pre-reloc; + bootph-all; main_osc: main_osc { compatible = "atmel,at91rm9200-clk-main-osc";
@@ -173,7 +173,7 @@ clocks = <&clk32k>, <&main>, <&plladiv>, <&utmi>; atmel,clk-output-range = <0 133333333>; atmel,clk-divisors = <1 2 4 3>; - u-boot,dm-pre-reloc; + bootph-all; }; usb: usbck {
@@ -441,7 +441,7 @@ 0xfffff800 0x200 0xfffffa00 0x200 >; - u-boot,dm-pre-reloc; + bootph-all; atmel,mux-mask = < /* A B */
@@ -484,7 +484,7 @@ }; dbgu { - u-boot,dm-pre-reloc; + bootph-all; pinctrl_dbgu: dbgu-0 { atmel,pins = <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
arch/arm/dts/at91sam9m10g45ek.dts +2 -2
@@ -17,7 +17,7 @@ chosen { bootargs = "mem=64M root=/dev/mtdblock1 rw rootfstype=jffs2"; stdout-path = "serial0:115200n8"; - u-boot,dm-pre-reloc; + bootph-all; }; memory {
@@ -38,7 +38,7 @@ apb { dbgu: serial@ffffee00 { status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; }; usart1: serial@fff90000 {
arch/arm/dts/at91sam9n12.dtsi +13 -13
@@ -72,14 +72,14 @@ #address-cells = <1>; #size-cells = <1>; ranges; - u-boot,dm-pre-reloc; + bootph-all; apb { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; ranges; - u-boot,dm-pre-reloc; + bootph-all; aic: interrupt-controller@fffff000 { #interrupt-cells = <3>;
@@ -104,7 +104,7 @@ #address-cells = <1>; #size-cells = <0>; #interrupt-cells = <1>; - u-boot,dm-pre-reloc; + bootph-all; main_rc_osc: main_rc_osc { compatible = "atmel,at91sam9x5-clk-main-rc-osc";
@@ -171,7 +171,7 @@ atmel,clk-output-range = <0 133333333>; atmel,clk-divisors = <1 2 4 3>; atmel,master-clk-have-div3-pres; - u-boot,dm-pre-reloc; + bootph-all; }; usb: usbck {
@@ -247,18 +247,18 @@ #address-cells = <1>; #size-cells = <0>; clocks = <&mck>; - u-boot,dm-pre-reloc; + bootph-all; pioAB_clk: pioAB_clk@2 { #clock-cells = <0>; reg = <2>; - u-boot,dm-pre-reloc; + bootph-all; }; pioCD_clk: pioCD_clk@3 { #clock-cells = <0>; reg = <3>; - u-boot,dm-pre-reloc; + bootph-all; }; fuse_clk: fuse_clk@4 {
@@ -505,11 +505,11 @@ 0xfdffffff 0x07c00000 0xb83fffff /* pioC */ 0x003fffff 0x003f8000 0x00000000 /* pioD */ >; - u-boot,dm-pre-reloc; + bootph-all; /* shared pinctrl settings */ dbgu { - u-boot,dm-pre-reloc; + bootph-all; pinctrl_dbgu: dbgu-0 { atmel,pins = <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
@@ -806,7 +806,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioAB_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pioB: gpio@fffff600 {
@@ -818,7 +818,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioAB_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pioC: gpio@fffff800 {
@@ -830,7 +830,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioCD_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pioD: gpio@fffffa00 {
@@ -842,7 +842,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioCD_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; dbgu: serial@fffff200 {
arch/arm/dts/at91sam9n12ek.dts +2 -2
@@ -16,7 +16,7 @@ chosen { bootargs = "root=/dev/mtdblock1 rw rootfstype=jffs2"; stdout-path = "serial0:115200n8"; - u-boot,dm-pre-reloc; + bootph-all; }; memory {
@@ -36,7 +36,7 @@ ahb { apb { dbgu: serial@fffff200 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; };
arch/arm/dts/at91sam9rl.dtsi +15 -15
@@ -78,7 +78,7 @@ #address-cells = <1>; #size-cells = <1>; ranges; - u-boot,dm-pre-reloc; + bootph-all; fb0: fb@00500000 { compatible = "atmel,at91sam9rl-lcdc";
@@ -113,7 +113,7 @@ #address-cells = <1>; #size-cells = <1>; ranges; - u-boot,dm-pre-reloc; + bootph-all; tcb0: timer@fffa0000 { compatible = "atmel,at91rm9200-tcb";
@@ -398,7 +398,7 @@ <0xffffffff 0x0000c780>, /* pioB */ <0xffffffff 0xe3ffff0e>, /* pioC */ <0x003fffff 0x0001ff3c>; /* pioD */ - u-boot,dm-pre-reloc; + bootph-all; /* shared pinctrl settings */ adc0 {
@@ -440,7 +440,7 @@ }; dbgu { - u-boot,dm-pre-reloc; + bootph-all; pinctrl_dbgu: dbgu-0 { atmel,pins = <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>,
@@ -779,7 +779,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioA_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pioB: gpio@fffff600 {
@@ -791,7 +791,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioB_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pioC: gpio@fffff800 {
@@ -803,7 +803,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioC_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pioD: gpio@fffffa00 {
@@ -815,7 +815,7 @@ interrupt-controller; #interrupt-cells = <2>; clocks = <&pioD_clk>; - u-boot,dm-pre-reloc; + bootph-all; }; pmc: pmc@fffffc00 {
@@ -826,7 +826,7 @@ #address-cells = <1>; #size-cells = <0>; #interrupt-cells = <1>; - u-boot,dm-pre-reloc; + bootph-all; main: mainck { compatible = "atmel,at91rm9200-clk-main";
@@ -862,7 +862,7 @@ clocks = <&clk32k>, <&main>, <&plla>, <&utmi>; atmel,clk-output-range = <0 94000000>; atmel,clk-divisors = <1 2 4 0>; - u-boot,dm-pre-reloc; + bootph-all; }; prog: progck {
@@ -909,30 +909,30 @@ #address-cells = <1>; #size-cells = <0>; clocks = <&mck>; - u-boot,dm-pre-reloc; + bootph-all; pioA_clk: pioA_clk@2 { #clock-cells = <0>; reg = <2>; - u-boot,dm-pre-reloc; + bootph-all; }; pioB_clk: pioB_clk@3 { #clock-cells = <0>; reg = <3>; - u-boot,dm-pre-reloc; + bootph-all; }; pioC_clk: pioC_clk@4 { #clock-cells = <0>; reg = <4>; - u-boot,dm-pre-reloc; + bootph-all; }; pioD_clk: pioD_clk@5 { #clock-cells = <0>; reg = <5>; - u-boot,dm-pre-reloc; + bootph-all; }; usart0_clk: usart0_clk@6 {
arch/arm/dts/at91sam9rlek.dts +2 -2
@@ -15,7 +15,7 @@ chosen { bootargs = "rootfstype=ubifs root=ubi0:rootfs ubi.mtd=5 rw"; stdout-path = "serial0:115200n8"; - u-boot,dm-pre-reloc; + bootph-all; }; memory {
@@ -162,7 +162,7 @@ }; dbgu: serial@fffff200 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; };
arch/arm/dts/at91sam9x35ek.dts +1 -1
@@ -22,7 +22,7 @@ status = "okay"; }; hlcdc: hlcdc@f8038000 { - u-boot,dm-pre-reloc; + bootph-all; status = "okay"; }; };
arch/arm/dts/at91sam9x5.dtsi +7 -7
@@ -81,14 +81,14 @@ #address-cells = <1>; #size-cells = <1>; ranges; - u-boot,dm-pre-reloc; + bootph-all; apb { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; ranges; - u-boot,dm-pre-reloc; + bootph-all; aic: interrupt-controller@fffff000 { #interrupt-cells = <3>;
@@ -113,7 +113,7 @@ #address-cells = <1>; #size-cells = <0>; #interrupt-cells = <1>; - u-boot,dm-pre-reloc; + bootph-all; main_rc_osc: main_rc_osc { compatible = "atmel,at91sam9x5-clk-main-rc-osc";
@@ -176,7 +176,7 @@ atmel,clk-output-range = <0 133333333>; atmel,clk-divisors = <1 2 4 3>; atmel,master-clk-have-div3-pres; - u-boot,dm-pre-reloc; + bootph-all; };
@@ -259,7 +259,7 @@ #address-cells = <1>; #size-cells = <0>; clocks = <&mck>; - u-boot,dm-pre-reloc; + bootph-all; pioAB_clk: pioAB_clk@2 {
@@ -466,12 +466,12 @@ 0xfffff800 0x200 /* pioC */ 0xfffffa00 0x200 /* pioD */ >; - u-boot,dm-pre-reloc; + bootph-all; /* shared pinctrl settings */ dbgu { - u-boot,dm-pre-reloc; + bootph-all; pinctrl_dbgu: dbgu-0 {
Lines of this file are not shown. View the raw message.
arch/arm/dts/dra7-ipu-common-early-boot.dtsi +20 -20
Lines of this file are not shown. View the raw message.
arch/arm/dts/dra72-evm-revc-u-boot.dtsi +10 -10
Lines of this file are not shown. View the raw message.
arch/arm/dts/dragonboard410c-uboot.dtsi +6 -6
Lines of this file are not shown. View the raw message.
arch/arm/dts/dragonboard820c-uboot.dtsi +6 -6
Lines of this file are not shown. View the raw message.
arch/arm/dts/dragonboard845c-uboot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi +33 -33
66 lines not on this page · raw message
arch/arm/dts/fsl-imx8qm-mek-u-boot.dtsi +38 -38
76 lines not on this page · raw message
arch/arm/dts/fsl-imx8qxp-ai_ml-u-boot.dtsi +28 -28
56 lines not on this page · raw message
arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi +31 -31
62 lines not on this page · raw message
arch/arm/dts/fsl-imx8qxp-mek-u-boot.dtsi +38 -38
76 lines not on this page · raw message
arch/arm/dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi +9 -9
Lines of this file are not shown. View the raw message.
arch/arm/dts/hi3660-hikey960-u-boot.dtsi +1 -1
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx53-m53menlo-u-boot.dtsi +9 -9
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6dl-colibri-eval-v3-u-boot.dtsi +1 -1
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6dl-icore-mipi-u-boot.dtsi +1 -1
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6q-apalis-eval-u-boot.dtsi +1 -1
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6q-bosch-acc-u-boot.dtsi +16 -16
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6q-display5-u-boot.dtsi +3 -3
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6q-icore-mipi-u-boot.dtsi +1 -1
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6q-phytec-mira-rdk-nand-u-boot.dtsi +9 -9
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6qdl-aristainetos2-u-boot.dtsi +11 -11
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6qdl-aristainetos2c-u-boot.dtsi +11 -11
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6qdl-aristainetos2c_cslb-u-boot.dtsi +11 -11
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6qdl-hummingboard2-emmc-som-v15-u-boot.dtsi +10 -10
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6qdl-icore-rqs-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6qdl-sabreauto-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6qdl-sabresd-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6ul-14x14-evk-u-boot.dtsi +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6ul-isiot-emmc-u-boot.dtsi +1 -1
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6ul-opos6ul-u-boot.dtsi +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6ul-opos6uldev-u-boot.dtsi +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6ull-colibri-eval-v3-u-boot.dtsi +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6ull-mys-6ulx-u-boot.dtsi +7 -7
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6ull-seeed-npi-imx6ull-u-boot.dtsi +7 -7
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx6ulz-bsh-smm-m2-u-boot.dtsi +8 -8
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx7d-colibri-eval-v3-u-boot.dtsi +1 -1
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi +24 -24
48 lines not on this page · raw message
arch/arm/dts/imx8mm-cl-iot-gate-optee-u-boot.dtsi +21 -21
42 lines not on this page · raw message
arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dtsi +22 -22
44 lines not on this page · raw message
arch/arm/dts/imx8mm-data-modul-edm-sbc-u-boot.dtsi +22 -22
44 lines not on this page · raw message
arch/arm/dts/imx8mm-evk-u-boot.dtsi +30 -30
60 lines not on this page · raw message
arch/arm/dts/imx8mm-icore-mx8mm-ctouch2-u-boot.dtsi +6 -6
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mm-icore-mx8mm-edimm2.2-u-boot.dtsi +6 -6
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mm-icore-mx8mm-u-boot.dtsi +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mm-kontron-bl-common-u-boot.dtsi +30 -30
60 lines not on this page · raw message
arch/arm/dts/imx8mm-mx8menlo-u-boot.dtsi +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mm-venice-gw700x-u-boot.dtsi +3 -3
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mm-venice-gw7902-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mm-venice-gw7903-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mm-venice-gw7904-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mm-venice-u-boot.dtsi +17 -17
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mm-verdin-wifi-dev-u-boot.dtsi +20 -20
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mn-beacon-kit-u-boot.dtsi +16 -16
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mn-bsh-smm-s2-u-boot-common.dtsi +12 -12
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mn-bsh-smm-s2-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mn-bsh-smm-s2pro-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi +19 -19
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mn-var-som-symphony-u-boot.dtsi +16 -16
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mn-venice-gw7902-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mn-venice-u-boot.dtsi +15 -15
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mp-dhcom-u-boot.dtsi +27 -27
54 lines not on this page · raw message
arch/arm/dts/imx8mp-evk-u-boot.dtsi +27 -27
54 lines not on this page · raw message
arch/arm/dts/imx8mp-icore-mx8mp-edimm2.2-u-boot.dtsi +26 -26
52 lines not on this page · raw message
arch/arm/dts/imx8mp-msc-sm2s-u-boot.dtsi +13 -13
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi +18 -18
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mp-rsb3720-a1-u-boot.dtsi +28 -28
56 lines not on this page · raw message
arch/arm/dts/imx8mp-venice-gw74xx-u-boot.dtsi +14 -14
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mp-venice-u-boot.dtsi +17 -17
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mp-verdin-wifi-dev-u-boot.dtsi +28 -28
56 lines not on this page · raw message
arch/arm/dts/imx8mq-librem5-r4-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mq-phanbell-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/imx8qxp-capricorn-u-boot.dtsi +32 -32
64 lines not on this page · raw message
arch/arm/dts/imx93-11x11-evk-u-boot.dtsi +25 -25
50 lines not on this page · raw message
arch/arm/dts/imxrt1020-evk-u-boot.dtsi +20 -20
Lines of this file are not shown. View the raw message.
arch/arm/dts/imxrt1050-evk-u-boot.dtsi +20 -20
Lines of this file are not shown. View the raw message.
arch/arm/dts/imxrt1170-evk-u-boot.dtsi +22 -22
44 lines not on this page · raw message
arch/arm/dts/k3-am625-sk-u-boot.dtsi +30 -30
60 lines not on this page · raw message
arch/arm/dts/k3-am62a7-sk-u-boot.dtsi +31 -31
62 lines not on this page · raw message
arch/arm/dts/k3-am642-evm-u-boot.dtsi +22 -22
44 lines not on this page · raw message
arch/arm/dts/k3-am642-sk-u-boot.dtsi +36 -36
72 lines not on this page · raw message
arch/arm/dts/k3-am65-iot2050-common-u-boot.dtsi +22 -22
44 lines not on this page · raw message
arch/arm/dts/k3-am654-r5-base-board-u-boot.dtsi +34 -34
68 lines not on this page · raw message
arch/arm/dts/k3-am654-r5-base-board.dts +26 -26
52 lines not on this page · raw message
arch/arm/dts/k3-am68-sk-base-board-u-boot.dtsi +23 -23
46 lines not on this page · raw message
arch/arm/dts/k3-am68-sk-r5-base-board.dts +11 -11
Lines of this file are not shown. View the raw message.
arch/arm/dts/k3-j7200-common-proc-board-u-boot.dtsi +33 -33
66 lines not on this page · raw message
arch/arm/dts/k3-j7200-r5-common-proc-board.dts +19 -19
Lines of this file are not shown. View the raw message.
arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi +42 -42
84 lines not on this page · raw message
arch/arm/dts/k3-j721e-r5-common-proc-board-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/k3-j721e-r5-common-proc-board.dts +19 -19
Lines of this file are not shown. View the raw message.
arch/arm/dts/k3-j721e-r5-sk-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/k3-j721e-sk-u-boot.dtsi +35 -35
70 lines not on this page · raw message
arch/arm/dts/k3-j721s2-common-proc-board-u-boot.dtsi +24 -24
48 lines not on this page · raw message
arch/arm/dts/k3-j721s2-r5-common-proc-board.dts +11 -11
Lines of this file are not shown. View the raw message.
arch/arm/dts/keystone-k2e-evm-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/keystone-k2g-evm-u-boot.dtsi +3 -3
Lines of this file are not shown. View the raw message.
arch/arm/dts/keystone-k2g-generic-u-boot.dtsi +3 -3
Lines of this file are not shown. View the raw message.
arch/arm/dts/keystone-k2g-ice-u-boot.dtsi +3 -3
Lines of this file are not shown. View the raw message.
arch/arm/dts/keystone-k2hk-evm-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi +8 -8
Lines of this file are not shown. View the raw message.
arch/arm/dts/logicpd-som-lv-37xx-devkit-u-boot.dtsi +8 -8
Lines of this file are not shown. View the raw message.
arch/arm/dts/logicpd-torpedo-35xx-devkit-u-boot.dtsi +8 -8
Lines of this file are not shown. View the raw message.
arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi +7 -7
Lines of this file are not shown. View the raw message.
arch/arm/dts/meson-g12-common-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/mt7622-bananapi-bpi-r64.dts +1 -1
Lines of this file are not shown. View the raw message.
arch/arm/dts/phycore-imx8mm-u-boot.dtsi +15 -15
Lines of this file are not shown. View the raw message.
arch/arm/dts/px30-ringneck-haikou-u-boot.dtsi +15 -15
Lines of this file are not shown. View the raw message.
arch/arm/dts/r7s72100-gr-peach-u-boot.dts +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/r8a7791-koelsch-u-boot.dts +1 -1
Lines of this file are not shown. View the raw message.
arch/arm/dts/r8a7792-blanche-u-boot.dts +1 -1
Lines of this file are not shown. View the raw message.
arch/arm/dts/r8a77950-salvator-x-u-boot.dts +3 -3
Lines of this file are not shown. View the raw message.
arch/arm/dts/r8a77960-salvator-x-u-boot.dts +3 -3
Lines of this file are not shown. View the raw message.
arch/arm/dts/r8a77965-salvator-x-u-boot.dts +3 -3
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3188-radxarock-u-boot.dtsi +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3288-firefly-u-boot.dtsi +15 -15
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3288-phycore-rdk-u-boot.dtsi +7 -7
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3288-popmetal-u-boot.dtsi +10 -10
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3288-rock-pi-n8-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3288-rock2-square-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3288-tinker-s-u-boot.dtsi +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3288-tinker-u-boot.dtsi +16 -16
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3288-veyron-speedy-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3288-veyron-u-boot.dtsi +10 -10
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi +16 -16
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3328-nanopi-r2s-u-boot.dtsi +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3328-rock-pi-e-u-boot.dtsi +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3368-geekbox-u-boot.dtsi +7 -7
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3368-lion-haikou-u-boot.dtsi +14 -14
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3368-px5-evb-u-boot.dtsi +11 -11
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi +3 -3
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3399-pinephone-pro-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi +10 -10
Lines of this file are not shown. View the raw message.
arch/arm/dts/rk3399-rockpro64-u-boot.dtsi +1 -1
Lines of this file are not shown. View the raw message.
arch/arm/dts/sama5d2.dtsi +26 -26
52 lines not on this page · raw message
arch/arm/dts/sama5d3.dtsi +36 -36
72 lines not on this page · raw message
arch/arm/dts/sama5d4.dtsi +25 -25
50 lines not on this page · raw message
arch/arm/dts/socfpga-common-u-boot.dtsi +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_agilex-u-boot.dtsi +10 -10
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi +3 -3
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_arria10-handoff.dtsi +21 -21
42 lines not on this page · raw message
arch/arm/dts/socfpga_arria10-u-boot.dtsi +22 -22
44 lines not on this page · raw message
arch/arm/dts/socfpga_arria10_handoff_u-boot.dtsi +22 -22
44 lines not on this page · raw message
arch/arm/dts/socfpga_arria10_mercury_aa1-u-boot.dtsi +10 -10
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_arria10_socdk-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_arria10_socdk_sdmmc-u-boot.dtsi +7 -7
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_cyclone5_dbm_soc1.dts +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_cyclone5_de0_nano_soc-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_cyclone5_de10_nano.dts +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_cyclone5_de10_standard.dts +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_cyclone5_de1_soc.dts +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_cyclone5_mcvevk-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_cyclone5_socdk-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_cyclone5_sockit-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_cyclone5_socrates-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_cyclone5_sr1500.dts +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_cyclone5_vining_fpga-u-boot.dtsi +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_n5x_socdk-u-boot.dtsi +3 -3
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/socfpga_stratix10_socdk.dts +1 -1
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32429i-eval-u-boot.dtsi +27 -27
54 lines not on this page · raw message
arch/arm/dts/stm32746g-eval-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32f429-disco-u-boot.dtsi +26 -26
52 lines not on this page · raw message
arch/arm/dts/stm32f469-disco-u-boot.dtsi +27 -27
54 lines not on this page · raw message
arch/arm/dts/stm32f746-disco-u-boot.dtsi +6 -6
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32f769-disco-u-boot.dtsi +6 -6
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32h7-u-boot.dtsi +22 -22
44 lines not on this page · raw message
arch/arm/dts/stm32mp13-u-boot.dtsi +23 -23
46 lines not on this page · raw message
arch/arm/dts/stm32mp135f-dk-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp15-scmi-u-boot.dtsi +23 -23
46 lines not on this page · raw message
arch/arm/dts/stm32mp15-u-boot.dtsi +32 -32
64 lines not on this page · raw message
arch/arm/dts/stm32mp157a-dk1-scmi-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +17 -17
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp157a-icore-stm32mp1-ctouch2-u-boot.dtsi +8 -8
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp157a-icore-stm32mp1-edimm2.2-u-boot.dtsi +8 -8
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp157a-icore-stm32mp1-u-boot.dtsi +14 -14
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp157a-microgea-stm32mp1-microdev2.0-of7-u-boot.dtsi +8 -8
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp157a-microgea-stm32mp1-microdev2.0-u-boot.dtsi +8 -8
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp157a-microgea-stm32mp1-u-boot.dtsi +7 -7
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi +24 -24
48 lines not on this page · raw message
arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi +10 -10
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp157c-odyssey-som-u-boot.dtsi +13 -13
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp157c-odyssey-u-boot.dtsi +8 -8
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi +45 -45
90 lines not on this page · raw message
arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi +18 -18
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp15xx-dhcor-drc-compact-u-boot.dtsi +17 -17
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp15xx-dhcor-testbench-u-boot.dtsi +17 -17
Lines of this file are not shown. View the raw message.
arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi +28 -28
56 lines not on this page · raw message
arch/arm/dts/tegra124-nyan-big-u-boot.dtsi +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/vf610-colibri-eval-v3-u-boot.dtsi +6 -6
Lines of this file are not shown. View the raw message.
arch/powerpc/dts/gdsys/gazerbeam-uboot.dtsi +9 -9
Lines of this file are not shown. View the raw message.
arch/riscv/dts/fu540-c000-u-boot.dtsi +17 -17
Lines of this file are not shown. View the raw message.
arch/riscv/dts/fu740-c000-u-boot.dtsi +18 -18
Lines of this file are not shown. View the raw message.
arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi +7 -7
Lines of this file are not shown. View the raw message.
arch/riscv/dts/hifive-unmatched-a00-u-boot.dtsi +7 -7
Lines of this file are not shown. View the raw message.
arch/sandbox/dts/sandbox.dtsi +24 -24
48 lines not on this page · raw message
arch/x86/dts/baytrail_som-db5800-som-6867.dts +7 -7
Lines of this file are not shown. View the raw message.
arch/x86/dts/chromebook_coral.dts +37 -37
74 lines not on this page · raw message
arch/x86/dts/chromebook_link.dts +23 -23
46 lines not on this page · raw message
arch/x86/dts/chromebook_samus.dts +37 -37
74 lines not on this page · raw message
arch/x86/dts/conga-qeval20-qa3-e3845.dts +7 -7
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
Part of the diff is not shown here. View the raw message.
PATCH v3 3/8 dm: doc: Update device tree binding docs for new schema
In reply to Simon GlassNow that Linux has accepted these tags, move U-Boot over to use them.
---
(no changes since v1)
doc/device-tree-bindings/chosen.txt | 2 +- .../clock/rockchip,rk3368-dmc.txt | 2 +- .../clock/rockchip,rk3399-dmc.txt | 2 +- .../clock/st,stm32mp1.txt | 22 +++++++++---------- doc/device-tree-bindings/device.txt | 6 ++--- .../fsp/fsp2/apollolake/fsp-s.txt | 2 +- .../memory-controller/k3-j721e-ddrss.txt | 2 +- .../memory-controllers/k3-am654-ddrss.txt | 2 +- doc/device-tree-bindings/misc/fs_loader.txt | 8 +++---- doc/device-tree-bindings/net/mdio-mux-reg.txt | 2 +- doc/device-tree-bindings/pci/x86-pci.txt | 4 ++-- .../pinctrl/nexell,s5pxx18-pinctrl.txt | 2 +- .../ram/fsl,mpc83xx-mem-controller.txt | 2 +- .../video/atmel-hlcdc.txt | 2 +- 14 files changed, 30 insertions(+), 30 deletions(-)
doc/device-tree-bindings/chosen.txt +1 -1
@@ -129,7 +129,7 @@ Example }; fs_loader0: fs-loader@0 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "u-boot,fs-loader"; phandlepart = <&mmc 1>; };
doc/device-tree-bindings/clock/rockchip,rk3368-dmc.txt +1 -1
@@ -54,7 +54,7 @@ Example (for DDR3-1600K and 800MHz) #include <dt-bindings/memory/rk3368-dmc.h> dmc: dmc@ff610000 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "rockchip,rk3368-dmc"; reg = <0 0xff610000 0 0x400 0 0xff620000 0 0x400>;
doc/device-tree-bindings/clock/rockchip,rk3399-dmc.txt +1 -1
@@ -16,7 +16,7 @@ Required properties: Example: dmc: dmc { - u-boot,dm-pre-reloc; + bootph-all; compatible = "rockchip,rk3399-dmc"; devfreq-events = <&dfi>; interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH 0>;
doc/device-tree-bindings/clock/st,stm32mp1.txt +11 -11
@@ -251,9 +251,9 @@ Example of clock tree initialization / { clocks { - u-boot,dm-pre-reloc; + bootph-all; clk_hse: clk-hse { - u-boot,dm-pre-reloc; + bootph-all; #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <24000000>;
@@ -261,28 +261,28 @@ Example of clock tree initialization }; clk_hsi: clk-hsi { - u-boot,dm-pre-reloc; + bootph-all; #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <64000000>; }; clk_lse: clk-lse { - u-boot,dm-pre-reloc; + bootph-all; #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <32768>; }; clk_lsi: clk-lsi { - u-boot,dm-pre-reloc; + bootph-all; #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <32000>; }; clk_csi: clk-csi { - u-boot,dm-pre-reloc; + bootph-all; #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <4000000>;
@@ -292,7 +292,7 @@ Example of clock tree initialization soc { rcc: rcc@50000000 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "st,stm32mp1-rcc", "syscon"; reg = <0x50000000 0x1000>; #address-cells = <1>;
@@ -371,7 +371,7 @@ Example of clock tree initialization reg = <0>; cfg = < 2 80 0 0 0 PQR(1,0,0) >; frac = < 0x800 >; - u-boot,dm-pre-reloc; + bootph-all; }; /* VCO = 1066.0 MHz => P = 266 (AXI), Q = 533 (GPU),
@@ -381,7 +381,7 @@ Example of clock tree initialization reg = <1>; cfg = < 2 65 1 0 0 PQR(1,1,1) >; frac = < 0x1400 >; - u-boot,dm-pre-reloc; + bootph-all; }; /* VCO = 417.8 MHz => P = 209, Q = 24, R = 11 */
@@ -390,7 +390,7 @@ Example of clock tree initialization reg = <2>; cfg = < 1 33 1 16 36 PQR(1,1,1) >; frac = < 0x1a04 >; - u-boot,dm-pre-reloc; + bootph-all; }; /* VCO = 594.0 MHz => P = 99, Q = 74, R = 74 */
@@ -398,7 +398,7 @@ Example of clock tree initialization compatible = "st,stm32mp1-pll"; reg = <3>; cfg = < 3 98 5 7 7 PQR(1,1,1) >; - u-boot,dm-pre-reloc; + bootph-all; }; }; };
doc/device-tree-bindings/device.txt +3 -3
@@ -54,7 +54,7 @@ pcie-a0@14,0 { }; p2sb: p2sb@d,0 { - u-boot,dm-pre-reloc; + bootph-all; reg = <0x02006810 0 0 0 0>; compatible = "intel,apl-p2sb"; early-regs = <IOMAP_P2SB_BAR 0x100000>;
@@ -62,12 +62,12 @@ p2sb: p2sb@d,0 { n { compatible = "intel,apl-pinctrl"; - u-boot,dm-pre-reloc; + bootph-all; intel,p2sb-port-id = <PID_GPIO_N>; acpi,path = "\\_SB.GPO0"; gpio_n: gpio-n { compatible = "intel,gpio"; - u-boot,dm-pre-reloc; + bootph-all; gpio-controller; #gpio-cells = <2>; linux-name = "INT3452:00";
doc/device-tree-bindings/fsp/fsp2/apollolake/fsp-s.txt +1 -1
@@ -474,7 +474,7 @@ Optional properties: Example: &fsp_s { - u-boot,dm-pre-proper; + bootph-some-ram; fsps,ish-enable = <0>; fsps,enable-sata = <0>;
doc/device-tree-bindings/memory-controller/k3-j721e-ddrss.txt +1 -1
@@ -57,7 +57,7 @@ memorycontroller: memorycontroller@0298e000 { ti,ddr-freq2 = <DDRSS_PLL_FREQUENCY_2>; ti,ddr-fhs-cnt = <DDRSS_PLL_FHS_CNT>; - u-boot,dm-spl; + bootph-pre-ram; ti,ctl-data = < DDRSS_CTL_00_DATA
doc/device-tree-bindings/memory-controllers/k3-am654-ddrss.txt +1 -1
@@ -42,5 +42,5 @@ Example (AM65x): reg-names = "ss", "ctl", "phy"; clocks = <&k3_clks 20 0>; power-domains = <&k3_pds 20>; - u-boot,dm-spl; + bootph-pre-ram; };
doc/device-tree-bindings/misc/fs_loader.txt +4 -4
@@ -20,28 +20,28 @@ ubi in device tree source as shown in below: sata and ubi as shown in below: Example for mmc: fs_loader0: fs-loader@0 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "u-boot,fs-loader"; phandlepart = <&mmc_0 1>; }; Example for usb: fs_loader1: fs-loader@1 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "u-boot,fs-loader"; phandlepart = <&usb0 1>; }; Example for sata: fs_loader2: fs-loader@2 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "u-boot,fs-loader"; phandlepart = <&sata0 1>; }; Example for ubi: fs_loader3: fs-loader@3 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "u-boot,fs-loader"; mtdpart = "UBI", ubivol = "ubi0";
doc/device-tree-bindings/net/mdio-mux-reg.txt +1 -1
@@ -16,7 +16,7 @@ Example structure, used on Freescale LS1028A QDS board: &i2c0 { status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; fpga@66 { #address-cells = <1>;
doc/device-tree-bindings/pci/x86-pci.txt +2 -2
@@ -31,7 +31,7 @@ pci { compatible = "pci-x86"; #address-cells = <3>; #size-cells = <2>; - u-boot,dm-pre-reloc; + bootph-all; ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0 0x10000000 0x42000000 0x0 0xb0000000 0xb0000000 0 0x10000000 0x01000000 0x0 0x1000 0x1000 0 0xefff>;
@@ -41,7 +41,7 @@ pci { serial: serial@18,2 { reg = <0x0200c210 0 0 0 0>; - u-boot,dm-pre-reloc; + bootph-all; compatible = "intel,apl-ns16550"; early-regs = <0xde000000 0x20>; reg-shift = <2>;
doc/device-tree-bindings/pinctrl/nexell,s5pxx18-pinctrl.txt +1 -1
@@ -20,7 +20,7 @@ Example: pinctrl_0: pinctrl@c0010000 { compatible = "nexell,s5pxx18-pinctrl"; reg = <0xc0010000 0xf000>; - u-boot,dm-pre-reloc; + bootph-all; }; Nexell's pin configuration nodes act as a container for an arbitrary number of
doc/device-tree-bindings/ram/fsl,mpc83xx-mem-controller.txt +1 -1
@@ -249,7 +249,7 @@ memory@2000 { compatible = "fsl,mpc83xx-mem-controller"; reg = <0x2000 0x1000>; device_type = "memory"; - u-boot,dm-pre-reloc; + bootph-all; driver_software_override = <DSO_ENABLE>; p_impedance_override = <DSO_P_IMPEDANCE_NOMINAL>;
doc/device-tree-bindings/video/atmel-hlcdc.txt +1 -1
@@ -15,7 +15,7 @@ Required properties: Example: hlcdc: hlcdc@f0000000 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "atmel,sama5d2-hlcdc"; reg = <0xf0000000 0x2000>; clocks = <&lcdc_clk>;
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
PATCH v3 4/8 dm: doc: Update documentation for new driver model schema
In reply to Simon GlassNow that Linux has accepted these tags, move U-Boot over to use them. Tidy up the comments and formatting, making sure that VPL is mentioned too.
---
(no changes since v1)
doc/README.TPL | 4 +-- doc/develop/driver-model/design.rst | 15 +++++------ .../driver-model/fs_firmware_loader.rst | 4 +-- doc/develop/driver-model/of-plat.rst | 25 ++++++++++--------- doc/develop/driver-model/pci-info.rst | 10 ++++---- doc/develop/driver-model/serial-howto.rst | 24 +++++++++--------- doc/develop/spl.rst | 5 ++-- 7 files changed, 45 insertions(+), 42 deletions(-)
doc/README.TPL +2 -2
@@ -35,8 +35,8 @@ is set. Source files can be compiled for TPL with options chosen in the board config file. TPL use a small device tree (u-boot-tpl.dtb), containing only the nodes with -the pre-relocation properties: 'u-boot,dm-pre-reloc' and 'u-boot,dm-tpl' -(see README.SPL for details). +the pre-relocation properties: 'bootph-all' and 'bootph-pre-sram' +(see doc/develop/spl.rst for details). For example:
doc/develop/driver-model/design.rst +8 -7
@@ -1114,12 +1114,12 @@ Pre-Relocation Support ---------------------- For pre-relocation we simply call the driver model init function. Only -drivers marked with DM_FLAG_PRE_RELOC or the device tree 'u-boot,dm-pre-reloc' +drivers marked with DM_FLAG_PRE_RELOC or the device tree 'bootph-all' property are initialised prior to relocation. This helps to reduce the driver model overhead. This flag applies to SPL and TPL as well, if device tree is enabled (CONFIG_OF_CONTROL) there. -Note when device tree is enabled, the device tree 'u-boot,dm-pre-reloc' +Note when device tree is enabled, the device tree 'bootph-all' property can provide better control granularity on which device is bound before relocation. While with DM_FLAG_PRE_RELOC flag of the driver all devices with the same driver are bound, which requires allocation a large
@@ -1128,14 +1128,15 @@ only way for statically declared devices via U_BOOT_DRVINFO() to be bound prior to relocation. It is possible to limit this to specific relocation steps, by using -the more specialized 'u-boot,dm-spl' and 'u-boot,dm-tpl' flags -in the device tree node. For U-Boot proper you can use 'u-boot,dm-pre-proper' +the more specialized 'bootph-pre-ram' and 'bootph-pre-sram' flags +in the device tree node. For U-Boot proper you can use 'bootph-some-ram' which means that it will be processed (and a driver bound) in U-Boot proper prior to relocation, but will not be available in SPL or TPL. -To reduce the size of SPL and TPL, only the nodes with pre-relocation properties -('u-boot,dm-pre-reloc', 'u-boot,dm-spl' or 'u-boot,dm-tpl') are keept in their -device trees (see README.SPL for details); the remaining nodes are always bound. +To reduce the size of SPL and TPL, only the nodes with pre-relocation +properties ('bootph-all', 'bootph-pre-ram' or 'bootph-pre-sram') are kept in +their device trees (see README.SPL for details); the remaining nodes are +always bound. Then post relocation we throw that away and re-init driver model again. For drivers which require some sort of continuity between pre- and
doc/develop/driver-model/fs_firmware_loader.rst +2 -2
@@ -28,7 +28,7 @@ defined in fs-loader node as shown in below: Example for block device:: fs_loader0: fs-loader { - u-boot,dm-pre-reloc; + bootph-all; compatible = "u-boot,fs-loader"; phandlepart = <&mmc 1>; };
@@ -41,7 +41,7 @@ device, it can be described in FDT as shown in below: Example for ubi:: fs_loader1: fs-loader { - u-boot,dm-pre-reloc; + bootph-all; compatible = "u-boot,fs-loader"; mtdpart = "UBI", ubivol = "ubi0";
doc/develop/driver-model/of-plat.rst +13 -12
@@ -67,7 +67,7 @@ device. As an example, consider this MMC node: pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_cd>, <&sdmmc_bus4>; vmmc-supply = <&vcc_sd>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; };
@@ -632,7 +632,7 @@ the devicetree. For example, if the devicetree has:: grf: grf@20008000 { compatible = "rockchip,rk3188-grf", "syscon"; reg = <0x20008000 0x200>; - u-boot,dm-spl; + bootph-pre-ram; }; then dtoc looks at the first compatible string ("rockchip,rk3188-grf"),
@@ -685,21 +685,22 @@ indicates that the two nodes have different phase settings. Looking at the source .dts:: i2c_emul: emul { - u-boot,dm-spl; + bootph-pre-ram; reg = <0xff>; compatible = "sandbox,i2c-emul-parent"; emul0: emul0 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,i2c-rtc-emul"; #emul-cells = <0>; }; }; -you can see that the child node 'emul0' usees 'u-boot,dm-pre-reloc', indicating -that the node is present in all SPL builds, but its parent uses 'u-boot,dm-spl' -indicating it is only present in SPL, not TPL. For a TPL build, this will fail -with the above message. The fix is to change 'emul0' to use the same -'u-boot,dm-spl' condition, so that it is not present in TPL, like its parent. +you can see that the child node 'emul0' usees 'bootph-all', indicating +that the node is present in all SPL builds, but its parent uses +'bootph-pre-ram' indicating it is only present in SPL, not TPL. For a TPL +build, this will fail with the above message. The fix is to change 'emul0' to +use the same 'bootph-pre-ram' condition, so that it is not present in TPL, +like its parent. Link errors / undefined reference ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -715,16 +716,16 @@ you get a link error, e.g.:: The first one indicates that the device cannot find its driver. This means that there is a driver 'sandbox_spl_test' but it is not compiled into the build. Check your Kconfig settings to make sure it is. If you don't want that in the -build, adjust your phase settings, e.g. by using 'u-boot,dm-spl' in the node +build, adjust your phase settings, e.g. by using 'bootph-pre-ram' in the node to exclude it from the TPL build:: spl-test5 { - u-boot,dm-tpl; + bootph-pre-sram; compatible = "sandbox,spl-test"; stringarray = "tpl"; }; -We can drop the 'u-boot,dm-tpl' line so this node won't appear in the TPL +We can drop the 'bootph-pre-sram' line so this node won't appear in the TPL devicetree and thus the driver won't be needed. The second error above indicates that the MISC uclass is needed by the driver
doc/develop/driver-model/pci-info.rst +5 -5
@@ -52,7 +52,7 @@ their drivers accordingly. A working example like below:: #address-cells = <3>; #size-cells = <2>; compatible = "pci-x86"; - u-boot,dm-pre-reloc; + bootph-all; ranges = <0x02000000 0x0 0x40000000 0x40000000 0 0x80000000 0x42000000 0x0 0xc0000000 0xc0000000 0 0x20000000 0x01000000 0x0 0x2000 0x2000 0 0xe000>;
@@ -61,14 +61,14 @@ their drivers accordingly. A working example like below:: #address-cells = <3>; #size-cells = <2>; compatible = "pci-bridge"; - u-boot,dm-pre-reloc; + bootph-all; reg = <0x0000b800 0x0 0x0 0x0 0x0>; topcliff@0,0 { #address-cells = <3>; #size-cells = <2>; compatible = "pci-bridge"; - u-boot,dm-pre-reloc; + bootph-all; reg = <0x00010000 0x0 0x0 0x0 0x0>; pciuart0: uart@a,1 {
@@ -77,7 +77,7 @@ their drivers accordingly. A working example like below:: "pciclass,070002", "pciclass,0700", "x86-uart"; - u-boot,dm-pre-reloc; + bootph-all; reg = <0x00025100 0x0 0x0 0x0 0x0 0x01025110 0x0 0x0 0x0 0x0>; ......
@@ -98,7 +98,7 @@ bus hierarchy: on the root PCI bus, there is a PCIe root port which connects to a downstream device Topcliff chipset. Inside Topcliff chipset, it has a PCIe-to-PCI bridge and all the chipset integrated devices like the PCI UART device are on the PCI bus. Like other devices in the device tree, if we want -to bind PCI devices before relocation, "u-boot,dm-pre-reloc" must be declared +to bind PCI devices before relocation, "bootph-all" must be declared in each of these nodes. If PCI devices are not listed in the device tree, U_BOOT_PCI_DEVICE can be used
doc/develop/driver-model/serial-howto.rst +12 -12
@@ -62,7 +62,7 @@ what you need. U-Boot automatically includes these files: see :ref:`dttweaks`. Here are some things you might need to consider: 1. The serial driver itself needs to be present before relocation, so that the - U-Boot banner appears. Make sure it has a u-boot,dm-pre-reloc tag in the device + U-Boot banner appears. Make sure it has a bootph-all tag in the device tree, so that the serial driver is bound when U-Boot starts. For example, on iMX8::
@@ -75,11 +75,11 @@ Here are some things you might need to consider: put this in your xxx-u-boot.dtsi file:: &lpuart3 { - u-boot,dm-pre-proper; + bootph-some-ram; }; 2. If your serial port requires a particular pinmux configuration, you may need - a pinctrl driver. This needs to have a u-boot,dm-pre-reloc tag also. Take care + a pinctrl driver. This needs to have a bootph-all tag also. Take care that any subnodes have the same tag, if they are needed to make the correct pinctrl available.
@@ -107,15 +107,15 @@ Here are some things you might need to consider: parents, so put this in your xxx-u-boot.dtsi file:: &pinctrl { - u-boot,dm-pre-reloc; + bootph-all; }; &uart2 { - u-boot,dm-pre-reloc; + bootph-all; }; &uart2_xfer { - u-boot,dm-pre-reloc; + bootph-all; }; 3. The same applies to power domains. For example, if a particular power domain
@@ -125,11 +125,11 @@ Here are some things you might need to consider: For example, on iMX8, put this in your xxx-u-boot.dtsi file:: &pd_dma { - u-boot,dm-pre-proper; + bootph-some-ram; }; &pd_dma_lpuart3 { - u-boot,dm-pre-proper; + bootph-some-ram; }; 4. The same applies to clocks, in the same way. Make sure that when your driver
@@ -168,10 +168,10 @@ some customisation. Serial in SPL ------------- -A similar process is needed in SPL, but in this case the u-boot,dm-spl or -u-boot,dm-tpl tags are used. Add these in the same way as above, to ensure that -the SPL device tree contains the required nodes (see spl/u-boot-spl.dtb for -what it actually contains). +A similar process is needed in SPL, but in this case the bootph-pre-ram or +bootph-pre-sram tags are used. Add these in the same way as above, to ensure +that the SPL device tree contains the required nodes (see spl/u-boot-spl.dtb +for what it actually contains). Removing old code -----------------
doc/develop/spl.rst +3 -2
@@ -113,13 +113,14 @@ with: - the mandatory nodes (/alias, /chosen, /config) - the nodes with one pre-relocation property: - 'u-boot,dm-pre-reloc' or 'u-boot,dm-spl' + 'bootph-all' or 'bootph-pre-ram' fdtgrep is also used to remove: - the properties defined in CONFIG_OF_SPL_REMOVE_PROPS - all the pre-relocation properties - ('u-boot,dm-pre-reloc', 'u-boot,dm-spl' and 'u-boot,dm-tpl') + ('bootph-all', 'bootph-pre-ram' (SPL), 'bootph-pre-sram' (TPL) and + 'bootph-verify' (TPL)) All the nodes remaining in the SPL devicetree are bound (see doc/driver-model/design.rst).
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
Re: [PATCH v3 4/8] dm: doc: Update documentation for new driver model schema
Am 1. Februar 2023 23:54:24 MEZ schrieb Simon Glass <[email protected]>:
Quoted 5 lines
Now that Linux has accepted these tags, move U-Boot over to use them. Tidy up the comments and formatting, making sure that VPL is mentioned too.
Signed-off-by Simon Glass <[email protected]>
Should all these documents be converted to yaml (in future) so that we can test devicetrees against schemas like the kernel does?
Best regards
Heinrich
Quoted 306 lines
---
(no changes since v1)
doc/README.TPL | 4 +-- doc/develop/driver-model/design.rst | 15 +++++------ .../driver-model/fs_firmware_loader.rst | 4 +-- doc/develop/driver-model/of-plat.rst | 25 ++++++++++--------- doc/develop/driver-model/pci-info.rst | 10 ++++---- doc/develop/driver-model/serial-howto.rst | 24 +++++++++--------- doc/develop/spl.rst | 5 ++-- 7 files changed, 45 insertions(+), 42 deletions(-)doc/README.TPL +0
-0@@ -35,8 +35,8 @@ is set. Source files can be compiled for TPL with options chosen in theboard config file.
TPL use a small device tree (u-boot-tpl.dtb), containing only the nodes with
doc/README.TPL +2
-2-the pre-relocation properties: 'u-boot,dm-pre-reloc' and 'u-boot,dm-tpl' -(see README.SPL for details). +the pre-relocation properties: 'bootph-all' and 'bootph-pre-sram' +(see doc/develop/spl.rst for details).For example:
doc/develop/driver-model/design.rst +0
-1@@ -1114,12 +1114,12 @@ Pre-Relocation Support ----------------------For pre-relocation we simply call the driver model init function. Only
doc/develop/driver-model/design.rst +1
-1-drivers marked with DM_FLAG_PRE_RELOC or the device tree 'u-boot,dm-pre-reloc' +drivers marked with DM_FLAG_PRE_RELOC or the device tree 'bootph-all'property are initialised prior to relocation. This helps to reduce the driver model overhead. This flag applies to SPL and TPL as well, if device tree is enabled (
CONFIG_OF_CONTROL) there.doc/develop/driver-model/design.rst +1
-1-Note when device tree is enabled, the device tree 'u-boot,dm-pre-reloc' +Note when device tree is enabled, the device tree 'bootph-all'property can provide better control granularity on which device is bound before relocation. While with
DM_FLAG_PRE_RELOCflag of the driver all devices with the same driver are bound, which requires allocation a largedoc/develop/driver-model/design.rst +0
-0@@ -1128,14 +1128,15 @@ only way for statically declared devices via U_BOOT_DRVINFO() to be boundprior to relocation.
It is possible to limit this to specific relocation steps, by using
doc/develop/driver-model/design.rst +2
-2-the more specialized 'u-boot,dm-spl' and 'u-boot,dm-tpl' flags -in the device tree node. For U-Boot proper you can use 'u-boot,dm-pre-proper' +the more specialized 'bootph-pre-ram' and 'bootph-pre-sram' flags +in the device tree node. For U-Boot proper you can use 'bootph-some-ram'which means that it will be processed (and a driver bound) in U-Boot proper prior to relocation, but will not be available in SPL or TPL.
doc/develop/driver-model/design.rst +4
-3-To reduce the size of SPL and TPL, only the nodes with pre-relocation properties -('u-boot,dm-pre-reloc', 'u-boot,dm-spl' or 'u-boot,dm-tpl') are keept in their -device trees (see README.SPL for details); the remaining nodes are always bound. +To reduce the size of SPL and TPL, only the nodes with pre-relocation +properties ('bootph-all', 'bootph-pre-ram' or 'bootph-pre-sram') are kept in +their device trees (see README.SPL for details); the remaining nodes are +always bound.Then post relocation we throw that away and re-init driver model again. For drivers which require some sort of continuity between pre- and
doc/develop/driver-model/fs_firmware_loader.rst +0
-0@@ -28,7 +28,7 @@ defined in fs-loader node as shown in below:Example for block device::
fs_loader0: fs-loader {doc/develop/driver-model/fs_firmware_loader.rst +1
-1- u-boot,dm-pre-reloc; + bootph-all;compatible = "u-boot,fs-loader"; phandlepart = <&mmc 1>; };doc/develop/driver-model/fs_firmware_loader.rst +0
-0@@ -41,7 +41,7 @@ device, it can be described in FDT as shown in below:Example for ubi::
fs_loader1: fs-loader {doc/develop/driver-model/fs_firmware_loader.rst +1
-1- u-boot,dm-pre-reloc; + bootph-all;compatible = "u-boot,fs-loader"; mtdpart = "UBI", ubivol = "ubi0";doc/develop/driver-model/of-plat.rst +2
-2@@ -67,7 +67,7 @@ device. As an example, consider this MMC node: pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_cd>, <&sdmmc_bus4>; vmmc-supply = <&vcc_sd>; status = "okay"; - u-boot,dm-pre-reloc; + bootph-all; };@@ -632,7 +632,7 @@ the devicetree. For example, if the devicetree has:: grf: grf@20008000 { compatible = "rockchip,rk3188-grf", "syscon"; reg = <0x20008000 0x200>; - u-boot,dm-spl; + bootph-pre-ram; }; then dtoc looks at the first compatible string ("rockchip,rk3188-grf"),@@ -685,21 +685,22 @@ indicates that the two nodes have different phase settings. Looking at thesource .dts::
i2c_emul: emul {doc/develop/driver-model/of-plat.rst +8
-7- u-boot,dm-spl; + bootph-pre-ram; reg = <0xff>; compatible = "sandbox,i2c-emul-parent"; emul0: emul0 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,i2c-rtc-emul"; #emul-cells = <0>; }; }; -you can see that the child node 'emul0' usees 'u-boot,dm-pre-reloc', indicating -that the node is present in all SPL builds, but its parent uses 'u-boot,dm-spl' -indicating it is only present in SPL, not TPL. For a TPL build, this will fail -with the above message. The fix is to change 'emul0' to use the same -'u-boot,dm-spl' condition, so that it is not present in TPL, like its parent. +you can see that the child node 'emul0' usees 'bootph-all', indicating +that the node is present in all SPL builds, but its parent uses +'bootph-pre-ram' indicating it is only present in SPL, not TPL. For a TPL +build, this will fail with the above message. The fix is to change 'emul0' to +use the same 'bootph-pre-ram' condition, so that it is not present in TPL, +like its parent.Link errors / undefined reference
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~doc/develop/driver-model/of-plat.rst +0
-0@@ -715,16 +716,16 @@ you get a link error, e.g.::The first one indicates that the device cannot find its driver. This means that there is a driver '
sandbox_spl_test' but it is not compiled into the build. Check yourKconfigsettings to make sure it is. If you don't want that in thedoc/develop/driver-model/of-plat.rst +1
-1-build, adjust your phase settings, e.g. by using 'u-boot,dm-spl' in the node +build, adjust your phase settings, e.g. by using 'bootph-pre-ram' in the nodeto exclude it from the TPL build::
spl-test5 {doc/develop/driver-model/of-plat.rst +1
-1- u-boot,dm-tpl; + bootph-pre-sram;compatible = "sandbox,spl-test"; stringarray = "tpl"; };doc/develop/driver-model/of-plat.rst +1
-1-We can drop the 'u-boot,dm-tpl' line so this node won't appear in the TPL +We can drop the 'bootph-pre-sram' line so this node won't appear in the TPLdevicetree and thus the driver won't be needed.
The second error above indicates that the MISC uclass is needed by the driver
doc/develop/driver-model/pci-info.rst +4
-4@@ -52,7 +52,7 @@ their drivers accordingly. A working example like below:: #address-cells = <3>; #size-cells = <2>; compatible = "pci-x86"; - u-boot,dm-pre-reloc; + bootph-all; ranges = <0x02000000 0x0 0x40000000 0x40000000 0 0x80000000 0x42000000 0x0 0xc0000000 0xc0000000 0 0x20000000 0x01000000 0x0 0x2000 0x2000 0 0xe000>;@@ -61,14 +61,14 @@ their drivers accordingly. A working example like below:: #address-cells = <3>; #size-cells = <2>; compatible = "pci-bridge"; - u-boot,dm-pre-reloc; + bootph-all; reg = <0x0000b800 0x0 0x0 0x0 0x0>; topcliff@0,0 { #address-cells = <3>; #size-cells = <2>; compatible = "pci-bridge"; - u-boot,dm-pre-reloc; + bootph-all; reg = <0x00010000 0x0 0x0 0x0 0x0>; pciuart0: uart@a,1 {@@ -77,7 +77,7 @@ their drivers accordingly. A working example like below:: "pciclass,070002", "pciclass,0700", "x86-uart"; - u-boot,dm-pre-reloc; + bootph-all; reg = <0x00025100 0x0 0x0 0x0 0x0 0x01025110 0x0 0x0 0x0 0x0>;@@ -98,7 +98,7 @@ bus hierarchy: on the root PCI bus, there is a PCIe root port which connectsto a downstream device Topcliff chipset. Inside Topcliff chipset, it has a PCIe-to-PCI bridge and all the chipset integrated devices like the PCI UART device are on the PCI bus. Like other devices in the device tree, if we want
doc/develop/driver-model/pci-info.rst +1
-1-to bind PCI devices before relocation, "u-boot,dm-pre-reloc" must be declared +to bind PCI devices before relocation, "bootph-all" must be declaredin each of these nodes.
If PCI devices are not listed in the device tree,
U_BOOT_PCI_DEVICEcan be useddoc/develop/driver-model/serial-howto.rst +0
-0@@ -62,7 +62,7 @@ what you need. U-Boot automatically includes these files: see :ref:`dttweaks`.Here are some things you might need to consider:
1. The serial driver itself needs to be present before relocation, so that the
doc/develop/driver-model/serial-howto.rst +2
-2- U-Boot banner appears. Make sure it has a u-boot,dm-pre-reloc tag in the device + U-Boot banner appears. Make sure it has a bootph-all tag in the device tree, so that the serial driver is bound when U-Boot starts. For example, on iMX8::@@ -75,11 +75,11 @@ Here are some things you might need to consider: put this in your xxx-u-boot.dtsi file:: &lpuart3 { - u-boot,dm-pre-proper; + bootph-some-ram; };2. If your serial port requires a particular pinmux configuration, you may need
doc/develop/driver-model/serial-howto.rst +4
-4- a pinctrl driver. This needs to have a u-boot,dm-pre-reloc tag also. Take care + a pinctrl driver. This needs to have a bootph-all tag also. Take care that any subnodes have the same tag, if they are needed to make the correct pinctrl available.@@ -107,15 +107,15 @@ Here are some things you might need to consider: parents, so put this in your xxx-u-boot.dtsi file:: &pinctrl { - u-boot,dm-pre-reloc; + bootph-all; }; &uart2 { - u-boot,dm-pre-reloc; + bootph-all; }; &uart2_xfer { - u-boot,dm-pre-reloc; + bootph-all; };3. The same applies to power domains. For example, if a particular power domain
doc/develop/driver-model/serial-howto.rst +2
-2@@ -125,11 +125,11 @@ Here are some things you might need to consider: For example, on iMX8, put this in your xxx-u-boot.dtsi file:: &pd_dma { - u-boot,dm-pre-proper; + bootph-some-ram; }; &pd_dma_lpuart3 { - u-boot,dm-pre-proper; + bootph-some-ram; };4. The same applies to clocks, in the same way. Make sure that when your driver
doc/develop/driver-model/serial-howto.rst +0
-0@@ -168,10 +168,10 @@ some customisation.Serial in SPL
-------------doc/develop/driver-model/serial-howto.rst +4
-4-A similar process is needed in SPL, but in this case the u-boot,dm-spl or -u-boot,dm-tpl tags are used. Add these in the same way as above, to ensure that -the SPL device tree contains the required nodes (see spl/u-boot-spl.dtb for -what it actually contains). +A similar process is needed in SPL, but in this case the bootph-pre-ram or +bootph-pre-sram tags are used. Add these in the same way as above, to ensure +that the SPL device tree contains the required nodes (see spl/u-boot-spl.dtb +for what it actually contains).Removing old code
-----------------doc/develop/spl.rst +1
-3@@ -113,13 +113,14 @@ with: - the mandatory nodes (/alias, /chosen, /config) - the nodes with one pre-relocation property: - 'u-boot,dm-pre-reloc' or 'u-boot,dm-spl' + 'bootph-all' or 'bootph-pre-ram'fdtgrep is also used to remove:
- the properties defined in
CONFIG_OF_SPL_REMOVE_PROPS
- all the pre-relocation propertiesdoc/develop/spl.rst +2
-1- ('u-boot,dm-pre-reloc', 'u-boot,dm-spl' and 'u-boot,dm-tpl') + ('bootph-all', 'bootph-pre-ram' (SPL), 'bootph-pre-sram' (TPL) and + 'bootph-verify' (TPL))All the nodes remaining in the SPL devicetree are bound (see
doc/driver-model/design.rst).
Re: [PATCH v3 4/8] dm: doc: Update documentation for new driver model schema
Hi Heinrich,
Quoted 12 lines · Heinrich Schuchardt
Am 1. Februar 2023 23:54:24 MEZ schrieb Simon Glass <[email protected]>:
Quoted 5 lines
Now that Linux has accepted these tags, move U-Boot over to use them. Tidy up the comments and formatting, making sure that VPL is mentioned too.
Signed-off-by Simon Glass <[email protected]>Should all these documents be converted to yaml (in future) so that we can test devicetrees against schemas like the kernel does?
Yes. I expect that we can replace the ones in U-Boot with newer yaml ones from Linux at some point.
I've love to see a schema check, even if it fails for now.
Regards,
Simon
PATCH v3 5/8 dm: doc: Move to new driver model schema
In reply to Simon GlassNow that Linux has accepted these tags, update the dtoc tool to use them.
---
(no changes since v1)
tools/dtoc/dtb_platdata.py | 10 +++++----- tools/dtoc/test/dtoc_test_add_prop.dts | 4 ++-- tools/dtoc/test/dtoc_test_addr32.dts | 4 ++-- tools/dtoc/test/dtoc_test_addr32_64.dts | 6 +++--- tools/dtoc/test/dtoc_test_addr64.dts | 6 +++--- tools/dtoc/test/dtoc_test_addr64_32.dts | 6 +++--- tools/dtoc/test/dtoc_test_alias_bad.dts | 6 +++--- tools/dtoc/test/dtoc_test_alias_bad_path.dts | 6 +++--- tools/dtoc/test/dtoc_test_alias_bad_uc.dts | 6 +++--- tools/dtoc/test/dtoc_test_aliases.dts | 4 ++-- tools/dtoc/test/dtoc_test_driver_alias.dts | 2 +- tools/dtoc/test/dtoc_test_inst.dts | 6 +++--- tools/dtoc/test/dtoc_test_invalid_driver.dts | 2 +- tools/dtoc/test/dtoc_test_noparent.dts | 6 +++--- tools/dtoc/test/dtoc_test_noprops.dts | 2 +- tools/dtoc/test/dtoc_test_phandle.dts | 10 +++++----- tools/dtoc/test/dtoc_test_phandle_bad.dts | 2 +- tools/dtoc/test/dtoc_test_phandle_bad2.dts | 4 ++-- tools/dtoc/test/dtoc_test_phandle_cd_gpios.dts | 10 +++++----- tools/dtoc/test/dtoc_test_phandle_reorder.dts | 4 ++-- tools/dtoc/test/dtoc_test_phandle_single.dts | 4 ++-- tools/dtoc/test/dtoc_test_simple.dts | 10 +++++----- tools/dtoc/test/dtoc_test_single_reg.dts | 4 ++-- tools/dtoc/test_fdt.py | 2 +- 24 files changed, 63 insertions(+), 63 deletions(-)
tools/dtoc/dtb_platdata.py +5 -5
@@ -35,9 +35,9 @@ PROP_IGNORE_LIST = [ 'linux,phandle', "status", 'phandle', - 'u-boot,dm-pre-reloc', - 'u-boot,dm-tpl', - 'u-boot,dm-spl', + 'bootph-all', + 'bootph-pre-sram', + 'bootph-pre-ram', ] # C type declarations for the types we support
@@ -442,7 +442,7 @@ class DtbPlatdata(): """ parent = node.parent if parent and not parent.props: - raise ValueError("Parent node '%s' has no properties - do you need u-boot,dm-spl or similar?" % + raise ValueError("Parent node '%s' has no properties - do you need bootph-pre-ram or similar?" % parent.path) num_addr, num_size = 2, 2 if parent:
@@ -754,7 +754,7 @@ class DtbPlatdata(): # This might indicate that the parent node is not in the # SPL/TPL devicetree but the child is. For example if we are # dealing with of-platdata in TPL, the parent has a - # u-boot,dm-tpl tag but the child has u-boot,dm-pre-reloc. In + # bootph-pre-sram tag but the child has bootph-all. In # this case the child node exists in TPL but the parent does # not. raise ValueError("Node '%s' requires parent node '%s' but it is not in the valid list" %
tools/dtoc/test/dtoc_test_add_prop.dts +2 -2
@@ -11,13 +11,13 @@ #address-cells = <1>; #size-cells = <1>; spl-test { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,spl-test"; intval = <1>; }; spl-test2 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,spl-test"; intarray = <5>; };
tools/dtoc/test/dtoc_test_addr32.dts +2 -2
@@ -12,13 +12,13 @@ #size-cells = <1>; test1 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "test1"; reg = <0x1234 0x5678>; }; test2 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "test2"; reg = <0x12345678 0x98765432 2 3>; };
tools/dtoc/test/dtoc_test_addr32_64.dts +3 -3
@@ -12,19 +12,19 @@ #size-cells = <2>; test1 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "test1"; reg = <0x1234 0x5678 0x0>; }; test2 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "test2"; reg = <0x12345678 0x98765432 0x10987654>; }; test3 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "test3"; reg = <0x12345678 0x98765432 0x10987654 2 0 3>; };
tools/dtoc/test/dtoc_test_addr64.dts +3 -3
@@ -12,19 +12,19 @@ #size-cells = <2>; test1 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "test1"; reg = /bits/ 64 <0x1234 0x5678>; }; test2 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "test2"; reg = /bits/ 64 <0x1234567890123456 0x9876543210987654>; }; test3 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "test3"; reg = /bits/ 64 <0x1234567890123456 0x9876543210987654 2 3>; };
tools/dtoc/test/dtoc_test_addr64_32.dts +3 -3
@@ -12,19 +12,19 @@ #size-cells = <1>; test1 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "test1"; reg = <0x1234 0x0 0x5678>; }; test2 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "test2"; reg = <0x12345678 0x90123456 0x98765432>; }; test3 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "test3"; reg = <0x12345678 0x90123456 0x98765432 0 2 3>; };
tools/dtoc/test/dtoc_test_alias_bad.dts +3 -3
@@ -18,20 +18,20 @@ }; spl-test { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,spl-test"; boolval; intval = <1>; }; i2c: i2c { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,i2c"; intval = <3>; }; spl-test3 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,spl-test"; stringarray = "one"; longbytearray = [09 0a 0b 0c 0d 0e 0f 10];
tools/dtoc/test/dtoc_test_alias_bad_path.dts +3 -3
@@ -18,20 +18,20 @@ }; spl-test { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,spl-test"; boolval; intval = <1>; }; i2c: i2c { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,i2c"; intval = <3>; }; spl-test3 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,spl-test"; stringarray = "one"; longbytearray = [09 0a 0b 0c 0d 0e 0f 10];
tools/dtoc/test/dtoc_test_alias_bad_uc.dts +3 -3
@@ -18,20 +18,20 @@ }; spl-test { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,spl-test"; boolval; intval = <1>; }; i2c: i2c { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,i2c"; intval = <3>; }; spl-test3 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,spl-test"; stringarray = "one"; longbytearray = [09 0a 0b 0c 0d 0e 0f 10];
tools/dtoc/test/dtoc_test_aliases.dts +2 -2
@@ -9,13 +9,13 @@ / { spl-test { - u-boot,dm-pre-reloc; + bootph-all; compatible = "compat1", "compat2.1-fred", "compat3"; intval = <1>; }; spl-test2 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "compat1", "simple_bus"; intval = <1>; };
tools/dtoc/test/dtoc_test_driver_alias.dts +1 -1
@@ -9,7 +9,7 @@ / { gpio_a: gpios@0 { - u-boot,dm-pre-reloc; + bootph-all; gpio-controller; compatible = "sandbox_gpio_alias"; #gpio-cells = <1>;
tools/dtoc/test/dtoc_test_inst.dts +3 -3
@@ -18,20 +18,20 @@ }; spl-test { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,spl-test"; boolval; intval = <1>; }; i2c: i2c { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,i2c"; intval = <3>; }; spl-test3 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,spl-test"; stringarray = "one"; longbytearray = [09 0a 0b 0c 0d 0e 0f 10];
tools/dtoc/test/dtoc_test_invalid_driver.dts +1 -1
@@ -9,7 +9,7 @@ / { spl-test { - u-boot,dm-pre-reloc; + bootph-all; compatible = "invalid"; }; };
tools/dtoc/test/dtoc_test_noparent.dts +3 -3
@@ -12,18 +12,18 @@ #size-cells = <1>; i2c@0 { compatible = "sandbox,i2c"; - u-boot,dm-tpl; + bootph-pre-sram; #address-cells = <1>; #size-cells = <0>; spl-test { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,spl-test"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; pmic@9 { compatible = "sandbox,pmic"; - u-boot,dm-pre-reloc; + bootph-all; reg = <9>; low-power; };
tools/dtoc/test/dtoc_test_noprops.dts +1 -1
@@ -13,7 +13,7 @@ i2c@0 { pmic@9 { compatible = "sandbox,pmic"; - u-boot,dm-pre-reloc; + bootph-all; reg = <9>; low-power; };
tools/dtoc/test/dtoc_test_phandle.dts +5 -5
@@ -9,34 +9,34 @@ / { phandle: phandle-target { - u-boot,dm-pre-reloc; + bootph-all; compatible = "target"; intval = <0>; #clock-cells = <0>; }; phandle_1: phandle2-target { - u-boot,dm-pre-reloc; + bootph-all; compatible = "target"; intval = <1>; #clock-cells = <1>; }; phandle_2: phandle3-target { - u-boot,dm-pre-reloc; + bootph-all; compatible = "target"; intval = <2>; #clock-cells = <2>; }; phandle-source { - u-boot,dm-pre-reloc; + bootph-all; compatible = "source"; clocks = <&phandle &phandle_1 11 &phandle_2 12 13 &phandle>; phandle-name-offset = <&phandle_2>, "fred", <123>; }; phandle-source2 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "source"; clocks = <&phandle>; };
tools/dtoc/test/dtoc_test_phandle_bad.dts +1 -1
@@ -9,7 +9,7 @@ / { phandle-source { - u-boot,dm-pre-reloc; + bootph-all; compatible = "source"; clocks = <20>; /* Invalid phandle */ };
tools/dtoc/test/dtoc_test_phandle_bad2.dts +2 -2
@@ -9,13 +9,13 @@ / { phandle: phandle-target { - u-boot,dm-pre-reloc; + bootph-all; compatible = "target"; intval = <0>; }; phandle-source2 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "source"; clocks = <&phandle>; };
tools/dtoc/test/dtoc_test_phandle_cd_gpios.dts +5 -5
@@ -9,33 +9,33 @@ / { phandle: phandle-target { - u-boot,dm-pre-reloc; + bootph-all; compatible = "target"; intval = <0>; #gpio-cells = <0>; }; phandle_1: phandle2-target { - u-boot,dm-pre-reloc; + bootph-all; compatible = "target"; intval = <1>; #gpio-cells = <1>; }; phandle_2: phandle3-target { - u-boot,dm-pre-reloc; + bootph-all; compatible = "target"; intval = <2>; #gpio-cells = <2>; }; phandle-source { - u-boot,dm-pre-reloc; + bootph-all; compatible = "source"; cd-gpios = <&phandle &phandle_1 11 &phandle_2 12 13 &phandle>; }; phandle-source2 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "source"; cd-gpios = <&phandle>; };
tools/dtoc/test/dtoc_test_phandle_reorder.dts +2 -2
@@ -10,13 +10,13 @@ / { phandle-source2 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "source"; clocks = <&phandle>; }; phandle: phandle-target { - u-boot,dm-pre-reloc; + bootph-all; compatible = "target"; #clock-cells = <0>; };
tools/dtoc/test/dtoc_test_phandle_single.dts +2 -2
@@ -9,14 +9,14 @@ / { phandle: phandle-target { - u-boot,dm-pre-reloc; + bootph-all; compatible = "target"; intval = <0>; #clock-cells = <0>; }; phandle-source2 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "source"; clocks = <&phandle>; };
tools/dtoc/test/dtoc_test_simple.dts +5 -5
@@ -11,7 +11,7 @@ #address-cells = <1>; #size-cells = <1>; spl-test { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,spl-test"; boolval; maybe-empty-int = <>;
@@ -27,7 +27,7 @@ }; spl-test2 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,spl-test"; intval = <3>; intarray = <5>;
@@ -40,7 +40,7 @@ }; spl-test3 { - u-boot,dm-pre-reloc; + bootph-all; compatible = "sandbox,spl-test"; stringarray = "one"; longbytearray = [09 0a 0b 0c 0d 0e 0f 10];
@@ -49,12 +49,12 @@ i2c@0 { compatible = "sandbox,i2c"; - u-boot,dm-pre-reloc; + bootph-all; #address-cells = <1>; #size-cells = <0>; pmic@9 { compatible = "sandbox,pmic"; - u-boot,dm-pre-reloc; + bootph-all; reg = <9>; low-power; };
tools/dtoc/test/dtoc_test_single_reg.dts +2 -2
@@ -13,12 +13,12 @@ i2c@0 { compatible = "sandbox,i2c"; - u-boot,dm-pre-reloc; + bootph-all; #address-cells = <1>; #size-cells = <0>; pmic@9 { compatible = "sandbox,pmic"; - u-boot,dm-pre-reloc; + bootph-all; reg = <9>; low-power;
tools/dtoc/test_fdt.py +1 -1
@@ -135,7 +135,7 @@ class TestFdt(unittest.TestCase): self.assertEqual(['boolval', 'bytearray', 'byteval', 'compatible', 'int64val', 'intarray', 'intval', 'longbytearray', 'maybe-empty-int', 'notstring', 'stringarray', - 'stringval', 'u-boot,dm-pre-reloc'], + 'stringval', 'bootph-all'], sorted(props.keys())) def test_check_error(self):
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
PATCH v3 6/8 dm: treewide: Complete migration to new driver model schema
In reply to Simon GlassUpdate various build and test components to use the new schema.
---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)
drivers/core/ofnode.c +5 -5
@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))return true;return false;
drivers/video/video-uclass.c +2 -2
@@ -529,8 +529,8 @@ static int video_post_bind(struct udevice *dev) addr = uc_priv->video_ptr; size =alloc_fb (dev, &addr);if (addr < gd->video_bottom) { -/* Device tree node may need the 'u-boot,dm-pre-reloc' or -* 'u-boot,dm-pre-proper' tag +/* Device tree node may need the 'bootph-all' or +* 'bootph-some-ram' tag */ printf ("Video device '%s' cannot allocate frame buffer memory -ensure the device is set up before relocation\n" , dev->name);
dts/Kconfig +1 -1
@@ -352,7 +352,7 @@ config OF_SPL_REMOVE_PROPS help Since SPL normally runs in a reduced memory space, the device tree is cut down to only what is needed to load and start U-Boot. Only - nodes marked with the property "u-boot,dm-pre-reloc" will be + nodes marked with the property "bootph-all" will be included. In addition, some properties are not used by U-Boot and can be discarded. This option defines the list of properties to discard.
include/dm/device.h +1 -1
@@ -1070,7 +1070,7 @@ static inline bool device_is_on_pci_bus(const struct udevice *dev)* sub-nodes and binds drivers for each node where a driver can be found. * * If this is called prior to relocation, only pre-relocation devices will be -* bound (those marked with u-boot,dm-pre-reloc in the device tree, or where +* bound (those marked with bootph-all in the device tree, or where * the driver has the DM_FLAG_PRE_RELOC flag set). Otherwise, all devices will * be bound. *
include/dm/ofnode.h +5 -5
@@ -1176,12 +1176,12 @@ int ofnode_read_simple_size_cells(ofnode node);* determine if a node was bound in one of SPL/TPL stages. * * There are 4 settings currently in use -* - u-boot,dm-pre-proper: U-Boot proper pre-relocation only -* - u-boot,dm-pre-reloc: legacy and indicates any of TPL or SPL +* - bootph-some-ram: U-Boot proper pre-relocation only +* - bootph-all: all phases * Existing platforms only use it to indicate nodes needed in -* SPL. Should probably be replaced by u-boot,dm-spl for new platforms. -* - u-boot,dm-spl: SPL and U-Boot pre-relocation -* - u-boot,dm-tpl: TPL and U-Boot pre-relocation +* SPL. Should probably be replaced by bootph-pre-ram for new platforms. +* - bootph-pre-ram: SPL and U-Boot pre-relocation +* - bootph-pre-sram: TPL and U-Boot pre-relocation * * @node: node to check * Return: true if node is needed in SPL/TL, false otherwise
scripts/Makefile.lib +6 -6
@@ -585,24 +585,24 @@ cmd_mkimage = $(objtree)/tools/mkimage $(MKIMAGEFLAGS_$(@F)) -d $< $@ \ # --------------------------------------------------------------------------- # Pass the original device tree file through fdtgrep twice. The first pass # removes any unwanted nodes (i.e. those which don't have the -# 'u-boot,dm-pre-reloc' property and thus are not needed by SPL. The second +# 'bootph-all' property and thus are not needed by SPL. The second # pass removes various unused properties from the remaining nodes. # The output is typically a much smaller device tree file. ifeq ($(CONFIG_VPL_BUILD),y) -fdtgrep_props := -b u-boot,dm-pre-reloc -b u-boot,dm-vpl +fdtgrep_props := -b bootph-all -b bootph-verify else ifeq ($(CONFIG_TPL_BUILD),y) -fdtgrep_props := -b u-boot,dm-pre-reloc -b u-boot,dm-tpl +fdtgrep_props := -b bootph-all -b bootph-pre-sram else -fdtgrep_props := -b u-boot,dm-pre-reloc -b u-boot,dm-spl +fdtgrep_props := -b bootph-all -b bootph-pre-ram endif endif quiet_cmd_fdtgrep = FDTGREP $@ cmd_fdtgrep = $(objtree)/tools/fdtgrep $(fdtgrep_props) -RT $< \ -n /chosen -n /config -O dtb | \ $(objtree)/tools/fdtgrep -r -O dtb - -o $@ \ - -P u-boot,dm-pre-reloc -P u-boot,dm-spl -P u-boot,dm-tpl \ - -P u-boot,dm-vpl \ + -P bootph-all -P bootph-pre-ram -P bootph-pre-sram \ + -P bootph-verify \ $(addprefix -P ,$(subst $\",,$(CONFIG_OF_SPL_REMOVE_PROPS))) # fdt_rm_props
test/dm/test-fdt.c +1 -1
@@ -214,7 +214,7 @@ static int dm_test_fdt_pre_reloc(struct unit_test_state *uts)/* * These are 2 pre-reloc devices: -* one with "u-boot,dm-pre-reloc" property (a-test node), and the other +* one with "bootph-all" property (a-test node), and the other * one whose driver marked with DM_FLAG_PRE_RELOC flag (h-test node). */ ut_asserteq (2 ,list_count_items (&uc->dev_head));
test/py/tests/test_ofplatdata.py +4 -4
@@ -13,10 +13,10 @@ def test_spl_devicetree(u_boot_console): fdtgrep = cons.config.build_dir + '/tools/fdtgrep' output = util.run_and_log(cons, [fdtgrep, '-l', dtb]) - assert "u-boot,dm-pre-reloc" not in output - assert "u-boot,dm-pre-proper" not in output - assert "u-boot,dm-spl" not in output - assert "u-boot,dm-tpl" not in output + assert "bootph-all" not in output + assert "bootph-some-ram" not in output + assert "bootph-pre-ram" not in output + assert "bootph-pre-sram" not in output assert "spl-test5" not in output assert "spl-test6" not in output
tools/binman/binman.rst +1 -2
@@ -1122,8 +1122,7 @@ It is sometimes inconvenient to add a 'binman' node to the .dts file for each board. This can be done by using #include to bring in a common file. Another approach supported by the U-Boot build system is to automatically include a common header. You can then put the binman node (and anything else that is -specific to U-Boot, such as u-boot,dm-pre-reloc properies) in that header -file. +specific to U-Boot, such as bootph-all properies) in that header file. Binman will search for the following files in arch/<arch>/dts::
tools/dtoc/test_fdt.py +4 -4
@@ -132,10 +132,10 @@ class TestFdt(unittest.TestCase): """Tests obtaining a list of properties""" node = self.dtb.GetNode('/spl-test') props = self.dtb.GetProps(node) - self.assertEqual(['boolval', 'bytearray', 'byteval', 'compatible', - 'int64val', 'intarray', 'intval', 'longbytearray', - 'maybe-empty-int', 'notstring', 'stringarray', - 'stringval', 'bootph-all'], + self.assertEqual(['boolval', 'bootph-all', 'bytearray', 'byteval', + 'compatible', 'int64val', 'intarray', 'intval', + 'longbytearray', 'maybe-empty-int', 'notstring', + 'stringarray', 'stringval', ], sorted(props.keys())) def test_check_error(self):
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
Michal Simek
maintainerRe: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
Hi Simon,
Quoted 39 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +3
-3@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1284
Quoted 10 lines
drivers/core/ofnode.c +2
-2/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))return true;
Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console. I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.
Thanks,
Michal
Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
Quoted 50 lines · Michal Simek
Hi Simon,
Quoted 47 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +5
-5@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))
Quoted 8 lines
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1283
Quoted 1 line
drivers/core/ofnode.c +0
-0return true;Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console.
I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.
What's the migration case here we're missing? Is it platforms that maintain a dts externally, via tooling / etc, that populate those nodes?
Signature · 1 line
Tom
Michal Simek
maintainerRe: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
Quoted 60 lines · Tom Rini
Quoted 50 lines · Michal Simek
Hi Simon,
Quoted 47 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +5
-5@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))Quoted 8 lines
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1283
Quoted 1 line
drivers/core/ofnode.c +0
-0return true;Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console.
I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.
Quoted 2 lines
What's the migration case here we're missing? Is it platforms that maintain a dts externally, via tooling / etc, that populate those nodes?
Yes and I expect there will be a lot of DTs around with some changes for specific products.
Also for example QEMU is also generating DT based on it's configuration and provide it to U-Boot.
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/arm/xlnx-versal-virt.c#L91
When this patch is applied CI loop should fail for Versal.
Thanks,
Michal
Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
+Peter Maydell
Hi,
Quoted 67 lines · Michal Simek
Quoted 60 lines · Tom Rini
Quoted 50 lines · Michal Simek
Hi Simon,
Quoted 47 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +5
-5@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))Quoted 8 lines
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1283
Quoted 1 line
drivers/core/ofnode.c +0
-0return true;Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console.
I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.Quoted 2 lines
What's the migration case here we're missing? Is it platforms that maintain a dts externally, via tooling / etc, that populate those nodes?
Quoted 7 lines
Yes and I expect there will be a lot of DTs around with some changes for specific products.
Also for example QEMU is also generating DT based on it's configuration and provide it to U-Boot.
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/arm/xlnx-versal-virt.c#L91
When this patch is applied CI loop should fail for Versal.
I am not sure how it helps us to drag this out. It is a breaking change, but a drawn-out process is just going to create a lot of confusion. People should be free to use the schema in Linux .dts files from now on, but if it is not immediately supported in U-Boot then they cannot. This is the most important point, after all.
For QEMU, where to start... I already sent a patch to fix this problem[1]. I spent considerable effort and time developing it and trying to explain the need for it and why it is wrong for QEMU to assume it knows what needs to be sent to U-Boot. The QEMU maintainer took no real interest in it, just suggesting a workaround or an impractical solution in U-Boot. There was even support from saomLinaro, to no avail. I hate to be proved right, but QEMU seems to have taken a middle path...not accepting the patch but instead accepting the now 'old' U-Boot tags. So I will reiterate that QEMU should accept that patch as it will solve a lot of problems, providing an 'escape route' for people to fix problems without recompiling QEMU. Failing that, time will heal.
Regards,
SImon
[1] https://patchwork.kernel.org/project/qemu-devel/patch/[email protected]/#24474809
Michal Simek
maintainerRe: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
Hi,
Quoted 80 lines · Simon Glass
+Peter Maydell
Hi,
Quoted 67 lines · Michal Simek
Quoted 60 lines · Tom Rini
Quoted 50 lines · Michal Simek
Hi Simon,
Quoted 47 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +5
-5@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))Quoted 8 lines
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1283
Quoted 1 line
drivers/core/ofnode.c +0
-0return true;Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console.
I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.Quoted 2 lines
What's the migration case here we're missing? Is it platforms that maintain a dts externally, via tooling / etc, that populate those nodes?
Quoted 7 lines
Yes and I expect there will be a lot of DTs around with some changes for specific products.
Also for example QEMU is also generating DT based on it's configuration and provide it to U-Boot.
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/arm/xlnx-versal-virt.c#L91
When this patch is applied CI loop should fail for Versal.
Quoted 5 lines
I am not sure how it helps us to drag this out. It is a breaking change, but a drawn-out process is just going to create a lot of confusion. People should be free to use the schema in Linux .dts files from now on, but if it is not immediately supported in U-Boot then they cannot. This is the most important point, after all.
Definitely having this sort it out is good way to go and I remember we talked about it in past but none had really time to sort it out till now.
New tags are in dt-schema and they can be spread everywhere (In spite of I think that property in options is cleaner solution - and could be still added in future).
I just want to say that big cut after a lot of year by one series is not the best thing to do. I won't have any issue with it because simply I will add both u-boot,dm* and bootph* properties to all DTs which are out of mainline and for some time will maintain it but for customers who are having DTB somewhere out of mainline they will get to state that their newer u-boot stops to work without any single line saying that property name has changed. Smart one will start bisecting and will find this commit and they will know what to do with it.
Qemu: We use -device loader,addr for quite a long time internally and to fix issue for Versal we just need to save current dtb as was described in qemu thread with -M dumpdtb=out.dtb and save it to uboot-test-hooks to continue to work in CI.
Not sure if any other target in CI is affected by this change.
Thanks,
Michal
Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
Hi Michal,
Quoted 84 lines · Michal Simek
Hi,
Quoted 80 lines · Simon Glass
+Peter Maydell
Hi,
Quoted 74 lines · Michal Simek
Quoted 60 lines · Tom Rini
Quoted 50 lines · Michal Simek
Hi Simon,
Quoted 47 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +5
-5@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))Quoted 8 lines
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1283
Quoted 1 line
drivers/core/ofnode.c +0
-0return true;Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console.
I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.Quoted 2 lines
What's the migration case here we're missing? Is it platforms that maintain a dts externally, via tooling / etc, that populate those nodes?
Yes and I expect there will be a lot of DTs around with some changes for specific products.
Also for example QEMU is also generating DT based on it's configuration and provide it to U-Boot.
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/arm/xlnx-versal-virt.c#L91
When this patch is applied CI loop should fail for Versal.
Quoted 8 lines
Quoted 5 lines
I am not sure how it helps us to drag this out. It is a breaking change, but a drawn-out process is just going to create a lot of confusion. People should be free to use the schema in Linux .dts files from now on, but if it is not immediately supported in U-Boot then they cannot. This is the most important point, after all.
Definitely having this sort it out is good way to go and I remember we talked about it in past but none had really time to sort it out till now.
The problem was that we've never been able to get U-Boot schema things into Linux. That changed with the /options one and so I thought it would be worth trying with this. It is a big step forward and provides confidence that firmware-specific challenges can be dealt with, even if they are utterly unrelated to the challenges faced by Linux.
Quoted 2 lines
New tags are in dt-schema and they can be spread everywhere (In spite of I think that property in options is cleaner solution - and could be still added in future).
I did mention that in the schema patch[1] (if I understand what you are referring to). But yes, it could still be added. There are challenges to be solved but there were challenges to be solved in the existing mechanism (and still are).
Quoted 7 lines
I just want to say that big cut after a lot of year by one series is not the best thing to do. I won't have any issue with it because simply I will add both u-boot,dm* and bootph* properties to all DTs which are out of mainline and for some time will maintain it but for customers who are having DTB somewhere out of mainline they will get to state that their newer u-boot stops to work without any single line saying that property name has changed. Smart one will start bisecting and will find this commit and they will know what to do with it.
OK...but how is it better to wait? We effectively just prolong the agony, don't we? What is the actual benefit, since there still needs to be a cut-over? I really want to get this unfortunate episode behind us as soon as possible.
We could announce it on the Linux mailing list and in LWN, perhaps?
What are you proposing instead?
Quoted 5 lines
Qemu: We use -device loader,addr for quite a long time internally and to fix issue for Versal we just need to save current dtb as was described in qemu thread with -M dumpdtb=out.dtb and save it to uboot-test-hooks to continue to work in CI.
Yes. In my view this shows a shameful lack of cooperation on the part of the QEMU project. We need to work together to solve problems, understanding the different challenges each project faces. I really hope that there is a change of heart and the patch can be applied, or some other way found to deal with this properly.
Quoted 2 lines
Not sure if any other target in CI is affected by this change.
There are no failures in the U-Boot one, if that is what you mean? [2]
Regards,
SImon
[1] https://www.spinics.net/lists/devicetree/msg537485.html
[2] https://source.denx.de/u-boot/custodians/u-boot-dm/-/commit/13164245682be736f4ad91ee76e73bb276b1e549
Michal Simek
maintainerRe: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
Hi Simon,
Quoted 93 lines · Simon Glass
Hi Michal,
Quoted 90 lines · Michal Simek
Hi,
Quoted 85 lines · Simon Glass
+Peter Maydell
Hi,
Quoted 67 lines · Michal Simek
Quoted 60 lines · Tom Rini
Quoted 50 lines · Michal Simek
Hi Simon,
Quoted 47 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +5
-5@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))Quoted 8 lines
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1283
Quoted 1 line
drivers/core/ofnode.c +0
-0return true;Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console.
I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.Quoted 2 lines
What's the migration case here we're missing? Is it platforms that maintain a dts externally, via tooling / etc, that populate those nodes?
Quoted 7 lines
Yes and I expect there will be a lot of DTs around with some changes for specific products.
Also for example QEMU is also generating DT based on it's configuration and provide it to U-Boot.
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/arm/xlnx-versal-virt.c#L91
When this patch is applied CI loop should fail for Versal.I am not sure how it helps us to drag this out. It is a breaking change, but a drawn-out process is just going to create a lot of confusion. People should be free to use the schema in Linux .dts files from now on, but if it is not immediately supported in U-Boot then they cannot. This is the most important point, after all.
Quoted 8 lines
Quoted 2 lines
Definitely having this sort it out is good way to go and I remember we talked about it in past but none had really time to sort it out till now.
The problem was that we've never been able to get U-Boot schema things into Linux. That changed with the /options one and so I thought it would be worth trying with this. It is a big step forward and provides confidence that firmware-specific challenges can be dealt with, even if they are utterly unrelated to the challenges faced by Linux.
It is kind of interesting to me that they accepted this flag not to be the part of options node as u-boot related configuration. But it is unrelated to this thread.
Quoted 7 lines
Quoted 2 lines
New tags are in dt-schema and they can be spread everywhere (In spite of I think that property in options is cleaner solution - and could be still added in future).
I did mention that in the schema patch[1] (if I understand what you are referring to). But yes, it could still be added. There are challenges to be solved but there were challenges to be solved in the existing mechanism (and still are).
good to hear and yes it was related to your dtschema patch description.
Quoted 8 lines
Quoted 7 lines
I just want to say that big cut after a lot of year by one series is not the best thing to do. I won't have any issue with it because simply I will add both u-boot,dm* and bootph* properties to all DTs which are out of mainline and for some time will maintain it but for customers who are having DTB somewhere out of mainline they will get to state that their newer u-boot stops to work without any single line saying that property name has changed. Smart one will start bisecting and will find this commit and they will know what to do with it.
Quoted 8 lines
OK...but how is it better to wait? We effectively just prolong the agony, don't we? What is the actual benefit, since there still needs to be a cut-over? I really want to get this unfortunate episode behind us as soon as possible.
We could announce it on the Linux mailing list and in LWN, perhaps?
What are you proposing instead?
I understand your position. It is around for 8 years that's why adding warning message in log for 2 releases IMHO shouldn't really hurt us.
And the way what I am proposing is simply like this
drivers/core/ofnode.c +10 -0
@@ -1283,6 +1283,16 @@ bool ofnode_pre_reloc(ofnode node) ofnode_read_bool(node, "bootph-pre-sram"))return true; +/* convert to bootph-* property */ +if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" ) || +ofnode_read_bool (node,"u-boot,dm-pre-proper" ) || +ofnode_read_bool (node,"u-boot,dm-spl" ) || +ofnode_read_bool (node,"u-boot,dm-tpl" )) { +printf ("ERROR: Remove deprecated u-boot,dm-* property: %s\n" , +ofnode_get_name (node)); +return true; + } +return false;#endif }
this should ensure that when debug is enabled it will show problematic nodes which should be fixed.
Quoted 13 lines
Quoted 5 lines
Qemu: We use -device loader,addr for quite a long time internally and to fix issue for Versal we just need to save current dtb as was described in qemu thread with -M dumpdtb=out.dtb and save it to uboot-test-hooks to continue to work in CI.
Yes. In my view this shows a shameful lack of cooperation on the part of the QEMU project. We need to work together to solve problems, understanding the different challenges each project faces. I really hope that there is a change of heart and the patch can be applied, or some other way found to deal with this properly.
Quoted 1 line
Quoted 3 lines
Quoted 1 line
Not sure if any other target in CI is affected by this change.
There are no failures in the U-Boot one, if that is what you mean? [2]
There is a change in u-boot behavior but doesn't affect functionality. This can simply suggest that we shouldn't really have that flags for Versal at all. Will try to look at it.
Thanks,
Michal
Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
In reply to Simon GlassQuoted 3 lines · Simon Glass
For QEMU, where to start... I already sent a patch to fix this problem[1].
If you want to propose changes to QEMU or to revive discussions about old patchsets because the circumstances have changed, please do that on the qemu-devel mailing list, not by cc'ing me into u-boot mailing list discussions. That's where the QEMU developers are...
thanks
-- PMM
Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
Hi Peter,
Quoted 11 lines · Peter Maydell
Quoted 3 lines · Simon Glass
For QEMU, where to start... I already sent a patch to fix this problem[1].
If you want to propose changes to QEMU or to revive discussions about old patchsets because the circumstances have changed, please do that on the qemu-devel mailing list, not by cc'ing me into u-boot mailing list discussions. That's where the QEMU developers are...
No circumstances have changed. I will ping the thread.
Regards,
Simon
Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
In reply to Simon GlassOn Mon, Feb 06, 2023 at 10:12:27AM -0700, Simon Glass wrote:
[snip]
Quoted 76 lines · Michal Simek
Quoted 67 lines · Tom Rini
Quoted 60 lines · Michal Simek
Quoted 50 lines
Hi Simon,
Quoted 47 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +5
-5@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))Quoted 8 lines
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1283
Quoted 1 line
drivers/core/ofnode.c +0
-0return true;Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console.
I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.Quoted 2 lines
What's the migration case here we're missing? Is it platforms that maintain a dts externally, via tooling / etc, that populate those nodes?
Quoted 7 lines
Yes and I expect there will be a lot of DTs around with some changes for specific products.
Also for example QEMU is also generating DT based on it's configuration and provide it to U-Boot.
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/arm/xlnx-versal-virt.c#L91
When this patch is applied CI loop should fail for Versal.
Quoted 5 lines
I am not sure how it helps us to drag this out. It is a breaking change, but a drawn-out process is just going to create a lot of confusion. People should be free to use the schema in Linux .dts files from now on, but if it is not immediately supported in U-Boot then they cannot. This is the most important point, after all.
Now that we've had some of the external migration issues laid out, what would it look like to have some sort of backwards compatible hook here to fixup an older tree we've been passed?
Signature · 1 line
Tom
Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
Hi Tom,
Quoted 85 lines · Tom Rini
On Mon, Feb 06, 2023 at 10:12:27AM -0700, Simon Glass wrote:
[snip]Quoted 76 lines · Michal Simek
Quoted 67 lines · Tom Rini
Quoted 60 lines · Michal Simek
Quoted 50 lines
Hi Simon,
Quoted 47 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +5
-5@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))Quoted 8 lines
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1283
Quoted 1 line
drivers/core/ofnode.c +0
-0return true;Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console.
I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.Quoted 2 lines
What's the migration case here we're missing? Is it platforms that maintain a dts externally, via tooling / etc, that populate those nodes?
Quoted 7 lines
Yes and I expect there will be a lot of DTs around with some changes for specific products.
Also for example QEMU is also generating DT based on it's configuration and provide it to U-Boot.
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/arm/xlnx-versal-virt.c#L91
When this patch is applied CI loop should fail for Versal.Quoted 5 lines
I am not sure how it helps us to drag this out. It is a breaking change, but a drawn-out process is just going to create a lot of confusion. People should be free to use the schema in Linux .dts files from now on, but if it is not immediately supported in U-Boot then they cannot. This is the most important point, after all.
Quoted 3 lines
Now that we've had some of the external migration issues laid out, what would it look like to have some sort of backwards compatible hook here to fixup an older tree we've been passed?
We can't do it for SPL, since the processing happens at built time, but for U-Boot proper we can do something like what Michal suggests, although perhaps with a warning rather than an error. Likely the warning would have to be displayed later (if/when U-Boot starts up) since the console may be one of the problem nodes.
Regards,
Simon
Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
Quoted 92 lines · Simon Glass
Hi Tom,
Quoted 85 lines · Tom Rini
On Mon, Feb 06, 2023 at 10:12:27AM -0700, Simon Glass wrote:
[snip]Quoted 76 lines · Michal Simek
Quoted 67 lines · Tom Rini
Quoted 60 lines · Michal Simek
Quoted 50 lines
Hi Simon,
Quoted 47 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +5
-5@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))Quoted 8 lines
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1283
Quoted 1 line
drivers/core/ofnode.c +0
-0return true;Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console.
I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.Quoted 2 lines
What's the migration case here we're missing? Is it platforms that maintain a dts externally, via tooling / etc, that populate those nodes?
Quoted 7 lines
Yes and I expect there will be a lot of DTs around with some changes for specific products.
Also for example QEMU is also generating DT based on it's configuration and provide it to U-Boot.
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/arm/xlnx-versal-virt.c#L91
When this patch is applied CI loop should fail for Versal.Quoted 5 lines
I am not sure how it helps us to drag this out. It is a breaking change, but a drawn-out process is just going to create a lot of confusion. People should be free to use the schema in Linux .dts files from now on, but if it is not immediately supported in U-Boot then they cannot. This is the most important point, after all.
Quoted 3 lines
Now that we've had some of the external migration issues laid out, what would it look like to have some sort of backwards compatible hook here to fixup an older tree we've been passed?
Quoted 5 lines
We can't do it for SPL, since the processing happens at built time, but for U-Boot proper we can do something like what Michal suggests, although perhaps with a warning rather than an error. Likely the warning would have to be displayed later (if/when U-Boot starts up) since the console may be one of the problem nodes.
Right, if it's a build time thing, we should be able to ... something. Maybe a detect and rename for now, detect and fail in a bit. But run-time, we can detect, fixup and warn later on? That seems like it might be reasonable.
Signature · 1 line
Tom
Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
Hi Tom,
Quoted 94 lines · Tom Rini
Quoted 92 lines · Simon Glass
Hi Tom,
Quoted 88 lines · Tom Rini
On Mon, Feb 06, 2023 at 10:12:27AM -0700, Simon Glass wrote:
[snip]Quoted 76 lines · Michal Simek
Quoted 67 lines · Tom Rini
Quoted 60 lines · Michal Simek
Quoted 50 lines
Hi Simon,
Quoted 47 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +5
-5@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))Quoted 8 lines
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1283
Quoted 1 line
drivers/core/ofnode.c +0
-0return true;Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console.
I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.Quoted 2 lines
What's the migration case here we're missing? Is it platforms that maintain a dts externally, via tooling / etc, that populate those nodes?
Quoted 7 lines
Yes and I expect there will be a lot of DTs around with some changes for specific products.
Also for example QEMU is also generating DT based on it's configuration and provide it to U-Boot.
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/arm/xlnx-versal-virt.c#L91
When this patch is applied CI loop should fail for Versal.Quoted 5 lines
I am not sure how it helps us to drag this out. It is a breaking change, but a drawn-out process is just going to create a lot of confusion. People should be free to use the schema in Linux .dts files from now on, but if it is not immediately supported in U-Boot then they cannot. This is the most important point, after all.
Now that we've had some of the external migration issues laid out, what would it look like to have some sort of backwards compatible hook here to fixup an older tree we've been passed?
Quoted 8 lines
Quoted 5 lines
We can't do it for SPL, since the processing happens at built time, but for U-Boot proper we can do something like what Michal suggests, although perhaps with a warning rather than an error. Likely the warning would have to be displayed later (if/when U-Boot starts up) since the console may be one of the problem nodes.
Right, if it's a build time thing, we should be able to ... something. Maybe a detect and rename for now, detect and fail in a bit. But
But we only have this problem with out-of-tree .dts files, so I'm not sure what you are suggesting here.
Quoted 2 lines
run-time, we can detect, fixup and warn later on? That seems like it might be reasonable.
Yes I think so.
Regards,
Simon
Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
Quoted 103 lines · Simon Glass
Hi Tom,
Quoted 100 lines · Tom Rini
Quoted 97 lines · Simon Glass
Hi Tom,
Quoted 85 lines · Tom Rini
On Mon, Feb 06, 2023 at 10:12:27AM -0700, Simon Glass wrote:
[snip]Quoted 76 lines · Michal Simek
Quoted 67 lines · Tom Rini
Quoted 60 lines · Michal Simek
Quoted 50 lines
Hi Simon,
Quoted 47 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +5
-5@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))Quoted 8 lines
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1283
Quoted 1 line
drivers/core/ofnode.c +0
-0return true;Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console.
I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.Quoted 2 lines
What's the migration case here we're missing? Is it platforms that maintain a dts externally, via tooling / etc, that populate those nodes?
Quoted 7 lines
Yes and I expect there will be a lot of DTs around with some changes for specific products.
Also for example QEMU is also generating DT based on it's configuration and provide it to U-Boot.
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/arm/xlnx-versal-virt.c#L91
When this patch is applied CI loop should fail for Versal.Quoted 5 lines
I am not sure how it helps us to drag this out. It is a breaking change, but a drawn-out process is just going to create a lot of confusion. People should be free to use the schema in Linux .dts files from now on, but if it is not immediately supported in U-Boot then they cannot. This is the most important point, after all.
Quoted 3 lines
Now that we've had some of the external migration issues laid out, what would it look like to have some sort of backwards compatible hook here to fixup an older tree we've been passed?
We can't do it for SPL, since the processing happens at built time, but for U-Boot proper we can do something like what Michal suggests, although perhaps with a warning rather than an error. Likely the warning would have to be displayed later (if/when U-Boot starts up) since the console may be one of the problem nodes.
Quoted 5 lines
Quoted 2 lines
Right, if it's a build time thing, we should be able to ... something. Maybe a detect and rename for now, detect and fail in a bit. But
But we only have this problem with out-of-tree .dts files, so I'm not sure what you are suggesting here.
I'm suggesting that you add the logic to detect these cases and deal with it. We aren't talking about stuff that should have been upstreamed but wasn't, we're talking about tooling that generates valid dts files and needs time to update.
Signature · 1 line
Tom
Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
Hi Tom,
Quoted 108 lines · Tom Rini
Quoted 106 lines · Simon Glass
Hi Tom,
Quoted 102 lines · Tom Rini
Quoted 92 lines · Simon Glass
Hi Tom,
Quoted 85 lines · Tom Rini
On Mon, Feb 06, 2023 at 10:12:27AM -0700, Simon Glass wrote:
[snip]Quoted 76 lines · Michal Simek
Quoted 67 lines · Tom Rini
Quoted 60 lines · Michal Simek
Quoted 50 lines
Hi Simon,
Quoted 47 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +5
-5@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))Quoted 8 lines
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1283
Quoted 1 line
drivers/core/ofnode.c +0
-0return true;Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console.
I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.Quoted 2 lines
What's the migration case here we're missing? Is it platforms that maintain a dts externally, via tooling / etc, that populate those nodes?
Quoted 7 lines
Yes and I expect there will be a lot of DTs around with some changes for specific products.
Also for example QEMU is also generating DT based on it's configuration and provide it to U-Boot.
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/arm/xlnx-versal-virt.c#L91
When this patch is applied CI loop should fail for Versal.Quoted 5 lines
I am not sure how it helps us to drag this out. It is a breaking change, but a drawn-out process is just going to create a lot of confusion. People should be free to use the schema in Linux .dts files from now on, but if it is not immediately supported in U-Boot then they cannot. This is the most important point, after all.
Quoted 3 lines
Now that we've had some of the external migration issues laid out, what would it look like to have some sort of backwards compatible hook here to fixup an older tree we've been passed?
Quoted 5 lines
We can't do it for SPL, since the processing happens at built time, but for U-Boot proper we can do something like what Michal suggests, although perhaps with a warning rather than an error. Likely the warning would have to be displayed later (if/when U-Boot starts up) since the console may be one of the problem nodes.
Right, if it's a build time thing, we should be able to ... something. Maybe a detect and rename for now, detect and fail in a bit. But
Quoted 7 lines
Quoted 2 lines
But we only have this problem with out-of-tree .dts files, so I'm not sure what you are suggesting here.
I'm suggesting that you add the logic to detect these cases and deal with it. We aren't talking about stuff that should have been upstreamed but wasn't, we're talking about tooling that generates valid dts files and needs time to update.
For runtime I think we can do something like what Michal suggested, but more permissive. We can warn about it when U-Boot has started up. There is no point in doing anything like that in the SPL phase as it is too late.
But we can also add a build-time check, as you say. I think you are saying that it should work correctly in that case, rather than just fail? That is easy enough for U-Boot proper I think. For SPL I am not sure.
I will take a look.
Regards,
Simon
Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
Quoted 124 lines · Simon Glass
Hi Tom,
Quoted 108 lines · Tom Rini
Quoted 106 lines · Simon Glass
Hi Tom,
Quoted 102 lines · Tom Rini
Quoted 92 lines · Simon Glass
Hi Tom,
Quoted 85 lines · Tom Rini
On Mon, Feb 06, 2023 at 10:12:27AM -0700, Simon Glass wrote:
[snip]Quoted 76 lines · Michal Simek
Quoted 67 lines · Tom Rini
Quoted 60 lines · Michal Simek
Quoted 50 lines
Hi Simon,
Quoted 47 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +5
-5@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))Quoted 8 lines
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1283
Quoted 1 line
drivers/core/ofnode.c +0
-0return true;Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console.
I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.Quoted 2 lines
What's the migration case here we're missing? Is it platforms that maintain a dts externally, via tooling / etc, that populate those nodes?
Quoted 7 lines
Yes and I expect there will be a lot of DTs around with some changes for specific products.
Also for example QEMU is also generating DT based on it's configuration and provide it to U-Boot.
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/arm/xlnx-versal-virt.c#L91
When this patch is applied CI loop should fail for Versal.Quoted 5 lines
I am not sure how it helps us to drag this out. It is a breaking change, but a drawn-out process is just going to create a lot of confusion. People should be free to use the schema in Linux .dts files from now on, but if it is not immediately supported in U-Boot then they cannot. This is the most important point, after all.
Quoted 3 lines
Now that we've had some of the external migration issues laid out, what would it look like to have some sort of backwards compatible hook here to fixup an older tree we've been passed?
Quoted 5 lines
We can't do it for SPL, since the processing happens at built time, but for U-Boot proper we can do something like what Michal suggests, although perhaps with a warning rather than an error. Likely the warning would have to be displayed later (if/when U-Boot starts up) since the console may be one of the problem nodes.
Right, if it's a build time thing, we should be able to ... something. Maybe a detect and rename for now, detect and fail in a bit. But
Quoted 7 lines
Quoted 2 lines
But we only have this problem with out-of-tree .dts files, so I'm not sure what you are suggesting here.
I'm suggesting that you add the logic to detect these cases and deal with it. We aren't talking about stuff that should have been upstreamed but wasn't, we're talking about tooling that generates valid dts files and needs time to update.
For runtime I think we can do something like what Michal suggested, but more permissive. We can warn about it when U-Boot has started up. There is no point in doing anything like that in the SPL phase as it is too late.
Quoted 6 lines
But we can also add a build-time check, as you say. I think you are saying that it should work correctly in that case, rather than just fail? That is easy enough for U-Boot proper I think. For SPL I am not sure.
I will take a look.
For build time, if we're passed the old form, we should be able to detect it, and regex the input to be correct. And not for forever, but to give external (and yes, valid use case here!) tools time to catch up.
Signature · 1 line
Tom
Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema
Hi Tom, Michal,
Quoted 131 lines · Tom Rini
Quoted 129 lines · Simon Glass
Hi Tom,
Quoted 108 lines · Tom Rini
Quoted 106 lines · Simon Glass
Hi Tom,
Quoted 102 lines · Tom Rini
Quoted 92 lines · Simon Glass
Hi Tom,
Quoted 85 lines · Tom Rini
On Mon, Feb 06, 2023 at 10:12:27AM -0700, Simon Glass wrote:
[snip]Quoted 76 lines · Michal Simek
Quoted 67 lines · Tom Rini
Quoted 60 lines · Michal Simek
Quoted 50 lines
Hi Simon,
Quoted 47 lines · Simon Glass
Update various build and test components to use the new schema.
Signed-off-by Simon Glass <[email protected]>---
(no changes since v1)
drivers/core/ofnode.c | 10 +++++----- drivers/video/video-uclass.c | 4 ++-- dts/Kconfig | 2 +- include/dm/device.h | 2 +- include/dm/ofnode.h | 10 +++++----- scripts/Makefile.lib | 12 ++++++------ test/dm/test-fdt.c | 2 +- test/py/tests/test_ofplatdata.py | 8 ++++---- tools/binman/binman.rst | 3 +-- tools/dtoc/test_fdt.py | 8 ++++---- 10 files changed, 30 insertions(+), 31 deletions(-)drivers/core/ofnode.c +5
-5@@ -1265,22 +1265,22 @@ bool ofnode_pre_reloc(ofnode node) {#if defined(CONFIG_SPL_BUILD ) || defined(CONFIG_TPL_BUILD )/* for SPL and TPL the remaining nodes after the fdtgrep 1st pass -* had property dm-pre-reloc or u-boot,dm-spl/tpl. +* had property bootph-all or bootph-pre-sram/bootph-pre-ram. * They are removed in final dtb (fdtgrep 2nd pass) */ return true;#else -if (ofnode_read_bool (node,"u-boot,dm-pre-reloc" )) +if (ofnode_read_bool (node,"bootph-all" ))return true; -if (ofnode_read_bool (node,"u-boot,dm-pre-proper" )) +if (ofnode_read_bool (node,"bootph-some-ram" ))return true;/* * In regular builds individual spl and tpl handling both * count as handled pre-relocation for later second init. */ -if (ofnode_read_bool (node,"u-boot,dm-spl" ) || -ofnode_read_bool (node,"u-boot,dm-tpl" )) +if (ofnode_read_bool (node,"bootph-pre-ram" ) || +ofnode_read_bool (node,"bootph-pre-sram" ))Quoted 8 lines
drivers/core/ofnode.c bool ofnode_pre_reloc(ofnode node) · line 1283
Quoted 1 line
drivers/core/ofnode.c +0
-0return true;Please correct me if I am wrong but this change will likely break all boards which didn't migrate to this at this stage. And because targeting early stages people will be without console.
I think we should have transition period for 1-2 releases to give people enough time to migrate. It means print big warning that they have to migrate their DTS.Quoted 2 lines
What's the migration case here we're missing? Is it platforms that maintain a dts externally, via tooling / etc, that populate those nodes?
Quoted 7 lines
Yes and I expect there will be a lot of DTs around with some changes for specific products.
Also for example QEMU is also generating DT based on it's configuration and provide it to U-Boot.
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/arm/xlnx-versal-virt.c#L91
When this patch is applied CI loop should fail for Versal.Quoted 5 lines
I am not sure how it helps us to drag this out. It is a breaking change, but a drawn-out process is just going to create a lot of confusion. People should be free to use the schema in Linux .dts files from now on, but if it is not immediately supported in U-Boot then they cannot. This is the most important point, after all.
Quoted 3 lines
Now that we've had some of the external migration issues laid out, what would it look like to have some sort of backwards compatible hook here to fixup an older tree we've been passed?
Quoted 5 lines
We can't do it for SPL, since the processing happens at built time, but for U-Boot proper we can do something like what Michal suggests, although perhaps with a warning rather than an error. Likely the warning would have to be displayed later (if/when U-Boot starts up) since the console may be one of the problem nodes.
Right, if it's a build time thing, we should be able to ... something. Maybe a detect and rename for now, detect and fail in a bit. But
Quoted 7 lines
Quoted 2 lines
But we only have this problem with out-of-tree .dts files, so I'm not sure what you are suggesting here.
I'm suggesting that you add the logic to detect these cases and deal with it. We aren't talking about stuff that should have been upstreamed but wasn't, we're talking about tooling that generates valid dts files and needs time to update.
For runtime I think we can do something like what Michal suggested, but more permissive. We can warn about it when U-Boot has started up. There is no point in doing anything like that in the SPL phase as it is too late.
But we can also add a build-time check, as you say. I think you are saying that it should work correctly in that case, rather than just fail? That is easy enough for U-Boot proper I think. For SPL I am not sure.
Quoted 5 lines
Quoted 1 line
I will take a look.
For build time, if we're passed the old form, we should be able to detect it, and regex the input to be correct. And not for forever, but to give external (and yes, valid use case here!) tools time to catch up.
I took a crack at this and sent a new series.
Regards,
Simon
PATCH v3 7/8 checkpatch: Add a warning for pre-schema driver model tags
In reply to Simon GlassHelp ensure that these don't creep into development by adding a check in checkpatch for them.
---
Changes in v3:
- Add a new patch to warn about pre-schema driver model tags
scripts/checkpatch.pl | 6 ++++++ tools/patman/test_checkpatch.py | 6 ++++++ 2 files changed, 12 insertions(+)
scripts/checkpatch.pl +6 -0
@@ -2680,6 +2680,12 @@ sub u_boot_line { "DEVICE_PRIV_AUTO", $herecurr); u_boot_struct_name($line, "per_device_plat_auto", "_plat", "DEVICE_PLAT_AUTO", $herecurr); + + # Avoid using the pre-schema driver model tags + if ($line =~ /^\+.*u-boot,dm-.*/) { + ERROR("PRE_SCHEMA", + "Driver model schema uses 'bootph-...' tags now\n" . $herecurr); + } } sub exclude_global_initialisers {
tools/patman/test_checkpatch.py +6 -0
@@ -452,6 +452,12 @@ index 0000000..2234c87 self.check_strl("cat"); self.check_strl("cpy"); + def test_schema(self): + """Check for uses of strn(cat|cpy)""" + pm = PatchMaker() + pm.add_line('arch/sandbox/dts/sandbox.dtsi', '\tu-boot,dm-pre-proper;') + self.check_single_message(pm, 'PRE_SCHEMA', 'error') + if __name__ == "__main__": unittest.main() gitutil.RunTests()
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog
PATCH v3 8/8 CI: Add a check for pre-schema driver model tags
In reply to Simon GlassThese should not be used anymore. Add a check to ensure they don't creek back into U-Boot. Use bootph-... instead.
---
Changes in v3:
- Add a new patch to check for pre-schema driver model tags in CI
.azure-pipelines.yml | 12 ++++++++++++ .gitlab-ci.yml | 9 +++++++++ 2 files changed, 21 insertions(+)
.azure-pipelines.yml +12 -0
@@ -213,6 +213,18 @@ stages: export PYTHONPATH=${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt make pylint_err + - job: check_for_pre_schema_tags + displayName: 'Check for pre-schema driver model tags' + pool: + vmImage: $(ubuntu_vm) + container: + image: $(ci_runner_image) + options: $(container_option) + steps: + # If grep succeeds and finds a match the test fails as we should + # have no matches. + - script: git grep u-boot,dm- -- '*.dts*' && exit 1 || exit 0 + - stage: test_py jobs: - job: test_py
.gitlab-ci.yml +9 -0
@@ -232,6 +232,15 @@ Run pylint: - export PYTHONPATH="${UBOOT_TRAVIS_BUILD_DIR}/scripts/dtc/pylibfdt" - make pylint_err +# Check for pre-schema driver model tags +Check for pre-schema tags: + stage: testsuites + script: + - git config --global --add safe.directory "${CI_PROJECT_DIR}"; + # If grep succeeds and finds a match the test fails as we should + # have no matches. + - git grep u-boot,dm- -- '*.dts*' && exit 1 || exit 0 + # Test sandbox with test.py sandbox test.py: variables:
Signature · 1 line
2.39.1.456.gfc5497dd1b-goog