Samsung S5KJN1 Image Sensor
Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/samsung,s5kjn1.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Samsung S5KJN1 (ISOCELL JN1) image sensor is a 50MP image sensor. The sensor is controlled over a serial camera control bus protocol, the widest supported output image frame size is 8160x6144 at 10 frames per second, data output format is RAW10 transferred over 4-lane MIPI D-PHY interface.
Maintainers (maintainers): "Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/media/video-interface-devices.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "samsung,s5kjn1"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
MCLK supply clock.
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Active low GPIO connected to RESET pad of the sensor.
Maximum number of items (maxItems): 1
afvdd-supply — not listed as required here #
Autofocus actuator voltage supply, 2.8-3.0 volts.
vdda-supply — not listed as required here #
Analogue voltage supply, 2.8 volts.
vddd-supply — not listed as required here #
Digital core voltage supply, 1.05 volts.
vddio-supply — not listed as required here #
Digital I/O voltage supply, 1.8 volts.
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
data-lanes — not listed as required here
Array item rules (items)
Item 1
Exact value (
const):1
Item 2
Exact value (
const):2
Item 3
Exact value (
const):3
Item 4
Exact value (
const):4
Required in this object (required): "link-frequencies"
Required in this object (required): "compatible", "reg", "port"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
camera@56 {
compatible = "samsung,s5kjn1";
reg = <0x56>;
clocks = <&camera_mclk 0>;
assigned-clocks = <&camera_mclk 0>;
assigned-clock-rates = <24000000>;
reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
vdda-supply = <&vreg_2p8>;
vddd-supply = <&vreg_1p05>;
vddio-supply = <&vreg_1p8>;
port {
endpoint {
link-frequencies = /bits/ 64 <700000000>;
remote-endpoint = <&mipi_csi2_ep>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)