Received: by 10.213.65.68 with SMTP id h4csp4647imn; Thu, 15 Mar 2018 07:57:19 -0700 (PDT) X-Google-Smtp-Source: AG47ELuXrr0KZO4BPbjb+eBMWIozfsc0mMrZAEqsI7aaLUqwdYMvJG35jq0cYdid+nIvbNNoudiD X-Received: by 10.98.88.5 with SMTP id m5mr7955012pfb.231.1521125839696; Thu, 15 Mar 2018 07:57:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521125839; cv=none; d=google.com; s=arc-20160816; b=h514gXZveircINMvswRBAKojZhkJoN90X2jbKzz5z6GfDxtDGBE9weTVTrMX82ybYD 5itBTOHtkzzqD92ikzJOlEPY2NDQcYHWyyf4/rSStOz60gbdelLRuDjE1GR1J1vxQnW+ YcTL/jllpMfPO12d6xs0d4NefRE+CeHIzXGpz1f84vXIlnQfQqq44YcDl0LWPCige4Ac MAEg12oQIHxawl5tlmza+874DfhzSe16TcMw+u10nWxqIcgSFOCqbT2KmF9Liu0VH5kj caWqiTq2CEVHltnf1WjZJu2c5/qpVISeCEhiBgirVWBFLRa2RLV54BG38FCDMXUfalNa i+2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=QVGUNJpPigQdOo1s4HSfHHgKTa5Sxett8zML6wBuvIQ=; b=vqmHP/MhuMIevFCRfe68wdoA06S9zZmTkK+Mdi8AZyTXkr3hkw3P595K1D+eQsIJIO P+XQUGItfX67wnhNE4vL0otfZYxg+0b6MYcIUKOTQeoKlm4m9/qubaqA51H/Ys04X7rg SQbwt/SfVe/S4RQXGF4RBPkOwbxkQ2xHY9x6B7B8nPyoS6wIBvr2fyKYBYCbE5TyjXH/ VG845QzpfHsYF3Pqwe9j52Wv/Ri4gAk5DF9gPWe1JiDB1zvGiUHXe4o1PE1sITjDqvIq rEkTRWMTfW6diL+19Obn7Pqq+/cmAVCplPv864pNCQqY0EfZk/7x/uKt6I+MeGASpqQU nxbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=W8jjjhbs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r62si3931300pfe.400.2018.03.15.07.57.04; Thu, 15 Mar 2018 07:57:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=W8jjjhbs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932481AbeCOOz5 (ORCPT + 99 others); Thu, 15 Mar 2018 10:55:57 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:29476 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752704AbeCOOzy (ORCPT ); Thu, 15 Mar 2018 10:55:54 -0400 Received: from mail-vk0-f54.google.com (mail-vk0-f54.google.com [209.85.213.54]) (authenticated) by conssluserg-02.nifty.com with ESMTP id w2FEtao4005678; Thu, 15 Mar 2018 23:55:37 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com w2FEtao4005678 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1521125737; bh=QVGUNJpPigQdOo1s4HSfHHgKTa5Sxett8zML6wBuvIQ=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=W8jjjhbsea1mQ2g4g994qrL3iTuFELs3Wzdk4Wd5tnzuCVkw2Hcw2nUmC5AOOVIgC XxZY3issRXbSuNmzq/0zzUq+InEFvUrZK78Iy8mERQrh8uPKr1yQc+XbQXyleIgkmZ W8mHsBDcIyfhAQpFsRU3sCEJcxpcUOmoQ3ZC3PPJnJwZwTwROmqO1RGYMJBJ/LBkE4 3BDyZJBA5lB8ZCxIp9CaUgWm4pXvMFQ+IQydgRSnDnw5Ka88qSJhLnWh2mIvkc764a F1xO5CfL31h47E1uWMtaDhcgNcRR21KmWCKPICLJil+IqTTjJTBIJibD1y4LTd2G3c noXIJYLEVkpkg== X-Nifty-SrcIP: [209.85.213.54] Received: by mail-vk0-f54.google.com with SMTP id k187so4339014vke.12; Thu, 15 Mar 2018 07:55:37 -0700 (PDT) X-Gm-Message-State: AElRT7FObJxi9Jg1Tfa6/DiS2B172dDzTjCs9hxpq/6tJFpbzP5IBJPf nqs2P6raBO/VkqtQnJB99fjDWlVloQBUiUq+wTQ= X-Received: by 10.31.201.70 with SMTP id z67mr6286910vkf.154.1521125736081; Thu, 15 Mar 2018 07:55:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.32.138 with HTTP; Thu, 15 Mar 2018 07:54:55 -0700 (PDT) In-Reply-To: <20180314052658.6244-1-suzuki.katsuhiro@socionext.com> References: <20180314052658.6244-1-suzuki.katsuhiro@socionext.com> From: Masahiro Yamada Date: Thu, 15 Mar 2018 23:54:55 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] ARM: dts: uniphier: add sound node for UniPhier PXs2 To: Katsuhiro Suzuki Cc: linux-arm-kernel , devicetree@vger.kernel.org, Masami Hiramatsu , Jassi Brar , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-03-14 14:26 GMT+09:00 Katsuhiro Suzuki : > This patch adds audio controller, external codec and simple card node > of UniPhier AIO sound system for PXs2 SoCs. > > Signed-off-by: Katsuhiro Suzuki > --- Applied to linux-uniphier. Thanks! > arch/arm/boot/dts/uniphier-pxs2-gentil.dts | 24 +++++++++++++ > arch/arm/boot/dts/uniphier-pxs2-vodka.dts | 37 ++++++++++++++++++++ > arch/arm/boot/dts/uniphier-pxs2.dtsi | 54 ++++++++++++++++++++++++++++++ > 3 files changed, 115 insertions(+) > > diff --git a/arch/arm/boot/dts/uniphier-pxs2-gentil.dts b/arch/arm/boot/dts/uniphier-pxs2-gentil.dts > index d09acb8e59a1..782962749bbf 100644 > --- a/arch/arm/boot/dts/uniphier-pxs2-gentil.dts > +++ b/arch/arm/boot/dts/uniphier-pxs2-gentil.dts > @@ -34,6 +34,12 @@ > device_type = "memory"; > reg = <0x80000000 0x80000000>; > }; > + > + sound { > + compatible = "audio-graph-card"; > + label = "UniPhier PXs2"; > + dais = <&i2s_port2>; > + }; > }; > > &serial2 { > @@ -52,6 +58,19 @@ > > &i2c2 { > status = "okay"; > + > + wm8960@1a { > + compatible = "wlf,wm8960"; > + reg = <0x1a>; > + #sound-dai-cells = <0>; > + > + port@0 { > + wm_speaker: endpoint { > + dai-format = "i2s"; > + remote-endpoint = <&i2s_aux>; > + }; > + }; > + }; > }; > > ð { > @@ -64,3 +83,8 @@ > reg = <1>; > }; > }; > + > +&i2s_aux { > + dai-format = "i2s"; > + remote-endpoint = <&wm_speaker>; > +}; > diff --git a/arch/arm/boot/dts/uniphier-pxs2-vodka.dts b/arch/arm/boot/dts/uniphier-pxs2-vodka.dts > index 6f13a25b935f..33bcd98c8653 100644 > --- a/arch/arm/boot/dts/uniphier-pxs2-vodka.dts > +++ b/arch/arm/boot/dts/uniphier-pxs2-vodka.dts > @@ -32,6 +32,35 @@ > device_type = "memory"; > reg = <0x80000000 0x80000000>; > }; > + > + sound { > + compatible = "audio-graph-card"; > + label = "UniPhier PXs2"; > + dais = <&spdif_port0 > + &comp_spdif_port0>; > + }; > + > + spdif-out { > + compatible = "linux,spdif-dit"; > + #sound-dai-cells = <0>; > + > + port@0 { > + spdif_tx: endpoint { > + remote-endpoint = <&spdif_hiecout1>; > + }; > + }; > + }; > + > + comp-spdif-out { > + compatible = "linux,spdif-dit"; > + #sound-dai-cells = <0>; > + > + port@0 { > + comp_spdif_tx: endpoint { > + remote-endpoint = <&comp_spdif_hiecout1>; > + }; > + }; > + }; > }; > > &serial2 { > @@ -52,3 +81,11 @@ > reg = <1>; > }; > }; > + > +&spdif_hiecout1 { > + remote-endpoint = <&spdif_tx>; > +}; > + > +&comp_spdif_hiecout1 { > + remote-endpoint = <&comp_spdif_tx>; > +}; > diff --git a/arch/arm/boot/dts/uniphier-pxs2.dtsi b/arch/arm/boot/dts/uniphier-pxs2.dtsi > index 18f336e64036..d64ca9d0aef1 100644 > --- a/arch/arm/boot/dts/uniphier-pxs2.dtsi > +++ b/arch/arm/boot/dts/uniphier-pxs2.dtsi > @@ -227,6 +227,60 @@ > <21 217 3>; > }; > > + audio@56000000 { > + compatible = "socionext,uniphier-pxs2-aio"; > + reg = <0x56000000 0x80000>; > + interrupts = <0 144 4>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_ain1>, > + <&pinctrl_ain2>, > + <&pinctrl_ainiec1>, > + <&pinctrl_aout2>, > + <&pinctrl_aout3>, > + <&pinctrl_aoutiec1>, > + <&pinctrl_aoutiec2>; > + clock-names = "aio"; > + clocks = <&sys_clk 40>; > + reset-names = "aio"; > + resets = <&sys_rst 40>; > + #sound-dai-cells = <1>; > + > + i2s_port0: port@0 { > + i2s_hdmi: endpoint { > + }; > + }; > + > + i2s_port1: port@1 { > + i2s_line: endpoint { > + }; > + }; > + > + i2s_port2: port@2 { > + i2s_aux: endpoint { > + }; > + }; > + > + spdif_port0: port@3 { > + spdif_hiecout1: endpoint { > + }; > + }; > + > + spdif_port1: port@4 { > + spdif_iecout1: endpoint { > + }; > + }; > + > + comp_spdif_port0: port@5 { > + comp_spdif_hiecout1: endpoint { > + }; > + }; > + > + comp_spdif_port1: port@6 { > + comp_spdif_iecout1: endpoint { > + }; > + }; > + }; > + > i2c0: i2c@58780000 { > compatible = "socionext,uniphier-fi2c"; > status = "disabled"; > -- > 2.16.1 > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Best Regards Masahiro Yamada