Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2236368lqo; Mon, 13 May 2024 11:46:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXeQhKXYMmVfluPcAKlttcu9RhJp5D/xhmDzq4x8xDrl7/ahOmIJad2BGA3TTrodSy/CSwbcKTPf6lMoaAT46/q3vZY+oYeHt45pg0CVw== X-Google-Smtp-Source: AGHT+IG2bpWsXZl23I5vFelKa1Ec7t30qvsQaKctOmzMU1g2qAZOjVtLegCBPPh8VR/ae4u1jjA4 X-Received: by 2002:a05:6a00:2e11:b0:6ed:416d:f7c with SMTP id d2e1a72fcca58-6f4e0299ea9mr12933280b3a.6.1715625965605; Mon, 13 May 2024 11:46:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715625965; cv=pass; d=google.com; s=arc-20160816; b=DxXB0RNhMPiRT1CRyykD05uNhPCXudpEtdTLQ3+cK6Ds/8jZcrlYDB/iFDWSuWQuxK lPYttTs5vLIPvrTAatowmoLmTExckIq7Du2Gqs7MPGMJiGM+JDp9K6SqRnBw7Iwr5Ca8 Zr+YUdjmE9dZewWEnDZP/uTV5fP90lGnI/F/+DYMKLyAGzKskS4BdwHihfrs4X/elmnN PYRXkuNKQyFtiUsVjWXUXyuPz0orhlqxkHTjrnEwfQQyWKD6PW6FtWoVEXXGuZtWMy5M /IFRM4hUUJtT1ILOVUxdklfoLFqTxSdKH0FUAICFM+ccs4F6b+/bjAoJZPPstOH3T6cM PCxw== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=S7YHwZGAPlAJfMZbQVg4rYz7guv/kQNSmsLj5uQr7xE=; fh=jd50PFseDIOJK20RBwRg5Mvrs0dvMi2jDIYK13DcZNU=; b=r1GagLEVYNe1LGxcuabyEopLHALsYZOlfslsh59e+FlPrYEYPduNbAV17vf11wasz7 Foeb+LoC0qdCDUVoEfKPxL26bmxyMXsxmoncMsAFqd3a/EqWHe8m+AovN4bLFXF9VN+5 cHwavdlA/Eynvfyz0azt7arBfjiGV2frU3R+NJyM/JsFffwhfQecT+mWpT7uB4E03GBO 98M6OXCcOxHFM+mJL+S0gqVs2we9EXJX3dgqqHXc9bWqtFhAsjZNd93OtQ2lpS+LHtOW COHSQXCzn/cjwsVFfDD1KWZ4tVCqZbWjO/QzJUWaYGMWz0JfgEjD8xRM6NC8j1Jl76NN fQVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=RyfEyhzi; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-177981-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177981-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2a737aesi9620019b3a.41.2024.05.13.11.46.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 11:46:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177981-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=@gmail.com header.s=20230601 header.b=RyfEyhzi; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-177981-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177981-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 557B0281541 for ; Mon, 13 May 2024 18:44:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C47133BBC9; Mon, 13 May 2024 18:44:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="RyfEyhzi" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 759E640849; Mon, 13 May 2024 18:44:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715625881; cv=none; b=VbR+/GYF0cDqEk2hArXK/hFEFd71qycf9sfX/t53YZqr+iIaYR1dhWs5fKdMpKyBxxuutCTOwJ+yDXxJ5WrCxw3qM2QPUvc3Cse9XRhZIysttS0ADDw7WxIrVA3+zSLdalYpet0YSorrxBDByr/51giWe3BMvyWZ3Ngz3aKEE2A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715625881; c=relaxed/simple; bh=V+isaCSZhCjRM6q/lNr4SqvHnAMAfUr4V2ylici215w=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=BSMD2pjONzrSNSiZu3XTM+7E6eeEW4SsjfVkuzI/pCrkcSsMO+O/txjFTR6IcBR3kl9wLwdRR4Ag5gWzPTczPMyAsimQ73hH+JAJtW8zWSe+CjLkdPdhFy4lVqwTURmyOx75DJ7DzZpwxUL8Z3voxtpu8dz/JsyTWuLe4opi3og= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=RyfEyhzi; arc=none smtp.client-ip=209.85.128.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-41ff5e3dc3bso23688475e9.1; Mon, 13 May 2024 11:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715625878; x=1716230678; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=S7YHwZGAPlAJfMZbQVg4rYz7guv/kQNSmsLj5uQr7xE=; b=RyfEyhzi6T162kF8oQO6oZkO4QR1Z/28PfbiOYZ+FdawSp3rBctuTaA35YJ7DIucme R4SJoitrZOP8eLswacgbjaBwC6UqLfkIdMgYP93UW3vzv9Jj6OvZ4/jTwYbG5obMcznc csNM95D+gwE2jizptx4BHEdPndmbmaxUbtDEQcvYWgAgxpBgAfdQwz9gpiQ3tuiCNaQM v6HufRExb3nm3/e5dEXOCPcQ8YYa2e9DRTGsYqeBo1VN+xjG3+I8H4sRc42EGi+WKRrZ +RPnw8TdxPSnd/B5UiehH9UqSsfy1pdgE9Pbx4H7YQ6HPqwWRuEL/4wSIcSbqXwgxqAO zevQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715625878; x=1716230678; h=content-transfer-encoding:in-reply-to:from:references:cc: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=S7YHwZGAPlAJfMZbQVg4rYz7guv/kQNSmsLj5uQr7xE=; b=wDBGYQSFnP3kudJBHSLddmb/p47tllG23ro6h3UqNobFwnsuExjrF2rV0NNqdVnY8f 1UTZh4FVqdv1rNdQLV7YSjM9Falal6tbHx2xXWh1TAb3gzwKeXOANLfZ1ipezshSw9QR dau9MMCe+LoLReVsorOlfN3SCt7yovRGnQ9hC+rEO1PRdPQy4vOlTnWSWa8i1qqbAd0r 4VzIAPfNpcKGlxB4OBJqKdN2C4wgbLWgSQYfk2xGcDO107ImhrJ+Zbu/0Sv1OKL+RAIm khJ2bIXDIgM46YQ65XHF8TZQMVcB156u3OAecW5edvSVn9v5+WeuY90mEnOMQFXW909/ Ug2A== X-Forwarded-Encrypted: i=1; AJvYcCUHFyGwgBWHg26G61L6L1bDy1QX+7IoD6By49rurb/N8kt0Ol0GXLyJ5jUw5wx2dKMGHAIRFvUjJomybEHNvgTiVFe6HhVVjd6SuTytXdFSPqWG/DYRlqUET5C4z6trMey4rcZvgqN2 X-Gm-Message-State: AOJu0YyJysE+X1b9KJliNc8btvv7RKDiidqi0af5rsAD4YQMifc54slm UWvxA06+8aX3r7hT2nCndwxy6mxuab+4vHpVeF0sUV1z1jZd87Am X-Received: by 2002:a05:600c:1d21:b0:41b:97c5:ccc7 with SMTP id 5b1f17b1804b1-41fea9320bbmr69197895e9.8.1715625877429; Mon, 13 May 2024 11:44:37 -0700 (PDT) Received: from [192.168.20.170] (57657817.unconfigured.pool.telekom.hu. [87.101.120.23]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fccce9426sm164700615e9.25.2024.05.13.11.44.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 May 2024 11:44:36 -0700 (PDT) Message-ID: <01889053-bcf2-40cb-86ad-2f2bff56f24b@gmail.com> Date: Mon, 13 May 2024 20:44:33 +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] clk: qcom: apss-ipq-pll: remove 'config_ctl_hi_val' from Stromer pll configs Content-Language: hu To: Kathiravan Thirumoorthy , Konrad Dybcio , Bjorn Andersson , Michael Turquette , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Varadarajan Narayanan , Gokul Sriram Palanisamy References: <20240509-stromer-config-ctl-v1-1-6034e17b28d5@gmail.com> <21cedacd-f454-4eb8-9b2b-33a14592a6c1@quicinc.com> From: Gabor Juhos In-Reply-To: <21cedacd-f454-4eb8-9b2b-33a14592a6c1@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2024. 05. 10. 18:25 keltezéssel, Kathiravan Thirumoorthy írta: > > > On 5/10/2024 12:23 AM, Konrad Dybcio wrote: >> On 9.05.2024 10:08 AM, Gabor Juhos wrote: >>> Since the CONFIG_CTL register is only 32 bits wide in the Stromer >>> and Stromer Plus PLLs , the 'config_ctl_hi_val' values from the >>> IPQ5018 and IPQ5332 configurations are not used so remove those. >>> >>> No functional changes. >>> >>> Signed-off-by: Gabor Juhos >>> --- >> >> Hm, it sounds suspicious that we'd have these settings then.. Could somebody from >> QC please confirm that everything's alright here? > > > I checked the HW doc and yes in both IPQ5018 and IPQ5332 CONFIG_CTL_U register > is not implemented. I see offset of CONFIG_CTL_U register is removed in the > change[1] by Gabor. Thanks for confirming! > > Given that, should we also drop the pll_has_64bit_config() if block from > clk_stromer_pll_configure function? If we can be sure, that there will be no Stromer PLLs which implements that register we can drop the check. Also, since the SUPPORTS_FSM_MODE flag is not set for any of the Stromer (Plus) Plls supported currently, the related check can be dropped as well. However I would keep that as is for now. I'm planning to remove the clk_stromer_pll_configure() function entirely but that needs a bunch of preparatory patches which I'm working on at the moment. > > Nevertheless, for this patch > > Reviewed-by: Kathiravan Thirumoorthy Thank you! Regards, Gabor