From patchwork Fri Apr 12 12:51:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10898225 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 80C2817E0 for ; Fri, 12 Apr 2019 12:53:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 649B128D7D for ; Fri, 12 Apr 2019 12:53:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5929928D83; Fri, 12 Apr 2019 12:53:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2D9F028D7D for ; Fri, 12 Apr 2019 12:53:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PW+WCODhjxu7hBQHo9Csu0GY3NrAwoBawXETH2zPwjg=; b=UJwLCb+rnGNsYm Wm13imPKc4qo4qGQ4vfW0g2aKk+mW7NoaR3tQLSbRkUbNIAhFUlk3l1yk9a2URs7cvpmNjGJLYKju hHaNcDI6AquWJB45se8Ioq3hDGoWCjW8lEG7Gi6B4xhtkJ26kgWqZ7qaGiFinZjLDirWViBIp7Fod NEFpfwZ35K/ycYh2N63HAyFJEebI5IWKSUj1lUTlUDSW/onZquwoDcwgNmRAFF2kTUwNsblQr6eK4 gQ5Qx8wmyyRWHAdTGbKyRJwpZXAf1PTUCyidy8onO3ORRm8H/1w6MwrgYByyeURMoFNdo2gnZuN3J IjkW7fRus1NfbPgL3KPg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEvfz-0004Iw-DH; Fri, 12 Apr 2019 12:53:03 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEveu-0002w8-Cg for linux-amlogic@lists.infradead.org; Fri, 12 Apr 2019 12:52:03 +0000 Received: by mail-wm1-x341.google.com with SMTP id n25so10882610wmk.4 for ; Fri, 12 Apr 2019 05:51:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4Niok7+mQ1HMXYhWIferbfqJsQTk/gK20ga0eIZkuSs=; b=LUsrQuhyPX+sl/sci8Wxo10d+c5z2DVx3f3EnZ074fFT0jH7dLmqYugHEzwuwt4/L2 UvGo6eC9cVmNy0bGM4OI36yNDLbAxOf8W0idOaWJox4mZ8YGIFCilpqqNZlN0rUKGY3f 9PV4Aszv7H+uHYx0b45aNekCsrtXScFsXctc/CXoranGBWfc+/VhQGFhImQ756rNXZfd 8Zdd2LDOS9lin8FztiZny6CeG/ACB8APOdQeH1m4X0I9k986bC3eVP3OCqZotiCrKOZw uwSaxXrEU5t9yXSNT+ZFGViQq/woq3KNGK6Wr4jh4Blg/Wy8V9/7R2mMdyn2CAubtP3C a+NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4Niok7+mQ1HMXYhWIferbfqJsQTk/gK20ga0eIZkuSs=; b=FS10aaFX6R+gtmeDcK2jEfGPQ3rdTqAqD3HpjbXKxiUmubSWF40txPyPI0U8fGuq42 4dbwYXsqCpktkbZLvJc7jaaXOyNpR7QLwbiallnwfM05mj3W/GxENFH2RlybxQZiAv1P 1KejQZcHuUmtfnrpILGdgqSLPk851B3RKiq1YW7EZIt5HoWFSyonOSDv2c20bgXFFArv iuUroRUa87ym2xxjDXBbvtl4ZvFyuAKUFnnDpni12maRYSXhBELs/KDPrQe72gC4bbPJ NgGVV5yFxaWwT0In9INPVWx6nMlY2JRtw/MigAjesBTikgAgSAYkRXXxFFdIAXe32Jmi rpPw== X-Gm-Message-State: APjAAAVRs17Y9NbPsuxVZLAF0O4EDcpm8cQttKqBxZw2aATgBEWGww9j 8pBEIRaPKkKaUbHNIPScujrnng== X-Google-Smtp-Source: APXvYqwkv/HuIzCLU2dgZttfVJ4dJ0e06IQmwSTo+V6pVJ+Cp/Lid5XtfgOmZK0WgM6dZWLq7DqetA== X-Received: by 2002:a1c:e90f:: with SMTP id q15mr10691902wmc.1.1555073515021; Fri, 12 Apr 2019 05:51:55 -0700 (PDT) Received: from boomer.baylibre.com ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id b3sm42049702wrx.57.2019.04.12.05.51.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:54 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 5/7] arm64: dts: meson: g12a: add spdifouts Date: Fri, 12 Apr 2019 14:51:34 +0200 Message-Id: <20190412125136.28232-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190412125136.28232-1-jbrunet@baylibre.com> References: <20190412125136.28232-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190412_055156_935484_E08E05F6 X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patchwork-bot+notify@kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the spdif output devices of the g12a SoCs. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 24 +++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 5f5b8c67df49..90b23bacd51c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -414,6 +414,18 @@ status = "disabled"; }; + spdifout: audio-controller@480 { + compatible = "amlogic,g12a-spdifout", + "amlogic,axg-spdifout"; + reg = <0x0 0x480 0x0 0x50>; + #sound-dai-cells = <0>; + sound-name-prefix = "SPDIFOUT"; + clocks = <&clkc_audio AUD_CLKID_SPDIFOUT>, + <&clkc_audio AUD_CLKID_SPDIFOUT_CLK>; + clock-names = "pclk", "mclk"; + status = "disabled"; + }; + tdmout_a: audio-controller@500 { compatible = "amlogic,g12a-tdmout"; reg = <0x0 0x500 0x0 0x40>; @@ -455,6 +467,18 @@ "lrclk", "lrclk_sel"; status = "disabled"; }; + + spdifout_b: audio-controller@680 { + compatible = "amlogic,g12a-spdifout", + "amlogic,axg-spdifout"; + reg = <0x0 0x680 0x0 0x50>; + #sound-dai-cells = <0>; + sound-name-prefix = "SPDIFOUT_B"; + clocks = <&clkc_audio AUD_CLKID_SPDIFOUT_B>, + <&clkc_audio AUD_CLKID_SPDIFOUT_B_CLK>; + clock-names = "pclk", "mclk"; + status = "disabled"; + }; }; };