File Index
Files and directories
Sign in
FILE

ovti,ov8858.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/media/i2c/ovti,ov8858.yaml YAML
  1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2%YAML 1.2
  3---
  4$id: http://devicetree.org/schemas/media/i2c/ovti,ov8858.yaml#
  5$schema: http://devicetree.org/meta-schemas/core.yaml#
  6
  7title: OmniVision OV8858 Image Sensor
  8
  9maintainers:
 10  - Jacopo Mondi <jacopo.mondi@ideasonboard.com>
 11  - Nicholas Roth <nicholas@rothemail.net>
 12
 13description: |
 14  The OmniVision OV8858 is a color CMOS 8 Megapixels (3264x2448) image sensor
 15  controlled through an I2C-compatible SCCB bus. The sensor transmits images
 16  on a MIPI CSI-2 output interface with up to 4 data lanes.
 17
 18$ref: /schemas/media/video-interface-devices.yaml#
 19
 20properties:
 21  compatible:
 22    const: ovti,ov8858
 23
 24  reg:
 25    maxItems: 1
 26
 27  clocks:
 28    maxItems: 1
 29    description: XVCLK external clock
 30
 31  clock-names:
 32    const: xvclk
 33
 34  dvdd-supply:
 35    description: Digital Domain Power Supply
 36
 37  avdd-supply:
 38    description: Analog Domain Power Supply
 39
 40  dovdd-supply:
 41    description: I/O Domain Power Supply
 42
 43  powerdown-gpios:
 44    description: PWDNB powerdown GPIO (active low)
 45
 46  reset-gpios:
 47    maxItems: 1
 48    description: XSHUTDN reset GPIO (active low)
 49
 50  port:
 51    description: MIPI CSI-2 transmitter port
 52    $ref: /schemas/graph.yaml#/$defs/port-base
 53    additionalProperties: false
 54
 55    properties:
 56      endpoint:
 57        $ref: /schemas/media/video-interfaces.yaml#
 58        unevaluatedProperties: false
 59
 60        properties:
 61          data-lanes:
 62            minItems: 1
 63            maxItems: 4
 64
 65        required:
 66          - data-lanes
 67
 68required:
 69  - compatible
 70  - reg
 71  - clocks
 72  - port
 73
 74unevaluatedProperties: false
 75
 76examples:
 77  - |
 78    #include <dt-bindings/pinctrl/rockchip.h>
 79    #include <dt-bindings/clock/rk3399-cru.h>
 80    #include <dt-bindings/gpio/gpio.h>
 81
 82    i2c {
 83        #address-cells = <1>;
 84        #size-cells = <0>;
 85
 86        ov8858: camera@36 {
 87            compatible = "ovti,ov8858";
 88            reg = <0x36>;
 89
 90            clocks = <&cru SCLK_CIF_OUT>;
 91            clock-names = "xvclk";
 92            assigned-clocks = <&cru SCLK_CIF_OUT>;
 93            assigned-clock-rates = <24000000>;
 94
 95            dovdd-supply = <&vcc1v8_dvp>;
 96
 97            reset-gpios = <&gpio1 RK_PA4 GPIO_ACTIVE_LOW>;
 98            powerdown-gpios = <&gpio2 RK_PB4 GPIO_ACTIVE_LOW>;
 99
100            port {
101                ucam_out: endpoint {
102                    remote-endpoint = <&mipi_in_ucam>;
103                    data-lanes = <1 2 3 4>;
104                };
105            };
106        };
107    };
108...
~/ Read-only file preview.