mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 17:10:13 +00:00
Generally at most 1 blank line is the standard style for DT schema files. Remove the few cases with more than 1 so that the yamllint check for this can be enabled. Acked-by: Lee Jones <lee@kernel.org> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> # remoteproc Acked-by: Georgi Djakov <djakov@kernel.org> Acked-by: Vinod Koul <vkoul@kernel.org> Acked-by: Andi Shyti <andi.shyti@kernel.org> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Acked-by: Jonathan Cameron <jonathan.cameron@huawei.com> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Uwe Kleine-König <ukleinek@kernel.org> # for allwinner,sun4i-a10-pwm.yaml Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> # mtd Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> Acked-by: Manivannan Sadhasivam <mani@kernel.org> # For PCI controller bindings Link: https://patch.msgid.link/20251023143957.2899600-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
69 lines
1.5 KiB
YAML
69 lines
1.5 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/ilitek,ili9486.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Ilitek ILI9486 display panels
|
|
|
|
maintainers:
|
|
- Kamlesh Gurudasani <kamlesh.gurudasani@gmail.com>
|
|
|
|
description:
|
|
This binding is for display panels using an Ilitek ILI9486 controller in SPI
|
|
mode.
|
|
|
|
allOf:
|
|
- $ref: panel/panel-common.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- enum:
|
|
# Waveshare 3.5" 320x480 Color TFT LCD
|
|
- waveshare,rpi-lcd-35
|
|
# Ozzmaker 3.5" 320x480 Color TFT LCD
|
|
- ozzmaker,piscreen
|
|
- const: ilitek,ili9486
|
|
|
|
spi-max-frequency:
|
|
maximum: 32000000
|
|
|
|
dc-gpios:
|
|
maxItems: 1
|
|
description: Display data/command selection (D/CX)
|
|
|
|
backlight: true
|
|
reg: true
|
|
reset-gpios: true
|
|
rotation: true
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- dc-gpios
|
|
- reset-gpios
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
spi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
display@0{
|
|
compatible = "waveshare,rpi-lcd-35", "ilitek,ili9486";
|
|
reg = <0>;
|
|
spi-max-frequency = <32000000>;
|
|
dc-gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
|
|
reset-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
|
|
rotation = <180>;
|
|
backlight = <&backlight>;
|
|
};
|
|
};
|
|
|
|
...
|