1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/media/i2c/o 4 $id: http://devicetree.org/schemas/media/i2c/ovti,ov8865.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: OmniVision OV8865 Image Sensor 7 title: OmniVision OV8865 Image Sensor 8 8 9 maintainers: 9 maintainers: 10 - Paul Kocialkowski <paul.kocialkowski@bootli 10 - Paul Kocialkowski <paul.kocialkowski@bootlin.com> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 const: ovti,ov8865 14 const: ovti,ov8865 15 15 16 reg: 16 reg: 17 maxItems: 1 17 maxItems: 1 18 18 19 clocks: 19 clocks: 20 items: 20 items: 21 - description: EXTCLK Clock 21 - description: EXTCLK Clock 22 22 23 assigned-clocks: 23 assigned-clocks: 24 maxItems: 1 24 maxItems: 1 25 25 26 assigned-clock-rates: 26 assigned-clock-rates: 27 maxItems: 1 27 maxItems: 1 28 28 29 dvdd-supply: 29 dvdd-supply: 30 description: Digital Domain Power Supply 30 description: Digital Domain Power Supply 31 31 32 avdd-supply: 32 avdd-supply: 33 description: Analog Domain Power Supply 33 description: Analog Domain Power Supply 34 34 35 dovdd-supply: 35 dovdd-supply: 36 description: I/O Domain Power Supply 36 description: I/O Domain Power Supply 37 37 38 powerdown-gpios: 38 powerdown-gpios: 39 maxItems: 1 39 maxItems: 1 40 description: Power Down Pin GPIO Control ( 40 description: Power Down Pin GPIO Control (active low) 41 41 42 reset-gpios: 42 reset-gpios: 43 maxItems: 1 43 maxItems: 1 44 description: Reset Pin GPIO Control (activ 44 description: Reset Pin GPIO Control (active low) 45 45 46 port: 46 port: 47 description: MIPI CSI-2 transmitter port 47 description: MIPI CSI-2 transmitter port 48 $ref: /schemas/graph.yaml#/$defs/port-base 48 $ref: /schemas/graph.yaml#/$defs/port-base 49 additionalProperties: false 49 additionalProperties: false 50 50 51 properties: 51 properties: 52 endpoint: 52 endpoint: 53 $ref: /schemas/media/video-interfaces. 53 $ref: /schemas/media/video-interfaces.yaml# 54 unevaluatedProperties: false 54 unevaluatedProperties: false 55 55 56 properties: 56 properties: 57 link-frequencies: true 57 link-frequencies: true 58 58 59 data-lanes: 59 data-lanes: 60 minItems: 1 60 minItems: 1 61 maxItems: 4 61 maxItems: 4 62 62 63 required: 63 required: 64 - data-lanes 64 - data-lanes 65 - link-frequencies 65 - link-frequencies 66 66 67 required: 67 required: 68 - compatible 68 - compatible 69 - reg 69 - reg 70 - clocks 70 - clocks 71 - assigned-clocks 71 - assigned-clocks 72 - assigned-clock-rates 72 - assigned-clock-rates 73 - dvdd-supply 73 - dvdd-supply 74 - avdd-supply 74 - avdd-supply 75 - dovdd-supply 75 - dovdd-supply 76 - port 76 - port 77 77 78 additionalProperties: false 78 additionalProperties: false 79 79 80 examples: 80 examples: 81 - | 81 - | 82 #include <dt-bindings/clock/sun8i-a83t-ccu 82 #include <dt-bindings/clock/sun8i-a83t-ccu.h> 83 #include <dt-bindings/gpio/gpio.h> 83 #include <dt-bindings/gpio/gpio.h> 84 84 85 i2c { 85 i2c { 86 #address-cells = <1>; 86 #address-cells = <1>; 87 #size-cells = <0>; 87 #size-cells = <0>; 88 88 89 ov8865: camera@36 { 89 ov8865: camera@36 { 90 compatible = "ovti,ov8865"; 90 compatible = "ovti,ov8865"; 91 reg = <0x36>; 91 reg = <0x36>; 92 92 93 pinctrl-names = "default"; 93 pinctrl-names = "default"; 94 pinctrl-0 = <&csi_mclk_pin>; 94 pinctrl-0 = <&csi_mclk_pin>; 95 95 96 clocks = <&ccu CLK_CSI_MCLK>; 96 clocks = <&ccu CLK_CSI_MCLK>; 97 assigned-clocks = <&ccu CLK_CSI_MC 97 assigned-clocks = <&ccu CLK_CSI_MCLK>; 98 assigned-clock-rates = <24000000>; 98 assigned-clock-rates = <24000000>; 99 99 100 avdd-supply = <®_ov8865_avdd>; 100 avdd-supply = <®_ov8865_avdd>; 101 dovdd-supply = <®_ov8865_dovdd> 101 dovdd-supply = <®_ov8865_dovdd>; 102 dvdd-supply = <®_ov8865_dvdd>; 102 dvdd-supply = <®_ov8865_dvdd>; 103 103 104 powerdown-gpios = <&pio 4 17 GPIO_ 104 powerdown-gpios = <&pio 4 17 GPIO_ACTIVE_LOW>; /* PE17 */ 105 reset-gpios = <&pio 4 16 GPIO_ACTI 105 reset-gpios = <&pio 4 16 GPIO_ACTIVE_LOW>; /* PE16 */ 106 106 107 port { 107 port { 108 ov8865_out_mipi_csi2: endpoint 108 ov8865_out_mipi_csi2: endpoint { 109 data-lanes = <1 2 3 4>; 109 data-lanes = <1 2 3 4>; 110 link-frequencies = /bits/ 110 link-frequencies = /bits/ 64 <360000000>; 111 111 112 remote-endpoint = <&mipi_c 112 remote-endpoint = <&mipi_csi2_in_ov8865>; 113 }; 113 }; 114 }; 114 }; 115 }; 115 }; 116 }; 116 }; 117 117 118 ... 118 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.