Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/auxdisplay/img,ascii-lcd.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: ASCII LCD displays on Imagination Technologies boards
0008 
0009 maintainers:
0010   - Paul Burton <paulburton@kernel.org>
0011 
0012 properties:
0013   compatible:
0014     enum:
0015       - img,boston-lcd
0016       - mti,malta-lcd
0017       - mti,sead3-lcd
0018 
0019   reg:
0020     maxItems: 1
0021 
0022   offset:
0023     $ref: /schemas/types.yaml#/definitions/uint32
0024     description:
0025       Offset in bytes to the LCD registers within the system controller
0026 
0027 required:
0028   - compatible
0029 
0030 oneOf:
0031   - required:
0032       - reg
0033   - required:
0034       - offset
0035 
0036 if:
0037   properties:
0038     compatible:
0039       contains:
0040         const: img,boston-lcd
0041 then:
0042   required:
0043     - reg
0044 else:
0045   required:
0046     - offset
0047 
0048 additionalProperties: false
0049 
0050 examples:
0051   - |
0052     lcd: lcd@17fff000 {
0053             compatible = "img,boston-lcd";
0054             reg = <0x17fff000 0x8>;
0055     };