From: Dario Binacchi Date: Thu, 24 Dec 2020 08:33:57 +0100 Subject: [PATCH v7 19/28] arm: dts: am335x: enable scm_clocks auto binding In-Reply-To: <20201224073406.16764-15-dariobin@libero.it> References: <20201224073406.16764-15-dariobin@libero.it> Message-ID: <20201224073406.16764-20-dariobin@libero.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Adding the 'simple-bus' compatible string to the scm_clocks node will allow its automatic binding. Signed-off-by: Dario Binacchi --- Changes in v7: - Add dm8168-evm-u-boot.dtsi to fix building errors for ti816x_evm_defconfig. Changes in v6: - Remove the 'am3-scm' driver. - Add the 'simple-bus' compatible string to the scm_clocks node. Changes in v4: - Include device_compat.h header for dev_xxx macros. Changes in v3: - Remove doc/device-tree-bindings/arm/omap,ctrl.txt. - Remove doc/device-tree-bindings/pinctrl/pinctrl-single.txt. - Add to commit message the references to linux kernel dt binding documentation. Changes in v2: - Remove the 'ti_am3_scm_clocks' driver. Handle 'scm_clocks' node in the 'ti_am3_scm' driver. - Update the commit message. arch/arm/dts/am33xx-u-boot.dtsi | 4 ++++ arch/arm/dts/dm8168-evm-u-boot.dtsi | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 arch/arm/dts/dm8168-evm-u-boot.dtsi diff --git a/arch/arm/dts/am33xx-u-boot.dtsi b/arch/arm/dts/am33xx-u-boot.dtsi index 2426ece680..61d10b841b 100644 --- a/arch/arm/dts/am33xx-u-boot.dtsi +++ b/arch/arm/dts/am33xx-u-boot.dtsi @@ -13,3 +13,7 @@ &prcm_clocks { compatible = "simple-bus"; }; + +&scm_clocks { + compatible = "simple-bus"; +}; diff --git a/arch/arm/dts/dm8168-evm-u-boot.dtsi b/arch/arm/dts/dm8168-evm-u-boot.dtsi new file mode 100644 index 0000000000..de0bb9bc81 --- /dev/null +++ b/arch/arm/dts/dm8168-evm-u-boot.dtsi @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * dm8168-evm U-Boot Additions + * + * Copyright (C) 2020 Dario Binacchi + */ + +/ { + ocp { + u-boot,dm-pre-reloc; + }; +}; -- 2.17.1