diff options
author | Tony Lindgren <tony@atomide.com> | 2019-04-09 09:00:53 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-04-09 09:00:53 -0700 |
commit | 5b5975312903a90220dc980a366a259faedc6808 (patch) | |
tree | 19b26ab15c79c6b791a037d6616ed2327c30806c /arch/arm/boot/dts/omap4-mcpdm.dtsi | |
parent | ed01ffd9dd1c7e585f73b08877192a2cf754d006 (diff) | |
download | linux-5b5975312903a90220dc980a366a259faedc6808.tar.bz2 |
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"; }; |