From patchwork Fri Apr 12 12:51:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10898227 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 5322217E1 for ; Fri, 12 Apr 2019 12:53:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 30E9028D82 for ; Fri, 12 Apr 2019 12:53:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23F1428D83; Fri, 12 Apr 2019 12:53:08 +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 C779428D7D for ; Fri, 12 Apr 2019 12:53:07 +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=wZ8mfjNOcqVFn2fWv3vpUMFjvq2O3aR61IEUg//D8JQ=; b=sxmR1ZlUiicvUP rRN2LWSnl2eSGtHTkJlGb7Z3qSaeeJOBkCKvmZ8CCLe81DADsiHBiKA6f5k4eXh2+9BGSArDBHXjL 3oF9xwsLMUCD093EZCVsMqXH2+aBiAxI0ImaifKKH1mgStS7hTrMNNNKw8fD6krZZ8xf+V2V3Lo/C tGHQ+2xChdZrQJ5AhKWymR4RhPUthIMB508zklxjaM5qyE1+MyXoQZAgYmxeusgUtglfgKwckICAE Ah+Qj6daMuZpMrGYZTj36r+BjnqlVcC72C8RrkSCpirW+RsdZBXUqyAuXBGJAtPCbaajYG7cvN81T PeJdRzW6YpANRMjS1/oQ==; 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 1hEvg2-0004Lh-4Y; Fri, 12 Apr 2019 12:53:06 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEvew-0002zM-MU for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2019 12:52:03 +0000 Received: by mail-wr1-x443.google.com with SMTP id p10so11835741wrq.1 for ; Fri, 12 Apr 2019 05:51:58 -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=VWwFb/x/5djGRQFOAMKS9jR6gvNhGl6yp11Dvv7sduU=; b=aJds8UMcq31d/Jx5oG4bxxbazE5RXiMDjt3rTmBGHiVfuQDP6Rhy8Q9ktE1tmXMy95 2ASHaq16IpPYzOX6eC8DQjsRKzgBv17pLfY1Jpj01DP42R2W/qH30mTwLP/Ux4jsC1Ks M3fNdqTfGnkcw1b+TMILwgeZBCQr3z8w5J8c1+TAbrnONrH6YtIvcWeSsy1hhwKWMPyQ GPh0yhZNruBRKXpceq0FHZ7xWtYkvB6muNijT7RQACKvJYrVO0zZgmyBY03JJBUBLiS7 QUJQTAjtnmD6RWQvGGJzJc/gxjybHw5+loDfhqP9NKeexK2M2NV+Qi8rsT/DxAyMQNKc hAQg== 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=VWwFb/x/5djGRQFOAMKS9jR6gvNhGl6yp11Dvv7sduU=; b=l6ptlgbb3BA7k8wuTRFiqRZkgqYaHgRCNhIpr4YQVhvtkL3j2zBuSrIdkip8xPcxUK DSXer6NwWhNmVeABTSGDQSJLChfgeJ1Hqx4TKqneojZLkYxH9mxT/TQjHwFKa5lGtTti Sg374Ot5Fxocq6OawiZI6kTU8MIMRgsKDgN/4vdNkWfFwSTHNchcLR5dHt5CAZpVDB8O zU6h6c+zxB/5TXE4ocnE60vpW9YsHDwsbAkNv6iAeN1TTwXOX6UALpRlFMwP4FzboahM fTsw6dQWNTz4GPOs+Zn2tG7TtfZQmxQkVsOQHL5lIYTXBUMBsOc0vZ+Mh8HoISv/JpRx p5qg== X-Gm-Message-State: APjAAAXGopI3GjvXIDQB4eTNrDtY+sW73jbfeRz0tL+qbTghlxMFIYby tAW5tHHLJXntd6DbvrfW1RyPmw== X-Google-Smtp-Source: APXvYqzF1xmnzjs3JDjLGzZTIbfa0ZdFr/2qaQT4OKX+ROJviZKWq1zN2dh40Iw7bRCBq2Q9J94kRA== X-Received: by 2002:adf:e510:: with SMTP id j16mr37111086wrm.259.1555073516421; Fri, 12 Apr 2019 05:51:56 -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.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Apr 2019 05:51:55 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Subject: [PATCH 6/7] arm64: dts: meson: g12a: add pdm Date: Fri, 12 Apr 2019 14:51:35 +0200 Message-Id: <20190412125136.28232-7-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_055159_113386_4ED17823 X-CRM114-Status: UNSURE ( 9.76 ) X-CRM114-Notice: Please train this message. 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: 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-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 audio capture device of the g12a SoC. Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 90b23bacd51c..ab46b2b0fb86 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -239,6 +239,19 @@ }; }; + pdm: audio-controller@40000 { + compatible = "amlogic,g12a-pdm", + "amlogic,axg-pdm"; + reg = <0x0 0x40000 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"; + }; + audio: bus@42000 { compatible = "simple-bus"; reg = <0x0 0x42000 0x0 0x2000>;