Documentation / devicetree / bindings / display / himax,hx8357.yaml


Based on kernel version 6.17. Page generated on 2025-10-03 10:04 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/himax,hx8357.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Himax HX8357D display panel

description:
  Display panels using a Himax HX8357D controller in SPI
  mode, such as the Adafruit 3.5" TFT for Raspberry Pi.
 
maintainers:
  - Frank Li <Frank.Li@nxp.com>
 
properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - adafruit,yx350hv15
              - himax,hx8357b
          - const: himax,hx8357
      - items:
          - enum:
              - himax,hx8369a
          - const: himax,hx8369
 
  reg:
    maxItems: 1
 
  dc-gpios:
    maxItems: 1
    description: D/C pin
 
  rotation:
    enum: [0, 90, 180, 270]
 
  backlight:
    description:
      phandle of the backlight device attached to the panel
 
  im-gpios:
    maxItems: 3
 
  reset-gpios:
    maxItems: 1
 
  spi-cpha: true
 
  spi-cpol: true
 
required:
  - compatible
  - reg
 
allOf:
  - $ref: /schemas/spi/spi-peripheral-props.yaml#
 
unevaluatedProperties: false
 
examples:
  - |
    #include <dt-bindings/gpio/gpio.h>
 
    spi {
        #address-cells = <1>;
        #size-cells = <0>;
 
        display@0 {
            compatible = "adafruit,yx350hv15", "himax,hx8357";
            reg = <0>;
            spi-max-frequency = <32000000>;
            dc-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
            rotation = <90>;
            backlight = <&backlight>;
       };
    };