devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Lokesh Vutla <lokeshvutla@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>, Sekhar Nori <nsekhar@ti.com>,
	Rob Herring <robh+dt@kernel.org>,
	Device Tree Mailing List <devicetree@vger.kernel.org>,
	Linux OMAP Mailing List <linux-omap@vger.kernel.org>
Subject: Re: [PATCH] arm: dts: Add 32KHz clock as default clock source
Date: Tue, 28 Apr 2020 11:19:19 -0700	[thread overview]
Message-ID: <20200428181919.GS37466@atomide.com> (raw)
In-Reply-To: <20200427172604.16351-1-lokeshvutla@ti.com>

* Lokesh Vutla <lokeshvutla@ti.com> [200427 17:27]:
> 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>
> ---
> Tony,
> 	This is in preparation with removal of selecting clock source in
> 	prepare() api. Let me know if you prefer separate patches for
> 	each dts.

Looks just fine to me.

Tony

>  arch/arm/boot/dts/am335x-guardian.dts            | 1 +
>  arch/arm/boot/dts/am3517-evm.dts                 | 1 +
>  arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi | 1 +
>  arch/arm/boot/dts/omap3-gta04.dtsi               | 1 +
>  4 files changed, 4 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/am335x-guardian.dts b/arch/arm/boot/dts/am335x-guardian.dts
> index 81e0f63e94d3..0ebe9e2c150e 100644
> --- a/arch/arm/boot/dts/am335x-guardian.dts
> +++ b/arch/arm/boot/dts/am335x-guardian.dts
> @@ -105,6 +105,7 @@
>  		ti,timers = <&timer7>;
>  		pinctrl-names = "default";
>  		pinctrl-0 = <&dmtimer7_pins>;
> +		ti,clock-source = <0x01>;
>  	};
>  
>  	vmmcsd_fixed: regulator-3v3 {
> diff --git a/arch/arm/boot/dts/am3517-evm.dts b/arch/arm/boot/dts/am3517-evm.dts
> index a1fd3e63e86e..92466b9eb6ba 100644
> --- a/arch/arm/boot/dts/am3517-evm.dts
> +++ b/arch/arm/boot/dts/am3517-evm.dts
> @@ -156,6 +156,7 @@
>  		pinctrl-0 = <&pwm_pins>;
>  		ti,timers = <&timer11>;
>  		#pwm-cells = <3>;
> +		ti,clock-source = <0x01>;
>  	};
>  
>  	/* HS USB Host PHY on PORT 1 */
> diff --git a/arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi b/arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi
> index f7b82ced4080..381f0e82bb70 100644
> --- a/arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi
> +++ b/arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi
> @@ -65,6 +65,7 @@
>  		pinctrl-0 = <&pwm_pins>;
>  		ti,timers = <&timer10>;
>  		#pwm-cells = <3>;
> +		ti,clock-source = <0x01>;
>  	};
>  
>  };
> diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
> index 409a758c99f1..ecc45862b4f3 100644
> --- a/arch/arm/boot/dts/omap3-gta04.dtsi
> +++ b/arch/arm/boot/dts/omap3-gta04.dtsi
> @@ -150,6 +150,7 @@
>  		compatible = "ti,omap-dmtimer-pwm";
>  		ti,timers = <&timer11>;
>  		#pwm-cells = <3>;
> +		ti,clock-source = <0x01>;
>  	};
>  
>  	hsusb2_phy: hsusb2_phy {
> -- 
> 2.23.0
> 

  reply	other threads:[~2020-04-28 18:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27 17:26 [PATCH] arm: dts: Add 32KHz clock as default clock source Lokesh Vutla
2020-04-28 18:19 ` Tony Lindgren [this message]
2020-05-05 16:06   ` Suman Anna
2020-05-05 18:02     ` Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200428181919.GS37466@atomide.com \
    --to=tony@atomide.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=lokeshvutla@ti.com \
    --cc=nsekhar@ti.com \
    --cc=robh+dt@kernel.org \
    --cc=t-kristo@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).