| 1 |
|
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/media/i2c/samsung,s5kjn1.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Samsung S5KJN1 Image Sensor |
| 8 |
|
| 9 |
description: |
| 10 |
Samsung S5KJN1 (ISOCELL JN1) image sensor is a 50MP image sensor. |
| 11 |
The sensor is controlled over a serial camera control bus protocol, |
| 12 |
the widest supported output image frame size is 8160x6144 at 10 frames |
| 13 |
per second, data output format is RAW10 transferred over 4-lane |
| 14 |
MIPI D-PHY interface. |
| 15 |
|
| 16 |
maintainers: |
| 17 |
- Vladimir Zapolskiy <[email protected]> |
| 18 |
|
| 19 |
allOf: |
| 20 |
- $ref: /schemas/media/video-interface-devices.yaml# |
| 21 |
|
| 22 |
properties: |
| 23 |
compatible: |
| 24 |
const: samsung,s5kjn1 |
| 25 |
|
| 26 |
reg: |
| 27 |
maxItems: 1 |
| 28 |
|
| 29 |
clocks: |
| 30 |
description: MCLK supply clock. |
| 31 |
maxItems: 1 |
| 32 |
|
| 33 |
reset-gpios: |
| 34 |
description: Active low GPIO connected to RESET pad of the sensor. |
| 35 |
maxItems: 1 |
| 36 |
|
| 37 |
afvdd-supply: |
| 38 |
description: Autofocus actuator voltage supply, 2.8-3.0 volts. |
| 39 |
|
| 40 |
vdda-supply: |
| 41 |
description: Analogue voltage supply, 2.8 volts. |
| 42 |
|
| 43 |
vddd-supply: |
| 44 |
description: Digital core voltage supply, 1.05 volts. |
| 45 |
|
| 46 |
vddio-supply: |
| 47 |
description: Digital I/O voltage supply, 1.8 volts. |
| 48 |
|
| 49 |
port: |
| 50 |
$ref: /schemas/graph.yaml#/$defs/port-base |
| 51 |
additionalProperties: false |
| 52 |
|
| 53 |
properties: |
| 54 |
endpoint: |
| 55 |
$ref: /schemas/media/video-interfaces.yaml# |
| 56 |
unevaluatedProperties: false |
| 57 |
|
| 58 |
properties: |
| 59 |
data-lanes: |
| 60 |
items: |
| 61 |
- const: 1 |
| 62 |
- const: 2 |
| 63 |
- const: 3 |
| 64 |
- const: 4 |
| 65 |
|
| 66 |
required: |
| 67 |
- link-frequencies |
| 68 |
|
| 69 |
required: |
| 70 |
- compatible |
| 71 |
- reg |
| 72 |
- port |
| 73 |
|
| 74 |
unevaluatedProperties: false |
| 75 |
|
| 76 |
examples: |
| 77 |
- | |
| 78 |
#include <dt-bindings/gpio/gpio.h> |
| 79 |
|
| 80 |
i2c { |
| 81 |
#address-cells = <1>; |
| 82 |
#size-cells = <0>; |
| 83 |
|
| 84 |
camera@56 { |
| 85 |
compatible = "samsung,s5kjn1"; |
| 86 |
reg = <0x56>; |
| 87 |
clocks = <&camera_mclk 0>; |
| 88 |
assigned-clocks = <&camera_mclk 0>; |
| 89 |
assigned-clock-rates = <24000000>; |
| 90 |
reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; |
| 91 |
vdda-supply = <&vreg_2p8>; |
| 92 |
vddd-supply = <&vreg_1p05>; |
| 93 |
vddio-supply = <&vreg_1p8>; |
| 94 |
|
| 95 |
port { |
| 96 |
endpoint { |
| 97 |
link-frequencies = /bits/ 64 <700000000>; |
| 98 |
remote-endpoint = <&mipi_csi2_ep>; |
| 99 |
}; |
| 100 |
}; |
| 101 |
}; |
| 102 |
}; |
| 103 |
... |