Toshiba et8ek8 5MP sensor

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

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

Maintainers (maintainers): "Pavel Machek <pavel@ucw.cz>", "Sakari Ailus <sakari.ailus@iki.fi>"

Toshiba et8ek8 5MP sensor is an image sensor found in Nokia N900 device

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): "toshiba,et8ek8"

reg — required here #

I2C address (0x3e, or an alternative address)

Maximum number of items (maxItems): 1

vana-supply — required here #

Analogue voltage supply (VANA), 2.8 volts

clocks — required here #

Maximum number of items (maxItems): 1

reset-gpios — required here #

XSHUTDOWN GPIO. The XSHUTDOWN signal is active low. The sensor is in hardware standby mode when the signal is in the low state.

Maximum number of items (maxItems): 1

flash-leds — not listed as required here #

Maximum number of items (maxItems): 1

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.

Required in this object (required): "compatible", "reg", "vana-supply", "clocks", "reset-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>;

    camera@3e {
        compatible = "toshiba,et8ek8";
        reg = <0x3e>;
        vana-supply = <&vaux4>;
        clocks = <&isp 0>;
        assigned-clocks = <&isp 0>;
        assigned-clock-rates = <9600000>;
        reset-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
        flash-leds = <&led>;

        port {
            csi_cam1: endpoint {
                remote-endpoint = <&csi_out1>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page