Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1621771rwn; Fri, 9 Sep 2022 01:03:33 -0700 (PDT) X-Google-Smtp-Source: AA6agR4VaLwYDXLfsdnOwtjDZ87xVl3xZbjmjSQ7wsGRVUzxTpoKu3cajUJFRrv6Rn88/DCII2mU X-Received: by 2002:a05:6a00:cc7:b0:52f:2ada:11c5 with SMTP id b7-20020a056a000cc700b0052f2ada11c5mr12839441pfv.19.1662710613300; Fri, 09 Sep 2022 01:03:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662710613; cv=none; d=google.com; s=arc-20160816; b=JNhjSwVFCtNxewJBmgoSsW9UDMhM0JCFeZ8rO8IaXPDAm2K1U6AQhwAMXIjON+efxv aAvGOYVttSyk+7ezzDjwe7QIt69qcKKtS5D12NNztnV8FEYINvYKNeTmn1+sEDegMeG2 Vzg2XL00psSBAP7G1le0xd3TJjgJ1tflDiMghw6u63rYdKAobG9Ck1htsYtf49W7krQ2 YTMS3sD0MEpe9zw4pYrDDPdKH7U/1NImH+a8ZeamKe3V96Oa82gFkdy47LX1yiot6dqm 8hZIKF1J8N1SdDX4PGOv3XmeB1x7lDZFY4F9ZVRg/7x7Zpti1Gbfxe4Zw6+5xn8WHINm tTxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=XitIxUHJGo2f9DX5GRhObqjIng6zVOJXz69iBessMFU=; b=wd4cEDpvvf6xYXx+fQ/3VnW45YXTSiEiTB44rgVs3zoZUQ7mQ+eL/rE1gX2ly15+Sy HgE/0D2jC+YddCcmoT4LL27SXbpkVtcr4cXazymFcGTGQOS3EoO8fxESwB2Ki1VB5trm 1vT1pYmzJG9oyAwbgzwRAvoMBE6vS42PIs3jNcqE5jZE45oxcMNGpwvUsw94sodrmpvw Pv1f9ZEms9RwxQpIFf8ctF+E1W8qNxGQW3F5RqQbL7OOuy217f4wmUMhQiCieSP9XfkW Ob41+/ilPiy84dr07invXkBcRzIdJTAibb3x4gaJpefzIYuyUPzSseclZ5QTsHbYGPZ2 MK0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L97CZRY0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 14-20020a17090a08ce00b00200a9235f48si892105pjn.44.2022.09.09.01.03.21; Fri, 09 Sep 2022 01:03:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L97CZRY0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231181AbiIIHwY (ORCPT + 99 others); Fri, 9 Sep 2022 03:52:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbiIIHwD (ORCPT ); Fri, 9 Sep 2022 03:52:03 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 957C4100437 for ; Fri, 9 Sep 2022 00:48:21 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id i26so1289085lfp.11 for ; Fri, 09 Sep 2022 00:48:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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; bh=XitIxUHJGo2f9DX5GRhObqjIng6zVOJXz69iBessMFU=; b=L97CZRY06nPAVO2OfaqkDh7hDE69MN1yhfPKrXfcLG29+BwLuBPS89NmTsFcq6BkLM 10kLmFCJchZbP8QD9J7ylceXflafN8M9uNcjDdQDeaeGDuuqbr4UYLEupTrQh2Svb2vg wVxaRisZMr/mLbhD8iisCVPxegfHisS9A3NKxtEOa6B23egfycllvL0ipWU/G33fUUkm ZbUfmgUWVuglkQ3BT3qcWnYj5wudUnSbZhAYGlBOL/2iAn3/rnTOPKjcrylT8jiGl6bM xnlt33Fb3mMA+ueFAHPm7sOqrKj0xvajGQqeapg93ftiY7FnZSnJ1FjYzPmmrxK9U4G1 CIiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=XitIxUHJGo2f9DX5GRhObqjIng6zVOJXz69iBessMFU=; b=1q7Z59RJdcxoj/CzF3KvbT/fintcLQrdncFXnCDSKJtncjOV1n54Rn+fKQlTwgtpXe qnVBMtgS/94FAg841oar7LAD2BFNI8C3uFjQajR4PJbPumBAd0h6YO+34aq8FRjYZZmd E2POvsHClQhsIwgnXsnENSzL18x6C7ZH9prHqxNLGh8DKh57cFk6MV9ITs63xJfjK/1l 3XkKzYnUOc8HKuMC3XHu+X4Y4pCa+BXy/elGqdOExBQapbE7qPqU6rXX8QvhR8quvD66 4WGl55gUHJsDRgGvphQCUfkyOU5jkCEY1FOFGO8OrmEOILNBuC5rSYHMSiy0zmSR91O/ r2mA== X-Gm-Message-State: ACgBeo3q7ZhfzDUmxI7V5Iktx8ZqejmocpvpqC9lKRkgc+E99cERQfsj jDUxrljkQYSRfwyc7PRyANtBUw== X-Received: by 2002:a05:6512:b96:b0:497:9dac:cc22 with SMTP id b22-20020a0565120b9600b004979daccc22mr3678335lfv.687.1662709699352; Fri, 09 Sep 2022 00:48:19 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id s3-20020a2e1503000000b00261aecd1c53sm177646ljd.71.2022.09.09.00.48.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Sep 2022 00:48:18 -0700 (PDT) Message-ID: <6ddc3644-ae8b-38bf-346b-1262063ef20c@linaro.org> Date: Fri, 9 Sep 2022 09:48:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v3 3/3] clk: qcom: gcc-sdm845: add sdm670 global clock data Content-Language: en-US To: Richard Acayan , linux-arm-msm@vger.kernel.org Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Taniya Das , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Caleb Connolly , Joel Selvaraj References: <20220908231224.209020-1-mailingradian@gmail.com> <20220908231224.209020-4-mailingradian@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20220908231224.209020-4-mailingradian@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/09/2022 01:12, Richard Acayan wrote: > The Snapdragon 670 adds and removes some clocks, adds new frequencies, and > adds a new GPLL (Global Phase-Locked Loop) in reference to SDM845, while > also removing some GDSCs. Despite these differences, there are many > similarities with SDM670. Add data for SDM670 in the driver for SDM845 to > reuse the most of the clock data. > > Advantages and disadvantages of this approach: > + maintenance applies to both sdm670 and sdm845 by default > + less duplicate code (clocks) means smaller distro/pre-built kernels > with all drivers enabled > - clocks for both SoC's must be compiled if the user wants clocks for one > specific SoC (both or none) > - additional testing needed for sdm845 devices > > Link: https://android.googlesource.com/kernel/msm/+/443bd8d6e2cf54698234c752e6de97b4b8a528bd%5E%21/#F10 > Signed-off-by: Richard Acayan > --- Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof