Samsung S5C73M3 8Mp camera ISP
Schema identifier ($id): "http://devicetree.org/schemas/media/samsung,s5c73m3.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"
The S5C73M3 camera ISP supports MIPI CSI-2 and parallel (ITU-R BT.656) video data busses. The I2C bus is the main control bus and additionally the SPI bus is used, mostly for transferring the firmware to and from the device. Two slave device nodes corresponding to these control bus interfaces are required and should be placed under respective bus controller nodes.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "samsung,s5c73m3"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"cis_extclk"
clock-frequency — not listed as required here #
Default value (default): 24000000
cis_extclk clock frequency.
standby-gpios — not listed as required here #
Maximum number of items (maxItems): 1
STANDBY pin.
vdda-supply — not listed as required here #
Analog power supply (1.2V).
vdd-af-supply — not listed as required here #
lens power supply (2.8V).
vddio-cis-supply — not listed as required here #
CIS I/O power supply (1.2V to 1.8V).
vddio-host-supply — not listed as required here #
Host I/O power supply (1.8V to 2.8V).
vdd-int-supply — not listed as required here #
Digital power supply (1.2V).
vdd-reg-supply — not listed as required here #
Regulator input power supply (2.8V).
xshutdown-gpios — not listed as required here #
Maximum number of items (maxItems): 1
XSHUTDOWN pin.
port — not listed as 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): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Rule 2 #
Condition (
if) #When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required here
false— Not permitted by this property rule.
clock-names— not listed as required here
false— Not permitted by this property rule.
standby-gpios— not listed as required here
false— Not permitted by this property rule.
vdda-supply— not listed as required here
false— Not permitted by this property rule.
vdd-af-supply— not listed as required here
false— Not permitted by this property rule.
vddio-cis-supply— not listed as required here
false— Not permitted by this property rule.
vddio-host-supply— not listed as required here
false— Not permitted by this property rule.
vdd-int-supply— not listed as required here
false— Not permitted by this property rule.
vdd-reg-supply— not listed as required here
false— Not permitted by this property rule.
xshutdown-gpios— not listed as required here
false— Not permitted by this property rule.
port— not listed as required here
false— Not permitted by this property rule.When the condition does not match (
else) #Required in this object (
required):"clocks","clock-names","standby-gpios","vdda-supply","vdd-af-supply","vddio-cis-supply","vddio-host-supply","vdd-int-supply","vdd-reg-supply","xshutdown-gpios","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>;
image-sensor@3c {
compatible = "samsung,s5c73m3";
reg = <0x3c>;
clock-frequency = <24000000>;
clocks = <&camera 0>;
clock-names = "cis_extclk";
standby-gpios = <&gpm0 6 GPIO_ACTIVE_LOW>;
vdda-supply = <&cam_vdda_reg>;
vdd-af-supply = <&cam_af_reg>;
vddio-cis-supply = <&ldo9_reg>;
vddio-host-supply = <&ldo18_reg>;
vdd-int-supply = <&buck9_reg>;
vdd-reg-supply = <&cam_io_reg>;
xshutdown-gpios = <&gpf1 3 GPIO_ACTIVE_LOW>; /* ISP_RESET */
port {
s5c73m3_ep: endpoint {
remote-endpoint = <&csis0_ep>;
data-lanes = <1 2 3 4>;
};
};
};
};
spi {
#address-cells = <1>;
#size-cells = <0>;
image-sensor@0 {
compatible = "samsung,s5c73m3";
reg = <0>;
spi-max-frequency = <50000000>;
controller-data {
samsung,spi-feedback-delay = <2>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 93: The SPI node is simplified firmware-transfer interface only