Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2525635lqz; Tue, 2 Apr 2024 23:49:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVL0A/qzMgYtSc8ounv8hUVqa5GE5YvXg8g892Zutedn2mx+E4GGGdDtIDEqVtwPF6iWU1omrbX4fquqsPwvfWWJhqP+TzEfFFatH1luQ== X-Google-Smtp-Source: AGHT+IG+zdPkSOIjfkZoJsauTQnR7ShEgbXC0OUiAYWbPex2LP/jEOtErYEm5dr9DzxU9UxvcT4m X-Received: by 2002:a9d:7b47:0:b0:6e9:da83:7c89 with SMTP id f7-20020a9d7b47000000b006e9da837c89mr1975384oto.31.1712126961393; Tue, 02 Apr 2024 23:49:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712126961; cv=pass; d=google.com; s=arc-20160816; b=uXBbLbqtA7197o8E/OMlAJVvpWOdgziwIV/vGY4c5DsxVQmxF2DadFFhZRFobfkNQ4 sMp7gKZuV5Fh2f6jE4xFFy9PqqnGzOAJgySPuKogYaQqAsJ/XR8VW41dvtoJK7hC5MJu KYcHI/KjTTC0OLsFURHjAl0L4OMHecZKueLth9nxqwLAeJRB5u6mB1vM7Ys1k6gRHmkm wAFDU/WKwgrUJE4KTyaeTYWe/fRr0BlPTR272WgAFXhhzkEtYGyUhNfkzF0ZWDo/e/1w IFa8E6l8R6CfcDRGPvO7JRlGjlgn3cOkIAjNu0kUr3TSkk/hMlxwInNHKSw1x/w+L9f0 i9TA== 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=wxEweuhL1xZaCLYP0cmyV86Egllpxaa+cUj5NxoHLJs=; fh=3tyWyNQbuGZ/fQmjSLZi3IoRQ7h6/7RatkT8IA3BKeI=; b=bSlJI7Lgp9II2RhndlGhy5nIfHTLG4JucbykBX6w7oei9SDaC6MvODPA5SxSPe2TcO EPtvs/5C3FpzUAbx1UATorGxWDheGr4jwnUk/n1ch5MSS/LrBN5Y9f1mrNIuZfJ76poA +yDc0DifmrwSU9EmCr8uD687IZc4y6tSDw/aoeXw6YiCJCmjWcUVgK/cxNwvZTRw58xx xv8D2nDgtGlNvkVNrLGdNcQ4C0sx1e+7180FG1Noet0+H1g0o7MK7p8KAK96X8QloqdF NEGFpqqVDt+QS32zn00uLoIMOysXzyAJv7/KRaf90qC/fdxq9ZxZPsNJL2IsWeharPdW svXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZAOvy8hB; 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-129097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129097-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t24-20020a656098000000b005dc8a171689si12914179pgu.411.2024.04.02.23.49.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 23:49:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZAOvy8hB; 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-129097-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129097-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 0A1FE2847D1 for ; Wed, 3 Apr 2024 06:49:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E73374EB3F; Wed, 3 Apr 2024 06:49:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZAOvy8hB" Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (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 3C38243ACC for ; Wed, 3 Apr 2024 06:49:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712126954; cv=none; b=bZmwNgBdfLm5xb/mfhyYlQV5/IBo7FEMtpQhcq3pN2MGWQr44ohQQx/Ei6fvhNL/FqAGCh/KOt9E/nRzG0iL5ZkgVPm7UpidnlMhEUKnSElcRhzf1AZg6XqhJum6Y0g+vu9Eb1BGdQHFLJrj8l2YUAyFAcfHma7EVy/zCMT6g/4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712126954; c=relaxed/simple; bh=7KJkmLBmixT+4fy9dHtvE4IRdOGEukGf18B8oGICZ5A=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pAiQXo6xZEYZirQjczSIHivB7j2qWkmwsl5uuZp6HsoQCujgXjj7goEPWar3jDeqM47D5bqg5Xr5GCYlrHytPfaYARSpWzibXzsKnVqqMH0WPduyLrGsJ7jqQyE7XoOm6wLVfoXQ14+vULM4cxhMf8SLZCtq9kH6wy57SEUY4jU= 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=ZAOvy8hB; arc=none smtp.client-ip=209.85.218.41 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-ej1-f41.google.com with SMTP id a640c23a62f3a-a4715991c32so766523766b.1 for ; Tue, 02 Apr 2024 23:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712126951; x=1712731751; 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=wxEweuhL1xZaCLYP0cmyV86Egllpxaa+cUj5NxoHLJs=; b=ZAOvy8hB/Eua6tXpdciwPiV7vsgNfAvkCJwaZvZFMQclW3bFAD+vb/UyZ9SMxKuMC1 HWogqVreVVl/bMlx0bgDRljVhZ5iQ8WjtZ/uskXf1rOmWkWLxfWlKi95dSVA3Qs5UIe9 6Chhc9soVzOwjhxiggQwRHRNaVpz7PjXr7qHbFRja9TZx02NJyEfNZPi5LM9K/Gqaxl4 KpzG9AysAYDLHLYTrV/E1Ize61JgB3Zo8KHEE91eXPHnbQ5YYeKsN138xb+BtxerK6HD znP2TnPOwtAwaCuUruHUSA8NymQynEbVOcU1h7X9MVydZEwTS+o/IwVDuVKvC4wHqnkS 2ufA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712126951; x=1712731751; 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=wxEweuhL1xZaCLYP0cmyV86Egllpxaa+cUj5NxoHLJs=; b=aBalzO1aupDQoTD3VUo3SeTN7rMo3gcZmRf7Jrw6BDhmDnqGzT3KznPTsg5ndEOvgY bpf8FSH9I2iwvvpzZKh9bTMTsmiguyVaepyozDzJ+hNRCB00dkXbeNyw8CD0+7o+hx/G mOU456JGsJAmOjOxoh3ma3VQKxpbBu7SSCauIKqmqGbc5/ag4qN3XJ25yosTS8XzKv7u RVFK6S4In2Y+9giM/ueD8YeU3dYItUW+6s3gAz47NHYh17uebjgDEfttgO5/V0zy1tRP rNlBtbNk+D9Bs79ikdl2EULSla8EL8c2/Qep79LY0XTNFPLU5ecSA3LYlUgX+VxSQXex j0tQ== X-Forwarded-Encrypted: i=1; AJvYcCWtbH37maTAYP1Ke3IGWjHg/1Rn4+26bmmgRCO4ifsRWnMhqhWziMOA0L5pjzrQRczifZ2h6LTlH4Xq08hORcmo9luhY9XxkjuKQ1D7 X-Gm-Message-State: AOJu0YytAFS2z5qf5hr9IHLM4tJqfWgFzrILwlyYxYrtu9y/KTXGz4d5 JRPYNaOni1YlJk1oxEdElwQGKYeaRQQlbkLLwF8ob6GQAU/UNYuq/nIYtoQwAhU= X-Received: by 2002:a17:906:a0b:b0:a4e:23b5:3873 with SMTP id w11-20020a1709060a0b00b00a4e23b53873mr9398554ejf.2.1712126951539; Tue, 02 Apr 2024 23:49:11 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id xj9-20020a170906db0900b00a4e3a08e1f1sm5922472ejb.156.2024.04.02.23.49.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Apr 2024 23:49:10 -0700 (PDT) Message-ID: Date: Wed, 3 Apr 2024 08:49:09 +0200 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/G23PcowM1CwPurC8sAVsQb9Kmw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2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 02/04/2024 20:35, Ajit Pandey wrote: > > > On 3/31/2024 12:49 AM, Krzysztof Kozlowski wrote: >> 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. >> > Sure, will update in next series > >> Please do not combine fixes with new features. >> > Best regards, >> Krzysztof >> > > Actually this fix is required for correct scaling for few frequencies in > this patch series, hence combined them together and pushed this fix as > first patch in series so that they get mainlined together and feature > functionality will not get impacted. OK, that's fine but usual way is that such need is expressed in the cover letter, so maintainer will know what to do. What if this patch should go to fixes and rest normally to for-next? How do you expect maintainer to apply the patch? Entire thread and then manually move the commits? Why making it so complicated for the maintainers? Best regards, Krzysztof