From patchwork Thu Dec 13 14:36:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10728787 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 E2D7414E2 for ; Thu, 13 Dec 2018 14:37:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1F112C2D3 for ; Thu, 13 Dec 2018 14:37:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C4E652C2DF; Thu, 13 Dec 2018 14:37:02 +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 C18C82C2D3 for ; Thu, 13 Dec 2018 14:37:01 +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=11nbW7rKrOf9v9cvWAOW6yz7kagDkrw6Xq3/fuNZtTE=; b=S9O9Zgvy83S8nG dVNGq6a5XMjxjpKpzlRzvpHSpZlFI82qN9EX3knOmZ03cL01AL1y5RO37/kRLsTDYJKzAJe5meHAw ATNsgcaaq8/4GirfpQkXag1XM90lrMADT4wMponGBY/jefASxprekGEnrHJ9W8kVJ18WSDU7L55qt ZUCocdzjgS/oHUzs53gAz1MT8k/OrWLddd13GFqmkygDDx9wqGq3RK88UeS5COdkwY+8ZmZOFr8tp D12FO9cW9fwrXolxNCyxqIwCIIJvSr/LBsEagwQe2Rdt5vk37LN90r7+Aekdxz8sUKLilLHs2vDL4 LyDrly8RipMiQhlIWE1Q==; 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 1gXS6n-0000dV-6r; Thu, 13 Dec 2018 14:37:01 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXS6e-0000JC-Rz for linux-amlogic@lists.infradead.org; Thu, 13 Dec 2018 14:36:57 +0000 Received: by mail-wm1-x342.google.com with SMTP id r24so14043829wmh.0 for ; Thu, 13 Dec 2018 06:36:42 -0800 (PST) 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=3LDYQT4F7qXvGWqvCs7Js1wTvrjLPyoPq0KJKGY64nE=; b=Qd8Lutf9Ism6TNlten1CU1PFaR3DMHrkd5ixR1rQNsuhbmK43zot3f4oR1Iqk+qXTr MQnK7z270bX+hfqaAm6eskA9hE+knB9o3GFDrQPe0tQ32uc0emqYIM3hoTVR+2cXT2Bh sfeCZrhlFX4eOlZ8Sa+egDli+yJbDRPrw7isu+0u9Y8IJH4eqo7kYeOQNKbjkD/1TuFz kyyW5olHk+4cSCEHtPL6BxDIHpAH0pi8z+zA1oaYdRPSUe3rYx8coNxzR5BCWTA3tB6z Kbk7G6RY1hSDU8FwDQ+O+LgTQhXLR6J7u1hCzEzFwoYYSzhtzCE319YKnny8cf2AoMKI 8CtA== 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=3LDYQT4F7qXvGWqvCs7Js1wTvrjLPyoPq0KJKGY64nE=; b=tLV99O6r8HzzdGIrbP/Jgeot0L0vFOpvwOZudQ40odUS/QzqFpl2cOb5WtRAEZZtKf 1LLmZ29hh9ekkmD5vcmYgZNGPriSD7401CW6//z6kQidFjPLw8wptxeE+i/9srLpC624 fdDw7vBROrnAQ66bT/Q/iuoGj2Dx1XR30NOTpldvC4AYETzKvtrEEyvKMbBbv8xMm6K6 4OaL1/0BdC1hx7jdJF42Aq4Z65HVjGS1Dcel+kvF0z8hsdtcFu+8V96HI4W5GYk6Sh0W 5TdRmALX2kYEhCeNocB2h1Fu5FPD72SvVbvetU9OX1WkNZID1ThBt8Smbg+rCla6cbJo J7NQ== X-Gm-Message-State: AA+aEWZqoBRqjH9qz/MsgoG5tkfWnEWE0/NvjF9gRULPpDrQoThOlT9c oGk9aSjeD9Jn66t+yobpewyJUsHWr0c= X-Google-Smtp-Source: AFSGD/VjQtBgbWoJhsI9qizZMKzRkv1YdNxQa0zY5A6WZSJZwKg5EAJ/PPd7wxOY/mJyoT7sIQwMQQ== X-Received: by 2002:a1c:da0c:: with SMTP id r12mr10118590wmg.54.1544711800882; Thu, 13 Dec 2018 06:36:40 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id e12sm4929930wmf.22.2018.12.13.06.36.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Dec 2018 06:36:40 -0800 (PST) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 1/3] arm64: dts: meson-axg: add spdifin Date: Thu, 13 Dec 2018 15:36:29 +0100 Message-Id: <20181213143631.19218-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181213143631.19218-1-jbrunet@baylibre.com> References: <20181213143631.19218-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181213_063653_362735_01623F58 X-CRM114-Status: UNSURE ( 9.26 ) 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-amlogic@lists.infradead.org, linux-kernel@vger.kernel.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 input device of the axg audio subsystem Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index fffd55787981..781632bd60ed 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -1260,6 +1260,18 @@ status = "disabled"; }; + spdifin: audio-controller@400 { + compatible = "amlogic,axg-spdifin"; + reg = <0x0 0x400 0x0 0x30>; + #sound-dai-cells = <0>; + sound-name-prefix = "SPDIFIN"; + interrupts = ; + clocks = <&clkc_audio AUD_CLKID_SPDIFIN>, + <&clkc_audio AUD_CLKID_SPDIFIN_CLK>; + clock-names = "pclk", "refclk"; + status = "disabled"; + }; + spdifout: audio-controller@480 { compatible = "amlogic,axg-spdifout"; reg = <0x0 0x480 0x0 0x50>; From patchwork Thu Dec 13 14:36:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10728789 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 B341014E2 for ; Thu, 13 Dec 2018 14:37:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A36BB2C2B7 for ; Thu, 13 Dec 2018 14:37:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9767D2C2FD; Thu, 13 Dec 2018 14:37:05 +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 498672C2B7 for ; Thu, 13 Dec 2018 14:37: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=6w6GPGs9v1J8lra+CneKngHdz0AonO7bgb9bCsdJL3o=; b=X7xCW8mvqOV3E/ Q/tMJV8t8ZCYNuQI809zn1kI3pOo7ghIkEWw3RQMHatfVca+mlYu7iUX8Pl8cYKnTCKnp4UEUQ2Hn T83tEuvEH0Md93I14+kfWq4kGgWhwncEnwWcCZEfM1JD6wkRxgjzVbtWxgqm51Aded5pRgWtCSZ9q rCxjXqNEnmqwoXFQHxwT2itbc2mHILgLocMjLvkI6Jg3IKpnLub7sNsl4E3gGmW4W/y4PVHwWjTsF fVtlsnYrK2DKtV2Qft8i7qcRIF6Dq/rAeHd7kI/X3eCOI2eufh4yI3GnaFWC4YZGkeA2XHAbzxK+H ikWDVmjr7m4AwzbR9M8Q==; 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 1gXS6p-0000f7-S3; Thu, 13 Dec 2018 14:37:03 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXS6g-0000JS-E6 for linux-amlogic@lists.infradead.org; Thu, 13 Dec 2018 14:36:57 +0000 Received: by mail-wr1-x441.google.com with SMTP id z5so2235096wrt.11 for ; Thu, 13 Dec 2018 06:36:43 -0800 (PST) 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=m88udau/ikGQTftb3kkyEEVxwlYtl5cz4zTyGujJo8k=; b=RUnwFh8tQtIHv0gaQ9xRx+HkM9ckL/Zh3HAN0c5utLU5cezOpHiPPkiS/pK2qwLYY4 +hLmVJoU3B33JpdRQ3Ohvwj1/tCBPgus8KjnVWyfYsW4G5rBCWxkX3LEmTZDZZABOCP9 5yMRwtXaeavutUD7KQSCse1SE/YCkgrK99jGItZU9t9b7DLQheBfdAWldh+JVaB8hsHC OGMJPa1UyBgLiijjDpPBc64cKJ/fEVqQ/ZqQOTrBsaVt0cRUctB5r/u2THl4RDWRNcjx 0N4Jo9GCMsoJ4mGbe3mB+D0kTunBWLKiurlGimsbouOdPbUA+TiR0aWKXGYA2q8wWv04 OtvQ== 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=m88udau/ikGQTftb3kkyEEVxwlYtl5cz4zTyGujJo8k=; b=qHx/Cb7j8JPQlveWk61COLzQyIwIEDg4HNjhoCMVEPCiIh00Yc6DKZMF+tE614aUTT SuJawfSal00HfRXynkBgEANKTmFpozF/ON3yrmRBxHMikVZHx0WdXG+2yvXE1l+dtvrU cx2rpgMhWEmHHcRjw5gG4fWy78D9/aDxE8xruEsqH7HhwTe86AkQK6ArJTwEHgVmQuBD cpKpPw13SyP7usqY7G6dgCWKVuT5uJumQzQ9JXFFrj47RMs0cnbnOPG/FZZP5oY0EUp1 sYQr+VJOmL+dHy0Uy2sXRfdEo9RwWt0JD9YOq94wr5m3BoHA05TzYfbFCxUU1jzCzGdw h+AQ== X-Gm-Message-State: AA+aEWZBjwngUzhdu8YZ5jvXQN8g49CuU5Du0HwWspcvyuSuFA1bm8k9 sLSFBYBktlhaVOGfv77P/lDuNEolxDU= X-Google-Smtp-Source: AFSGD/UabJYkWYrgD3gYyk95at84HwJGThzAIrfdZ0SO3fbEdfwFIIIyA/zirgiJCzC3H3OBNVbj7g== X-Received: by 2002:adf:9422:: with SMTP id 31mr22766966wrq.106.1544711802495; Thu, 13 Dec 2018 06:36:42 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id e12sm4929930wmf.22.2018.12.13.06.36.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Dec 2018 06:36:41 -0800 (PST) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 2/3] arm64: dts: meson-axg: s400: add spdif-dir codec Date: Thu, 13 Dec 2018 15:36:30 +0100 Message-Id: <20181213143631.19218-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181213143631.19218-1-jbrunet@baylibre.com> References: <20181213143631.19218-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181213_063654_471304_4F950B3D X-CRM114-Status: UNSURE ( 8.46 ) 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-amlogic@lists.infradead.org, linux-kernel@vger.kernel.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 capture codec to the axg s400 board Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index af2f2619bbc1..2f622a0b599a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -95,6 +95,13 @@ sound-name-prefix = "MIC"; }; + spdif_dir: audio-codec-4 { + #sound-dai-cells = <0>; + compatible = "linux,spdif-dir"; + status = "okay"; + sound-name-prefix = "DIR"; + }; + emmc_pwrseq: emmc-pwrseq { compatible = "mmc-pwrseq-emmc"; reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; From patchwork Thu Dec 13 14:36:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10728783 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 C115B14E2 for ; Thu, 13 Dec 2018 14:36:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AFB642C2B7 for ; Thu, 13 Dec 2018 14:36:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A33E12C2DF; Thu, 13 Dec 2018 14:36:59 +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 0E4FD2C2B7 for ; Thu, 13 Dec 2018 14:36:59 +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=27eJCXKUFBSOpmCItOymOhoKs7lVo1WYX4i5nCLKoew=; b=G6FsXzrYsIEVv7 0bx7NM/ySJRZpevjiOCLr+9HMvtJh8VA/JWzFMfvEMS8WQO3bufJjUnaYC9jWxnf22+eqOcARSR6/ YZjfW24ZgoYoXTj8s4TOeb9YxL3dCwyLyfoStkzoxlCxPrf7xsU0bmFDroCZaoeHtwDR8dfXJsjww oNeA7C6rjcV2yMpwEAL8c5eGuRCcXrgw8Uj8DSgL4K9enZ2gdhH0Rbs06voogsrzTmLvDecXHKEXD uFHPj8SkbVzipSr2uPbz68cI8NeQ0xJK98IIhPJVYiZ8jlVEyjY5SAgjYGe97nRCZTEjrpGY7TPiy 6KvDP7xo6bvWCnUy6ZNA==; 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 1gXS6j-0000aD-QT; Thu, 13 Dec 2018 14:36:57 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gXS6e-0000L4-S1 for linux-amlogic@lists.infradead.org; Thu, 13 Dec 2018 14:36:55 +0000 Received: by mail-wm1-x342.google.com with SMTP id m22so2629636wml.3 for ; Thu, 13 Dec 2018 06:36:45 -0800 (PST) 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=7K7iELG0a2tVDLk15ROsV+hZvPYF3VLaoJgK29DOxho=; b=ilGaf19Nu7tlQLV4OQA7w1uDuHvZimVvkJ/t3sxGQBQCSucMAJnGFWy1ED33ex2rKv n5yoti8eezGiuxKZMnxUkdiGhrVrLzopRcm63zTeo+K0xXmIauE2Gch+lFBw3bOcZYD4 1+RcfBjwUgaN/TwaOP9tUl2dlC/OlLokE43BmkM9TzeSs1HijJJSIaiKFc0bUrb8Q+Gt l1DyD9RMYM0nMvP8TraspvrBgWobCuOl+kHwsC8BwkVO1W0Kpl5twfTWJVI2ltji7mKc 2ws+HZlCNSqVe5SN/CLBXIjqkQQRwY4DEqYsBrX2PDiiCjAThMdDIaN71PKYBpvdRoiW StrQ== 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=7K7iELG0a2tVDLk15ROsV+hZvPYF3VLaoJgK29DOxho=; b=uN9qs1CmOuHSaAoOi5C2UTcLs6eDDmYEyCS9Cxd0ZJjweHowrdeZGkEwa/Xzdq6Ooh G02nN86YUNPIkFhVJhIf7BCt9vIrskO+u31XRZ2ZyH/6qsttC7bceZzrJyjHawPyGwVU mWKJOzzejxiw25sN2q79hSZpkmcDzj2iEfvWCLXc93vfV/DL7wlwQwIZjrTN2OZrXgzH sJ9sRq595yi8GsO5jw134td0cxG79SSr5yZUm/0UrpC+HfF4hQAFL8MhjjO8nYvbgjKk E34uSiQ7qDFH2e4eN/Z/OQ3EPIMVOhWLe7VcSGgRgC30trGs+2uinuX4hpCb9nHCNkpl +hMg== X-Gm-Message-State: AA+aEWZuwDO/o9/kobDSWLAfhYDbOjgTdpOaTnTSItR0mhOMd0BB0OVy HVA2RbVbIvemz7m+tdxOkVsO3A== X-Google-Smtp-Source: AFSGD/Wq8TmdArWt+zEIO67LePsnCA/8WZZUshPb6x+qK77eFcIlnixs1Vjm09fqpZku6aSAHBz07Q== X-Received: by 2002:a1c:848c:: with SMTP id g134mr9782244wmd.93.1544711804076; Thu, 13 Dec 2018 06:36:44 -0800 (PST) Received: from boomer.local ([2a01:e34:eeb6:4690:106b:bae3:31ed:7561]) by smtp.googlemail.com with ESMTPSA id e12sm4929930wmf.22.2018.12.13.06.36.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 13 Dec 2018 06:36:43 -0800 (PST) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 3/3] arm64: dts: meson-axg: s400: add spdifin to the sound card Date: Thu, 13 Dec 2018 15:36:31 +0100 Message-Id: <20181213143631.19218-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181213143631.19218-1-jbrunet@baylibre.com> References: <20181213143631.19218-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181213_063653_338522_9F2E9B15 X-CRM114-Status: GOOD ( 10.36 ) 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-amlogic@lists.infradead.org, linux-kernel@vger.kernel.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 Enable spdif input device on the S400 and add it to the card Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 2f622a0b599a..c8b531ce5c63 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -256,6 +256,9 @@ "TODDR_A IN 2", "TDMIN_C OUT", "TODDR_B IN 2", "TDMIN_C OUT", "TODDR_C IN 2", "TDMIN_C OUT", + "TODDR_A IN 3", "SPDIFIN Capture", + "TODDR_B IN 3", "SPDIFIN Capture", + "TODDR_C IN 3", "SPDIFIN Capture", "TODDR_A IN 4", "PDM Capture", "TODDR_B IN 4", "PDM Capture", "TODDR_C IN 4", "PDM Capture", @@ -333,6 +336,14 @@ }; dai-link-8 { + sound-dai = <&spdifin>; + + codec { + sound-dai = <&spdif_dir>; + }; + }; + + dai-link-9 { sound-dai = <&pdm>; codec { @@ -489,6 +500,12 @@ vqmmc-supply = <&vddio_boot>; }; +&spdifin { + pinctrl-0 = <&spdif_in_a19_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + &spdifout { pinctrl-0 = <&spdif_out_a20_pins>; pinctrl-names = "default";