Skip to content

Commit ac819ed

Browse files
lokeshvutlatmlind
authored andcommitted
ARM: dts: Add 32KHz clock as default clock source
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 <[email protected]> Reviewed-by: Suman Anna <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 8f3d9f3 commit ac819ed

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

arch/arm/boot/dts/am335x-guardian.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
ti,timers = <&timer7>;
106106
pinctrl-names = "default";
107107
pinctrl-0 = <&dmtimer7_pins>;
108+
ti,clock-source = <0x01>;
108109
};
109110

110111
vmmcsd_fixed: regulator-3v3 {

arch/arm/boot/dts/am3517-evm.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
pinctrl-0 = <&pwm_pins>;
157157
ti,timers = <&timer11>;
158158
#pwm-cells = <3>;
159+
ti,clock-source = <0x01>;
159160
};
160161

161162
/* HS USB Host PHY on PORT 1 */

arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
pinctrl-0 = <&pwm_pins>;
6666
ti,timers = <&timer10>;
6767
#pwm-cells = <3>;
68+
ti,clock-source = <0x01>;
6869
};
6970

7071
};

arch/arm/boot/dts/omap3-gta04.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@
150150
compatible = "ti,omap-dmtimer-pwm";
151151
ti,timers = <&timer11>;
152152
#pwm-cells = <3>;
153+
ti,clock-source = <0x01>;
153154
};
154155

155156
hsusb2_phy: hsusb2_phy {

0 commit comments

Comments
 (0)