File Index
Files and directories
Sign in
FILE

samsung,s5k6a3.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/media/i2c/samsung,s5k6a3.yaml YAML
  1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2%YAML 1.2
  3---
  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 sensor
  8
  9maintainers:
 10  - Krzysztof Kozlowski <krzk@kernel.org>
 11
 12description:
 13  S5K6A3(YX) is a raw image sensor with MIPI CSI-2 and CCP2 image data
 14  interfaces and CCI (I2C compatible) control bus.
 15
 16properties:
 17  compatible:
 18    const: samsung,s5k6a3
 19
 20  reg:
 21    maxItems: 1
 22
 23  clocks:
 24    maxItems: 1
 25
 26  clock-names:
 27    items:
 28      - const: extclk
 29
 30  clock-frequency:
 31    default: 24000000
 32    description: extclk clock frequency
 33    deprecated: true
 34
 35  gpios:
 36    maxItems: 1
 37    description: GPIO connected to the RESET pin
 38
 39  afvdd-supply:
 40    description: AF (actuator) voltage supply
 41
 42  svdda-supply:
 43    description: Core voltage supply
 44
 45  svddio-supply:
 46    description: I/O voltage supply
 47
 48  port:
 49    $ref: /schemas/graph.yaml#/$defs/port-base
 50    additionalProperties: false
 51
 52    properties:
 53      endpoint:
 54        $ref: /schemas/media/video-interfaces.yaml#
 55        unevaluatedProperties: false
 56
 57        properties:
 58          data-lanes:
 59            items:
 60              - const: 1
 61
 62required:
 63  - compatible
 64  - clocks
 65  - clock-names
 66  - gpios
 67  - afvdd-supply
 68  - svdda-supply
 69  - svddio-supply
 70
 71additionalProperties: false
 72
 73examples:
 74  - |
 75    #include <dt-bindings/gpio/gpio.h>
 76
 77    i2c {
 78        #address-cells = <1>;
 79        #size-cells = <0>;
 80
 81        sensor@10 {
 82            compatible = "samsung,s5k6a3";
 83            reg = <0x10>;
 84
 85            clocks = <&camera 1>;
 86            assigned-clocks = <&camera 1>;
 87            assigned-clock-rates = <24000000>;
 88
 89            clock-names = "extclk";
 90            gpios = <&gpm1 6 GPIO_ACTIVE_LOW>;
 91            afvdd-supply = <&ldo19_reg>;
 92            svdda-supply = <&cam_io_reg>;
 93            svddio-supply = <&ldo19_reg>;
 94
 95            port {
 96                endpoint {
 97                    remote-endpoint = <&csis1_ep>;
 98                    data-lanes = <1>;
 99                };
100            };
101        };
102    };
~/ Read-only file preview.