Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp747810lql; Mon, 11 Mar 2024 17:02:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVIzU0Pm82c9/Ou0RPYRYGC7syiu2cqw+S5635PsjJQSPeMRKRs/S5gIBOYJHF/GtnBmFg1Gg7o8mLOlUnGJTd+D7hanpNZl1yqtMoYmA== X-Google-Smtp-Source: AGHT+IH2u9pM7K2zCAm3Ey4/5jEkmLu/hTaq37n+vjGAt9FqHP4+RFujBNbm9bhowRu0wQP2BNk0 X-Received: by 2002:a17:90a:e28e:b0:29c:bbc:9c2c with SMTP id d14-20020a17090ae28e00b0029c0bbc9c2cmr4981024pjz.22.1710201722202; Mon, 11 Mar 2024 17:02:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710201722; cv=pass; d=google.com; s=arc-20160816; b=A1DaE4XiTpFTVAporWmLc1l/iOaBbkZx0yOZ5a3JSQ0qZUIjU9BPGpMB/ZK1i9OaAN Ru7odmYG+d9QbPvyAyPMB9j+WKq9FtQxbl9usOiWt0fYdwn52st32mLpGrGPQkU1ZPaX dRihJ+MH0vH8PN5grDa1UGNAVqDIPo1LuWIz+Bw9TRPaKJ7B4kqKh+GojWbp7wG2n6+Z g9+fiYMNQjUKf6tLiwz+sCyHmmN+Z4xN5CzjzlkHpBwui+vWleER00B2nyWV8zoa68ml e3Fm2w0G2cN04NZdmfk0MwJHBGunMobke8QR2PQI4XuzUFZk7ywKgire0biZ1uVAIP9r VfeA== 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=Bw8QHazMu9Fh3V9WPOJl1lKgsQ2oGU99VYSdMMQahiM=; fh=WCGLTCBCDImVeWVyiqDlDdP+akaTZoV3ENRiVKAhVpI=; b=Fk52OncGJRvUaDtKhB8x2nK8NC9UrOQDzwkP3rb/PAThEjHflRp3oo1d/oIHQfPgsQ Bb5o1Tjh+wVD6mSzzx/TgVS04P9vXiORuOtIyoRvD4JNNhQshj622qJAteoaT6Cih0j5 BVYluLU/OQGICRROMoNQF7yBFhIMqowBu4Pv2qDfIUBIP6f8RppptFMsf+1nMJkC6Swa ncOsDUZaWloYD+3YIdUbzYDVHcYRqEpBOIG6lVIy8Yz+sbDfjgg4NjFjkFXYQ4sZmIKQ r7Nmku3buKy+MKbkpFHKHhR3LwD/488FpUymqtYXA8QOn5w+mhB0h4FoAryecOkkguUk iaxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o7cJD2kI; 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-99682-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99682-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 62-20020a630241000000b005dbf27229edsi5558636pgc.290.2024.03.11.17.02.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 17:02:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-99682-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o7cJD2kI; 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-99682-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-99682-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 1D04AB207DB for ; Tue, 12 Mar 2024 00:02:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D021A934; Tue, 12 Mar 2024 00:01:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="o7cJD2kI" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 6996AA928 for ; Tue, 12 Mar 2024 00:01:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710201716; cv=none; b=VTsWaVrLWGvEMQMgeZ11ZlpL2dnWehbPKZWYnNHlYX89fcbcc5bDFjWlfpxzJDRumg1pr4dSLpHkrpzV8L7ReBZcqpgZ6YoQov57RaqfC0rHFmhBl9OpFDShiiSWGkGKStfx1/uaJRs9+AbK/9uTaOqmDzwOv4Shi8ru9vVkcpU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710201716; c=relaxed/simple; bh=pyH0/Y2URKEgytRLvNHUUM77rWJEsFg7E7rffphV9Aw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oxVHj2wo3hnxMUgVY0RGXCrk/xre/2qj+61XF4ADIyrvhExBe8Z5OnyfdEc1ldi+0qfnHUCbfoCj4SoZJqpKV/M66tKgUzkQJuhSUYOPS6JnFgx6vXomyfNLeGhLkLSjPt1gfTpEPR5Py8JpDDJlYq4kgFp5zUwtX/noYXA80Vc= 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=o7cJD2kI; arc=none smtp.client-ip=209.85.208.169 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-f169.google.com with SMTP id 38308e7fff4ca-2d3fae963a8so47350281fa.1 for ; Mon, 11 Mar 2024 17:01:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710201712; x=1710806512; 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=Bw8QHazMu9Fh3V9WPOJl1lKgsQ2oGU99VYSdMMQahiM=; b=o7cJD2kIvinblBh6TOu6hpSVaCrK5BDfqQOvFXYQ0vb7DS/7NQ1Y5JnkJlEUIgbyvg NeuNuF9zOdq8bTpjT7mJM+dLX9nP/obUgJtcOvfMKie35SaZFKo2NxT70vWmxk+DL98/ gyJZPTr9GLEPbi7qM6Z1CdjtX00dCNGNyWaLANUT06Mdhs4/bd+zByZpojOww/gXvI88 RFlVnUxGXeDsaN8y2Lv8HmZQrU/MU+IgAbLdVh7/hmEQLxY6AUps3uzyBg6g7lxobdde Tuwgs6jl1BwDTCywIL3CvSZhxelVapRlm4AkMGatsbwLwF3/P2+FQNOpmC1Yc0sDkJc1 y+kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710201712; x=1710806512; 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=Bw8QHazMu9Fh3V9WPOJl1lKgsQ2oGU99VYSdMMQahiM=; b=isKMsfcPVE5FS0DJxMnK4fT8ZqNvkavnFxs0YQTZ1eyWG7hmfmTwszk2+YBi/lA3Zq gsCGv7Hl03MBBqKdR2HgwvOs14owriQkU5wgg9E0m2Mo8S+6IbDp7HkpYTo0Ruu1diyX z7MBMuVEhw/astMy73xufBFRPH4NOpmzLnkl0PSpHrNHEULPqLiCby+/s5VgoAfsRNZc GaUjlbfphOS4cbrTr6VMmQh0EilVoagu+aviGj1D6y8Qh6zWB7uYz8kim7sd7LfcYCHX 3UNhgdh9OfvhLjPi5f2mrUQL5W1/46hYkmGyJ7QqqbPnFWDvGAAh0hlWlaWbpshcjg1M al7Q== X-Forwarded-Encrypted: i=1; AJvYcCUSJEGYJDOcXirhSc9tZScva/9aj1IaKjOakGqFF85Jl2b497YrEWD+VyZ58mSYb+WPW1NJlCdUO66Qz3ZTb9jHVLPrgrr0evx+J9yr X-Gm-Message-State: AOJu0YwrcrA1ccFxINJkpK7jiVKu1LZvBY/J2MPN4QWbDmKpjbPB3SL7 NS4X1PKgtxaI9fH4T0h7Tbn7AcrKGZq6Nn7ubkHTgEMulo8vOgWFMg8qwyaCwr8= X-Received: by 2002:a19:5217:0:b0:513:9b96:a948 with SMTP id m23-20020a195217000000b005139b96a948mr4821569lfb.6.1710201712439; Mon, 11 Mar 2024 17:01:52 -0700 (PDT) Received: from [172.30.205.61] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id n16-20020ac24910000000b00512ebe62693sm1300360lfi.255.2024.03.11.17.01.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Mar 2024 17:01:52 -0700 (PDT) Message-ID: <301380ee-1c93-49b4-b4e1-3b1289e98a75@linaro.org> Date: Tue, 12 Mar 2024 01:01:50 +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/2] clk: qcom: clk-alpha-pll: remove invalid Stromer register offset Content-Language: en-US To: Gabor Juhos , Bjorn Andersson , Michael Turquette , Stephen Boyd , Varadarajan Narayanan , Sricharan R , Kathiravan T Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240311-alpha-pll-stromer-cleanup-v1-0-f7c0c5607cca@gmail.com> <20240311-alpha-pll-stromer-cleanup-v1-1-f7c0c5607cca@gmail.com> From: Konrad Dybcio In-Reply-To: <20240311-alpha-pll-stromer-cleanup-v1-1-f7c0c5607cca@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/11/24 19:45, Gabor Juhos wrote: > The offset of the CONFIG_CTL_U register defined for the Stromer > PLL is wrong. It is not aligned on a 4 bytes boundary which might > causes errors in regmap operations. > > Maybe the intention behind of using the 0xff value was to indicate > that the register is not implemented in the PLL, but this is not > verified anywhere in the code. Moreover, this value is not used > even in other register offset arrays despite that those PLLs also > have unimplemented registers. > > Additionally, on the Stromer PLLs the current code only touches > the CONFIG_CTL_U register if the result of pll_has_64bit_config() > is true which condition is not affected by the change. > > Due to the reasons above, simply remove the CONFIG_CTL_U entry > from the Stromer specific array. > > Fixes: e47a4f55f240 ("clk: qcom: clk-alpha-pll: Add support for Stromer PLLs") > Signed-off-by: Gabor Juhos > --- Reviewed-by: Konrad Dybcio Konrad>