brintos

brintos / linux-shallow public Read only

0
0
Text · 2.0 KiB · 7e83a94 Raw
99 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/media/i2c/samsung,s5k6a3.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung S5K6A3(YX) raw image sensor8 9maintainers:10  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>11 12description:13  S5K6A3(YX) is a raw image sensor with MIPI CSI-2 and CCP2 image data14  interfaces and CCI (I2C compatible) control bus.15 16properties:17  compatible:18    const: samsung,s5k6a319 20  reg:21    maxItems: 122 23  clocks:24    maxItems: 125 26  clock-names:27    items:28      - const: extclk29 30  clock-frequency:31    default: 2400000032    description: extclk clock frequency33 34  gpios:35    maxItems: 136    description: GPIO connected to the RESET pin37 38  afvdd-supply:39    description: AF (actuator) voltage supply40 41  svdda-supply:42    description: Core voltage supply43 44  svddio-supply:45    description: I/O voltage supply46 47  port:48    $ref: /schemas/graph.yaml#/$defs/port-base49    additionalProperties: false50 51    properties:52      endpoint:53        $ref: /schemas/media/video-interfaces.yaml#54        unevaluatedProperties: false55 56        properties:57          data-lanes:58            items:59              - const: 160 61required:62  - compatible63  - clocks64  - clock-names65  - gpios66  - afvdd-supply67  - svdda-supply68  - svddio-supply69 70additionalProperties: false71 72examples:73  - |74    #include <dt-bindings/gpio/gpio.h>75 76    i2c {77        #address-cells = <1>;78        #size-cells = <0>;79 80        sensor@10 {81            compatible = "samsung,s5k6a3";82            reg = <0x10>;83            clock-frequency = <24000000>;84            clocks = <&camera 1>;85            clock-names = "extclk";86            gpios = <&gpm1 6 GPIO_ACTIVE_LOW>;87            afvdd-supply = <&ldo19_reg>;88            svdda-supply = <&cam_io_reg>;89            svddio-supply = <&ldo19_reg>;90 91            port {92                endpoint {93                    remote-endpoint = <&csis1_ep>;94                    data-lanes = <1>;95                };96            };97        };98    };99