Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/ingenic,ipu.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Ingenic SoCs Image Processing Unit (IPU) devicetree bindings
0008 
0009 maintainers:
0010   - Paul Cercueil <paul@crapouillou.net>
0011 
0012 properties:
0013   compatible:
0014     oneOf:
0015       - enum:
0016           - ingenic,jz4725b-ipu
0017           - ingenic,jz4760-ipu
0018       - items:
0019           - const: ingenic,jz4770-ipu
0020           - const: ingenic,jz4760-ipu
0021 
0022   reg:
0023     maxItems: 1
0024 
0025   interrupts:
0026     maxItems: 1
0027 
0028   clocks:
0029     maxItems: 1
0030 
0031   clock-names:
0032     const: ipu
0033 
0034   port:
0035     $ref: /schemas/graph.yaml#/properties/port
0036 
0037 required:
0038   - compatible
0039   - reg
0040   - interrupts
0041   - clocks
0042   - clock-names
0043 
0044 additionalProperties: false
0045 
0046 examples:
0047   - |
0048     #include <dt-bindings/clock/ingenic,jz4770-cgu.h>
0049     ipu@13080000 {
0050       compatible = "ingenic,jz4770-ipu", "ingenic,jz4760-ipu";
0051       reg = <0x13080000 0x800>;
0052 
0053       interrupt-parent = <&intc>;
0054       interrupts = <29>;
0055 
0056       clocks = <&cgu JZ4770_CLK_IPU>;
0057       clock-names = "ipu";
0058 
0059       port {
0060         ipu_ep: endpoint {
0061           remote-endpoint = <&lcdc_ep>;
0062         };
0063       };
0064     };