diff options
author | 2020-09-29 14:40:40 +0200 | |
---|---|---|
committer | 2020-12-02 15:50:45 +0100 | |
commit | 701b8c2c750b830e0508b8435d94f34ad0426918 (patch) | |
tree | 7c7de2cd60ddc81ba805930370b54decfb674790 /Documentation/devicetree/bindings/media | |
parent | media: dt-bindings: nokia,smia: Convert to YAML (diff) | |
download | linux-701b8c2c750b830e0508b8435d94f34ad0426918.tar.gz linux-701b8c2c750b830e0508b8435d94f34ad0426918.tar.bz2 linux-701b8c2c750b830e0508b8435d94f34ad0426918.zip |
media: dt-bindings: nokia,smia: Use better active polarity for reset
Generally reset signal is active low on camera sensors. The example had it
high. Make it low, and use GPIO_ACTIVE_LOW in gpio.h for that.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/media')
-rw-r--r-- | Documentation/devicetree/bindings/media/i2c/nokia,smia.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/nokia,smia.yaml b/Documentation/devicetree/bindings/media/i2c/nokia,smia.yaml index ee552489fa2b..47df08338a42 100644 --- a/Documentation/devicetree/bindings/media/i2c/nokia,smia.yaml +++ b/Documentation/devicetree/bindings/media/i2c/nokia,smia.yaml @@ -80,6 +80,8 @@ additionalProperties: false examples: - | + #include <dt-bindings/gpio/gpio.h> + i2c2 { #address-cells = <1>; #size-cells = <0>; @@ -89,7 +91,7 @@ examples: camera-sensor@10 { compatible = "nokia,smia"; reg = <0x10>; - reset-gpios = <&gpio3 20 0>; + reset-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>; vana-supply = <&vaux3>; clocks = <&omap3_isp 0>; clock-frequency = <9600000>; |