Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2424854pxp; Mon, 7 Mar 2022 15:19:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsBObnnS3RV3i1o8G03oJiqtY81ngldyt00dfZTZ8VLh1Kxo1LaNVSzF1XoyOuUvohdsg+ X-Received: by 2002:a05:6402:5143:b0:416:1327:4f95 with SMTP id n3-20020a056402514300b0041613274f95mr13132936edd.56.1646695179068; Mon, 07 Mar 2022 15:19:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646695179; cv=none; d=google.com; s=arc-20160816; b=VD/X6pYkqHJabsFnhC0CPyk+nAIZISt1awOhNzSN12Aa4Ws5bLrOBT4Dh1zzNVkVsj HiC0Pab09yMLW0IxnO8dkcoTChINXkQnH9IMrWfk+fPIcTVOnnaIAZ9YTQvfpwxnnJh4 RdJvdfG+MBAdE1Zp+rapu4hZxaNFRNefwtCj2tjKmviIlr+YBGRtMC3F/EL75cpF33ao HwUIPA5E2MXT5ZXnIn2LiX4UsY1VvT2eq/lf5Pp7y+RNbC6KoQPtUFZED/chrem+Mjwh 7lzkCDgT4ibjGfpWNkby+GPawo6QV+VJ97o+id72Wh4Tst6hElRAWmwXoKcjgJPokCNC 9sGA== 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=8GkGvKU7+k3XXEsTU12wl65Zi0s7f2pTKb/V50rf8x4=; b=EZ2g5mDrp3NrmYVBGCJIgVAOkoy+EshD+ZCru7DotcG3KP1gae0nuJVsp97C3+hHwR /qSxeiatelG5M1DtgqMzdmbpieWBNxRfAICck1vIR2eTFATFxJoadFyIRpCVR9dp78cd yNtHNeEECrkF+QR1T6G/8vyaAk88/kqtcThL/N2BMDnkMzUpne3Q+wqDKC6M9QjAX2H5 RV82mlWCbUtwglcBcFxQ5NhAvWcgnihxImmlVRzzsMoXDfvYPGGzmjvZIxwU23z8j1mb TOtz+wdT0PvK3QuhDjAFMMxfAVkiDWiFJHhi0H/xJCjhOACZsyIhzxsm2BfMfDb/+3B+ hAKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=dI5Qzn7U; 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 y6-20020a50ce06000000b00410b0856ed5si9692878edi.28.2022.03.07.15.19.15; Mon, 07 Mar 2022 15:19:39 -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=dI5Qzn7U; 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 S242226AbiCGMYX (ORCPT + 99 others); Mon, 7 Mar 2022 07:24:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242207AbiCGMYB (ORCPT ); Mon, 7 Mar 2022 07:24:01 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7420E4A3E0; Mon, 7 Mar 2022 04:22:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646655778; x=1678191778; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8P0ugmaMhZ3HPKAOr2o7rau3EF16Zlfj7QAhGV8bFJg=; b=dI5Qzn7Usc8YQR0BUp7hP3rfqeMh2ZU23E+TVQ1EgECGj8oQkrijkj/c gDRbAOIcY2It+vlaLf2p16EfnUwwQ5jIT9YBklP/caUgElT7MR3Vb4W5+ WHXClOIWF3ijwxIx3Rzl+Ss4DJ0Rfu6/RAgc+nvEx758X9SxqyI4O9ymO mMawkkujtIsZ6Lzox3QoRWUYBojIZFX3I5YQOLUO6s6IddUX4VHpCIiMY LH8Zwm4rMIp35aq8WmM/elnUksP3PdGKjcsTlDk1mAyKiUDtlUxYMrEH1 SaZDLIjuFQ1pH6Dwu6zr6cpUeDt4hcG/IY+4Hstbj6buovqLfkapM5cMV A==; X-IronPort-AV: E=Sophos;i="5.90,162,1643698800"; d="scan'208";a="155942245" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 07 Mar 2022 05:22:57 -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:57 -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:54 -0700 From: Codrin Ciubotariu To: , , , CC: , , , , , , "Codrin Ciubotariu" Subject: [PATCH v3 5/6] ARM: dts: at91: sama7g5ek: add node for PDMC0 Date: Mon, 7 Mar 2022 14:22:01 +0200 Message-ID: <20220307122202.2251639-6-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 SAMA7G5-EK has 4 PDM microphones connected to PDMC0. PDMC0 pinmux is in conflict with gmac1, gmac1 being enabled by default. Signed-off-by: Codrin Ciubotariu --- Changes in v3: - none Changes in v2: - replaced included file dt-bindings/sound/mchp,pdmc.h wih dt-bindings/sound/microchip,pdmc.h arch/arm/boot/dts/at91-sama7g5ek.dts | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91-sama7g5ek.dts b/arch/arm/boot/dts/at91-sama7g5ek.dts index ccf9e224da78..a1fb980d3fc1 100644 --- a/arch/arm/boot/dts/at91-sama7g5ek.dts +++ b/arch/arm/boot/dts/at91-sama7g5ek.dts @@ -14,6 +14,7 @@ #include #include #include +#include / { model = "Microchip SAMA7G5-EK"; @@ -439,7 +440,7 @@ &gmac1 { &pinctrl_gmac1_mdio_default &pinctrl_gmac1_phy_irq>; phy-mode = "rmii"; - status = "okay"; + status = "okay"; /* Conflict with pdmc0. */ ethernet-phy@0 { reg = <0x0>; @@ -453,6 +454,17 @@ &i2s0 { pinctrl-0 = <&pinctrl_i2s0_default>; }; +&pdmc0 { + #sound-dai-cells = <0>; + microchip,mic-pos = , /* MIC 1 */ + , /* MIC 2 */ + , /* MIC 3 */ + ; /* MIC 4 */ + status = "disabled"; /* Conflict with gmac1. */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pdmc0_default>; +}; + &pioA { pinctrl_flx0_default: flx0_default { pinmux = , @@ -609,6 +621,13 @@ pinctrl_mikrobus1_spi: mikrobus1_spi { bias-disable; }; + pinctrl_pdmc0_default: pdmc0_default { + pinmux = , + , + ; + bias_disable; + }; + pinctrl_qspi: qspi { pinmux = , , -- 2.32.0