Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2799481pxp; Tue, 8 Mar 2022 01:59:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJycX4CSvYXPzpF/Y0V9HTK5bZni+fTfOaU6P42nf0PejiRITNo/7kW1JdbKJ5YyDwp/o3kk X-Received: by 2002:a62:7c03:0:b0:4f7:6a0:6835 with SMTP id x3-20020a627c03000000b004f706a06835mr8738922pfc.72.1646733556764; Tue, 08 Mar 2022 01:59:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646733556; cv=none; d=google.com; s=arc-20160816; b=GGvXj8uVMvgNzYEDNWuwMIKhGLBCZ7SJ5POSvllozM8hpbqsIuopcLJXl2h58RXR0J 60b/Eb+6QgVVD/vpAx5E+8N6eDKCZ1VFYU2z3SeYbE1dhS1wOhdTJKaPUKVubVxL7OvX gKLqTf04rqxET5XdiJLJ7Jh3DYHAUABNHsiUz0/yCl80wo8+mTU+CXTOa8g5ZWu3iPAL Tga4nOc2QEIOtwbfSNilj5Imezisjm8On7r2/NM0evBr7LblUbExpbZIQGDDO/yQx1Us lGSXSvtZusOzE81EfQFW3oxH1B+Y6CXdQKIjy+/6UmZd3ijJRgkCexOa1wv4Z7hIQIZ7 eHLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=aTQfGKKhlTs0XcK3n/R1wPoO0Kt7j13Yudoyj3qlsgg=; b=lQEXmDG6I2zGDFR4f79CMp179BFre4HUAk4cyaQ3DKqEi8hMzVfH6CeFdWLTXRG/AF L/3sW5xmQE31rLhZo6YdRwwMv7nByCJacglsU3TeBERkuQM6/nPhWYEB13jcWpS54s+P lhfZq0jI4MiXjmP/cWJAQWzqM7yqmCqFfabq+mevtKZr+TxJ/+hBsEVugBdtMR/nZHUx vtUxbscRndFWP34zxhVvHX1N/DKrwUwWx6EdhM/kGT3g9bYA0DLTFbIJ/cWX+Emi7WC1 yei3lYZMPDDDT+kFX3Io5ZM0KTJyy5foSrbZrpo3pmCNtassK791/MLi0fdoJ9nzMz1T 2L6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=tVpPbTXo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a170903228b00b001514a03bf28si16424626plh.558.2022.03.08.01.59.02; Tue, 08 Mar 2022 01:59:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=tVpPbTXo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238849AbiCGMYT (ORCPT + 99 others); Mon, 7 Mar 2022 07:24:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242197AbiCGMYA (ORCPT ); Mon, 7 Mar 2022 07:24:00 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87E433DA77; Mon, 7 Mar 2022 04:22:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646655775; x=1678191775; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/2gvArZrxpjBHlcifiq/PuCMiVcOPlvOD5ludY/TGtU=; b=tVpPbTXolMfnht7cQq+bnX3pcLSo8sDl469huGWHbOOktjldEK9T/wec CMfUwMbWSqKQAg0uUSpFYehfm5s9+u9VkFcj4+E1gfcKpNDWXbn5HBzSR 654oQNXnalJc0esMaaPE7bfyavSAUJ05rmyGCiWGCIDzfugZSeUn+bfEO as+N7EAudHX/Gg5/M2UEqRG35Q0IoChFziXRmXYiOddCYvykoWan0oXdr LqBK9IOMsqmOlt65djijeUgYGmf4JJOo24vFi2MjT0RO/Y5LQ0M4S/ITz 7qhSBumTY8MPKgKmx6+pTGQGkiISzhnCsQyCtCZpEeFW0ToBQADEquLr7 g==; X-IronPort-AV: E=Sophos;i="5.90,162,1643698800"; d="scan'208";a="151091529" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 07 Mar 2022 05:22:54 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Mon, 7 Mar 2022 05:22:54 -0700 Received: from rob-ult-m19940.amer.actel.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Mon, 7 Mar 2022 05:22:51 -0700 From: Codrin Ciubotariu To: , , , CC: , , , , , , "Codrin Ciubotariu" Subject: [PATCH v3 4/6] ARM: dts: at91: sama7g5: add nodes for PDMC Date: Mon, 7 Mar 2022 14:22:00 +0200 Message-ID: <20220307122202.2251639-5-codrin.ciubotariu@microchip.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220307122202.2251639-1-codrin.ciubotariu@microchip.com> References: <20220307122202.2251639-1-codrin.ciubotariu@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Microchip's SAMA7G5 embeds two PDMCs. The PDMCs can be used to connect 2x4 PDM microphones. Signed-off-by: Codrin Ciubotariu --- Chnages in v3: - none Changes in v2: - set 'sound' as nodes' name 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..70e86444194f 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: sound@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: sound@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"; -- 2.32.0