# \[PATCH v4 08/34\] media: dt-bindings: media: qcom,camss: Unify the clock names

- Subsystems: OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, ARM/QUALCOMM MAILING LIST, MEDIA INPUT INFRASTRUCTURE (V4L/DVB), QUALCOMM CAMERA SUBSYSTEM DRIVER, QUALCOMM MEDIA PLATFORM, THE REST
- Maintainers: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Mauro Carvalho Chehab, Bryan O'Donoghue, Bryan O'Donoghue, Linus Torvalds
- Revision v4 (4 revisions archived).
- List: linux-devicetree
- 2 messages, 2 authors
- Page: https://ratatoskr.run/linux-devicetree/2018/07/5342321/t

## \[PATCH v4 08/34\] media: dt-bindings: media: qcom,camss: Unify the clock names

- From: Todor Tomov \<hidden\>
- Date: 2018-07-25 16:41:56 
- Message: https://ratatoskr.run/linux-devicetree/2018/07/5342321.md

```text
Use more logical clock names - similar to the names in documentation.
This will allow better handling of the clocks in the driver when support
for more hardware versions is added - equivalent clocks on different
hardware versions will have the same name.

CC: Rob Herring <robh+dt@kernel.org>
CC: Mark Rutland <mark.rutland@arm.com>
CC: <redacted>
Signed-off-by: Todor Tomov <redacted>
---
 .../devicetree/bindings/media/qcom,camss.txt       | 24 +++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/Documentation/devicetree/bindings/media/qcom,camss.txt b/Documentation/devicetree/bindings/media/qcom,camss.txt
index cadeceb..032e8ed 100644
--- a/Documentation/devicetree/bindings/media/qcom,camss.txt
+++ b/Documentation/devicetree/bindings/media/qcom,camss.txt
@@ -53,7 +53,7 @@ Qualcomm Camera Subsystem
 	Usage: required
 	Value type: <stringlist>
 	Definition: Should contain the following entries:
-                - "camss_top_ahb"
+                - "top_ahb"
                 - "ispif_ahb"
                 - "csiphy0_timer"
                 - "csiphy1_timer"
@@ -67,11 +67,11 @@ Qualcomm Camera Subsystem
                 - "csi1_phy"
                 - "csi1_pix"
                 - "csi1_rdi"
-                - "camss_ahb"
-                - "camss_vfe_vfe"
-                - "camss_csi_vfe"
-                - "iface"
-                - "bus"
+                - "ahb"
+                - "vfe0"
+                - "csi_vfe0"
+                - "vfe_ahb"
+                - "vfe_axi"
 - vdda-supply:
 	Usage: required
 	Value type: <phandle>
@@ -161,7 +161,7 @@ Qualcomm Camera Subsystem
 			<&gcc GCC_CAMSS_CSI_VFE0_CLK>,
 			<&gcc GCC_CAMSS_VFE_AHB_CLK>,
 			<&gcc GCC_CAMSS_VFE_AXI_CLK>;
-                clock-names = "camss_top_ahb",
+                clock-names = "top_ahb",
                         "ispif_ahb",
                         "csiphy0_timer",
                         "csiphy1_timer",
@@ -175,11 +175,11 @@ Qualcomm Camera Subsystem
                         "csi1_phy",
                         "csi1_pix",
                         "csi1_rdi",
-                        "camss_ahb",
-                        "camss_vfe_vfe",
-                        "camss_csi_vfe",
-                        "iface",
-                        "bus";
+                        "ahb",
+                        "vfe0",
+                        "csi_vfe0",
+                        "vfe_ahb",
+                        "vfe_axi";
 		vdda-supply = <&pm8916_l2>;
 		iommus = <&apps_iommu 3>;
 		ports {
-- 
2.7.4
```

## Re: \[PATCH v4 08/34\] media: dt-bindings: media: qcom,camss: Unify the clock names

- From: Rob Herring \<robh@kernel.org\>
- Date: 2018-07-30 22:29:24 
- Message: https://ratatoskr.run/linux-devicetree/2018/07/5345956.md

```text
On Wed, Jul 25, 2018 at 07:38:17PM +0300, Todor Tomov wrote:
> Use more logical clock names - similar to the names in documentation.
> This will allow better handling of the clocks in the driver when support
> for more hardware versions is added - equivalent clocks on different
> hardware versions will have the same name.

You should note that no dts is using this yet (at least that's what I 
found).

> 
> CC: Rob Herring <robh+dt@kernel.org>
> CC: Mark Rutland <mark.rutland@arm.com>
> CC: <redacted>
> Signed-off-by: Todor Tomov <redacted>
> ---
>  .../devicetree/bindings/media/qcom,camss.txt       | 24 +++++++++++-----------
>  1 file changed, 12 insertions(+), 12 deletions(-)

With that,

Reviewed-by: Rob Herring <robh@kernel.org>
```
