summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2018-06-14 08:17:29 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-06-28 08:43:31 -0400
commit691faafa78e1a0eae2fa7db87a1b9c3e95dc9292 (patch)
tree83be5f898818be9fc34fefbb4aa8fc4c61a37715
parent6d4e7919d7b5ffc388ec9d8babd72368e6d65d6e (diff)
downloadlinux-691faafa78e1a0eae2fa7db87a1b9c3e95dc9292.tar.gz
media: dt-bindings: smia: Add "rotation" property
Add the rotation property to list of optional properties for the smia sensors. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/media/i2c/nokia,smia.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/nokia,smia.txt b/Documentation/devicetree/bindings/media/i2c/nokia,smia.txt
index 33f10a94c381..8ee7c7972ac7 100644
--- a/Documentation/devicetree/bindings/media/i2c/nokia,smia.txt
+++ b/Documentation/devicetree/bindings/media/i2c/nokia,smia.txt
@@ -29,6 +29,9 @@ Optional properties
- reset-gpios: XSHUTDOWN GPIO
- flash-leds: See ../video-interfaces.txt
- lens-focus: See ../video-interfaces.txt
+- rotation: Integer property; valid values are 0 (sensor mounted upright)
+ and 180 (sensor mounted upside down). See
+ ../video-interfaces.txt .
Endpoint node mandatory properties