Commit 341f0960 authored by Benoit Parrot's avatar Benoit Parrot Committed by Mauro Carvalho Chehab

media: dt-bindings: ov2659: add powerdown/reset-gpios optional property

Add powerdown-gpios and reset-gpios to the list of optional properties
for the OV2659 camera sensor.
Signed-off-by: default avatarBenoit Parrot <bparrot@ti.com>
Acked-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 85c4043f
...@@ -12,6 +12,12 @@ Required Properties: ...@@ -12,6 +12,12 @@ Required Properties:
- clock-names: should be "xvclk". - clock-names: should be "xvclk".
- link-frequencies: target pixel clock frequency. - link-frequencies: target pixel clock frequency.
Optional Properties:
- powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any.
Active high with internal pull down resistor.
- reset-gpios: reference to the GPIO connected to the resetb pin, if any.
Active low with internal pull up resistor.
For further reading on port node refer to For further reading on port node refer to
Documentation/devicetree/bindings/media/video-interfaces.txt. Documentation/devicetree/bindings/media/video-interfaces.txt.
...@@ -27,6 +33,9 @@ Example: ...@@ -27,6 +33,9 @@ Example:
clocks = <&clk_ov2659 0>; clocks = <&clk_ov2659 0>;
clock-names = "xvclk"; clock-names = "xvclk";
powerdown-gpios = <&gpio6 14 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio6 15 GPIO_ACTIVE_LOW>;
port { port {
ov2659_0: endpoint { ov2659_0: endpoint {
remote-endpoint = <&vpfe_ep>; remote-endpoint = <&vpfe_ep>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment