summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/media
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2021-01-28 10:44:24 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-02-06 09:30:46 +0100
commit918b866edfec39e22ccb9528bc11a0dd6ca62c2b (patch)
tree4b3a65e9e15b351ae299228e3098c556432a7a36 /Documentation/devicetree/bindings/media
parent3e90e5ad9497d993852e638f75e9e154787bdd61 (diff)
media: dt-bindings: Remove old ov5647.yaml file, update ovti,ov5647.yaml
Recently ov5647.yaml got renamed as ovti,ov5647.yaml. As part of the video-interfaces DT schema conversion that was unintentionally brought back. Fix this by applying the schema changes to the new file and removing the old one. Fixes: 066a94e28a23 ("media: dt-bindings: media: Use graph and video-interfaces schemas") Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> 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/ov5647.yaml76
-rw-r--r--Documentation/devicetree/bindings/media/i2c/ovti,ov5647.yaml20
2 files changed, 4 insertions, 92 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/ov5647.yaml b/Documentation/devicetree/bindings/media/i2c/ov5647.yaml
deleted file mode 100644
index 3b1ea9da437a..000000000000
--- a/Documentation/devicetree/bindings/media/i2c/ov5647.yaml
+++ /dev/null
@@ -1,76 +0,0 @@
-# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
-%YAML 1.2
----
-$id: http://devicetree.org/schemas/media/i2c/ov5647.yaml#
-$schema: http://devicetree.org/meta-schemas/core.yaml#
-
-title: Omnivision OV5647 raw image sensor
-
-maintainers:
- - Dave Stevenson <dave.stevenson@raspberrypi.com>
- - Jacopo Mondi <jacopo@jmondi.org>
-
-description: |-
- The OV5647 is a raw image sensor with MIPI CSI-2 and CCP2 image data
- interfaces and CCI (I2C compatible) control bus.
-
-properties:
- compatible:
- const: ovti,ov5647
-
- reg:
- description: I2C device address.
- maxItems: 1
-
- clocks:
- description: Reference to the xclk clock.
- maxItems: 1
-
- pwdn-gpios:
- description: Reference to the GPIO connected to the pwdn pin. Active high.
- maxItems: 1
-
- port:
- $ref: /schemas/graph.yaml#/$defs/port-base
-
- properties:
- endpoint:
- $ref: /schemas/media/video-interfaces.yaml#
- unevaluatedProperties: false
-
- properties:
- clock-noncontinuous: true
-
- additionalProperties: false
-
-required:
- - compatible
- - reg
- - clocks
- - port
-
-additionalProperties: false
-
-examples:
- - |
- #include <dt-bindings/gpio/gpio.h>
-
- i2c {
- #address-cells = <1>;
- #size-cells = <0>;
-
- ov5647: camera@36 {
- compatible = "ovti,ov5647";
- reg = <0x36>;
- clocks = <&camera_clk>;
- pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>;
-
- port {
- camera_out: endpoint {
- remote-endpoint = <&csi1_ep1>;
- };
- };
- };
- };
-
-...
diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov5647.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov5647.yaml
index 429566c9ee1d..1ab22e75d3c6 100644
--- a/Documentation/devicetree/bindings/media/i2c/ovti,ov5647.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov5647.yaml
@@ -31,27 +31,15 @@ properties:
maxItems: 1
port:
- type: object
- description: |-
- Should contain one endpoint sub-node used to model connection to the
- video receiver according to the specification defined in
- Documentation/devicetree/bindings/media/video-interfaces.txt.
+ $ref: /schemas/graph.yaml#/$defs/port-base
properties:
endpoint:
- type: object
+ $ref: /schemas/media/video-interfaces.yaml#
+ unevaluatedProperties: false
properties:
- remote-endpoint:
- description: |-
- phandle to the video receiver input port.
-
- clock-noncontinuous:
- type: boolean
- description: |-
- Set to true to allow MIPI CSI-2 non-continuous clock operations.
-
- additionalProperties: false
+ clock-noncontinuous: true
additionalProperties: false