linux-loongson/Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml
Krzysztof Kozlowski 6b2358ff94 dt-bindings: display: panel: constrain 'reg' in SPI panels
SPI-attached devices could have more than one chip-select, thus their
bindings are supposed to constrain the 'reg' property to match hardware.
Add missing 'reg' constrain for SPI-attached display panels.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240509-dt-bindings-dsi-panel-reg-v1-2-8b2443705be0@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2024-05-13 09:57:34 -05:00

70 lines
1.3 KiB
YAML

# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/panel/samsung,s6e63m0.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Samsung s6e63m0 AMOLED LCD panel
maintainers:
- Jonathan Bakker <xc-racer2@live.ca>
allOf:
- $ref: panel-common.yaml#
- $ref: /schemas/leds/backlight/common.yaml#
- $ref: /schemas/spi/spi-peripheral-props.yaml#
properties:
compatible:
const: samsung,s6e63m0
reg:
maxItems: 1
reset-gpios: true
port: true
default-brightness: true
max-brightness: true
spi-3wire: true
spi-cpha: true
spi-cpol: true
vdd3-supply:
description: VDD regulator
vci-supply:
description: VCI regulator
required:
- compatible
- reset-gpios
- vdd3-supply
- vci-supply
unevaluatedProperties: false
examples:
- |
spi {
#address-cells = <1>;
#size-cells = <0>;
display@0 {
compatible = "samsung,s6e63m0";
reg = <0>;
reset-gpios = <&mp05 5 1>;
vdd3-supply = <&ldo12_reg>;
vci-supply = <&ldo11_reg>;
spi-max-frequency = <1200000>;
port {
lcd_ep: endpoint {
remote-endpoint = <&fimd_ep>;
};
};
};
};
...