Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/ilitek,ili9881c.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Ilitek ILI9881c based MIPI-DSI panels
0008 
0009 maintainers:
0010   - Maxime Ripard <mripard@kernel.org>
0011 
0012 allOf:
0013   - $ref: panel-common.yaml#
0014 
0015 properties:
0016   compatible:
0017     items:
0018       - enum:
0019           - bananapi,lhr050h41
0020           - feixin,k101-im2byl02
0021           - wanchanglong,w552946aba
0022       - const: ilitek,ili9881c
0023 
0024   backlight: true
0025   power-supply: true
0026   reg: true
0027   reset-gpios: true
0028   rotation: true
0029 
0030 required:
0031   - compatible
0032   - power-supply
0033   - reg
0034 
0035 additionalProperties: false
0036 
0037 examples:
0038   - |
0039     #include <dt-bindings/gpio/gpio.h>
0040 
0041     dsi {
0042         #address-cells = <1>;
0043         #size-cells = <0>;
0044 
0045         panel@0 {
0046             compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
0047             reg = <0>;
0048             power-supply = <&reg_display>;
0049             reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
0050             backlight = <&pwm_bl>;
0051         };
0052     };
0053 
0054 ...