73 lines
2.3 KiB
Diff
73 lines
2.3 KiB
Diff
From b6aea1786ba3739e292de8531f849eb886167485 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
|
|
Date: Sat, 30 Sep 2017 02:30:39 +0200
|
|
Subject: [PATCH 036/389] dt-bindings: media: Add bindings for Himax HM5065
|
|
camera sensor
|
|
|
|
HM5065 is 5MP CMOS sensor...
|
|
|
|
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
|
---
|
|
.../devicetree/bindings/media/i2c/hm5065.txt | 49 +++++++++++++++++++
|
|
1 file changed, 49 insertions(+)
|
|
create mode 100644 Documentation/devicetree/bindings/media/i2c/hm5065.txt
|
|
|
|
diff --git a/Documentation/devicetree/bindings/media/i2c/hm5065.txt b/Documentation/devicetree/bindings/media/i2c/hm5065.txt
|
|
new file mode 100644
|
|
index 000000000000..92ba6cac0d2f
|
|
--- /dev/null
|
|
+++ b/Documentation/devicetree/bindings/media/i2c/hm5065.txt
|
|
@@ -0,0 +1,49 @@
|
|
+* Himax HM5065 CSI camera sensor
|
|
+
|
|
+Required Properties:
|
|
+- compatible: should be "himax,hm5065"
|
|
+- reg: I2C device address (0x1f)
|
|
+- clocks: reference to the external input clock for the sensor.
|
|
+- clock-names: should be "xclk".
|
|
+- IOVDD-supply: Digital I/O voltage supply, 2.8 volts
|
|
+- AVDD-supply: Analog voltage supply, 2.8 volts
|
|
+- DVDD-supply: Digital core voltage supply, 1.8 volts
|
|
+- AFVDD-supply: Auto focus voltage supply, 2.8 volts
|
|
+
|
|
+Optional Properties (one or both must be configured):
|
|
+- reset-gpios: reference to the GPIO connected to the reset pin, if any.
|
|
+ This is an active low signal to the HM5065.
|
|
+- enable-gpios: reference to the GPIO connected to the CE pin,
|
|
+ if any. This is an active high signal to the HM5065.
|
|
+
|
|
+The device node must contain one 'port' child node for its digital output
|
|
+video port, in accordance with the video interface bindings defined in
|
|
+Documentation/devicetree/bindings/media/video-interfaces.txt.
|
|
+
|
|
+Example:
|
|
+
|
|
+&i2c1 {
|
|
+ hm5065: camera@1f {
|
|
+ compatible = "himax,hm5065";
|
|
+ reg = <0x1f>;
|
|
+ clocks = <&ccu CLK_CSI_MCLK>;
|
|
+ clock-names = "xclk";
|
|
+ IOVDD-supply = <®_dldo3>;
|
|
+ AVDD-supply = <®_dldo4>;
|
|
+ DVDD-supply = <®_eldo3>;
|
|
+ AFVDD-supply = <®_dldo3>;
|
|
+ reset-gpios = <&pio 4 18 GPIO_ACTIVE_LOW>; /* PE18 */
|
|
+ enable-gpios = <&pio 4 19 GPIO_ACTIVE_HIGH>; /* PE19 */
|
|
+
|
|
+ port {
|
|
+ hm5065_ep: endpoint {
|
|
+ remote-endpoint = <&csi0_hm5065_ep>;
|
|
+ bus-width = <8>;
|
|
+ hsync-active = <1>;
|
|
+ vsync-active = <1>;
|
|
+ data-active = <1>;
|
|
+ pclk-sample = <1>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+};
|
|
--
|
|
2.35.3
|
|
|