From patchwork Tue Feb 28 11:01:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13154724 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 8C2B5C64ED6 for ; Tue, 28 Feb 2023 11:03:33 +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=TiQ1uebarEgDSE9sb5ugKJF/acNgHRsbItqnAfSXw8U=; b=Kr1Xc1QypaaWN/ YQj6YN+YeQsmzSdmZ1zMqntOI1GvM/YgeHEsm+PKZFvHgNCQaXJK5SBNt1BS+SV0SpTGws+fE80xk 6s/HJuv3wG6YaGZtzLl83i5lIm/k1mcow0psEXys4nOM977XgyRSEMIv4hcLoj9v7G6OvqY+BBI7p wqy4o0OslkV4HMSDbVKYlH9kNZjmL5PmMUxItZfkS6lpUzsL81YY09JYzjhDAF6oGClDS1GDQsj8k DJH18jSoyrzR81iCfb2Q7dFPovDNm+RsJdvnlogfF/FOXgW00qQ5qez8+qexmYiX7tRNQb4Pvtpgl yfLMaVy2J/QZLSgc8NqQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pWxkm-00Cs06-QX; Tue, 28 Feb 2023 11:02:41 +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 1pWxkC-00CrlE-2d for linux-arm-kernel@lists.infradead.org; Tue, 28 Feb 2023 11:02:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1677582123; x=1709118123; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=M0BMjJ51501wpDWDJL+qs/Hg4DZbcQHuATRCbLu3HlY=; b=hQK3G3jfvjccIjgaysEjR2AqXay4JMxRJ/Wan4Ka3BfQzf3JpsOiaGtf L1H83f6hvdExvzOuVyxjkQWXToiZnDHUpH84dQ7QiLTjXBkYSdDBd2Iaw i5pLhD97NPVcMAhnYoK4KO4KkChvnoOXf635E54FgEqpP8/5ZfmTajWhC WX6lxpZPJc1y0mi6JhWvgNBAwsQRa8aixfkzbpQBXCkz0meHnCIz2394H Iobvaytuybdh4uaMqlwGVubHvAn4ZpvAkgjTGrPC2PXhCXVSmn9/vLt0v xt5cqJKznoSsaD8rs6fcXJPSyS5Jf0ey5viZtjC0/6ltw8vo6xP+JDPyS A==; X-IronPort-AV: E=Sophos;i="5.98,221,1673938800"; d="scan'208";a="213967752" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 28 Feb 2023 04:02:03 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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.2507.16; Tue, 28 Feb 2023 04:02:02 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Tue, 28 Feb 2023 04:01:59 -0700 From: Claudiu Beznea To: , , , , , , , CC: , , , , Claudiu Beznea , Krzysztof Kozlowski Subject: [PATCH v3 2/3] ASoC: dt-bindings: sama7g5-pdmc: add microchip,startup-delay-us binding Date: Tue, 28 Feb 2023 13:01:44 +0200 Message-ID: <20230228110145.3770525-3-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230228110145.3770525-1-claudiu.beznea@microchip.com> References: <20230228110145.3770525-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230228_030204_148319_C949CB84 X-CRM114-Status: UNSURE ( 7.83 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org PDMC can work with different types of microphones, thus different boards could have different microphones. Depending on microphone type the PDMC would need to wait longer or shorter period (at startup) than the default chosen one to filter unwanted noise. Thus add microchip,startup-delay-us binding to let PDMC users to specify startup delay. Signed-off-by: Claudiu Beznea Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/sound/microchip,sama7g5-pdmc.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/microchip,sama7g5-pdmc.yaml b/Documentation/devicetree/bindings/sound/microchip,sama7g5-pdmc.yaml index c4cf1e5ab84b..9b40268537cb 100644 --- a/Documentation/devicetree/bindings/sound/microchip,sama7g5-pdmc.yaml +++ b/Documentation/devicetree/bindings/sound/microchip,sama7g5-pdmc.yaml @@ -67,6 +67,12 @@ properties: maxItems: 4 uniqueItems: true + microchip,startup-delay-us: + description: | + Specifies the delay in microseconds that needs to be applied after + enabling the PDMC microphones to avoid unwanted noise due to microphones + not being ready. + required: - compatible - reg