mirror of https://gitee.com/openkylin/linux.git
media: dt-bindings: media: ov5647: Document pwdn-gpios
Document in dt-schema bindings for the ov5647 sensor the optional 'pwdn-gpios' property. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
93d087f8e6
commit
a541298877
|
@ -26,6 +26,10 @@ properties:
|
||||||
description: Reference to the xclk clock.
|
description: Reference to the xclk clock.
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
|
|
||||||
|
pwdn-gpios:
|
||||||
|
description: Reference to the GPIO connected to the pwdn pin. Active high.
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
port:
|
port:
|
||||||
type: object
|
type: object
|
||||||
description: |-
|
description: |-
|
||||||
|
@ -56,6 +60,7 @@ additionalProperties: false
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
|
|
||||||
i2c {
|
i2c {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
@ -65,6 +70,7 @@ examples:
|
||||||
compatible = "ovti,ov5647";
|
compatible = "ovti,ov5647";
|
||||||
reg = <0x36>;
|
reg = <0x36>;
|
||||||
clocks = <&camera_clk>;
|
clocks = <&camera_clk>;
|
||||||
|
pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>;
|
||||||
|
|
||||||
port {
|
port {
|
||||||
camera_out: endpoint {
|
camera_out: endpoint {
|
||||||
|
|
Loading…
Reference in New Issue