Samsung S5K6A3(YX) raw image sensor

Schema identifier ($id): "http://devicetree.org/schemas/media/i2c/samsung,s5k6a3.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

S5K6A3(YX) is a raw image sensor with MIPI CSI-2 and CCP2 image data interfaces and CCI (I2C compatible) control bus.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "samsung,s5k6a3"

reg — not listed as required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "extclk"

clock-frequency — not listed as required here #

Default value (default): 24000000

extclk clock frequency

Deprecated (deprecated): true

gpios — required here #

Maximum number of items (maxItems): 1

GPIO connected to the RESET pin

afvdd-supply — required here #

AF (actuator) voltage supply

svdda-supply — required here #

Core voltage supply

svddio-supply — required here #

I/O voltage supply

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

Required in this object (required): "compatible", "clocks", "clock-names", "gpios", "afvdd-supply", "svdda-supply", "svddio-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    sensor@10 {
        compatible = "samsung,s5k6a3";
        reg = <0x10>;

        clocks = <&camera 1>;
        assigned-clocks = <&camera 1>;
        assigned-clock-rates = <24000000>;

        clock-names = "extclk";
        gpios = <&gpm1 6 GPIO_ACTIVE_LOW>;
        afvdd-supply = <&ldo19_reg>;
        svdda-supply = <&cam_io_reg>;
        svddio-supply = <&ldo19_reg>;

        port {
            endpoint {
                remote-endpoint = <&csis1_ep>;
                data-lanes = <1>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page