diff mbox series

[v1,1/2] media: dt-bindings: update clocks for sc7280-camss

Message ID 20250121120901.1841142-2-quic_vikramsa@quicinc.com (mailing list archive)
State New
Headers show
Series Update clocks for sc7280-camss | expand

Commit Message

Vikram Sharma Jan. 21, 2025, 12:09 p.m. UTC
This patch change clock names to make it consistent with
existing platforms as gcc_cam_hf_axi -> gcc_axi_hf.
This also adds gcc_axi_sf and remove gcc_camera_ahb.

This change will not break ABI because the ABI hasn't
been cemented yet as the dtsi changes are not merged
yet and there are no users for this driver as of now.

Signed-off-by: Vikram Sharma <quic_vikramsa@quicinc.com>
---
 .../devicetree/bindings/media/qcom,sc7280-camss.yaml   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Krzysztof Kozlowski Jan. 21, 2025, 12:55 p.m. UTC | #1
On 21/01/2025 13:09, Vikram Sharma wrote:
> This patch change clock names to make it consistent with


Please do not use "This commit/patch/change", but imperative mood. See
longer explanation here:
https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/process/submitting-patches.rst#L95


> existing platforms as gcc_cam_hf_axi -> gcc_axi_hf.

Which ones? sm8250 uses different.

> This also adds gcc_axi_sf and remove gcc_camera_ahb.

Why?

> 
> This change will not break ABI because the ABI hasn't
> been cemented yet as the dtsi changes are not merged
> yet and there are no users for this driver as of now.

So why did you wait till it gets to this merge window? Or is there some
sort of history here which you hid? The user was merged to media tree
and it is going to be merged for RC1.

Please wrap commit message according to Linux coding style / submission
process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597


Best regards,
Krzysztof
Krzysztof Kozlowski Jan. 21, 2025, 4:05 p.m. UTC | #2
On 21/01/2025 17:02, Vikram Sharma wrote:
> 
> On 1/21/2025 6:25 PM, Krzysztof Kozlowski wrote:
>> On 21/01/2025 13:09, Vikram Sharma wrote:
>>> This patch change clock names to make it consistent with
>>
>> Please do not use "This commit/patch/change", but imperative mood. See
>> longer explanation here:
>> https://elixir.bootlin.com/linux/v5.17.1/source/Documentation/process/submitting-patches.rst#L95
> Hi Krzysztof,
> Thanks for your response.
> Will update commit text.
>>> existing platforms as gcc_cam_hf_axi -> gcc_axi_hf.
>> Which ones? sm8250 uses different.
> qcom,sc8280xp-camss.yaml uses 'gcc_axi_hf'


Then mention with which binding you align it.

>>
>>> This also adds gcc_axi_sf and remove gcc_camera_ahb.
>> Why?
> 
> 'gcc_camera_ahb' is always 'on' and we don't need to enable it explicitly.
> 'gcc_axi_sf' basic use case works even without this clock but our 'Hardware programing guide' suggest to enable this one too to avoid unexpected behaviors.
> Konrad pointed these points in V8 of the series.

That's what the commit msg is for.


Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/qcom,sc7280-camss.yaml b/Documentation/devicetree/bindings/media/qcom,sc7280-camss.yaml
index e11141b812a0..ee35e3bc97ff 100644
--- a/Documentation/devicetree/bindings/media/qcom,sc7280-camss.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,sc7280-camss.yaml
@@ -55,8 +55,8 @@  properties:
       - const: csiphy3_timer
       - const: csiphy4
       - const: csiphy4_timer
-      - const: gcc_camera_ahb
-      - const: gcc_cam_hf_axi
+      - const: gcc_axi_hf
+      - const: gcc_axi_sf
       - const: icp_ahb
       - const: vfe0
       - const: vfe0_axi
@@ -310,8 +310,8 @@  examples:
                      <&camcc CAM_CC_CSI3PHYTIMER_CLK>,
                      <&camcc CAM_CC_CSIPHY4_CLK>,
                      <&camcc CAM_CC_CSI4PHYTIMER_CLK>,
-                     <&gcc GCC_CAMERA_AHB_CLK>,
                      <&gcc GCC_CAMERA_HF_AXI_CLK>,
+                     <&gcc GCC_CAMERA_SF_AXI_CLK>,
                      <&camcc CAM_CC_ICP_AHB_CLK>,
                      <&camcc CAM_CC_IFE_0_CLK>,
                      <&camcc CAM_CC_IFE_0_AXI_CLK>,
@@ -343,8 +343,8 @@  examples:
                           "csiphy3_timer",
                           "csiphy4",
                           "csiphy4_timer",
-                          "gcc_camera_ahb",
-                          "gcc_cam_hf_axi",
+                          "gcc_axi_hf",
+                          "gcc_axi_sf",
                           "icp_ahb",
                           "vfe0",
                           "vfe0_axi",