From: Jyri Sarha <jsarha@ti.com>
To: dri-devel@lists.freedesktop.org, airlied@linux.ie,
linux-omap@vger.kernel.org, devicetree@vger.kernel.org,
bcousson@baylibre.com, alsa-devel@alsa-project.org
Cc: tony@atomide.com, broonie@kernel.org,
liam.r.girdwood@linux.intel.com, peter.ujfalusi@ti.com,
detheridge@ti.com, t-kristo@ti.com
Subject: Re: [PATCH v3 5/5] ARM: dts: am335x-boneblack: Add HDMI audio support
Date: Mon, 29 Sep 2014 09:41:59 +0300 [thread overview]
Message-ID: <5428FF37.1020104@ti.com> (raw)
In-Reply-To: <1af922a485e8084aff33eaeafa30d4698d1cc886.1410898073.git.jsarha@ti.com>
This patch is invalid now that Mike Turquette took the generic
clk-gpio-gate in. The other patches in the series are still Ok.
I'll mail a new dts patch shortly.
Best regards,
Jyri
On 09/16/2014 11:40 PM, Jyri Sarha wrote:
> Adds mcasp0_pins, clk_mcasp0_fixed, clk_mcasp0, mcasp0, hdmi_audio,
> and sound nodes.
>
> Signed-off-by: Jyri Sarha <jsarha@ti.com>
> ---
> arch/arm/boot/dts/am335x-boneblack.dts | 52 ++++++++++++++++++++++++++++++++
> 1 file changed, 52 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts
> index 305975d..1487f7c 100644
> --- a/arch/arm/boot/dts/am335x-boneblack.dts
> +++ b/arch/arm/boot/dts/am335x-boneblack.dts
> @@ -59,12 +59,35 @@
> 0x1b0 0x03 /* xdma_event_intr0, OMAP_MUX_MODE3 | AM33XX_PIN_OUTPUT */
> >;
> };
> +
> + mcasp0_pins: mcasp0_pins {
> + pinctrl-single,pins = <
> + 0x1ac (PIN_INPUT_PULLUP | MUX_MODE0) /* mcasp0_ahclkx.mcasp0_ahclkx */
> + 0x19c (PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mcasp0_ahclkr.mcasp0_axr2 */
> + 0x194 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* mcasp0_fsx.mcasp0_fsx */
> + 0x190 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mcasp0_aclkx.mcasp0_aclkx */
> + 0x06c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a11.GPIO1_27 */
> + >;
> + };
> };
>
> &lcdc {
> status = "okay";
> };
>
> +&mcasp0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&mcasp0_pins>;
> + status = "okay";
> + op-mode = <0>; /* MCASP_IIS_MODE */
> + tdm-slots = <2>;
> + serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
> + 0 0 1 0
> + >;
> + tx-num-evt = <1>;
> + rx-num-evt = <1>;
> +};
> +
> / {
> hdmi {
> compatible = "ti,tilcdc,slave";
> @@ -74,4 +97,33 @@
> pinctrl-1 = <&nxp_hdmi_bonelt_off_pins>;
> status = "okay";
> };
> +
> + clk_mcasp0_fixed: clk_mcasp0_fixed {
> + #clock-cells = <0>;
> + compatible = "fixed-clock";
> + clock-frequency = <24576000>;
> + };
> +
> + clk_mcasp0: clk_mcasp0 {
> + #clock-cells = <0>;
> + compatible = "ti,gpio-gate-clock";
> + clocks = <&clk_mcasp0_fixed>;
> + enable-gpios = <&gpio1 27 0>; /* BeagleBone Black Clk enable on GPIO1_27 */
> + };
> +
> + hdmi_audio: hdmi_audio@0 {
> + compatible = "linux,hdmi-audio";
> + status = "okay";
> + };
> +
> + sound {
> + compatible = "ti,beaglebone-black-audio";
> + ti,model = "TI BeagleBone Black";
> + ti,audio-codec = <&hdmi_audio>;
> + ti,mcasp-controller = <&mcasp0>;
> + ti,audio-routing =
> + "HDMI Out", "TX";
> + clocks = <&clk_mcasp0>;
> + clock-names = "mclk";
> + };
> };
>
next prev parent reply other threads:[~2014-09-29 6:41 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-16 20:40 [PATCH v3 0/5] Beaglebone-Black HDMI audio Jyri Sarha
2014-09-16 20:40 ` [PATCH v3 1/5] clk: ti: add "ti,gpio-gate-clock" controlled clock Jyri Sarha
2014-09-19 13:07 ` Tomi Valkeinen
2014-09-19 13:12 ` Nishanth Menon
2014-09-19 13:25 ` Tomi Valkeinen
2014-09-26 23:56 ` Mike Turquette
2014-09-16 20:40 ` [PATCH v3 2/5] drm/tilcdc: Add I2S HDMI audio config for tda998x Jyri Sarha
[not found] ` <cover.1410898073.git.jsarha-l0cyMroinI0@public.gmane.org>
2014-09-16 20:40 ` [PATCH v3 3/5] ASoC: davinci-evm: HDMI audio support for TDA998x trough McASP I2S bus Jyri Sarha
2014-09-16 20:40 ` [PATCH v3 5/5] ARM: dts: am335x-boneblack: Add HDMI audio support Jyri Sarha
2014-09-29 6:41 ` Jyri Sarha [this message]
2014-09-16 20:40 ` [PATCH v3 4/5] ASoC: davinci: HDMI audio build for AM33XX and TDA998x Jyri Sarha
2014-09-17 19:41 ` Mark Brown
2014-09-17 21:13 ` Jyri Sarha
2014-09-18 8:25 ` Jean-Francois Moine
2014-09-18 18:36 ` Jyri Sarha
2014-09-17 1:06 ` [alsa-devel] [PATCH v3 0/5] Beaglebone-Black HDMI audio Dave Airlie
[not found] ` <CAPM=9txRReSdcB5j+0dKmrDNM94zANu-q7ZfWHtP2iA54Dieig-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-17 7:51 ` Jyri Sarha
2014-09-19 13:24 ` Tomi Valkeinen
2014-09-19 13:59 ` Jyri Sarha
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=5428FF37.1020104@ti.com \
--to=jsarha@ti.com \
--cc=airlied@linux.ie \
--cc=alsa-devel@alsa-project.org \
--cc=bcousson@baylibre.com \
--cc=broonie@kernel.org \
--cc=detheridge@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=liam.r.girdwood@linux.intel.com \
--cc=linux-omap@vger.kernel.org \
--cc=peter.ujfalusi@ti.com \
--cc=t-kristo@ti.com \
--cc=tony@atomide.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).