Received: by 2002:ab2:6f44:0:b0:1fd:c486:4f03 with SMTP id l4csp240012lqq; Thu, 13 Jun 2024 01:24:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUvfLaFWlNgEuaosDzg/sOpgiGnCuAtSNaipepm7HdPYZj7lp/SkbryTDWgJZznwx1+NXnFrF4Unr7OIaPCJYUIBIgxj2CAehoFS4hSwQ== X-Google-Smtp-Source: AGHT+IF99cZ3cNbBItcrR7+vebm2Jl/luB/dzYB6wc36o/2s3HtzYNaOdW1Q29Uqb1QcijVjRRef X-Received: by 2002:a05:6a00:14d3:b0:704:2402:37ae with SMTP id d2e1a72fcca58-705bce08245mr5040306b3a.10.1718267064755; Thu, 13 Jun 2024 01:24:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718267064; cv=pass; d=google.com; s=arc-20160816; b=yB/fG+0BspHfc3gCH0q124HvocP480iwcifE8HgiO248gKr3qXdy8jVgOwmUEP3SOL PNQq2q/jJMQaIvUX0HdfreVSlPBlWknVrSHgitbU+IQeOc+XDfbd9t+YlxvA4T5SXms1 I5iPylUDSjFORufAcJorX3Z/GdY7VSaDoiZXAqu5dWvdGQQaEfrzRl0bshXah0KykCpz Z1R2XdZN3lXslzdUhMYMqWxbaAZyAC58FVNBdkUPoTewA9cpo9OfdFG2u9mY1A0S+Vq1 OzxiCbyJJtQGNs132UlXGrM1Tu1r3JjxqMcvT0TymdG6/UijeZ2+Uqv/rWeDzg0FMzy7 xZRg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=+0UP0g4SgJBlO7fJs5utFNOMdYzCMBOE1A8PYkpodHE=; fh=iNkjvbuyZYis8oNoLJyQV7EBKyGQo6oD7OpcXZ9jvwM=; b=W9n5xi97/STh/6Y5K6cnp3FrhnndbM61bO3mAECnAU2msBhbGoGz9H/gJzNsqhju9L 2xyEZEgxBUykj+aSXrpIPaXgGVtXAV31eNFRehYktibnTxNo5nNAZRbEWDVD9iFLWG2e Ca53RFg0VzcHs73aOYm51QGuN3bNbOgwGIa1Pk35SpxlvBFhcxErVcH/kKHl6J9SH9fh c6bSZ3Uzxwwoy2PHd18KFsi+VKoCW+b2fK9MK4kbbD/N35woEw/K+Cfj/6XEc5CVGZbG 8PjX01bPPyfKKcNzBThoYj+FDeoQZdTSDS/QVgfiRfx60aCV1hQcHwTQRNGqHikRog0q v+ow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=otJk6Np+; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-212790-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212790-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-705cd6555a7si862053b3a.94.2024.06.13.01.24.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 01:24:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212790-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=otJk6Np+; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-212790-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212790-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 40BCFB248A4 for ; Thu, 13 Jun 2024 08:19:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C77D613D507; Thu, 13 Jun 2024 08:19:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="otJk6Np+" Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 643D413D2BE for ; Thu, 13 Jun 2024 08:19:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718266786; cv=none; b=US3lJ7eONbvO7yAvIX6dVVT4RZR5T/h3CxUJnpzmhqOupqE/DOeUbFQonerxtDYdq/jEXrV6yhaRO0aQdERC7jflIZ/3684xKZGch4nYJVN3CDYYUlI8ZHaRvXpcynY9zTWeg5FXyhEem9W1YZiBlefB+rd5HcvLot8qzSD9xvI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718266786; c=relaxed/simple; bh=kqwyxqCAid86cD5vG1gVcUsF9oMz7VowpVEj+CbUwUU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pUoGGq3rPoxdHsGZFDgFUgZS1ct/FkXTpFsdpAHJEyfHH+NlCyIZgxGUVQrZfGyH8JJR+8eT5FJR+tZJ8kPSmJSg9UZ6c9kzks7EDOjbpFa6Zc6rkTH8XblOEBcVFnMQF7E25oz5SuKbn8K0BREke9l6apaDdrvbJuEfEzL/sqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=otJk6Np+; arc=none smtp.client-ip=209.85.208.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2eb1cd51e05so447661fa.3 for ; Thu, 13 Jun 2024 01:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718266782; x=1718871582; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=+0UP0g4SgJBlO7fJs5utFNOMdYzCMBOE1A8PYkpodHE=; b=otJk6Np+lRUpwoKD56lY45QCKqUyWVT0ktrQ2ciJGMMFpb6ibbragctKCvizsGJliJ LfsOHaNJnIr1FfrG/HDRUb7B0d01qf7n/q5HIOHDX203TRyUO5q6V7xWpml50xytfvwy yp1t4WnOITbkFo8uMmDlP9cvPyq76Ya3zxBhyjj20L4M/BlA0ECA7m5S0ar8Kxbw2G6v Q9dhDh1VIcfwH/T2ilYCbtpn2RSnKr1CtptiXa4FayA/8t52qHk34uhPH3rIIsCym/PD 2u1MILHgXe7dkuRVnINcEIN/SI9t225hhH2n2YaZc5fKospk1APiT0WkEOYqaVz6vY/L 7s7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718266782; x=1718871582; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+0UP0g4SgJBlO7fJs5utFNOMdYzCMBOE1A8PYkpodHE=; b=cx9PQgakWlnKdZmmiVYVj6i5rIpArxy64VwVzbn3QYFTOCBdpTlDj1wxV0q6iiL73u G5IdolcpjuAZ6NebfJ7QKIA3n31XjG82tdK6qOS0zANWcjawZ47+3DstBD6+VE1nvgTb /pwYX8+ey9KGmZwlX42fOPYIyZbbsVspS4asqqDQyIgApl2AjPjaBCBdykbThgC/T3IR dZwcFl+Thf8cSmVjmcwYOd/GFZGTQSvuSlrbrDIYv3beImRAwnITx+UOlpKqioA+Rm+X RROYDKESzsiu6tt8rnIeTcZvkNcNIIYV/kO/raT2xVaSJ7C77iMQ+hP/TKVRIC3kazDU DJRg== X-Forwarded-Encrypted: i=1; AJvYcCWpXWvUV+aJr/REJhp3vLZtgbaIRgLS5hYYJhj/ys/keLwB8V5CthstGn/UZOjrrGBextmDI6JHkPLnL+fANnK8nbS1NrBvG8V+a7qu X-Gm-Message-State: AOJu0Ywz3d+IL2DDsEj66rsT3JFahbfDVpGa7bph+H/kZN48RUF3WtXH lDgvRl/4BMIQ73UEAeK81jjcG9t4LpKw1vIo8X/xtrO04C52QLZFREm/hxgPft8= X-Received: by 2002:a2e:2a85:0:b0:2eb:e738:53b2 with SMTP id 38308e7fff4ca-2ebfc8b174dmr26404661fa.1.1718266782557; Thu, 13 Jun 2024 01:19:42 -0700 (PDT) Received: from [192.168.1.3] (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ec05c16f00sm1240211fa.61.2024.06.13.01.19.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Jun 2024 01:19:42 -0700 (PDT) Message-ID: <68a18159-11ff-412c-b742-34ceb0f3a028@linaro.org> Date: Thu, 13 Jun 2024 11:19:34 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V4 1/8] clk: qcom: clk-alpha-pll: Fix CAL_L_VAL override for LUCID EVO PLL To: Ajit Pandey , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Vinod Koul Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Taniya Das , Jagadeesh Kona , Imran Shaik , Satya Priya Kakitapalli , stable@vger.kernel.org, Dmitry Baryshkov References: <20240611133752.2192401-1-quic_ajipan@quicinc.com> <20240611133752.2192401-2-quic_ajipan@quicinc.com> Content-Language: en-US From: Vladimir Zapolskiy In-Reply-To: <20240611133752.2192401-2-quic_ajipan@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Ajit, On 6/11/24 16:37, Ajit Pandey wrote: > In LUCID EVO PLL CAL_L_VAL and L_VAL bitfields are part of single > PLL_L_VAL register. Update for L_VAL bitfield values in PLL_L_VAL > register using regmap_write() API in __alpha_pll_trion_set_rate > callback will override LUCID EVO PLL initial configuration related > to PLL_CAL_L_VAL bit fields in PLL_L_VAL register. > > Observed random PLL lock failures during PLL enable due to such > override in PLL calibration value. Use regmap_update_bits() with > L_VAL bitfield mask instead of regmap_write() API to update only > PLL_L_VAL bitfields in __alpha_pll_trion_set_rate callback. > > Fixes: 260e36606a03 ("clk: qcom: clk-alpha-pll: add Lucid EVO PLL configuration interfaces") > Cc: stable@vger.kernel.org > Signed-off-by: Ajit Pandey > Reviewed-by: Dmitry Baryshkov thank you for the fix! Acked-by: Vladimir Zapolskiy -- Best wishes, Vladimir