The Tesla FSD CSIS video capture interface is used to capture frames.
Signed-off-by: Inbaraj E <inbaraj.e@samsung.com>
---
.../bindings/media/tesla,fsd-csis-media.yaml | 76 +++++++++++++++++++
1 file changed, 76 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/tesla,fsd-csis-media.yaml
diff --git a/Documentation/devicetree/bindings/media/tesla,fsd-csis-media.yaml b/Documentation/devicetree/bindings/media/tesla,fsd-csis-media.yaml
new file mode 100644
index 000000000000..f045094ae539
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/tesla,fsd-csis-media.yaml
@@ -0,0 +1,76 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/media/tesla,fsd-csis-media.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Tesla FSD SoC MIPI CSI-2 video capture interface(Bridge device).
+
+maintainers:
+ - Inbaraj E <inbaraj.e@samsung.com>
+
+description:
+ The Tesla FSD CSIS has an internal video capture interface to capture
+ frames originating from the sensor. The power supply for the IP is
+ managed by custom firmware and is expected to remain enabled
+ permanently, so power supply control is not added in linux.
+
+properties:
+ compatible:
+ const: tesla,fsd-csis-media
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clocks:
+ maxItems: 3
+
+ clock-names:
+ items:
+ - const: aclk
+ - const: pclk
+ - const: pll
+
+ iommus:
+ maxItems: 1
+
+ port:
+ $ref: /schemas/graph.yaml#/properties/port
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - clock-names
+ - iommus
+ - port
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/fsd-clk.h>
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ csis0: csis@12641000 {
+ compatible = "tesla,fsd-csis-media";
+ reg = <0x12661000 0x44c>;
+ interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clock_csi CAM_CSI0_0_IPCLKPORT_I_ACLK>,
+ <&clock_csi CAM_CSI0_0_IPCLKPORT_I_PCLK>,
+ <&clock_csi CAM_CSI_PLL>;
+ clock-names = "aclk", "pclk", "pll";
+ iommus = <&smmu_isp 0x0 0x0>;
+
+ port {
+ csi_in_0: endpoint {
+ remote-endpoint = <&mipi_csis_0_out>;
+ };
+ };
+ };
+
+...
--
2.49.0
On Thu, Aug 28, 2025 at 02:29:06PM +0530, Inbaraj E wrote:
> The Tesla FSD CSIS video capture interface is used to capture frames.
>
> Signed-off-by: Inbaraj E <inbaraj.e@samsung.com>
> ---
> .../bindings/media/tesla,fsd-csis-media.yaml | 76 +++++++++++++++++++
> 1 file changed, 76 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/media/tesla,fsd-csis-media.yaml
>
> diff --git a/Documentation/devicetree/bindings/media/tesla,fsd-csis-media.yaml b/Documentation/devicetree/bindings/media/tesla,fsd-csis-media.yaml
> new file mode 100644
> index 000000000000..f045094ae539
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/tesla,fsd-csis-media.yaml
> @@ -0,0 +1,76 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/media/tesla,fsd-csis-media.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Tesla FSD SoC MIPI CSI-2 video capture interface(Bridge device).
Drop final full stop. Also missing space before (
> +
> +maintainers:
> + - Inbaraj E <inbaraj.e@samsung.com>
> +
> +description:
> + The Tesla FSD CSIS has an internal video capture interface to capture
> + frames originating from the sensor. The power supply for the IP is
> + managed by custom firmware and is expected to remain enabled
> + permanently, so power supply control is not added in linux.
> +
> +properties:
> + compatible:
> + const: tesla,fsd-csis-media
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + clocks:
> + maxItems: 3
> +
> + clock-names:
> + items:
> + - const: aclk
> + - const: pclk
> + - const: pll
> +
> + iommus:
> + maxItems: 1
> +
> + port:
> + $ref: /schemas/graph.yaml#/properties/port
> +
> +required:
> + - compatible
> + - reg
> + - interrupts
> + - clocks
> + - clock-names
> + - iommus
> + - port
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/clock/fsd-clk.h>
> + #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> + csis0: csis@12641000 {
Incorrect unit address.
> + compatible = "tesla,fsd-csis-media";
> + reg = <0x12661000 0x44c>;
Best regards,
Krzysztof
Hi Krzysztof,
Thanks for the review.
> > +title: Tesla FSD SoC MIPI CSI-2 video capture interface(Bridge device).
>
> Drop final full stop. Also missing space before (
Will take care in next patchset.
>
>
> > +
> > +maintainers:
> > + - Inbaraj E <inbaraj.e@samsung.com>
> > +
> > +description:
> > + The Tesla FSD CSIS has an internal video capture interface to
> > +capture
> > +
> > +examples:
> > + - |
> > + #include <dt-bindings/clock/fsd-clk.h>
> > + #include <dt-bindings/interrupt-controller/arm-gic.h>
> > +
> > + csis0: csis@12641000 {
>
> Incorrect unit address.
Thanks for pointing out.
Unit address is correct. Address in reg is wrong here I'll fix in next patchset.
>
> > + compatible = "tesla,fsd-csis-media";
> > + reg = <0x12661000 0x44c>;
>
>
Regards,
Inbaraj E
On 17/09/2025 21:13, Inbaraj E wrote:
>>> +examples:
>>> + - |
>>> + #include <dt-bindings/clock/fsd-clk.h>
>>> + #include <dt-bindings/interrupt-controller/arm-gic.h>
>>> +
>>> + csis0: csis@12641000 {
>>
>> Incorrect unit address.
>
> Thanks for pointing out.
> Unit address is correct. Address in reg is wrong here I'll fix in next patchset.
That's even worse, because it means the corresponding DTS was never tested.
Best regards,
Krzysztof
© 2016 - 2026 Red Hat, Inc.