19.11.2019 09:50, Sowjanya Komatineni пишет: > Tegra pmc has 3 clocks clk_out_1, clk_out_2, clk_out_3 with mux and gate > for each of these clocks as part of pmc and Tegra pmc is the clock provider > for these clocks. > > This patch adds #clock-cells property with 1 clock specifier to > the Tegra pmc node. > > Signed-off-by: Sowjanya Komatineni <skomatineni@xxxxxxxxxx> > --- > arch/arm/boot/dts/tegra114.dtsi | 4 +++- > arch/arm/boot/dts/tegra124.dtsi | 4 +++- > arch/arm/boot/dts/tegra30.dtsi | 4 +++- > 3 files changed, 9 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi > index 0d7a6327e404..b8f12f24f314 100644 > --- a/arch/arm/boot/dts/tegra114.dtsi > +++ b/arch/arm/boot/dts/tegra114.dtsi > @@ -4,6 +4,7 @@ > #include <dt-bindings/memory/tegra114-mc.h> > #include <dt-bindings/pinctrl/pinctrl-tegra.h> > #include <dt-bindings/interrupt-controller/arm-gic.h> > +#include <dt-bindings/soc/tegra-pmc.h> > > / { > compatible = "nvidia,tegra114"; > @@ -514,11 +515,12 @@ > status = "disabled"; > }; > > - pmc@7000e400 { > + pmc: pmc@7000e400 { > compatible = "nvidia,tegra114-pmc"; > reg = <0x7000e400 0x400>; > clocks = <&tegra_car TEGRA114_CLK_PCLK>, <&clk32k_in>; > clock-names = "pclk", "clk32k_in"; > + #clock-cells = <1>; > }; > > fuse@7000f800 { > diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi > index 413bfb981de8..d0802c4ae3bf 100644 > --- a/arch/arm/boot/dts/tegra124.dtsi > +++ b/arch/arm/boot/dts/tegra124.dtsi > @@ -6,6 +6,7 @@ > #include <dt-bindings/interrupt-controller/arm-gic.h> > #include <dt-bindings/reset/tegra124-car.h> > #include <dt-bindings/thermal/tegra124-soctherm.h> > +#include <dt-bindings/soc/tegra-pmc.h> > > / { > compatible = "nvidia,tegra124"; > @@ -595,11 +596,12 @@ > clocks = <&tegra_car TEGRA124_CLK_RTC>; > }; > > - pmc@7000e400 { > + pmc: pmc@7000e400 { > compatible = "nvidia,tegra124-pmc"; > reg = <0x0 0x7000e400 0x0 0x400>; > clocks = <&tegra_car TEGRA124_CLK_PCLK>, <&clk32k_in>; > clock-names = "pclk", "clk32k_in"; > + #clock-cells = <1>; > }; > > fuse@7000f800 { > diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi > index 55ae050042ce..4d5e9d0001d3 100644 > --- a/arch/arm/boot/dts/tegra30.dtsi > +++ b/arch/arm/boot/dts/tegra30.dtsi > @@ -4,6 +4,7 @@ > #include <dt-bindings/memory/tegra30-mc.h> > #include <dt-bindings/pinctrl/pinctrl-tegra.h> > #include <dt-bindings/interrupt-controller/arm-gic.h> > +#include <dt-bindings/soc/tegra-pmc.h> > > / { > compatible = "nvidia,tegra30"; > @@ -714,11 +715,12 @@ > status = "disabled"; > }; > > - pmc@7000e400 { > + pmc: pmc@7000e400 { > compatible = "nvidia,tegra30-pmc"; > reg = <0x7000e400 0x400>; > clocks = <&tegra_car TEGRA30_CLK_PCLK>, <&clk32k_in>; > clock-names = "pclk", "clk32k_in"; > + #clock-cells = <1>; > }; > > mc: memory-controller@7000f000 { > What about Tegra20?