Path: blob/master/Documentation/devicetree/bindings/display/himax,hx8357.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/display/himax,hx8357.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Himax HX8357D display panel78description:9Display panels using a Himax HX8357D controller in SPI10mode, such as the Adafruit 3.5" TFT for Raspberry Pi.1112maintainers:13- Frank Li <Frank.Li@nxp.com>1415properties:16compatible:17oneOf:18- items:19- enum:20- adafruit,yx350hv1521- himax,hx8357b22- const: himax,hx835723- items:24- enum:25- himax,hx8369a26- const: himax,hx83692728reg:29maxItems: 13031dc-gpios:32maxItems: 133description: D/C pin3435rotation:36enum: [0, 90, 180, 270]3738backlight:39description:40phandle of the backlight device attached to the panel4142im-gpios:43maxItems: 34445reset-gpios:46maxItems: 14748spi-cpha: true4950spi-cpol: true5152required:53- compatible54- reg5556allOf:57- $ref: /schemas/spi/spi-peripheral-props.yaml#5859unevaluatedProperties: false6061examples:62- |63#include <dt-bindings/gpio/gpio.h>6465spi {66#address-cells = <1>;67#size-cells = <0>;6869display@0 {70compatible = "adafruit,yx350hv15", "himax,hx8357";71reg = <0>;72spi-max-frequency = <32000000>;73dc-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;74rotation = <90>;75backlight = <&backlight>;76};77};787980