Received: by 2002:ab2:f03:0:b0:1ef:ffd0:ce49 with SMTP id i3csp55971lqf; Tue, 26 Mar 2024 14:14:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVz8lU3tTbsBpVZ4JALwyBUvJMdsw6UWW+6v7oUwu+uZSw3qlFO6/D001ork0nbwIHq3HHkqcP6T1pNzQ8/D0FPHbpkkg/x4C2v53L74Q== X-Google-Smtp-Source: AGHT+IE3mqPpI1+K7InsFjY6LVW/hrYCtYubBKz6Lg0b6fKPS98v50Re0CEs6t55CjCwqe1m5Dws X-Received: by 2002:a05:6870:a118:b0:22a:1ce4:c0cf with SMTP id m24-20020a056870a11800b0022a1ce4c0cfmr2709525oae.55.1711487692909; Tue, 26 Mar 2024 14:14:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711487692; cv=pass; d=google.com; s=arc-20160816; b=0VGr8mpmwjQkOUX1M4aE9rIn+pjyhgqxJnzegyRw9vd4WTsdvgDe6zIt0QIdQTC9CG vS1sa85AShZ+LGaHPiLX4d00Rf2nZJoMfuGVUBFy+loZ6it907as4BcbVRwY5lsMysr0 p+LyLxvjHLqgdnzJQWmmhEjbNlHhK0g2UD8OCTEkLK/FIF9Ur+B5cPFRSWef6Z9nHSDv WJkqtTc0JbhK2Gd1tqv3qZL/sAaCGJTIiozdj+CGKEEjWJLf2wISHwGZpwrlKFA5HZ8x qCbjECCFHWWxBBSKmImY+ALAaurwZDUyZnnxCcDZ2wYUAFR2VGOEGXztYyDl2+uRpUGY kq3w== 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=0x2T28eezAs91HOxMcg6JN1+2OrXJY88X4xpF1P2/yU=; fh=8mtjqt9L+aFlO3EAhUFtruiN//6VOOZ1zA8DEYJRNDM=; b=frx871kZIOQmXh4JxrI31s1wYlfTR1e4FigF9m9vYy3uLDV+5GosPTpoVa86KanX8A GEiqTPxL0+KudSdmHKjwLCd8LpuYZ4cTlcac4zQV5vOpfaIXJh0JZdJuY1gR4eaPPl3+ Mt/vXGXiInuDAd7sY24kZG29K4UyqFwXLMYpJ4kmRogLfqnQCfbaw9/5Jb/8/ZZMK5mD SqkvPm0JKVHsdaBaJlHlAaxMCSEnKjSdNEmH4F/KI7F18/m/yuTs++OsbMoPhCaPOYfn POYdiurwMDLBRSnHKoLQ4J7vlOMxz0Yvz+gX7KYvlj3JnYpoRc4+GmcuSKuNARPUhbwU 5ATA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="yPsQ/qsz"; 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-119953-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119953-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 g11-20020a63110b000000b005e840af2241si9933505pgl.711.2024.03.26.14.14.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 14:14:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119953-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="yPsQ/qsz"; 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-119953-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119953-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 733EAB2222C for ; Tue, 26 Mar 2024 20:48:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 018AC12AAF7; Tue, 26 Mar 2024 20:48:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yPsQ/qsz" Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 64DAA1E884 for ; Tue, 26 Mar 2024 20:48:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711486118; cv=none; b=s+CcxG3wEcpT8Ro37PE3fIUufRTK5IHpWAXl5TyiwIghvKcLTswGY7sPa/ZlcDXrEfb0F8Jr/BQEmYNAdxsooxKk19PPUkjEmhjoHvTYKxSoZSUfasoxdbQ7cleaT0+nn2eyWZ+oHega2XyPKVoIsTvjOiON2PvJnUKDI+HtJ3E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711486118; c=relaxed/simple; bh=urJyeXZnDDwgM5949YY+/cyU9zg6bB0ky9ypE7HM3A8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pnusueZDNBpZGjrxDxDAvJHo6si3AaVnxebkv7RFeoOx3OJogQ5HilWEeZNH9RuGxrJ0zFRCn27sW7XkVRQXczZmJGIwr+WxJdfQQJvr7Z0ZH4SY94clxgknn2JHsFrrEzOFPH8c+bGKxmPSXTggJhqW57yzRRD+Vu2krfKoJeQ= 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=yPsQ/qsz; arc=none smtp.client-ip=209.85.218.42 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-f42.google.com with SMTP id a640c23a62f3a-a44f2d894b7so737228366b.1 for ; Tue, 26 Mar 2024 13:48:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711486115; x=1712090915; 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=0x2T28eezAs91HOxMcg6JN1+2OrXJY88X4xpF1P2/yU=; b=yPsQ/qszUeAfCV6/I+6h005OBMJJ2lWKK7CuGGfk3ldJ6bkUabY3QPzQHxzEU8Qkld dgg+ZxjwHJ7fX9+hqpkGgNxSDQPvnu8JBQvC6OMES1MfXN4Ed/2mlFlRwCsDOpS0gHjz Pb1hgSa/cLZuqYpPesiwWGMeFGHngctSvq3sMCraDfQyzVhA24yUFghVQkYhSKPurZwH OYNO8/lJFVxPF8sr0KFUcwk+T1DKXZZqzNd/SgwSnXUyJ3snDUXvtZp28zOjVeqeoXQP T6ehKDBHAPm7SIrSTTZ5l8v8p2MW9p7C670wUp2NdU+YQsyP2hCsW6d7Ua3OvHg3sXKg NkIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711486115; x=1712090915; 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=0x2T28eezAs91HOxMcg6JN1+2OrXJY88X4xpF1P2/yU=; b=jfhW5BVLRcGPNBFz+oW45riuThaXqDswEwxh760CkutF3oLlVmHZeJEFD2/3ZsSjD/ OrGKzZ2WK70fFETzcJumsYgp0wFTmhq7m8sRMl0BZga6XJZcVvFLzaDKTzIUIDY7hBMd qetjg7J2CxLWrwc31Z1zfEUtaPDGvXz+s6FMIdjLsf1IMxy/sSq16vasCMkJiHExxCgG mYGUQCMfj/H55jqiQAAygEytPW3vj3uax29f5i+pTWHGg/DXDNEkzwK4pI2JmwDH6YFR vUB1+UsGHy+QMjRpfE413uEAXdvTXSne50qlwN3LBDHPUczy7vf+qlzJ12ZFtPPxovLg Hx7g== X-Forwarded-Encrypted: i=1; AJvYcCXza3LMVs+nGsW1vVNa9wbYKnrtWouBmQdwsKxboIixdvKmPhk8Bbjbl/BNb3f356wINct8u+gC+Wk8kGApqgwTSlvphKT3Xa3fgyx0 X-Gm-Message-State: AOJu0YwkH6LZ3S4JXQ9IwgR+nBoaxnFHCozEH1mnUv0tVTBG/QATUcMU jSBT7O4aleu8aSasX3Hgdn7sJoSbTrbil/bOyBQwy/tmrAWQHS7JtaxY03+UbEmqhUuRj9JAkSo Q X-Received: by 2002:a17:906:eb0c:b0:a47:4ee6:9035 with SMTP id mb12-20020a170906eb0c00b00a474ee69035mr2583525ejb.29.1711486114654; Tue, 26 Mar 2024 13:48:34 -0700 (PDT) Received: from [192.168.92.47] (078088045141.garwolin.vectranet.pl. [78.88.45.141]) by smtp.gmail.com with ESMTPSA id qk6-20020a170906d9c600b00a466af74ef2sm4569474ejb.2.2024.03.26.13.48.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Mar 2024 13:48:34 -0700 (PDT) Message-ID: Date: Tue, 26 Mar 2024 21:48:32 +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] clk: qcom: apss-ipq-pll: fix PLL rate for IPQ5018 To: Gabor Juhos , Bjorn Andersson , Michael Turquette , Stephen Boyd , Sricharan Ramabadhran , Gokul Sriram Palanisamy , Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240326-fix-ipq5018-apss-pll-rate-v1-1-82ab31c9da7e@gmail.com> Content-Language: en-US From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3o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LSC1KL1lXGXeRM 8arzfyiB5wJ9tb9U/nZvhhdfilEDLe0jKJY0RJErbdRHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20240326-fix-ipq5018-apss-pll-rate-v1-1-82ab31c9da7e@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 26.03.2024 2:34 PM, Gabor Juhos wrote: > According to ipq5018.dtsi, the maximum supported rate by the > CPU is 1.008 GHz on the IPQ5018 platform, however the current > configuration of the PLL results in 1.2 GHz rate. > > Change the 'L' value in the PLL configuration to limit the > rate to 1.008 GHz. The downstream kernel also uses the same > value [1]. Also add a comment to indicate the desired > frequency. > > [1] https://git.codelinaro.org/clo/qsdk/oss/kernel/linux-ipq-5.4/-/blob/NHSS.QSDK.12.4/drivers/clk/qcom/apss-ipq5018.c?ref_type=heads#L151 > > Fixes: 50492f929486 ("clk: qcom: apss-ipq-pll: add support for IPQ5018") > Signed-off-by: Gabor Juhos > --- Reviewed-by: Konrad Dybcio Konrad