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>;