mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00

Some DSI controllers are missing a reference to the recently added dsi-controller.yaml schema. Add it and we can drop the duplicate parts. Cc: Chen-Yu Tsai <wens@csie.org> Cc: Eric Anholt <eric@anholt.net> Cc: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Cc: Florian Fainelli <f.fainelli@gmail.com> Cc: Ray Jui <rjui@broadcom.com> Cc: Scott Branden <sbranden@broadcom.com> Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com> Cc: Alexandre Torgue <alexandre.torgue@st.com> Cc: Robert Chiras <robert.chiras@nxp.com> Cc: Philippe Cornu <philippe.cornu@st.com> Cc: Yannick Fertre <yannick.fertre@st.com> Reviewed-by: Guido Günther <agx@sigxcpu.org> Acked-by: Maxime Ripard <mripard@kernel.org> Link: https://lore.kernel.org/r/20201002225924.3513700-1-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
87 lines
1.8 KiB
YAML
87 lines
1.8 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/brcm,bcm2835-dsi0.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Broadcom VC4 (VideoCore4) DSI Controller
|
|
|
|
maintainers:
|
|
- Eric Anholt <eric@anholt.net>
|
|
|
|
allOf:
|
|
- $ref: dsi-controller.yaml#
|
|
|
|
properties:
|
|
"#clock-cells":
|
|
const: 1
|
|
|
|
compatible:
|
|
enum:
|
|
- brcm,bcm2835-dsi0
|
|
- brcm,bcm2835-dsi1
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
items:
|
|
- description: The DSI PLL clock feeding the DSI analog PHY
|
|
- description: The DSI ESC clock
|
|
- description: The DSI pixel clock
|
|
|
|
clock-names:
|
|
items:
|
|
- const: phy
|
|
- const: escape
|
|
- const: pixel
|
|
|
|
clock-output-names: true
|
|
# FIXME: The meta-schemas don't seem to allow it for now
|
|
# items:
|
|
# - description: The DSI byte clock for the PHY
|
|
# - description: The DSI DDR2 clock
|
|
# - description: The DSI DDR clock
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- "#clock-cells"
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- clock-names
|
|
- clock-output-names
|
|
- interrupts
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/bcm2835.h>
|
|
|
|
dsi1: dsi@7e700000 {
|
|
compatible = "brcm,bcm2835-dsi1";
|
|
reg = <0x7e700000 0x8c>;
|
|
interrupts = <2 12>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
#clock-cells = <1>;
|
|
|
|
clocks = <&clocks BCM2835_PLLD_DSI1>,
|
|
<&clocks BCM2835_CLOCK_DSI1E>,
|
|
<&clocks BCM2835_CLOCK_DSI1P>;
|
|
clock-names = "phy", "escape", "pixel";
|
|
|
|
clock-output-names = "dsi1_byte", "dsi1_ddr2", "dsi1_ddr";
|
|
|
|
pitouchscreen: panel@0 {
|
|
compatible = "raspberrypi,touchscreen";
|
|
reg = <0>;
|
|
|
|
/* ... */
|
|
};
|
|
};
|
|
|
|
...
|