Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6460151rdb; Tue, 2 Jan 2024 02:41:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPb5X6zYJ3deG6QzvHvvkySrdA0rD1Xzag3VZ+CH0wQHyK/BqvTgFjDVGs6TB0V00rvuyW X-Received: by 2002:a05:6a20:7348:b0:197:4cf1:3ea9 with SMTP id v8-20020a056a20734800b001974cf13ea9mr238430pzc.16.1704192100409; Tue, 02 Jan 2024 02:41:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704192100; cv=none; d=google.com; s=arc-20160816; b=tBnkY5ZcuSwRjevwNlCyk38yVwc6ZzhLfBLRpunOIrdpW/aK7j7fRFTz6/9rFsbq5A 0HVrFmXeQ06MVccn708kAfN1HO+BaDMSchxtI7HsfTGXKIwXnHk40w0tZgA8uUk1RWai ttFGfkqx4Bkhuolyk9BRp9ZZtKOJ4bbv71kPRYGmqJKyikrjgS/UrbiIh6sQnsZIciAm lvDXR+vjkXb0CF4iacM7/X6B2LNj4pMPZpj8/yb+VUq1zY7AxctLsA1VVdxyiAAsN7w6 iUsqUjLfdl/StBfO4l7nJPyYYiThHVNDgVjzbGJiER8el2GAx6YfT9UuUngKjwA7YClj VaWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=Kn/QlAf4t9SOdAjXlkSpXP0+ZhhUlaDRKsb1I/vJ8iA=; fh=buUdGrwq/0xBlJ4pk3NhSe6fm8vVNgajjQq14ZJl0hE=; b=TcvVUc57MUPA5W7m5X5abjDwyMdeOEIEU64wdGKkZjuesmL4AldJT2lDeZoFXCUPkk G3o0qVJjHV8qn1RLdc+3yrbplDE3ojuqKqraG9x3FZ0Ig/B8mfea0UNUl1cIzhoNO+JH wgNiApjuXlNKb/cnKZBQSd/vO8Vl/QmK5nTTIXlrrPkjoBbEVPoSRx+h7O4K8mRGEp6l qTECydQUKEixNmTBPVJ4mQJKRlc6rRwQBD9fmVc6XCi1gXlClJku5SFMgMKFOm6xOgIG 2Yo3GMXcNU+sOTDVyKp9dHuqAWMdGjD3hktUUlQueF9vkh4mdXzVU2ABdeco/D8//cJQ BEeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YApoG8uR; spf=pass (google.com: domain of linux-kernel+bounces-14260-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14260-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 a8-20020a170902ecc800b001cfc46abb07si11207336plh.128.2024.01.02.02.41.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 02:41:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14260-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=YApoG8uR; spf=pass (google.com: domain of linux-kernel+bounces-14260-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14260-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 0E504283033 for ; Tue, 2 Jan 2024 10:41:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 16B6ADDB8; Tue, 2 Jan 2024 10:41:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YApoG8uR" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.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 AE424D528 for ; Tue, 2 Jan 2024 10:41:31 +0000 (UTC) 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-f41.google.com with SMTP id ffacd0b85a97d-3368b1e056eso8481698f8f.3 for ; Tue, 02 Jan 2024 02:41:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704192090; x=1704796890; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Kn/QlAf4t9SOdAjXlkSpXP0+ZhhUlaDRKsb1I/vJ8iA=; b=YApoG8uRbn/F8y75BPN4FqzPKTJtebFHn2jgG6DGWTtNoG3kAgaNKaHCI4hTmB20is r6wewm9yE65hexpU17+TnuKCxxTNsTRWhBuO0SdV+kpLwavGcm/P64xgfHLmVlKOymU1 MzgfwhTecARkr0w7XVJj9wy2/Z+RvBTEcObQgwD83jYapln9ci1V7LsvZC/zt2sxxfeI VqrkhFa5WrnwGfis7t9qPpgixoAM6V9PxRJq8bNipaOUw6mIzbGQa/NQb/1nwTzdBsmB qAvtUAlyeBIX0hFO83WZnZLo22AK+IKXMP73dPOL9CXFKGB59c1ewKN3YvSLSGqSfZJa QweA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704192090; x=1704796890; h=content-transfer-encoding:in-reply-to:autocrypt: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=Kn/QlAf4t9SOdAjXlkSpXP0+ZhhUlaDRKsb1I/vJ8iA=; b=T5x7FJDUJiLchweYYTHFiFIDVU9lTl05F0PTC90F2/FYipYCDdlp3AfFMO3fav0r5o 7t5j8W4q40oWAx15KOZWmXjl7HFvFpA8cKQXK2gs5NzyNDOmig9mCMsuD5jUPqLDZoeG uELM3yGKdeSFpbz6fJcd3E/KMvng1XsCpKd4qKScrDirEKqXWokd21jA5JJMozsIHrsB azUmBzBXYeHGO2lEyjc97sycQK7YZlBTfVQWYev+6OUXlMJL8iW97eW/nFeKdGDvnENm DWRAqcprZELBCYSTnYc5/CDMxH4QIVuAqGsGo4/2WNXS1/uoOyjVJ7imMgRp+81iHx2V w0rQ== X-Gm-Message-State: AOJu0YwNe9OFCGDaFCNNjDLvpKtt0w1xLXW0GhQTA/4MKWFYKuX12NIE 69cRnHfy7uY1xlsamWacldG1IWMtciDCLg== X-Received: by 2002:adf:fa09:0:b0:337:404d:4e9f with SMTP id m9-20020adffa09000000b00337404d4e9fmr1115990wrr.79.1704192089842; Tue, 02 Jan 2024 02:41:29 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id v1-20020a5d6101000000b003372c11625dsm9215634wrt.76.2024.01.02.02.41.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Jan 2024 02:41:29 -0800 (PST) Message-ID: <588dd6c3-7d2b-48db-b5ea-48a07077dc5d@linaro.org> Date: Tue, 2 Jan 2024 11:41:26 +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 2/3] clk: qcom: hfpll: Add QCS404-specific compatible Content-Language: en-US To: Luca Weiss , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231231-hfpll-yaml-v1-0-359d44a4e194@z3ntu.xyz> <20231231-hfpll-yaml-v1-2-359d44a4e194@z3ntu.xyz> 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++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV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BQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231231-hfpll-yaml-v1-2-359d44a4e194@z3ntu.xyz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 31/12/2023 15:48, Luca Weiss wrote: > It doesn't appear that the configuration is for the HFPLL is generic, so That's ok... > add a qcs404-specific compatible and rename the existing struct to but why this is the solution? If the qcom,hfpll compatible was deprecated, but it is not. This commit is contradictory to the bindings. > qcs404. > > Signed-off-by: Luca Weiss > --- > drivers/clk/qcom/hfpll.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/clk/qcom/hfpll.c b/drivers/clk/qcom/hfpll.c > index dac27e31ef60..5b12982519be 100644 > --- a/drivers/clk/qcom/hfpll.c > +++ b/drivers/clk/qcom/hfpll.c > @@ -14,7 +14,7 @@ > #include "clk-regmap.h" > #include "clk-hfpll.h" > > -static const struct hfpll_data hdata = { > +static const struct hfpll_data qcs404 = { > .mode_reg = 0x00, > .l_reg = 0x04, > .m_reg = 0x08, > @@ -84,10 +84,12 @@ static const struct hfpll_data msm8976_cci = { > }; > > static const struct of_device_id qcom_hfpll_match_table[] = { > - { .compatible = "qcom,hfpll", .data = &hdata }, > { .compatible = "qcom,msm8976-hfpll-a53", .data = &msm8976_a53 }, > { .compatible = "qcom,msm8976-hfpll-a72", .data = &msm8976_a72 }, > { .compatible = "qcom,msm8976-hfpll-cci", .data = &msm8976_cci }, > + { .compatible = "qcom,qcs404-hfpll", .data = &qcs404 }, > + /* deprecated, use SoC-specific compatible */ Why? That's not a deprecated compatible. You now expect to create many unnecessary entries, which is not really needed. This is opposite of what we try to achieve with compatibility lists. Best regards, Krzysztof