69 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/display/panel/sharp,ls037v7dw01.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: SHARP LS037V7DW01 TFT-LCD panel8 9description: |10 This panel can have zero to five GPIOs to configure to change configuration11 between QVGA and VGA mode and the scan direction. As these pins can be also12 configured with external pulls, all the GPIOs are considered optional with holes13 in the array.14 15maintainers:16 - Tony Lindgren <tony@atomide.com>17 18allOf:19 - $ref: panel-common.yaml#20 21properties:22 compatible:23 const: sharp,ls037v7dw0124 25 label: true26 enable-gpios: true27 reset-gpios: true28 port: true29 power-supply: true30 31 mode-gpios:32 minItems: 133 maxItems: 334 description: |35 GPIO ordered MO, LR, and UD as specified in LS037V7DW01.pdf36 This panel can have zero to three GPIOs to configure to37 change configuration between QVGA and VGA mode and the38 scan direction. As these pins can be also configured39 with external pulls, all the GPIOs are considered40 optional with holes in the array.41 42required:43 - compatible44 - port45 46additionalProperties: false47 48examples:49 - |50 #include <dt-bindings/gpio/gpio.h>51 52 lcd0: display {53 compatible = "sharp,ls037v7dw01";54 power-supply = <&lcd_3v3>;55 enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>; /* gpio152, lcd INI */56 reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd RESB */57 mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH /* gpio154, lcd MO */58 &gpio1 2 GPIO_ACTIVE_HIGH /* gpio2, lcd LR */59 &gpio1 3 GPIO_ACTIVE_HIGH>; /* gpio3, lcd UD */60 61 port {62 lcd_in: endpoint {63 remote-endpoint = <&dpi_out>;64 };65 };66 };67 68...69