From patchwork Sun Jan 30 05:38:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 12729740 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 63225C433EF for ; Sun, 30 Jan 2022 05:38:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=osAi4GGOynN39fyX3d0TLyuPf9QTF+Qri1SyhMkC9Dc=; b=NZ7XT8Eu0sgOSF RmplZDhpCCJMw7RoAQ3fogWtRf/SY/lFj3kNvNgi+VbxMo+dXlBLDzq/QoPzT8vCLXvsqmHRV6DQ2 9JBX8qcMHwThT2ou1RPe0usSnKnvsoDfVl7lwuye8sA32/RGcMZ1zw88jmkC3T4kBlrRzAGUk6ukx jij8H6Wx/3/ArXr4w+xsWkcud6oZm7lsp17Lj/gz73Qkw2/uSPYX5IqYzaCzSFrg4SFL9oJ9ccNFq uKdOq/QfBHt158CtUdNsN8uChReCZemhrP4nEAT5zTAU/zaxfCPiqLl7rjM6ElLlGar8bOtIt0nQd XZ40NF+NrU55t3SY2Q2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nE2vK-005vly-Pj; Sun, 30 Jan 2022 05:38:50 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nE2un-005vfX-SM; Sun, 30 Jan 2022 05:38:20 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id E6F11580300; Sun, 30 Jan 2022 00:38:09 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 30 Jan 2022 00:38:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; bh=VpTV5RkDfW1t8UkFiogIwxmcp2RPyw DB0L6j+1GUGP4=; b=mYfbObyd0FcNaH2wMi3AxreS2qu95YMJ4S8dL+Mz1oid+2 DAxb5VPDe0TqAHuo+4s7xjJ+s2z3i6j/TX/AJiok2SQ8hRMBL5ADvb15wWNID/M2 Y+NOW2C5W1Z7y6qLzac9d+PXz3zqkFShbkcLqLVxTDcKcfvTH1pgy0R4xlPoI7Wo 7eOHXoKFVeU2jO9gU+jYfVJHfLreloU15nkZgbc5UHTJthxfa3V44hRD7tNG55ad 6EF7Vn/3N3RxGGTfQMnWiuQ+sCzd1xoXW7FLlrEKlkkB8OTSVeDMggxcj1Hqjxf8 8dndsiid1ZNdzHCXPJDGIVqkU4zMPA21pTx+iEgQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=VpTV5R kDfW1t8UkFiogIwxmcp2RPywDB0L6j+1GUGP4=; b=QlDy/33a0hBOuD+49NoCaa DFpz/OYXgXgJ0rgM+doDgAWJBgWKcCDQRmCqPxxJljL5T/S364mNgLBNk9OVh1DS AvYEg5ig5z3dj8WhsbGTHfcmt9VDd1TJUXNfCn73/akvSuzD9tkPHY1Yz8bPIKgp gf1XWuvwOcICrfuhYmXPP6oT+7ZtPQa5tcUkYgNExwHGLlI/baUPG8IBjIBzT6Wh EW7yMhCAo6Z/pKni0WZSyGXNIqvmBLLcgMWPNvGzNm56wNO+xiaKlyKMKZeot4JE ielZYYgNFscfaNiusXBRBGtyIMeLsCxshw65nOaGtZXCaledL//UfasnFzjh9oTw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrfeekgdeiiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghl ucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecuggftrf grthhtvghrnhepudfhjeefvdfhgfefheetgffhieeigfefhefgvddvveefgeejheejvdfg jeehueeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 30 Jan 2022 00:38:08 -0500 (EST) From: Samuel Holland To: Heiko Stuebner Cc: Samuel Holland , Alex Bee , Chen-Yu Tsai , Levin Du , Liang Chen , Peter Geis , Rob Herring , Tianling Shen , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Michael Riesch , Nicolas Frattaroli Subject: [PATCH 2/3] arm64: dts: rockchip: rk356x: Add pdm node Date: Sat, 29 Jan 2022 23:38:02 -0600 Message-Id: <20220130053803.43660-2-samuel@sholland.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220130053803.43660-1-samuel@sholland.org> References: <20220130053803.43660-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220129_213818_013832_2A38893F X-CRM114-Status: UNSURE ( 9.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org rk356x contains a PDM microphone controller which is compatible with the existing rockchip,pdm binding. Add its node. Signed-off-by: Samuel Holland --- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index a68033a23975..f2f3cdeab0aa 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -651,6 +651,27 @@ &i2s1m0_sdo0 &i2s1m0_sdo1 status = "disabled"; }; + pdm: pdm@fe440000 { + compatible = "rockchip,rk3568-pdm"; + reg = <0x0 0xfe440000 0x0 0x1000>; + interrupts = ; + clocks = <&cru MCLK_PDM>, <&cru HCLK_PDM>; + clock-names = "pdm_clk", "pdm_hclk"; + dmas = <&dmac1 9>; + dma-names = "rx"; + resets = <&cru SRST_M_PDM>; + reset-names = "pdm-m"; + pinctrl-0 = <&pdmm0_clk + &pdmm0_clk1 + &pdmm0_sdi0 + &pdmm0_sdi1 + &pdmm0_sdi2 + &pdmm0_sdi3>; + pinctrl-names = "default"; + #sound-dai-cells = <0>; + status = "disabled"; + }; + dmac0: dmac@fe530000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x0 0xfe530000 0x0 0x4000>;