ARM: dts: Add 32KHz clock as default clock source
authorLokesh Vutla <lokeshvutla@ti.com>
Mon, 27 Apr 2020 17:26:04 +0000 (22:56 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 5 May 2020 17:56:42 +0000 (10:56 -0700)
Clocksource to timer configured in pwm mode can be selected using the DT
property ti,clock-source. There are few pwm timers which are not
selecting the clock source and relying on default value in hardware or
selected by driver. Instead of relying on default value, always select
the clock source from DT.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-guardian.dts
arch/arm/boot/dts/am3517-evm.dts
arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi
arch/arm/boot/dts/omap3-gta04.dtsi

index 81e0f63e94d3d0c1a6aefcb6cb2c4da1e9809b39..0ebe9e2c150e44e173a2fbe0ba655be218981b7e 100644 (file)
                ti,timers = <&timer7>;
                pinctrl-names = "default";
                pinctrl-0 = <&dmtimer7_pins>;
+               ti,clock-source = <0x01>;
        };
 
        vmmcsd_fixed: regulator-3v3 {
index a1fd3e63e86ec7e1e221f11d9f5f2ca047ba3504..92466b9eb6bab61404b2d0fc782042371454d411 100644 (file)
                pinctrl-0 = <&pwm_pins>;
                ti,timers = <&timer11>;
                #pwm-cells = <3>;
+               ti,clock-source = <0x01>;
        };
 
        /* HS USB Host PHY on PORT 1 */
index f7b82ced4080fd84251063e09e9c571cce22c57f..381f0e82bb706cc5b9b8b951dcb4e09cafb93991 100644 (file)
@@ -65,6 +65,7 @@
                pinctrl-0 = <&pwm_pins>;
                ti,timers = <&timer10>;
                #pwm-cells = <3>;
+               ti,clock-source = <0x01>;
        };
 
 };
index 409a758c99f1dab212258adfb1d2cd828d80c0e6..ecc45862b4f34022d46b1bec310b1a7d7a55826d 100644 (file)
                compatible = "ti,omap-dmtimer-pwm";
                ti,timers = <&timer11>;
                #pwm-cells = <3>;
+               ti,clock-source = <0x01>;
        };
 
        hsusb2_phy: hsusb2_phy {