From patchwork Fri Aug 31 15:02:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10584003 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 079171709 for ; Fri, 31 Aug 2018 15:04:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED5A1201BC for ; Fri, 31 Aug 2018 15:04:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E109B2793A; Fri, 31 Aug 2018 15:04:41 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 C1A06201BC for ; Fri, 31 Aug 2018 15:04:39 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=8UOphmEX2qXZr3hrX8AXBPd80cEUt8b+VFvB8lTbV0Q=; b=eF1cSXlRKTHQNDrBaFn/Y8daav qDIOF3m6nCrV7kdInj81f/yDbRAfQbAI2Edo7cn4t4yYeKOPUDWHMn8c9hYQrXcrAdjy9NTwEROm5 /EXGItXo6hxGh0ZWto9a1B8Ilxs2yIkcfY8fMP3axS8eaj43kB4MfIqr9sHwR9Bn3Zm8uBZeOn4no /XRbLndgoKzn6PEj1MHAnVUlXIozHM4uDHbat9p3RDZ+KoqqikRMe5J+kRm+XiDGsifMzWzdyNDoS eX00AmN/mJJLbcMTnDwj+hYOLdsigS5AU6iUeN+aRBB+nHiW3iB8tV9XH/F5Cw5Vi5ty+yK8ZiRFy uCi0JPRA==; 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 1fvkyI-0000ss-PX; Fri, 31 Aug 2018 15:04:26 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvkwX-0008VW-2p for linux-arm-kernel@lists.infradead.org; Fri, 31 Aug 2018 15:02:50 +0000 Received: by mail-wr1-x444.google.com with SMTP id m27-v6so11527868wrf.3 for ; Fri, 31 Aug 2018 08:02:26 -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; bh=rTKTL3h8CLAcV690tHQAj0sNlkjrhHX0Jxmm+mtIbgI=; b=BFCccr+WlPAoSaPNQ/a3MetRnGCW5ZlAqlcsJPiHv49cUDSqHMXazuAbJbYWFWEEbX WlQkb7his3CJPORmgpwJ0Zf0gNr/uLL/J49Jx6GjPgKIVmCtsGXw1mpmsWfOQMroi+Zh CHsmqFRhvbzDn891J1DOm3P3hCDffaCjjZ3gVjbBe1Awv0IKw5a+we8uiY9FQjpBv4Dc Az7V/jyEuWeh0vZTS8CNaBUKGZ5JYUCZc7yl813TopyWQzmXYg0ipqEywY4HiRjlYRiZ oo8gFt3rmTmEkzWOs2noWoC/700pPprQXLRkReKc6NCrY3g6bczjOFgGYDgS6HRARL2+ TWig== 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; bh=rTKTL3h8CLAcV690tHQAj0sNlkjrhHX0Jxmm+mtIbgI=; b=boNgwk3Fu1fxdTBifaKUHDuaCXto6xn13oHdKyuK3pABjWKqHsiH4fOLHTgfly/bB7 zhZUM/V+rHdKFZ7wAM2cyHbBoYYaYgpuPNiklaL1VHN/GwU32cq+t3sJ8/Pdz2SNEQzF mm3lD0+ZM5lPzN3fIXw9MXeywiTjYROs3bSRC9d40S1jjKaS8dFbEI3g7T7VUwSVAUch rC3IU7avbazMeiUp7ZIdiTvQrFy4emQpQUTo0HODda95/Wz2Xh2DahHhsvKPWsRR6LO4 9GBVq6AGCBAoYok6808eDwZDxW02xWdzcwG5/dXZyIETnQFgZs9LmnYou+/HLaH/IXCu VUCA== X-Gm-Message-State: APzg51Cn9SLG9L7UcT9IMgfputKYRrfLrDBpgyMD1LwCbQ8CKPODxdvA cKQ0vzzZawYaMe9hJbjeroSKhQ== X-Google-Smtp-Source: ANB0VdZzaPbeW9P8oJkvEiOd33crIAd5+c8v3rtWH0NEAIppgnIk8PHHSJFboGvslpcP/VlJ3nzxMQ== X-Received: by 2002:a5d:5383:: with SMTP id d3-v6mr11287520wrv.191.1535727744966; Fri, 31 Aug 2018 08:02:24 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id 184-v6sm8759797wmv.6.2018.08.31.08.02.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 31 Aug 2018 08:02:24 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 1/3] arm64: dts: meson-axg: add pdm Date: Fri, 31 Aug 2018 17:02:16 +0200 Message-Id: <20180831150218.8307-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180831150218.8307-1-jbrunet@baylibre.com> References: <20180831150218.8307-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180831_080237_196602_521B5697 X-CRM114-Status: GOOD ( 10.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the PDM 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 36be63d69e7f..883ddfce2374 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -152,6 +152,18 @@ status = "disabled"; }; + pdm: audio-controller@ff632000 { + compatible = "amlogic,axg-pdm"; + reg = <0x0 0xff632000 0x0 0x34>; + #sound-dai-cells = <0>; + sound-name-prefix = "PDM"; + clocks = <&clkc_audio AUD_CLKID_PDM>, + <&clkc_audio AUD_CLKID_PDM_DCLK>, + <&clkc_audio AUD_CLKID_PDM_SYSCLK>; + clock-names = "pclk", "dclk", "sysclk"; + status = "disabled"; + }; + periphs: bus@ff634000 { compatible = "simple-bus"; reg = <0x0 0xff634000 0x0 0x2000>; From patchwork Fri Aug 31 15:02:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10583993 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 96DF5139B for ; Fri, 31 Aug 2018 15:03:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 873A72853C for ; Fri, 31 Aug 2018 15:03:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 847272623C; Fri, 31 Aug 2018 15:03:00 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 75E8128825 for ; Fri, 31 Aug 2018 15:02: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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=DcUXKqdmeLQyDIxFGuNxISeMaIBFs0fIU8E1WKByzZk=; b=Yu0zMMToEEKu7hNENgLTwklDwe KYw5W9GhvTX+S1SBIpR/FfGfv88PcyMKrgMzwQX06jPg3KCZRs4tHtVBn1nEiL9iT/OlEmVbEDwc1 J7yKd6jpmVMM8woETYSD+WMWKQ88lLMyR+Zl9Up5keVyzMD1zKU3yy2fGJB78Xk0Z/lWBIejkzm+t 4TyUyOYrgxW9jjNKJBtMtqqu+NXRVsM5Ie5K6w86nqn2gsvUDayFp34Hf4k5ZUhACWPPX5RV5H1ds 2sahE8QTa8LnO8WxzuHq33WMdDQWCNV1ADsTdr32LGKMY9ayu5hJwvGOmcH5iQI0efxBR9qyT8kXm s1SyEMkQ==; 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 1fvkwh-0000EW-6j; Fri, 31 Aug 2018 15:02:47 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvkwe-0000Dl-SO for linux-arm-kernel@bombadil.infradead.org; Fri, 31 Aug 2018 15:02:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+SFT4n9BbB1i3eN7ZRd6EdLeaO+8O6eU3L/eMnxt3mI=; b=gXYMtrWLx0TMUNisLNQ+NlqBc Gxr0j6QxRforw8RXb2I4/n4uZbvLUGfFAi3s8uHsMGFB+IF1vtOGW3pFuR0bVNBIv9yt3qQK31fqn 4ZcK+DqGJUpyrcc+I6T90lw3CuxrNMuJftS6QqSqaQZEvh8LlsYOWovi/9GCMzI1YzMCiywGquOH+ CBPEq8I7psWSM0uCmozGspCk3TIwdOTEUSeZmaV/pnorU+mc03oKzygWwOMGBumbys01EpVRszviP tEpj2G6wse3fwbfA9hLaMTkRft/YcTsC9YjGWk7jBwwlseqrTLmUND0RU53ml2jr0Vrja5wGyDQEI gwRv8K0DQ==; Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvkwa-0007lg-ST for linux-arm-kernel@lists.infradead.org; Fri, 31 Aug 2018 15:02:42 +0000 Received: by mail-wr1-x443.google.com with SMTP id g33-v6so11537699wrd.1 for ; Fri, 31 Aug 2018 08:02:27 -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; bh=+SFT4n9BbB1i3eN7ZRd6EdLeaO+8O6eU3L/eMnxt3mI=; b=JjdW3rSbxgDn7Gy7InxPXoSymmJpBU7YOVkerK/HEYMHuo51jP/89nJ0LSQWlBSmIJ ZN9dAU5UX55o1kXdGtHy8rwQVoJnebwhB1Ek0NXVoSHkkz1GKqts0Ovo6Tgkg+N6jU5L hSxH1px9AwIGw5WdwMtYPK9Mw30XVMbw5fwW/xy1pPav1g71MM9bOg/uv31F1cQjh5rM v32l/FmlWfGAMlkyIccqNu6lM6zqcBcgTpiFE7+rrtwMfhJRVTvU/Gufi+JHXHwqhu/X 1QCZNWNUoTABiJUzhzsXgQFHOb8AKt5abgxqF0jI/fxgCA3Vjx8o2nFuF1MafvuQ0gdw RPvg== 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; bh=+SFT4n9BbB1i3eN7ZRd6EdLeaO+8O6eU3L/eMnxt3mI=; b=CyjzB/TQURJSkEnXnHipLZ2FV5+LscjroR+eIgVZQhQyVQLKapPKLs7LLVc3+CNv0H ZIVxdD6mfffpocqZyZuMw/ikdcvek4+p0YG5IBAy/oarmbrJe+7LIUgG6rFmcNR7GVKj aPuDvFPbSkfoqgBVLZXDRATgJTWRLspyz0BEl7OX3J04zogBEpARo0DmkoYWyKeybvip L8Ai4rBl/2M3rO6lrBHQXHQSTedVYXJNH+Ullgf3nSFOkpQI9YNI2yVhd3mm37veyVGu syB6YB50DSR8DK83qQl4cKW+28YW6KMTaG9HFDWofynJswDKP5GfVuu9AN/CBuiYqKgz jNKA== X-Gm-Message-State: APzg51AVB1YAJgl5QQHGfKpK572b03xQzL4K4GTu5u3j4kqQwI/Amctp 0+nQUoMFhnNJpTCMJdU7+sCYOJf1R8E= X-Google-Smtp-Source: ANB0VdZFBxT1SImXBvvQfkaov8xjjztCZGoTj7mmii7CG8pWRLOc/J7cXIZs5Xhe3aXzMguavMmYrg== X-Received: by 2002:a5d:4d82:: with SMTP id b2-v6mr10784722wru.80.1535727746061; Fri, 31 Aug 2018 08:02:26 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id 184-v6sm8759797wmv.6.2018.08.31.08.02.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 31 Aug 2018 08:02:25 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 2/3] arm64: dts: meson-axg: s400: add dmic codec Date: Fri, 31 Aug 2018 17:02:17 +0200 Message-Id: <20180831150218.8307-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180831150218.8307-1-jbrunet@baylibre.com> References: <20180831150218.8307-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180831_110240_933468_F5E29582 X-CRM114-Status: GOOD ( 11.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP There are 7 digital mics on the MIC daughter board attached to the s400 board, so add the digital microphone codec to its DTS Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index ff64c429d432..f3e16cbbc61e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -86,6 +86,15 @@ sound-name-prefix = "DIT"; }; + dmics: audio-codec@3 { + #sound-dai-cells = <0>; + compatible = "dmic-codec"; + num-channels = <7>; + wakeup-delay-ms = <50>; + status = "okay"; + sound-name-prefix = "MIC"; + }; + emmc_pwrseq: emmc-pwrseq { compatible = "mmc-pwrseq-emmc"; reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; From patchwork Fri Aug 31 15:02:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10584009 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 DD4AC139B for ; Fri, 31 Aug 2018 15:05:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD568276D6 for ; Fri, 31 Aug 2018 15:05:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1E5427F8F; Fri, 31 Aug 2018 15:05:32 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 46F67276D6 for ; Fri, 31 Aug 2018 15:05:32 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=euJrvPj1Yt9CK0QPEkSO8aMU83nqbItpg8leq8uNjF8=; b=Zw7yYXacZQSMn8hJZt1wHWSQgS t9gYRe4Xtx52eP9taLz0NGvoPIwDAuMqRUwoBXmRiWUoOwaeIHG/jPdTOtu5XwLNtvBNVpxAhnaeZ ugrHunoixhq4RHNC7uJJd1UMFeuUL7mILNwaaVFu9CZm2hn7OKno1B9TnVBeuZYOiuce6S7UQwYJg 70rMoFGZa/LnzKSJlVvx8/Wqu3OvrVJL+38JG+Yt+QaNXjxyNkWl4Tz4E4/yKkJds2BTMtzZ87fFO gR+Jgath56FaSwrckBLgeLuUu0K6EwJI5AnFqrjM9Y4/yv7C45om0vRibPlfs7TH6P6mW13/qcvk8 G6UwVyHA==; 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 1fvkz8-0001Uj-5C; Fri, 31 Aug 2018 15:05:18 +0000 Received: from mail-wr1-f67.google.com ([209.85.221.67]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fvkwZ-000058-EJ for linux-arm-kernel@lists.infradead.org; Fri, 31 Aug 2018 15:02:53 +0000 Received: by mail-wr1-f67.google.com with SMTP id 20-v6so11498811wrb.12 for ; Fri, 31 Aug 2018 08:02:29 -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; bh=Mp7HvitQxu82nYe4ft7+MBqxeb+onsmRtvvDDm0lSqg=; b=RFZkALlhsB8MO62L6C4TFEM9J9+NcEG6kSb8BIknlaPZDXVFJSH8L2rhyGnIRMMzvO Dh2E7nsbJ4wnW2Sh0BL7F3XaoLL8WL7w9FEC3a6sCn09bhyvXVCvsEWBnF+vUW5XJJkh U1CwE4OaOq6bioIUwMWLQQDINew/I8ppP3u21cQuok+KmGCFeuTRmg8BoK9XeOY7B+AK pidh3ZshTUv8lqJP4RlXAG+cMp0FEiYsXvoHHfZfHtb1efbBCg5Vko93RE8x1t3J9FQ+ c0pM8EtjmMjn+VgNZsuwwHmYU2sAtWn31m3hUITqstMniyd+7ycU6KhvDvMtUDjov9J6 m+WA== 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; bh=Mp7HvitQxu82nYe4ft7+MBqxeb+onsmRtvvDDm0lSqg=; b=RXRoUCvlm6icDBeW2A9jlKKZZNiqgFdIKGqhszW+b2A4r+9AISaoUBfdXYn8Bhay+f 0i11q5aeYBFB3KcJMqDy1Q46+cZBhU0E0RkfesjyB+HONBvp7GK3gjGx48LqcOJO6UZa Fb4lioH5hJMEHvMGxHWxds9qXfVShOSfi9/5Ect+6rhbwbpmKOUfWLHNrL+htN0BB96+ SKZihAzw9b2Wq+W3e4r2YG1gySyXxJk4LoJmlt1ws5QfXipvPn+nrr8qDUDOVqOJllZ4 YVFGcCmBtCM4p/oiokYiIUT6Kqg3mdU/TFN3NWLtmTYF/jvw4kJh0REHhVz/El0/kcH6 KbrQ== X-Gm-Message-State: APzg51CDbdARzQlB4OF63n91Pcxzflj6fKSjEKwDVCD0vDHWRLmZnC2O rmj4XABM2knH2DwMGPPPQ9NYqQ== X-Google-Smtp-Source: ANB0VdYa/+XLs4ZO1NIA3dzgPjloRvq5a0dUYoZy6qN+WGVWlrPJURATmbjrIz1P0hLPLasHmOSx3w== X-Received: by 2002:adf:8b98:: with SMTP id o24-v6mr10905674wra.110.1535727747141; Fri, 31 Aug 2018 08:02:27 -0700 (PDT) Received: from boomer.baylibre.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id 184-v6sm8759797wmv.6.2018.08.31.08.02.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 31 Aug 2018 08:02:26 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 3/3] arm64: dts: meson-axg: s400: add pdm to the sound card Date: Fri, 31 Aug 2018 17:02:18 +0200 Message-Id: <20180831150218.8307-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180831150218.8307-1-jbrunet@baylibre.com> References: <20180831150218.8307-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180831_080239_557041_7EE73B84 X-CRM114-Status: GOOD ( 11.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable the PDM input device on the S400 and it to the sound card Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index f3e16cbbc61e..92d3064d4966 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -240,6 +240,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 4", "PDM Capture", + "TODDR_B IN 4", "PDM Capture", + "TODDR_C IN 4", "PDM Capture", "TODDR_A IN 6", "TDMIN_LB OUT", "TODDR_B IN 6", "TDMIN_LB OUT", "TODDR_C IN 6", "TDMIN_LB OUT", @@ -312,6 +315,14 @@ sound-dai = <&spdif_dit>; }; }; + + dai-link@8 { + sound-dai = <&pdm>; + + codec { + sound-dai = <&dmics>; + }; + }; }; wifi32k: wifi32k { @@ -394,6 +405,13 @@ }; }; +&pdm { + pinctrl-0 = <&pdm_dclk_a14_pins>, <&pdm_din0_pins>, + <&pdm_din1_pins>, <&pdm_din2_pins>, <&pdm_din3_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + &pwm_ab { status = "okay"; pinctrl-0 = <&pwm_a_x20_pins>;