Microchip eXtended Image Sensor Controller (XISC)
Schema identifier ($id): "http://devicetree.org/schemas/media/microchip,xisc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eugen Hristev <eugen.hristev@microchip.com>"
The eXtended Image Sensor Controller (XISC) device provides the video input capabilities for the Microchip AT91 SAM family of devices.
The XISC has a single internal parallel input that supports RAW Bayer, RGB or YUV video. The source can be either a demuxer from a CSI2 type of bus, or a simple direct bridge to a parallel sensor.
The XISC provides one clock output that is used to clock the demuxer/bridge.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "microchip,sama7g5-isc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — 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):"hclock"
#clock-cells — required here #
Exact value (const): 0
clock-output-names — required here #
Exact value (const): "isc-mck"
microchip,mipi-mode — not listed as required here #
Value type (type): "boolean"
As the XISC is usually connected to a demux/bridge, the XISC receives the same type of input, however, it should be aware of the type of signals received. The mipi-mode enables different internal handling of the data and clock lines.
port — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Input port node, single endpoint describing the input pad.
Properties and child nodes (properties) #
endpoint — not listed as required here
Shared schema rule ($ref): video-interfaces.yaml#
Properties and child nodes (properties)
bus-type — required here
remote-endpoint — required here
true — No constraints added by this property rule.
bus-width — not listed as required here
Allowed values (enum): 8, 9, 10, 11, 12, 14
Default value (default): 12
hsync-active — not listed as required here
Default value (default): 1
vsync-active — not listed as required here
Default value (default): 1
pclk-sample — not listed as required here
Default value (default): 1
Required in this object (required): "remote-endpoint", "bus-type"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells", "clock-output-names", "port"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/media/video-interfaces.h>
xisc: xisc@e1408000 {
compatible = "microchip,sama7g5-isc";
reg = <0xe1408000 0x2000>;
interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&pmc PMC_TYPE_PERIPHERAL 56>;
clock-names = "hclock";
#clock-cells = <0>;
clock-output-names = "isc-mck";
port {
xisc_in: endpoint {
bus-type = <MEDIA_BUS_TYPE_PARALLEL>;
remote-endpoint = <&csi2dc_out>;
hsync-active = <1>;
vsync-active = <1>;
bus-width = <12>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2021 Microchip Technology, Inc.