From: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
To: Peter Ujfalusi <peter.ujfalusi-l0cyMroinI0@public.gmane.org>
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
nm-l0cyMroinI0@public.gmane.org
Subject: Re: [PATCH] ARM: DTS: am57xx-beagle-x15: Select SYS_CLK2 for audio clocks
Date: Wed, 10 Feb 2016 16:25:58 -0800 [thread overview]
Message-ID: <20160211002558.GP19432@atomide.com> (raw)
In-Reply-To: <1455018417-2608-1-git-send-email-peter.ujfalusi-l0cyMroinI0@public.gmane.org>
* Peter Ujfalusi <peter.ujfalusi-l0cyMroinI0@public.gmane.org> [160209 03:48]:
> The tlv320aic3104 codec's master clock is coming from the SoC's CLKOUT2.
> Select the SYS_CLK2 (via divider) as parent clock for CLKOUT2 and select
> the same clock (SYS_CLK2) for McASP3 AHCLKX clock as well.
> SYS_CLK2 is sourced from an external oscillator running 22.5792MHz and it
> is coming in to the SoC via the X1_OSC1.
>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi-l0cyMroinI0@public.gmane.org>
Applying into omap-for-v4.5/fixes thanks.
Tony
> ---
> arch/arm/boot/dts/am57xx-beagle-x15.dts | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> index c37a5193f199..592e65c3a4e0 100644
> --- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
> +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> @@ -173,6 +173,8 @@
>
> sound0_master: simple-audio-card,codec {
> sound-dai = <&tlv320aic3104>;
> + assigned-clocks = <&clkoutmux2_clk_mux>;
> + assigned-clock-parents = <&sys_clk2_dclk_div>;
> clocks = <&clkout2_clk>;
> };
> };
> @@ -795,6 +797,8 @@
> pinctrl-names = "default", "sleep";
> pinctrl-0 = <&mcasp3_pins_default>;
> pinctrl-1 = <&mcasp3_pins_sleep>;
> + assigned-clocks = <&mcasp3_ahclkx_mux>;
> + assigned-clock-parents = <&sys_clkin2>;
> status = "okay";
>
> op-mode = <0>; /* MCASP_IIS_MODE */
> --
> 2.7.1
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: DTS: am57xx-beagle-x15: Select SYS_CLK2 for audio clocks
Date: Wed, 10 Feb 2016 16:25:58 -0800 [thread overview]
Message-ID: <20160211002558.GP19432@atomide.com> (raw)
In-Reply-To: <1455018417-2608-1-git-send-email-peter.ujfalusi@ti.com>
* Peter Ujfalusi <peter.ujfalusi@ti.com> [160209 03:48]:
> The tlv320aic3104 codec's master clock is coming from the SoC's CLKOUT2.
> Select the SYS_CLK2 (via divider) as parent clock for CLKOUT2 and select
> the same clock (SYS_CLK2) for McASP3 AHCLKX clock as well.
> SYS_CLK2 is sourced from an external oscillator running 22.5792MHz and it
> is coming in to the SoC via the X1_OSC1.
>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Applying into omap-for-v4.5/fixes thanks.
Tony
> ---
> arch/arm/boot/dts/am57xx-beagle-x15.dts | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> index c37a5193f199..592e65c3a4e0 100644
> --- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
> +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> @@ -173,6 +173,8 @@
>
> sound0_master: simple-audio-card,codec {
> sound-dai = <&tlv320aic3104>;
> + assigned-clocks = <&clkoutmux2_clk_mux>;
> + assigned-clock-parents = <&sys_clk2_dclk_div>;
> clocks = <&clkout2_clk>;
> };
> };
> @@ -795,6 +797,8 @@
> pinctrl-names = "default", "sleep";
> pinctrl-0 = <&mcasp3_pins_default>;
> pinctrl-1 = <&mcasp3_pins_sleep>;
> + assigned-clocks = <&mcasp3_ahclkx_mux>;
> + assigned-clock-parents = <&sys_clkin2>;
> status = "okay";
>
> op-mode = <0>; /* MCASP_IIS_MODE */
> --
> 2.7.1
>
WARNING: multiple messages have this Message-ID (diff)
From: Tony Lindgren <tony@atomide.com>
To: Peter Ujfalusi <peter.ujfalusi@ti.com>
Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, robh+dt@kernel.org, nm@ti.com
Subject: Re: [PATCH] ARM: DTS: am57xx-beagle-x15: Select SYS_CLK2 for audio clocks
Date: Wed, 10 Feb 2016 16:25:58 -0800 [thread overview]
Message-ID: <20160211002558.GP19432@atomide.com> (raw)
In-Reply-To: <1455018417-2608-1-git-send-email-peter.ujfalusi@ti.com>
* Peter Ujfalusi <peter.ujfalusi@ti.com> [160209 03:48]:
> The tlv320aic3104 codec's master clock is coming from the SoC's CLKOUT2.
> Select the SYS_CLK2 (via divider) as parent clock for CLKOUT2 and select
> the same clock (SYS_CLK2) for McASP3 AHCLKX clock as well.
> SYS_CLK2 is sourced from an external oscillator running 22.5792MHz and it
> is coming in to the SoC via the X1_OSC1.
>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Applying into omap-for-v4.5/fixes thanks.
Tony
> ---
> arch/arm/boot/dts/am57xx-beagle-x15.dts | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> index c37a5193f199..592e65c3a4e0 100644
> --- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
> +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
> @@ -173,6 +173,8 @@
>
> sound0_master: simple-audio-card,codec {
> sound-dai = <&tlv320aic3104>;
> + assigned-clocks = <&clkoutmux2_clk_mux>;
> + assigned-clock-parents = <&sys_clk2_dclk_div>;
> clocks = <&clkout2_clk>;
> };
> };
> @@ -795,6 +797,8 @@
> pinctrl-names = "default", "sleep";
> pinctrl-0 = <&mcasp3_pins_default>;
> pinctrl-1 = <&mcasp3_pins_sleep>;
> + assigned-clocks = <&mcasp3_ahclkx_mux>;
> + assigned-clock-parents = <&sys_clkin2>;
> status = "okay";
>
> op-mode = <0>; /* MCASP_IIS_MODE */
> --
> 2.7.1
>
next prev parent reply other threads:[~2016-02-11 0:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-09 11:46 [PATCH] ARM: DTS: am57xx-beagle-x15: Select SYS_CLK2 for audio clocks Peter Ujfalusi
2016-02-09 11:46 ` Peter Ujfalusi
2016-02-09 11:46 ` Peter Ujfalusi
[not found] ` <1455018417-2608-1-git-send-email-peter.ujfalusi-l0cyMroinI0@public.gmane.org>
2016-02-11 0:25 ` Tony Lindgren [this message]
2016-02-11 0:25 ` Tony Lindgren
2016-02-11 0:25 ` 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=20160211002558.GP19432@atomide.com \
--to=tony-4v6ys6ai5vpbdgjk7y7tuq@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=nm-l0cyMroinI0@public.gmane.org \
--cc=peter.ujfalusi-l0cyMroinI0@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.