Hello,
re-based on latest media master with small typographical updates to the
bindings document.
The series collects patches which have been sent to the list as part of
of two separate series.
I've not been able to get in touch with the sensor driver last maintainer
of the driver (Luis Oliveira)
Thanks
j
v2->v3:
- Expand the series with two additional patches
- Make 'remote-endpoint' not required: we allow empty endpoints, to be filled
in with overlays
- End all senteces with a full stop for consistency
Jacopo Mondi (4):
dt-bindings: media: ov5647: Convert to json-schema
dt-bindings: media: ov5647: Document pwdn-gpios
dt-bindings: media: ov5647: Document clock-noncontinuous
media: MAINTAINERS: ov5647: Replace maintainer
.../devicetree/bindings/media/i2c/ov5647.txt | 35 --------
.../devicetree/bindings/media/i2c/ov5647.yaml | 88 +++++++++++++++++++
MAINTAINERS | 4 +-
3 files changed, 91 insertions(+), 36 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/media/i2c/ov5647.txt
create mode 100644 Documentation/devicetree/bindings/media/i2c/ov5647.yaml
--
2.27.0
@@ -1,35 +0,0 @@-Omnivision OV5647 raw image sensor------------------------------------OV5647 is a raw image sensor with MIPI CSI-2 and CCP2 image data interfaces-and CCI (I2C compatible) control bus.--Required properties:--- compatible : "ovti,ov5647".-- reg : I2C slave address of the sensor.-- clocks : Reference to the xclk clock.--The common video interfaces bindings (see video-interfaces.txt) should be-used to specify link to the image data receiver. The OV5647 device-node should contain one 'port' child node with an 'endpoint' subnode.--Endpoint node mandatory properties:--- remote-endpoint: A phandle to the bus receiver's endpoint node.--Example:-- i2c@2000 {- ...- ov: camera@36 {- compatible = "ovti,ov5647";- reg = <0x36>;- clocks = <&camera_clk>;- port {- camera_1: endpoint {- remote-endpoint = <&csi1_ep1>;- };- };- };- };
@@ -0,0 +1,77 @@+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)+%YAML1.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++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.++properties:+endpoint:+type:object++properties:+remote-endpoint:+description:|-+phandle to the video receiver input port.++additionalProperties:false++additionalProperties:false++required:+-compatible+-reg+-clocks+-port++additionalProperties:false++examples:+-|++i2c {+#address-cells = <1>;+#size-cells = <0>;++ov5647:camera@36 {+compatible = "ovti,ov5647";+reg = <0x36>;+clocks = <&camera_clk>;++port {+camera_out:endpoint {+remote-endpoint = <&csi1_ep1>;+};+};+};+};++...
@@ -26,6 +26,10 @@ properties: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:type:objectdescription:|-
@@ -46,6 +46,11 @@ properties: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:falseadditionalProperties:false
Since the current maintainer email address bounces back, replace
the entry and make myself and Dave Stevenson maintainers of the driver.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
---
MAINTAINERS | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
From: Dave Stevenson <dave.stevenson@raspberrypi.com> Date: 2020-08-11 09:22:40
On Mon, 10 Aug 2020 at 22:52, Jacopo Mondi [off-list ref] wrote:
Since the current maintainer email address bounces back, replace
the entry and make myself and Dave Stevenson maintainers of the driver.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Acked-by: Dave Stevenson <dave.stevenson@raspberrypi.com>