diff options
author | Tony Lindgren <tony@atomide.com> | 2019-04-09 18:00:53 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-04-09 18:00:53 +0200 |
commit | 5b5975312903a90220dc980a366a259faedc6808 (patch) | |
tree | 19b26ab15c79c6b791a037d6616ed2327c30806c /arch/arm/boot/dts/omap4-mcpdm.dtsi | |
parent | ARM: dts: Add common mcpdm dts file for omap4 (diff) | |
download | linux-5b5975312903a90220dc980a366a259faedc6808.tar.xz linux-5b5975312903a90220dc980a366a259faedc6808.zip |
ARM: dts: Add l4 abe interconnect hierarchy and ti-sysc data for omap4
We can now add l4 abe interconnect hierarchy and ti-sysc data with
ti-sysc driver supporting external optional clocks needed by mcpdm.
This data is generated based on platform data from a booted system
and the interconnect acces protection registers for ranges. To avoid
regressions, we initially validate the device tree provided data
against the existing platform data on boot.
Note that mcpdm we now need to enable at module level only for devices
that have the external pdmclk wired from the PMIC as the clock is
needed for the module to be accessible.
Cc: devicetree@vger.kernel.org
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap4-mcpdm.dtsi')
-rw-r--r-- | arch/arm/boot/dts/omap4-mcpdm.dtsi | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/omap4-mcpdm.dtsi b/arch/arm/boot/dts/omap4-mcpdm.dtsi index 9d40e433c4b5..915a9b31a33b 100644 --- a/arch/arm/boot/dts/omap4-mcpdm.dtsi +++ b/arch/arm/boot/dts/omap4-mcpdm.dtsi @@ -27,12 +27,18 @@ }; }; -&mcpdm { +&mcpdm_module { + /* + * McPDM pads must be muxed at the interconnect target module + * level as the module on the SoC needs external clock from + * the PMIC + */ pinctrl-names = "default"; pinctrl-0 = <&mcpdm_pins>; + status = "okay"; +}; +&mcpdm { clocks = <&twl6040>; clock-names = "pdmclk"; - - status = "okay"; }; |