From patchwork Fri Mar 4 18:17:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Codrin Ciubotariu X-Patchwork-Id: 12769777 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 47A21C433FE for ; Fri, 4 Mar 2022 18:20:11 +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: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=/nCOrPgrDksDcuvRPGiDDu4S0CbkCsCvz/Pb4IuEFJc=; b=KNsBrVJkda2bvu HMiPeUByZDqPl4kr0zva0DRS2GoiBWRvVmZi+KLKMudiC7NlVy3vUzVxPQq3AvOlwy8pNWfvGgUJJ 2B0vkDyhXzyp9GocjsBwfNS6Nmeehcf3wZxjVpu4qfq4WLTL5ZP+TDvE2ckU7NoDQX9j3B/cZv/db 1JiJ47TPKFHRq3uTRJbXz0ePHrsgiiEWIW+u8bCR8PmTKBAmZiTNdjBdn1F9IAfwLEYsPlU6osGrw dufVhaH4vHnyloRWRoGSMTBxuz/A4AyAzZgCfCK9jmdKba14ZYrku9MWgTta3gjy/SAl73XvWxH7U 3h3ZAcKf36YzJNVcVAcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQCW4-00BaKo-HE; Fri, 04 Mar 2022 18:19:00 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nQCVa-00Ba6v-62 for linux-arm-kernel@lists.infradead.org; Fri, 04 Mar 2022 18:18:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646417910; x=1677953910; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=d7RvkwzUCTXssUmowUaeZmws8DArQwpm8XmcW0dwX5g=; b=P02CTBWsV8Ad/DKVIQqwxvJ/XAM7YlRd9mUCQ3gQHQKBfoRkO3LbgUV/ h1bVeIhvafmsdx8UTDJNx6r3qgX9dTXYTmbzpZy7+8JeY944HGF7W9xvW UHHOB3ra6MpsYSSgvD5BAU91zeiGST4WfG8jyUbaZgYoHjQdNFw2uO3+n 7Ehed3KAPYxCzV8gOV84FJwYxj0mxY2Lf9W6/9D1EvaYLBdOBWH9fD8aW LpHOcLEq1U/zcvaurQIB8H6RDeuKROOgFZjmgyf3zfo6p9Zoxve/RDKqc 8pduLtFkY5yPe83E/GvpWqcl40fbgc0BeXINf9QbdRcQRFJNtMLd9/bkv w==; X-IronPort-AV: E=Sophos;i="5.90,155,1643698800"; d="scan'208";a="155759082" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Mar 2022 11:18:29 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 4 Mar 2022 11:18:29 -0700 Received: from rob-ult-m19940.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 4 Mar 2022 11:18:26 -0700 From: Codrin Ciubotariu To: , , , Subject: [PATCH 4/6] ARM: dts: at91: sama7g5: add nodes for PDMC Date: Fri, 4 Mar 2022 20:17:54 +0200 Message-ID: <20220304181756.1894561-5-codrin.ciubotariu@microchip.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220304181756.1894561-1-codrin.ciubotariu@microchip.com> References: <20220304181756.1894561-1-codrin.ciubotariu@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220304_101830_278767_54E61DFC X-CRM114-Status: UNSURE ( 8.38 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lars@metafoo.de, robh+dt@kernel.org, tiwai@suse.com, broonie@kernel.org, Codrin Ciubotariu , perex@perex.cz Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Microchip's SAMA7G5 embeds two PDMCs. The PDMCs can be used to connect 2x4 PDM microphones. Signed-off-by: Codrin Ciubotariu --- arch/arm/boot/dts/sama7g5.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi index eddcfbf4d223..85a22c3a8e57 100644 --- a/arch/arm/boot/dts/sama7g5.dtsi +++ b/arch/arm/boot/dts/sama7g5.dtsi @@ -275,6 +275,30 @@ pwm: pwm@e1604000 { status = "disabled"; }; + pdmc0: pdmc@e1608000 { + compatible = "microchip,sama7g5-pdmc"; + reg = <0xe1608000 0x1000>; + interrupts = ; + #sound-dai-cells = <0>; + dmas = <&dma0 AT91_XDMAC_DT_PERID(37)>; + dma-names = "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 68>, <&pmc PMC_TYPE_GCK 68>; + clock-names = "pclk", "gclk"; + status = "disabled"; + }; + + pdmc1: pdmc@e160c000 { + compatible = "microchip,sama7g5-pdmc"; + reg = <0xe160c000 0x1000>; + interrupts = ; + #sound-dai-cells = <0>; + dmas = <&dma0 AT91_XDMAC_DT_PERID(38)>; + dma-names = "rx"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 69>, <&pmc PMC_TYPE_GCK 69>; + clock-names = "pclk", "gclk"; + status = "disabled"; + }; + spdifrx: spdifrx@e1614000 { #sound-dai-cells = <0>; compatible = "microchip,sama7g5-spdifrx";