Skip to content

Commit 8bf0f02

Browse files
André ApitzschTravMurav
authored andcommitted
UPSTREAM: media: dt-bindings: sony,imx214: Deprecate property clock-frequency
Deprecate the clock-frequency property in favor of assigned-clock-rates. While at it, re-order properties according to coding style and fix the link-frequency in the example. See commit acc2945 ("media: i2c: imx214: Fix link frequency validation"). Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: André Apitzsch <git@apitzsch.eu>
1 parent 1525797 commit 8bf0f02

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,21 @@ properties:
3333

3434
clock-frequency:
3535
description: Frequency of the xclk clock in Hz.
36+
deprecated: true
3637

3738
enable-gpios:
3839
description: GPIO descriptor for the enable pin.
3940
maxItems: 1
4041

41-
vdddo-supply:
42-
description: Chip digital IO regulator (1.8V).
43-
4442
vdda-supply:
4543
description: Chip analog regulator (2.7V).
4644

4745
vddd-supply:
4846
description: Chip digital core regulator (1.12V).
4947

48+
vdddo-supply:
49+
description: Chip digital IO regulator (1.8V).
50+
5051
flash-leds: true
5152
lens-focus: true
5253

@@ -84,11 +85,10 @@ required:
8485
- compatible
8586
- reg
8687
- clocks
87-
- clock-frequency
8888
- enable-gpios
89-
- vdddo-supply
9089
- vdda-supply
9190
- vddd-supply
91+
- vdddo-supply
9292
- port
9393

9494
unevaluatedProperties: false
@@ -104,22 +104,25 @@ examples:
104104
camera-sensor@1a {
105105
compatible = "sony,imx214";
106106
reg = <0x1a>;
107-
vdddo-supply = <&pm8994_lvs1>;
108-
vddd-supply = <&camera_vddd_1v12>;
107+
108+
clocks = <&camera_clk>;
109+
assigned-clocks = <&camera_clk>;
110+
assigned-clock-rates = <24000000>;
111+
112+
enable-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
113+
109114
vdda-supply = <&pm8994_l17>;
115+
vddd-supply = <&camera_vddd_1v12>;
116+
vdddo-supply = <&pm8994_lvs1>;
117+
110118
lens-focus = <&ad5820>;
111-
enable-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
112-
clocks = <&camera_clk>;
113-
clock-frequency = <24000000>;
114119
115120
port {
116121
imx214_ep: endpoint {
117122
data-lanes = <1 2 3 4>;
118-
link-frequencies = /bits/ 64 <480000000>;
123+
link-frequencies = /bits/ 64 <600000000>;
119124
remote-endpoint = <&csiphy0_ep>;
120125
};
121126
};
122127
};
123128
};
124-
125-
...

0 commit comments

Comments
 (0)