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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4849C636D6 for ; Wed, 22 Feb 2023 12:42:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232180AbjBVMmX (ORCPT ); Wed, 22 Feb 2023 07:42:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232176AbjBVMmV (ORCPT ); Wed, 22 Feb 2023 07:42:21 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9FDC38E9A for ; Wed, 22 Feb 2023 04:42:19 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id da10so31037938edb.3 for ; Wed, 22 Feb 2023 04:42:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=YrzMakcOOzZUVFm4JbVcFgj1K440KfwGhI4SW59K+OI=; b=bQ2HpWZ9B+PCUcf4/YZOLKZWOYmH5rZUdEl/DIha3BPOImbopbhwhJQpcSKSZdW5Yv WpBX37Duc9+JC6Y/aDCXEyY5NUq4sF3yfXc6avmaLWqUkpTTrQ7dkhnnD8autQD39jUa 1oc54E1b+B1uMWzdV3pLVyuoeSLXPSspFDsq9VZCR/dQ1tmQhNAygUxDXg+BpvZpLVmc 7DEwFY6261GjSwmewUTbdh4IZJ4I3xq2ergB+EVJWwGwUqsZRvfOKWYoTW9t7KQ6imby BWeaJ8dLadBBafh5DyaivsoqpbLhtzve574wpK4Kkr6KAnsf2OljEhQX/cnHZiefFlDP Um4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YrzMakcOOzZUVFm4JbVcFgj1K440KfwGhI4SW59K+OI=; b=H9awyorqMFFwnTOfe8b4u7sBX1uo/QH6fbN14xps1W21N9TamHyArpIsFKrcOIxNTn sEB8HpBHccf9UAIY2FAGLkmJdTkuBljVMHBIuT04zLZSs+gksVfkB4M447FnPNdW1YbK v2KYM8LTWKzIeybpVLkPbMdd8tyro7OBT4jySE97Yc04QXg4CtG7hnIVR+zlobTGa4ki 2oFNjWi965sOywNOFUd5ySiiQ2+7RRBTEdb0SVW0myZKr/ohltO8R54RaTDi3OrgxvU1 pPdzUwYZBnbdU8we0HHPHlADYM59TQbrso3qR1o6e7nmqKubfQqgUhA3qReRUtpa6uEg x0rA== X-Gm-Message-State: AO0yUKUu3cTEKRoMuFRg8CqRVm0gO0N9TQCvKflv7sAYYLrzrPkNVzLe Lik24RslDqzz5aITrPXxDblpsw== X-Google-Smtp-Source: AK7set+Osxu3f3jN7fxzKcBM4yGQLcOKGxAn0fzmJemEkNsgcp7K4ihSod8UT6RPaLf/MzCWkBPXMg== X-Received: by 2002:a17:906:4081:b0:878:72d0:2817 with SMTP id u1-20020a170906408100b0087872d02817mr14835920ejj.29.1677069738302; Wed, 22 Feb 2023 04:42:18 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id bw10-20020a170906c1ca00b008b133f9b33dsm8347517ejb.169.2023.02.22.04.42.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Feb 2023 04:42:17 -0800 (PST) Message-ID: <506f92cd-7cf5-4fd5-a930-9af086732f84@linaro.org> Date: Wed, 22 Feb 2023 13:42:16 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH 2/4] ASoC: dt-bindings: wlf,wm8524: Add a property to specify power up sequency time Content-Language: en-US To: Chancel Liu , lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, perex@perex.cz, tiwai@suse.com, ckeepax@opensource.cirrus.com, patches@opensource.cirrus.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20230222113945.3390672-1-chancel.liu@nxp.com> <20230222113945.3390672-2-chancel.liu@nxp.com> From: Krzysztof Kozlowski In-Reply-To: <20230222113945.3390672-2-chancel.liu@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/02/2023 12:39, Chancel Liu wrote: > This property specifies power up to audio out time. It's necessary > beacause this device has to wait some time before ready to output audio typo... run spellcheck, also on the subject > after MCLK, BCLK and MUTE=1 are enabled. For more details about the > timing constraints, please refer to WTN0302 on > https://www.cirrus.com/products/wm8524/ > > Signed-off-by: Chancel Liu > --- > .../devicetree/bindings/sound/wlf,wm8524.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/wlf,wm8524.yaml b/Documentation/devicetree/bindings/sound/wlf,wm8524.yaml > index 09c54cc7de95..54b4da5470e4 100644 > --- a/Documentation/devicetree/bindings/sound/wlf,wm8524.yaml > +++ b/Documentation/devicetree/bindings/sound/wlf,wm8524.yaml > @@ -21,6 +21,15 @@ properties: > description: > a GPIO spec for the MUTE pin. > > + wlf,power-up-delay-ms: > + maximum: 1500 maximum is 1003. Where do you see 1500? minimum: 82 > + default: 100 > + description: > + Power up sequency delay time in millisecond. It specifies power up to typo: sequence? > + audio out time. For more details about the timing constraints of this > + device, please refer to WTN0302 on > + https://www.cirrus.com/products/wm8524/. According to WTN0302 this might or might not include regulator ramp-up-delay. You should clearly indicate which part of it this delay is to not mix up with ramp up. IOW, mention exactly from where the value comes (e.g. Δt POWER UP TO AUDIO OUT TIMING table, depending on sampling clock rate). Otherwise you introduce quite loose property which will be including regulator ramp up in some cases... Best regards, Krzysztof