Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15241078rwd; Sun, 25 Jun 2023 13:14:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4N6S9KiP01O26NhQb+dvqziwaYwmSnMEqcVaAfl5QWxTwqO1ryb8kSFm3CQ+taPXZw/X7/ X-Received: by 2002:aa7:d741:0:b0:51b:ed42:8ea8 with SMTP id a1-20020aa7d741000000b0051bed428ea8mr7154728eds.36.1687724094456; Sun, 25 Jun 2023 13:14:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687724094; cv=none; d=google.com; s=arc-20160816; b=Aet1Mmkp5A2HRq2lEltProh8fAe8wHB3XqcF6cJlHPqxoK8ze3L0lFcysXVUriG/S1 4TfS469mDMm9EmLLf0XCetWTRT2icshMYUCwk235i5ZKYQmaC+79xVCNtY9FVdviEx4P RW0bTvEbJkx0KLlppL5YBjb0VPb/ep8TjHeryYE2fmb+jDEajmp/KiII7Pu5IZ6UEG6/ yC2RVBP9sza2gw+9J7JUjgXeT9GI4LypJhj4RFXcUkp10uVz5OhUjZFJjmBIes9N4b2R BU00s0YnfSKTOK0p4MrgQTEllpeWSb7lkVxrO/nAcGLx9gsifK3qCBK20ip0GDJKnZew y6HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=o78Nn8Gnso1iHkOqji8WrDAprCJTev21qrPNu+w4EKU=; fh=djDN5Fva8FmLoU0DRmInJWrBHVIqjCqUczAQ4tJuB6I=; b=eENKt8eLjv9HRaSVruzSQ137Kpc0Snn6s4ImUx03fnxDmFM8z1PiJQMRy7jI2nbGH4 IAvMRKrvt5EVd1Ioi1uWOmKzEhkDepEhZuffb4QitQUP+cGumeWMwNi+sIeOI7+AOdbv zgcJHuUUpvID/KgxMd0H19yc4bwAYVfoCVMpFrnHPy5UVrnF3J+jngy4pr+LfXGD8lsN o4gnojbDEiL/BaK8QcePB0FxZA74N1GH1rfUoUHLbZqjiv0J6DIa1i/pvZ4Mdm/ECPdr rl0XJij8J410nCBIF0CH05Uoa3YPdkx4+iN2zOZ4nuCEbtZxwwVIfNgjoMjUX3P8yaFP ck3w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t3-20020aa7d703000000b0051a3911f66csi1964283edq.476.2023.06.25.13.14.29; Sun, 25 Jun 2023 13:14:54 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229869AbjFYTsK (ORCPT + 99 others); Sun, 25 Jun 2023 15:48:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229698AbjFYTsI (ORCPT ); Sun, 25 Jun 2023 15:48:08 -0400 Received: from relay03.th.seeweb.it (relay03.th.seeweb.it [5.144.164.164]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D5481AD for ; Sun, 25 Jun 2023 12:48:07 -0700 (PDT) Received: from SoMainline.org (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r1.th.seeweb.it (Postfix) with ESMTPSA id 6B9491FA7E; Sun, 25 Jun 2023 21:48:04 +0200 (CEST) Date: Sun, 25 Jun 2023 21:48:03 +0200 From: Marijn Suijten To: Konrad Dybcio Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Krishna Manikandan , ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Martin Botka , Jami Kettunen , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-clk@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Lux Aliaga Subject: Re: [PATCH 03/15] dt-bindings: clock: qcom,dispcc-sm6125: Require GCC PLL0 DIV clock Message-ID: References: <20230624-sm6125-dpu-v1-0-1d5a638cebf2@somainline.org> <20230624-sm6125-dpu-v1-3-1d5a638cebf2@somainline.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 2023-06-24 03:45:02, Konrad Dybcio wrote: > On 24.06.2023 02:41, Marijn Suijten wrote: > > The "gcc_disp_gpll0_div_clk_src" clock is consumed by the driver, will > > be passed from DT, and should be required by the bindings. > > > > Fixes: 8397c9c0c26b ("dt-bindings: clock: add QCOM SM6125 display clock bindings") > > Signed-off-by: Marijn Suijten > > --- > Ideally, you'd stick it at the bottom of the list, as the items: order > is part of the ABI This isn't an ABI break, as this driver nor its bindings require/declare a fixed order: they declare a relation between clocks and clock-names. This orders the GCC clock just like other dispccs. And the previous patch dropped the unused cfg_ahb_clk from the bindings, so all bets are off anyway. - Marijn > > Konrad > > Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.yaml | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.yaml b/Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.yaml > > index 2acf487d8a2f..11ec154503a3 100644 > > --- a/Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.yaml > > +++ b/Documentation/devicetree/bindings/clock/qcom,dispcc-sm6125.yaml > > @@ -23,6 +23,7 @@ properties: > > clocks: > > items: > > - description: Board XO source > > + - description: GPLL0 div source from GCC > > - description: Byte clock from DSI PHY0 > > - description: Pixel clock from DSI PHY0 > > - description: Pixel clock from DSI PHY1 > > @@ -32,6 +33,7 @@ properties: > > clock-names: > > items: > > - const: bi_tcxo > > + - const: gcc_disp_gpll0_div_clk_src > > - const: dsi0_phy_pll_out_byteclk > > - const: dsi0_phy_pll_out_dsiclk > > - const: dsi1_phy_pll_out_dsiclk > > @@ -65,12 +67,14 @@ examples: > > compatible = "qcom,sm6125-dispcc"; > > reg = <0x5f00000 0x20000>; > > clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, > > + <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>, > > <&dsi0_phy 0>, > > <&dsi0_phy 1>, > > <&dsi1_phy 1>, > > <&dp_phy 0>, > > <&dp_phy 1>; > > clock-names = "bi_tcxo", > > + "gcc_disp_gpll0_div_clk_src", > > "dsi0_phy_pll_out_byteclk", > > "dsi0_phy_pll_out_dsiclk", > > "dsi1_phy_pll_out_dsiclk", > >