Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S976075AbdDXRg4 (ORCPT ); Mon, 24 Apr 2017 13:36:56 -0400 Received: from smtprelay2.synopsys.com ([198.182.60.111]:42509 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965537AbdDXRgs (ORCPT ); Mon, 24 Apr 2017 13:36:48 -0400 Subject: Re: [RESEND PATCH 1/2] arc: axs10x: Add DT bindings for I2S audio playback To: Jose Abreu , "linux-snps-arc@lists.infradead.org" References: <7ed6deaf1ae6d5819364c793835aa30316077a7e.1487787376.git.joabreu@synopsys.com> CC: Carlos Palminha , Alexey Brodkin , Rob Herring , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" From: Vineet Gupta Message-ID: <77599cf5-33e5-2ecd-2b2a-43630195a3b8@synopsys.com> Date: Mon, 24 Apr 2017 10:36:40 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <7ed6deaf1ae6d5819364c793835aa30316077a7e.1487787376.git.joabreu@synopsys.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.10.161.108] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2001 Lines: 71 On 04/21/2017 03:15 AM, Jose Abreu wrote: > This patch adds the necessary DT bindings to get HDMI audio > output in ARC AXS10x SDP. The bindings for I2S controller were > added as well as the bindings for simple audio card. Are these waiting on Rob or is it OK for me to pick these up for 4.12 ? -Vineet > > Signed-off-by: Jose Abreu > Acked-by: Alexey Brodkin > Cc: Carlos Palminha > Cc: Alexey Brodkin > Cc: Rob Herring > Cc: Vineet Gupta > Cc: devicetree@vger.kernel.org > Cc: linux-snps-arc@lists.infradead.org > Cc: linux-kernel@vger.kernel.org > --- > arch/arc/boot/dts/axs10x_mb.dtsi | 22 ++++++++++++++++++---- > 1 file changed, 18 insertions(+), 4 deletions(-) > > diff --git a/arch/arc/boot/dts/axs10x_mb.dtsi b/arch/arc/boot/dts/axs10x_mb.dtsi > index d6c1bbc..9d882b1 100644 > --- a/arch/arc/boot/dts/axs10x_mb.dtsi > +++ b/arch/arc/boot/dts/axs10x_mb.dtsi > @@ -149,12 +149,13 @@ > interrupts = <14>; > }; > > - i2c@0x1e000 { > - compatible = "snps,designware-i2c"; > + i2s: i2s@1e000 { > + compatible = "snps,designware-i2s"; > reg = <0x1e000 0x100>; > - clock-frequency = <400000>; > - clocks = <&i2cclk>; > + clocks = <&i2sclk 0>; > + clock-names = "i2sclk"; > interrupts = <15>; > + #sound-dai-cells = <0>; > }; > > i2c@0x1f000 { > @@ -174,6 +175,7 @@ > adi,input-colorspace = "rgb"; > adi,input-clock = "1x"; > adi,clock-delay = <0x03>; > + #sound-dai-cells = <0>; > > ports { > #address-cells = <1>; > @@ -295,5 +297,17 @@ > }; > }; > }; > + > + sound_playback { > + compatible = "simple-audio-card"; > + simple-audio-card,name = "AXS10x HDMI Audio"; > + simple-audio-card,format = "i2s"; > + simple-audio-card,cpu { > + sound-dai = <&i2s>; > + }; > + simple-audio-card,codec { > + sound-dai = <&adv7511>; > + }; > + }; > }; > };