mirror of
https://github.com/torvalds/linux.git
synced 2026-04-28 11:32:28 -04:00
Update the panel example in this DT schema to match requirements in binding
display/panel/ilitek,ili9881c.yaml . This fixes the following schema check
warnings:
"
/tmp/dtx/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.example.dtb: panel@0 (raspberrypi,dsi-7inch): compatible: ['raspberrypi,dsi-7inch'] is too short
from schema $id: http://devicetree.org/schemas/display/panel/ilitek,ili9881c.yaml
/tmp/dtx/Documentation/devicetree/bindings/display/bridge/renesas,dsi-csi2-tx.example.dtb: panel@0 (raspberrypi,dsi-7inch): 'power-supply' is a required property
from schema $id: http://devicetree.org/schemas/display/panel/ilitek,ili9881c.yaml
"
Fixes: c376a69437 ("dt-bindings: display: bridge: renesas,dsi-csi2-tx: Allow panel@ subnode")
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20251029200519.214548-1-marek.vasut+renesas@mailbox.org
171 lines
4.0 KiB
YAML
171 lines
4.0 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/bridge/renesas,dsi-csi2-tx.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Renesas R-Car MIPI DSI/CSI-2 Encoder
|
|
|
|
maintainers:
|
|
- Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
|
|
|
|
description: |
|
|
This binding describes the MIPI DSI/CSI-2 encoder embedded in the Renesas
|
|
R-Car Gen4 SoCs. The encoder can operate in either DSI or CSI-2 mode, with up
|
|
to four data lanes.
|
|
|
|
allOf:
|
|
- $ref: /schemas/display/dsi-controller.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- renesas,r8a779a0-dsi-csi2-tx # for V3U
|
|
- renesas,r8a779g0-dsi-csi2-tx # for V4H
|
|
- renesas,r8a779h0-dsi-csi2-tx # for V4M
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
items:
|
|
- description: Functional clock
|
|
- description: DSI (and CSI-2) functional clock
|
|
- description: PLL reference clock
|
|
|
|
clock-names:
|
|
items:
|
|
- const: fck
|
|
- const: dsi
|
|
- const: pll
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
resets:
|
|
maxItems: 1
|
|
|
|
ports:
|
|
$ref: /schemas/graph.yaml#/properties/ports
|
|
|
|
properties:
|
|
port@0:
|
|
$ref: /schemas/graph.yaml#/properties/port
|
|
description: Parallel input port
|
|
|
|
port@1:
|
|
$ref: /schemas/graph.yaml#/$defs/port-base
|
|
unevaluatedProperties: false
|
|
description: DSI/CSI-2 output port
|
|
|
|
properties:
|
|
endpoint:
|
|
$ref: /schemas/media/video-interfaces.yaml#
|
|
unevaluatedProperties: false
|
|
|
|
properties:
|
|
data-lanes:
|
|
minItems: 1
|
|
maxItems: 4
|
|
|
|
required:
|
|
- data-lanes
|
|
|
|
required:
|
|
- port@0
|
|
- port@1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- power-domains
|
|
- resets
|
|
- ports
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/r8a779a0-cpg-mssr.h>
|
|
#include <dt-bindings/power/r8a779a0-sysc.h>
|
|
|
|
dsi@fed80000 {
|
|
compatible = "renesas,r8a779a0-dsi-csi2-tx";
|
|
reg = <0xfed80000 0x10000>;
|
|
power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
|
|
clocks = <&cpg CPG_MOD 415>,
|
|
<&cpg CPG_CORE R8A779A0_CLK_DSI>,
|
|
<&cpg CPG_CORE R8A779A0_CLK_CP>;
|
|
clock-names = "fck", "dsi", "pll";
|
|
resets = <&cpg 415>;
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@0 {
|
|
reg = <0>;
|
|
dsi0_in: endpoint {
|
|
remote-endpoint = <&du_out_dsi0>;
|
|
};
|
|
};
|
|
|
|
port@1 {
|
|
reg = <1>;
|
|
dsi0_out: endpoint {
|
|
data-lanes = <1 2>;
|
|
remote-endpoint = <&sn65dsi86_in>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
- |
|
|
#include <dt-bindings/clock/r8a779g0-cpg-mssr.h>
|
|
#include <dt-bindings/power/r8a779g0-sysc.h>
|
|
|
|
dsi@fed80000 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "renesas,r8a779g0-dsi-csi2-tx";
|
|
reg = <0xfed80000 0x10000>;
|
|
clocks = <&cpg CPG_MOD 415>,
|
|
<&cpg CPG_CORE R8A779G0_CLK_DSIEXT>,
|
|
<&cpg CPG_CORE R8A779G0_CLK_DSIREF>;
|
|
clock-names = "fck", "dsi", "pll";
|
|
power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
|
|
resets = <&cpg 415>;
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@0 {
|
|
reg = <0>;
|
|
};
|
|
|
|
port@1 {
|
|
reg = <1>;
|
|
|
|
dsi0port1_out: endpoint {
|
|
remote-endpoint = <&panel_in>;
|
|
data-lanes = <1 2>;
|
|
};
|
|
};
|
|
};
|
|
|
|
panel@0 {
|
|
reg = <0>;
|
|
compatible = "raspberrypi,dsi-7inch", "ilitek,ili9881c";
|
|
power-supply = <&vcc_lcd_reg>;
|
|
|
|
port {
|
|
panel_in: endpoint {
|
|
remote-endpoint = <&dsi0port1_out>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
...
|