1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/media/i2c/s 4 $id: http://devicetree.org/schemas/media/i2c/samsung,s5k5baf.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Samsung S5K5BAF UXGA 1/5" 2M CMOS Image 7 title: Samsung S5K5BAF UXGA 1/5" 2M CMOS Image Sensor with embedded SoC ISP 8 8 9 maintainers: 9 maintainers: 10 - Krzysztof Kozlowski <krzysztof.kozlowski@li 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 const: samsung,s5k5baf 14 const: samsung,s5k5baf 15 15 16 reg: 16 reg: 17 maxItems: 1 17 maxItems: 1 18 18 19 clocks: 19 clocks: 20 maxItems: 1 20 maxItems: 1 21 21 22 clock-names: 22 clock-names: 23 items: 23 items: 24 - const: mclk 24 - const: mclk 25 25 26 clock-frequency: 26 clock-frequency: 27 default: 24000000 27 default: 24000000 28 description: mclk clock frequency 28 description: mclk clock frequency 29 29 30 rstn-gpios: 30 rstn-gpios: 31 maxItems: 1 31 maxItems: 1 32 description: RSTN pin 32 description: RSTN pin 33 33 34 stbyn-gpios: 34 stbyn-gpios: 35 maxItems: 1 35 maxItems: 1 36 description: STDBYN pin 36 description: STDBYN pin 37 37 38 vdda-supply: 38 vdda-supply: 39 description: Analog power supply 2.8V (2.6 39 description: Analog power supply 2.8V (2.6V to 3.0V) 40 40 41 vddio-supply: 41 vddio-supply: 42 description: I/O power supply 1.8V (1.65V 42 description: I/O power supply 1.8V (1.65V to 1.95V) or 2.8V (2.5V to 3.1V) 43 43 44 vddreg-supply: 44 vddreg-supply: 45 description: 45 description: 46 Regulator input power supply 1.8V (1.7V 46 Regulator input power supply 1.8V (1.7V to 1.9V) or 2.8V (2.6V to 3.0) 47 47 48 port: 48 port: 49 $ref: /schemas/graph.yaml#/$defs/port-base 49 $ref: /schemas/graph.yaml#/$defs/port-base 50 additionalProperties: false 50 additionalProperties: false 51 51 52 properties: 52 properties: 53 endpoint: 53 endpoint: 54 $ref: /schemas/media/video-interfaces. 54 $ref: /schemas/media/video-interfaces.yaml# 55 unevaluatedProperties: false 55 unevaluatedProperties: false 56 56 57 properties: 57 properties: 58 data-lanes: 58 data-lanes: 59 items: 59 items: 60 - const: 1 60 - const: 1 61 61 62 required: 62 required: 63 - compatible 63 - compatible 64 - clocks 64 - clocks 65 - clock-names 65 - clock-names 66 - rstn-gpios 66 - rstn-gpios 67 - stbyn-gpios 67 - stbyn-gpios 68 - vdda-supply 68 - vdda-supply 69 - vddio-supply 69 - vddio-supply 70 - vddreg-supply 70 - vddreg-supply 71 71 72 additionalProperties: false 72 additionalProperties: false 73 73 74 examples: 74 examples: 75 - | 75 - | 76 #include <dt-bindings/gpio/gpio.h> 76 #include <dt-bindings/gpio/gpio.h> 77 77 78 i2c { 78 i2c { 79 #address-cells = <1>; 79 #address-cells = <1>; 80 #size-cells = <0>; 80 #size-cells = <0>; 81 81 82 sensor@2d { 82 sensor@2d { 83 compatible = "samsung,s5k5baf"; 83 compatible = "samsung,s5k5baf"; 84 reg = <0x2d>; 84 reg = <0x2d>; 85 clocks = <&camera 0>; 85 clocks = <&camera 0>; 86 clock-names = "mclk"; 86 clock-names = "mclk"; 87 clock-frequency = <24000000>; 87 clock-frequency = <24000000>; 88 rstn-gpios = <&gpl2 1 GPIO_ACTIVE_ 88 rstn-gpios = <&gpl2 1 GPIO_ACTIVE_LOW>; 89 stbyn-gpios = <&gpl2 0 GPIO_ACTIVE 89 stbyn-gpios = <&gpl2 0 GPIO_ACTIVE_LOW>; 90 vdda-supply = <&cam_io_en_reg>; 90 vdda-supply = <&cam_io_en_reg>; 91 vddio-supply = <&vtcam_reg>; 91 vddio-supply = <&vtcam_reg>; 92 vddreg-supply = <&vt_core_15v_reg> 92 vddreg-supply = <&vt_core_15v_reg>; 93 93 94 port { 94 port { 95 endpoint { 95 endpoint { 96 remote-endpoint = <&csis1_ 96 remote-endpoint = <&csis1_ep>; 97 data-lanes = <1>; 97 data-lanes = <1>; 98 }; 98 }; 99 }; 99 }; 100 }; 100 }; 101 }; 101 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.