Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp400lqp; Fri, 12 Apr 2024 08:52:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWl0PJsQ/gz0ezJBBs/ln9VaFadCsfcb8TmeTV37shTgobnXsBgcLb3A9YMiGp6/88nBBtRXPocRDF7HsOVoSUC9xFzWO9PlJ2OH59Wdg== X-Google-Smtp-Source: AGHT+IHgLFPwXPgPNXk5R+1DN3yka3yDy1uBPC4KmyTl6+DsSqVesV9652gID07cc03iPOuD3S27 X-Received: by 2002:a50:8a9c:0:b0:56e:de1:f427 with SMTP id j28-20020a508a9c000000b0056e0de1f427mr2036497edj.25.1712937171673; Fri, 12 Apr 2024 08:52:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712937171; cv=pass; d=google.com; s=arc-20160816; b=IH/YbacFs9PW1JJzN6pnQhtbVr5pm+sERGX9e76L1tL0FmInMBo1dW0wlFt1Hav+y7 THBhMGTOHZMAKds/TpNLXUOKy8xKRtoyexjRQrg4JK4a7QxNj/oKx+mXMGHjYpK3S/P7 KIRxBh95X62nrUvivEL5KNmka7LRSqZez2P3n0nXx095813tHabXBgHnORERD+oCT9AP 0WFbeBpXqTztRkoxD9/pn0F8aI3K+Wy5sx+MZNHk57523b+z/TEThi0pGZGY4CGIBSi7 aGNhnqVE1+vw46lkB0MoHJ+YuTLuknJSL85sePyrInHQNMvqiJXVH+JT5uFp/Wmj103h Qs1A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=EcdvL0ZMWY3AMjLJLnbv1HkDCBdRLtnIj+PNlI1Q83E=; fh=ty7IwF8ZOjXhrOIL92aQckmI0QRKdzTDu/5TJn4XGOo=; b=vnYsmDqww9+/hdQZC+t3MJS5D+ObQ0cXkhxPsV8JHdDr5Kmnpa6O8GQITbJXab1Rzj ujHArKhNkfpJO+x1xrXr9scC/kGkoT+Rcmn4L+nSUS+BAiIorvGcU/3zSTpmaNuNIBUH cFxUk6DecyH6twZ6RTkLfkIRo1BF/t31Au7xFmCeMNbCGtX8CH0PLeG7OoPTfmvRKjIV g2ceuPoCV/v9ZcgAYk+hzLN9V6021g8Jrt23XPnZz6CVl8jTmOuiIY5yK7QpNxPMOEnL jQrXIr0yR/+E5CEW0mQDNxYk70kBWmPuadqN6Lcwoycwoci5Na5UQVLWVmakxr5SWx59 T0jw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="KO9P4/t2"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-142980-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142980-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id x2-20020a50d602000000b0056e6dd2ffe1si1817626edi.201.2024.04.12.08.52.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 08:52:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142980-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="KO9P4/t2"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-142980-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142980-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DCCC51F215E2 for ; Fri, 12 Apr 2024 15:52:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0525C149019; Fri, 12 Apr 2024 15:52:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KO9P4/t2" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 273681487F4; Fri, 12 Apr 2024 15:52:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712937143; cv=none; b=mfc3n5cdwB0zujEs/hv4idYD2OW9COceVj4f9ScAOGFfR/b0c/6t25965+T6wIIvi03Sv3fejBBSFJux7Z5yR0u1zmGE7Ikxiyz+DtqCaO/mbYsF6UiO5t9nHCrHvbUIMj6lFiC0pchg1LO2eNsM5bJWHTsg81/hE1iR3BuGeXE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712937143; c=relaxed/simple; bh=p8OAbH8ik4uO7b+Ydee6KnfTe8Pqv3txAKJdlPzFN+s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JEU8B+yJqVXete+c7WrazGscBYFprHqkgAXcgtXThVA4SQYz+gR/o0IN3yYptLlSY89oWKQnw0GuU805tQQfVrqsn+IlZyy7LIfNAh1ByHwl/FSQ84V+RybBbh8s2ezU5+WoPW12k1ULA8KB/Veb+WkLCeHpZSeikhGAQ8BcVAk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KO9P4/t2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B70AC113CC; Fri, 12 Apr 2024 15:52:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712937142; bh=p8OAbH8ik4uO7b+Ydee6KnfTe8Pqv3txAKJdlPzFN+s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KO9P4/t2cDRuWl80w6gOUAPjO0AMXVxD7gC6uP2mwU8ISqAgxs6VNhHozXIZqPg4f IxIfIc4IjyGe/b6QhzPnay8cP37wmaDZ88pFaCzUFOMc20t0ikqGC58OGZCV+GbyDz WI93KbnDGseDAwz/NNdCUc5f/9jmB7Vx+RyIICUCQGBUzTfY6Lc75/E09y4R2RQe2v XWWzyszKnIIXYWZ4k9iyjsQE/3nSlsJtdFf1/ZKtjaJr7IAxKHUFfK6JqE2B+fM4UJ OZ/+WvCY1aZ1Sqg+hD4vkU9ARhl7iAtiPJbP+z/NrQJ8/kN6A/VFrOg8z4i27eJ5hK Ci19pwIr5RJ6Q== Date: Fri, 12 Apr 2024 10:52:20 -0500 From: Rob Herring To: Seven Lee Cc: broonie@kernel.org, lgirdwood@gmail.com, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-sound@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org, conor+dt@kernel.org, perex@perex.cz, tiwai@suse.com, YHCHuang@nuvoton.com, KCHSU0@nuvoton.com, CTLIN0@nuvoton.com, SJLIN0@nuvoton.com, scott6986@gmail.com, supercraig0719@gmail.com, dardar923@gmail.com, edson.drosdeck@gmail.com, u.kleine-koenig@pengutronix.de Subject: Re: [PATCH 1/3] ASoC: dt-bindings: nau8821: Add delay control for ADC Message-ID: <20240412155220.GA2918590-robh@kernel.org> References: <20240412103554.3487290-1-wtli@nuvoton.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240412103554.3487290-1-wtli@nuvoton.com> On Fri, Apr 12, 2024 at 06:35:52PM +0800, Seven Lee wrote: > Change the original fixed delay to the assignment from the property. It > will make it more flexible to different platforms to avoid pop noise at > the beginning of recording. > > Signed-off-by: Seven Lee > --- > .../devicetree/bindings/sound/nuvoton,nau8821.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/nuvoton,nau8821.yaml b/Documentation/devicetree/bindings/sound/nuvoton,nau8821.yaml > index 054b53954ac3..a726c5a9b067 100644 > --- a/Documentation/devicetree/bindings/sound/nuvoton,nau8821.yaml > +++ b/Documentation/devicetree/bindings/sound/nuvoton,nau8821.yaml > @@ -103,6 +103,13 @@ properties: > just limited to the left adc for design demand. > type: boolean > > + nuvoton,adc-delay-ms: > + description: Delay (in ms) to make input path stable and avoid pop noise. > + The default value is 125 and range between 125 to 500 ms. No need to state constraints in prose. > + minimum: 125 > + maximum: 500 > + default: 125 > + > '#sound-dai-cells': > const: 0 > > @@ -136,6 +143,7 @@ examples: > nuvoton,jack-eject-debounce = <0>; > nuvoton,dmic-clk-threshold = <3072000>; > nuvoton,dmic-slew-rate = <0>; > + nuvoton,nuvoton,adc-delay-ms = <125>; > #sound-dai-cells = <0>; > }; > }; > -- > 2.25.1 >