brintos

brintos / linux-shallow public Read only

0
0
Text · 2.1 KiB · c8f2955 Raw
102 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,s5k5baf.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung S5K5BAF UXGA 1/5" 2M CMOS Image Sensor with embedded SoC ISP8 9maintainers:10  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>11 12properties:13  compatible:14    const: samsung,s5k5baf15 16  reg:17    maxItems: 118 19  clocks:20    maxItems: 121 22  clock-names:23    items:24      - const: mclk25 26  clock-frequency:27    default: 2400000028    description: mclk clock frequency29 30  rstn-gpios:31    maxItems: 132    description: RSTN pin33 34  stbyn-gpios:35    maxItems: 136    description: STDBYN pin37 38  vdda-supply:39    description: Analog power supply 2.8V (2.6V to 3.0V)40 41  vddio-supply:42    description: I/O power supply 1.8V (1.65V to 1.95V) or 2.8V (2.5V to 3.1V)43 44  vddreg-supply:45    description:46      Regulator input power supply 1.8V (1.7V to 1.9V) or 2.8V (2.6V to 3.0)47 48  port:49    $ref: /schemas/graph.yaml#/$defs/port-base50    additionalProperties: false51 52    properties:53      endpoint:54        $ref: /schemas/media/video-interfaces.yaml#55        unevaluatedProperties: false56 57        properties:58          data-lanes:59            items:60              - const: 161 62required:63  - compatible64  - clocks65  - clock-names66  - rstn-gpios67  - stbyn-gpios68  - vdda-supply69  - vddio-supply70  - vddreg-supply71 72additionalProperties: false73 74examples:75  - |76    #include <dt-bindings/gpio/gpio.h>77 78    i2c {79        #address-cells = <1>;80        #size-cells = <0>;81 82        sensor@2d {83            compatible = "samsung,s5k5baf";84            reg = <0x2d>;85            clocks = <&camera 0>;86            clock-names = "mclk";87            clock-frequency = <24000000>;88            rstn-gpios = <&gpl2 1 GPIO_ACTIVE_LOW>;89            stbyn-gpios = <&gpl2 0 GPIO_ACTIVE_LOW>;90            vdda-supply = <&cam_io_en_reg>;91            vddio-supply = <&vtcam_reg>;92            vddreg-supply = <&vt_core_15v_reg>;93 94            port {95                endpoint {96                    remote-endpoint = <&csis1_ep>;97                    data-lanes = <1>;98                };99            };100        };101    };102