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: 145666 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp885649ljw; Fri, 31 Aug 2018 08:02:29 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZNi2x6tW6bMEcwTQxvTDW2KSkK5KmUa75MRfrWhruoy/1O0YzCvHt7TKMSWlF/NlEC1iGX X-Received: by 2002:a63:dd09:: with SMTP id t9-v6mr14138690pgg.370.1535727749531; Fri, 31 Aug 2018 08:02:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535727749; cv=none; d=google.com; s=arc-20160816; b=sYxVZOSgwFAjAZyJHBqzr9dUU0uNr/4ujwqMAe6Uw3qS+VNxMOYMziqZVJYDmvMs/u PpqFk7RoNpErcblfsJNAEG2JE2/vB2OheyKTMTyWxvHWhY0p2FQ4IqCsGujlotr/EVw/ Qnx0LCXvACTGLrxJb94av4nSGkm1qYZfW5efKdsoSBpA0R0q7dTGSpUdqxCNIagXQUFz w4COg3BZbH9x1aJZWxRhb4mxGOsGKZ71lj3zelr5wR3/p90APInyMwFthqrEdQ4WAFUq kC3kxglv96xwQPKZi7+gNtjqL7FcFzbUrDdpxgobbeSlPt0KWMVqYSOPp6XvgSK3Wu3/ njqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=rTKTL3h8CLAcV690tHQAj0sNlkjrhHX0Jxmm+mtIbgI=; b=AsFOvl7IUV24NdheAj1mFIGBLXh62E4pZgBzbOhmi9C4OgApUby7o0IuDdL8Ercxkq nXW4EOwOcbH48wszV4i+BU45cijnA9AXD9qP2CodbsOsbtpjYer6m7UWQ/QJ8/UogpEC vKvwu9JJ7ji4y9pxiJ8WZ75o2pUbkuA8kDyfROuHpqryuxUein5i34DU50xh2l6Nomgw V47pW0So5d1siaWuS8zUU/i7v0kmJwJl4ZKuMeECUykZTbgWnSAXftg73M/qXjLfEPlG MnTh59ZxACheRyFJwwX3Pt9/2VdM1PRf12HJurtYRQPPBYpe6BfgHrzi+3sLORXgy2aB WVwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=BFCccr+W; 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 34-v6si10222698plm.205.2018.08.31.08.02.29; Fri, 31 Aug 2018 08:02:29 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=BFCccr+W; 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 S1728985AbeHaTKT (ORCPT + 32 others); Fri, 31 Aug 2018 15:10:19 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:38758 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728951AbeHaTKT (ORCPT ); Fri, 31 Aug 2018 15:10:19 -0400 Received: by mail-wr1-f67.google.com with SMTP id w11-v6so11512929wrc.5 for ; Fri, 31 Aug 2018 08:02:25 -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=nDwyAy9vtDJwKZ2AzsMja10mQwja05jER68s1wCB3LFPiwTf/pXtvE1R6FwmoeG63D DbJeMzuqi2Y3YMe8n4A08mGQlkh993LbgK3KL9BuyMHEfLdsjWadut7deqMOQgbUk+Xh t0fPlN/CSaXDXP+pIGv766/abJhe30/0ruqBDFHN4E+fuU0oIVVrn5Qfw+IIsvbQ9KBa 2FJDJ1+OnxjQmIdKGXGM8zjpsqR6aVhJ+KbD51tir2NyJ/SuEFKC9A5s2O/Et1t5T6jW imK876+qkEb0DpiDAx95gqzJOeloAojwGiRn1EB3iL+Pwgf91H4JJQ5accmQZj8vOXaZ fu4A== X-Gm-Message-State: APzg51A1CENGpfwBcpdD5cakL+g5866E9he+m7f0D+vkXUcRhVvVihDs GJSLBW3OB8aqVsJc806LhTSmegzLPWo= 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 Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.17.1 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: 145667 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp885677ljw; Fri, 31 Aug 2018 08:02:30 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZaHKTvBE86ViWTOqTCMFuIikGHA4K0amhFg+INqFqYbR1HdmyXM+O355eTPEq56RI3lwxx X-Received: by 2002:a65:5245:: with SMTP id q5-v6mr14414629pgp.67.1535727750400; Fri, 31 Aug 2018 08:02:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535727750; cv=none; d=google.com; s=arc-20160816; b=HrNAFrrd7VxuKZGbdLPc8zwBkG+hkt4bGjxSavipCrM53K4IbEo05pszJq2ohcAVS/ JcGjog7sAh3ZxSiNNnxx0xzn77nLuk7MMOrj8w8ImwgsEL9mT7+/mgQAlAPtMhFB3jfU wtjHosQyL1lijigirkF2eWZGyBvi5lvSzMQLJyjNayWKVS9on6SIsEzkk1mPDbMxzowD niTWPGC9rU+yHtJ/ddkxfTM2JL6qQBMACWBp6xck2D9882X+dU2UQPyU91vPZRQ2nZA0 PyJkMLhe4a2zk90NZ4j3sNJ0O49UzSphrGUVkPFL5Elr4MNAZUlT/aDvQ13cx1QSFebM dGzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=+SFT4n9BbB1i3eN7ZRd6EdLeaO+8O6eU3L/eMnxt3mI=; b=BNe0N7+aXp+ZV45cQ0uulsKQY2K0jpuSevMiCnfB+ogiDya2lpxa3u/vz9oC55SDoA ZzgoCCZ3kW3s+luyTcGwlaNOd2EPFUH/ozzGV9x3eOGZYJoGu3keYIroHU/yQ5OsDg7K cAcR3aYhyPaZokuS8aDxetvHGfS+lu4wGQy1yoFlmv0WZXAKw1qKhP0+1bmLEJGZe6ZX lWnUagVUyciviRLPcO16OcSr8kIyomty2OBxle6l3mDNcrAeCnzonsRW1qxtE9fS8A9S BVq32IcaO6LrGrM7oyAvv2N/r0YzLr7FcGTg7mVT9b8WWYujqa92Tg7w7uDRHIlMblEn AITA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=JjdW3rSb; 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 34-v6si10222698plm.205.2018.08.31.08.02.30; Fri, 31 Aug 2018 08:02:30 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=JjdW3rSb; 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 S1728999AbeHaTKV (ORCPT + 32 others); Fri, 31 Aug 2018 15:10:21 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:39963 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728932AbeHaTKU (ORCPT ); Fri, 31 Aug 2018 15:10:20 -0400 Received: by mail-wr1-f66.google.com with SMTP id n2-v6so11515998wrw.7 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=+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=CBdTInOYRdRAGkVe/7PTBzlUcaRyw6L4xJ1wIgawCagHmICJPBFqiuJnWCSIUKvlwb nlUj+vPcRqbseFFt+gI3pZ0Vqgl+jS2nHKFMdVJQPtyIXoms+VW7xSkc/RXfOCwC2iMC oonS1fn4dsplA2XHpPBjAed9KPsEovG7hPWSistUbpMe59W1nXz8E/zLY9Z/0xfUjGK/ k/L9xN6f0osBctWjHkT9zwCtsZXrCMyfvejI+FcrMKcbJZ/sOwS/+xZHu6LIGd4dabLJ wEVBQwtqvdDx+SpULX1A7QLxpsbH/RmRf1w4fA/dYUC7hg2HEEQO5rRpL3kbD3Pi8A0G kNCw== X-Gm-Message-State: APzg51C5zH6qg+mmgL/95klad9n+gWr+1Lvf2oEZE/cpP+AQ7gnA7OPJ d6vVAWCL2QRds+u0VhufKzHbJw== 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 Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.17.1 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: 145668 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp885785ljw; Fri, 31 Aug 2018 08:02:33 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZy08QT3yt3vZxwDrrLJArC2VhyokDui0pRlaclzbFAwDXDK6IPsXSj7+hJl3h6IU2svNa2 X-Received: by 2002:a81:7505:: with SMTP id q5-v6mr8601255ywc.85.1535727753693; Fri, 31 Aug 2018 08:02:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535727753; cv=none; d=google.com; s=arc-20160816; b=CIAUo0N5n/x4jfcsrJzl4xNv5bxKdWCXT1pCc0ijwxH1XrmadVc5RMkZ4+SFaTInpU YSogpDZeukAXTgYCNRf3WOAJtH5ZIUDw1rI8nVBOUYTm+Sk7jxa+RbLgIBXY0Lx3YqZi 4XTBl3Lw15RqZdYSPkOnTngLxHKSnwlBGer+gNAzEbsJf2h5iSLZUoMcbSfumhSQUi0d tqpuZayaGx7J3MSkm87p6MHZtqKUn3jb10uDJ4Ch10yQjDhqTNA9L1QKAAuM8YKrj/hG sRUF4qb7aggIxR7zaFNZ/IyXRcVl9Qzw0nFn53fnRfS4GZpxorUGk0pIgsBnm+XvkoAx ETaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Mp7HvitQxu82nYe4ft7+MBqxeb+onsmRtvvDDm0lSqg=; b=L2ExDS5CzJMY0auCBNkXmG1BSakD5znmmJmhHNhpRHS7ISsYhAq55AmdEwGD+wDEPa 1/GjrOHignkPkHFQK6laxaUg9m41nMKwGZQEgQa8fQvIeQu9atubL0FDTwJ8gX4FTT6B id9TeMIcdW4gjTu2SW9RW9hnM/hvReOgdTGaY6aBIkaZtvyGC03qpmFNhZL69gH31ShI eglplCehmShWuAn/pIbb0S5Is2Mcs7+WoBKyIPpiZ8P2uoTveB+pxdeqE9RReNhqrn1W n400EEG5JtqPacbPDy1koIhSXoNpQ0sAFGbXxT2Oe9qtkjQhp1wqq+yFqh0URDXciBqJ 2XoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=RFZkALlh; 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 i16-v6si10554064pgi.660.2018.08.31.08.02.33; Fri, 31 Aug 2018 08:02:33 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=RFZkALlh; 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 S1729015AbeHaTKX (ORCPT + 32 others); Fri, 31 Aug 2018 15:10:23 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:35121 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728951AbeHaTKV (ORCPT ); Fri, 31 Aug 2018 15:10:21 -0400 Received: by mail-wr1-f68.google.com with SMTP id j26-v6so11515070wre.2 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=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=KC4xGZDZuZRSFGZcEftlMEYIHRxJrHj8uNpy65WGE3GD5ZuUtFWl4WCiepnnbCmkFC 1Rd1mU21zGbDTewj8ssebOCSvoEGh3Ho7GqHDOTZXxsBfSDj3r7Mt/A2ChdMQHtxyp+a 961v0eQKaOCXP6NJs6WWYglSUmmsFjfpXJK0/UGcMe2U64aO7C08Dl27cTPcR2pKw1VO +VpxmgWNdm7bFt4j/wCuNBrSy8RHd8Z3NdSWq9pT7xwzMYCC3/qBVwnx49EBeqAmaDRe VK4qlOCXv0jPNTewZRX7I8+R8RciP9BgoWH2LFcfdQCbNSpyMaUNNS29B0elYO1llJV+ wBaw== X-Gm-Message-State: APzg51Act0C+4XY1sVqCgUUCtVwBlkzryYIyKhpDuQHlkhr2yhAczo4O TNvxixqz3tWBBIOK8G0ic8pcew== 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 Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.17.1 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>;