[PATCH v1 1/2] dt-bindings: media: mt9m114: document MI1040 sensor

Svyatoslav Ryhel posted 2 patches 1 week, 6 days ago
[PATCH v1 1/2] dt-bindings: media: mt9m114: document MI1040 sensor
Posted by Svyatoslav Ryhel 1 week, 6 days ago
The Aptina MI1040 is a slightly different version of the MT9M114 camera
module. It is used in several devices, such as the ASUS Nexus 7 (2012) and
the ASUS Transformer Prime TF201. The compatible "onnn,mt9m114" is placed
first in the enum, as it is considered the default compatible value.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
 Documentation/devicetree/bindings/media/i2c/onnn,mt9m114.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/media/i2c/onnn,mt9m114.yaml b/Documentation/devicetree/bindings/media/i2c/onnn,mt9m114.yaml
index a89f740214f7..7c0a50759f4d 100644
--- a/Documentation/devicetree/bindings/media/i2c/onnn,mt9m114.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/onnn,mt9m114.yaml
@@ -17,7 +17,9 @@ description: |-
 
 properties:
   compatible:
-    const: onnn,mt9m114
+    enum:
+      - onnn,mt9m114
+      - aptina,mi1040
 
   reg:
     description: I2C device address
-- 
2.51.0
Re: [PATCH v1 1/2] dt-bindings: media: mt9m114: document MI1040 sensor
Posted by Conor Dooley 1 week, 6 days ago
Acked-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable