Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp648000lqz; Sat, 30 Mar 2024 12:20:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXEQGndd+fP5mZnsoAPmEBx8rGqh6UAcm4UPau6tll19yogM1hq+NGLqG+fadEFw6pcmMR/LSnUWCav0ayjBQTm3qQNcRrzv0ZHr2c7A== X-Google-Smtp-Source: AGHT+IHCxEVJC8OJznBMDkDzwc1pJQKCR6GzpYrWvLHQVkyIae9Je9ugOl7uOx9LikBu2NK5as5a X-Received: by 2002:a17:902:ecc6:b0:1e0:b60f:5de3 with SMTP id a6-20020a170902ecc600b001e0b60f5de3mr9057843plh.7.1711826399849; Sat, 30 Mar 2024 12:19:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711826399; cv=pass; d=google.com; s=arc-20160816; b=Z3N1ieuEy/CVEBvOZ2Jo5AGBMRcAbYpD6Mi4IfqSSpA9+SnMtQR73kB6BeoIols7k4 NMSx4Fty6hkqODEQCtOGbqayx7teNgDFaSvNNB40LwVlmlh7bZtFfVHe8q5qSikHiC7C ccQZ94XX3RlXmGeStk7Gc2L1NLoIpE1VNDXfKhWPgNWDpbp+xGPyWVQD8ffiA1YcY3lx V45YIf3EdAJJSRYnJR/L16AxlTi/isc3BVvse3P66Z8ANe6OZQiZDWkz0w+6iaR3EdHQ 9bpMrNOVuSfkmf4Uduyw5IFSdt3rTV9vaPS5ho+UMiK4Du07DYHEAvizzssDWtBRPgRk KMGA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=yN4PuKSWEeinPRzZJmmEfOJ5USQg5a2CBtV9qfnhNZY=; fh=OvyspvPoVZBIrHBWqOWMrycDrqbYxlPeU6wXwXvHPS0=; b=cbhrBdx6xez7EMLuMZb4l4QLXiLst+T8LAbLR/3NIfpUYo92PDjrX3CmHZLtYj2r/P VnKnGOJ3bvAc7yIdrHEEVTcj+CEwGRZSpWheQHf2nR24Jo8zUtY7nooREp6AhbRZ2965 CdtGmL3BjecdTK87JNS9tMSc87lUL0njLSzimzKgDeIfFZ/R2kEceGJmmC+216rxTLaz ZZ/0WDyj9LMZiMEAR2Eaya0r7o+dwBElPKrJojd1SMwijrKu80Fgo2Vdjpip+Vojt48U JaI8OXb0JGtLWeqwT+6Eg3VMgPPtbtfep9vMaiOEtMeag+vtvVBlU6GHDJQRikNRKXbG Lh1A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LaXMt+et; 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-125824-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125824-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e10-20020a170902cf4a00b001d8d3c276casi4037931plg.445.2024.03.30.12.19.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 12:19:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125824-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LaXMt+et; 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-125824-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125824-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7B39828325A for ; Sat, 30 Mar 2024 19:19:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C37CD41C60; Sat, 30 Mar 2024 19:19:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LaXMt+et" Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 13BBA3D0C4 for ; Sat, 30 Mar 2024 19:19:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711826390; cv=none; b=VsHpU571SWJsxY9D96v6+uIDDPwfU/pyDehS2tA6kV22VK/kAc/wRoYjxdNXJOV8eatQW/xYhNjZ3wFjcVa5+jrSHpekLYvS/HTXFmTXU7HK0n8J+Rde2mIDpMwDgDlRha12uRiBZGRjfdbUrdYML8VRBHjwwP4+YhJusX5nZv0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711826390; c=relaxed/simple; bh=s/AwPUhJ0aRLUuGYau+JvXs3KYWIU0SQhCOqBkT6LcA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=jvLd8e6ovfyGpUfhrIIAKiDJfb6GSJsC7HJXw73ANXKFMzD2TW1dZGWTDfLtS6X9L0sPIUn2v1mCn4D19P7MsrtUmI2gsxnPQCTEAgDtFMf0DCwV0HxJU8tMdnpT2Zw6V8KaWTCdSAzMQRs3yP91wZA1k8lZxbGGzVYk2+ctEdo= 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=LaXMt+et; arc=none smtp.client-ip=209.85.221.49 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-wr1-f49.google.com with SMTP id ffacd0b85a97d-341cce3e5f0so2581647f8f.1 for ; Sat, 30 Mar 2024 12:19:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711826387; x=1712431187; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=yN4PuKSWEeinPRzZJmmEfOJ5USQg5a2CBtV9qfnhNZY=; b=LaXMt+etgaM1k9zGx6DLJ8DV12KbZchQ1jgsu+awUW4xO7DlSeExs/Zf4LVQtQoE93 CUEZrj6xBjlhciXJxymeOGk5b5qQSSeL4EcIX2Nk81+lYj86o+bgtOdagdXAdDHMrlaz 33WsKV36tcyIInSHHvKw7rRApWLwZzX7KWAo08w4AIK3+xeYSpcma1NDKmdM59KUt6o2 cf/0r8bnwcWq9vuUF0nHLYNgoB7YJ1X9GcFSYmudlwdJ6w9Ks/9AL8imrz/fbFmkQ6kC zBpj9Ac/tpWvfjBKpAR+0E08qmIIQYDP8ok0xYdM715mhTswOeZ3midGBSa6jv9tHEWj XqUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711826387; x=1712431187; h=content-transfer-encoding:in-reply-to:autocrypt: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=yN4PuKSWEeinPRzZJmmEfOJ5USQg5a2CBtV9qfnhNZY=; b=oLUn6UH6joS0rvyy64HfIjBqVzm1ZelBnCdmeMrsHtsyNLsds/Hrxnn+6vAzutcRrk Slglm3DpcYosXfms37tBeO/y0RtS28ugirg+Xj0bzDmKzRsgqrNXLlzqQHxrieV1ZPxF b65N2Zmqk6OCLU7QMEpWmONFsUujiKC+ju+CUKKBCK3t8/Iucx2wg5O1hMG4Vg8mKYlP pVlMOtAJ3CKy3VjtTwCghhsZOG9e2buHyhLE0sS4ftxIVG3mlkz99pxIRA5q2P0zGbmP vNZ7m6Wz7EzwTcCvyYXOoNMVDw4zAPCnER6mloffuTlAIFQkxUxRmBBFAm6eNTqLZ0i2 zwfg== X-Forwarded-Encrypted: i=1; AJvYcCXN/+5nrfxgWm97OL0fel133o8+zoWq6LHDsuGRiiFZvS+XnPfKj4D9DZSOplkr2CVkZdO0c6sd7qtOc0saB+q6gh/JKnb2zafEpoyT X-Gm-Message-State: AOJu0YycGZ76t/SwapzZUK+UbGWYPghNP0lFPKfCw8QfQ9gcGPhu8y8Y lOotW7K4Tvy53cGVME74bx8vErI0jnAtCmAJdbBi+fWmt8hn2Z10+oq8hoLC+Zg= X-Received: by 2002:adf:9b83:0:b0:343:41f7:7eca with SMTP id d3-20020adf9b83000000b0034341f77ecamr1520461wrc.33.1711826387447; Sat, 30 Mar 2024 12:19:47 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id t1-20020adfe441000000b0033e756ed840sm7089641wrm.47.2024.03.30.12.19.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Mar 2024 12:19:46 -0700 (PDT) Message-ID: Date: Sat, 30 Mar 2024 20:19:44 +0100 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 1/7] 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 , Vladimir Zapolskiy Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Taniya Das , Jagadeesh Kona , Imran Shaik , Satya Priya Kakitapalli References: <20240330182817.3272224-1-quic_ajipan@quicinc.com> <20240330182817.3272224-2-quic_ajipan@quicinc.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6n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EApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240330182817.3272224-2-quic_ajipan@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 30/03/2024 19:28, 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") > No blank lines between tags. Add Cc-stable tag. Please do not combine fixes with new features. Best regards, Krzysztof