brintos

brintos / linux-shallow public Read only

0
0
Text · 3.8 KiB · 564ea84 Raw
169 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/ste,mcde.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ST-Ericsson Multi Channel Display Engine MCDE8 9maintainers:10  - Linus Walleij <linus.walleij@linaro.org>11 12properties:13  compatible:14    const: ste,mcde15 16  reg:17    maxItems: 118 19  interrupts:20    maxItems: 121 22  clocks:23    description: an array of the MCDE clocks24    items:25      - description: MCDECLK (main MCDE clock)26      - description: LCDCLK (LCD clock)27      - description: PLLDSI (HDMI clock)28 29  clock-names:30    items:31      - const: mcde32      - const: lcd33      - const: hdmi34 35  resets:36    maxItems: 137 38  epod-supply:39    description: a phandle to the EPOD regulator40 41  vana-supply:42    description: a phandle to the analog voltage regulator43 44  port:45    $ref: /schemas/graph.yaml#/properties/port46    description:47      A DPI port node48 49  "#address-cells":50    const: 151 52  "#size-cells":53    const: 154 55  ranges: true56 57patternProperties:58  "^dsi@[0-9a-f]+$":59    description: subnodes for the three DSI host adapters60    type: object61    $ref: dsi-controller.yaml#62 63    properties:64      compatible:65        const: ste,mcde-dsi66 67      reg:68        maxItems: 169 70      vana-supply:71        description: a phandle to the analog voltage regulator72 73      clocks:74        description: phandles to the high speed and low power (energy save) clocks75          the high speed clock is not present on the third (dsi2) block, so it76          should only have the "lp" clock77        minItems: 178        maxItems: 279 80      clock-names:81        oneOf:82          - items:83              - const: hs84              - const: lp85          - items:86              - const: lp87 88    required:89      - compatible90      - reg91      - vana-supply92      - clocks93      - clock-names94 95    unevaluatedProperties: false96 97required:98  - compatible99  - reg100  - interrupts101  - clocks102  - clock-names103  - epod-supply104  - vana-supply105 106additionalProperties: false107 108examples:109  - |110    #include <dt-bindings/interrupt-controller/irq.h>111    #include <dt-bindings/interrupt-controller/arm-gic.h>112    #include <dt-bindings/mfd/dbx500-prcmu.h>113    #include <dt-bindings/gpio/gpio.h>114 115    mcde@a0350000 {116      compatible = "ste,mcde";117      reg = <0xa0350000 0x1000>;118      interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;119      epod-supply = <&db8500_b2r2_mcde_reg>;120      vana-supply = <&ab8500_ldo_ana_reg>;121      clocks = <&prcmu_clk PRCMU_MCDECLK>,122               <&prcmu_clk PRCMU_LCDCLK>,123               <&prcmu_clk PRCMU_PLLDSI>;124      clock-names = "mcde", "lcd", "hdmi";125      #address-cells = <1>;126      #size-cells = <1>;127      ranges;128 129      dsi0: dsi@a0351000 {130        compatible = "ste,mcde-dsi";131        reg = <0xa0351000 0x1000>;132        vana-supply = <&ab8500_ldo_ana_reg>;133        clocks = <&prcmu_clk PRCMU_DSI0CLK>, <&prcmu_clk PRCMU_DSI0ESCCLK>;134        clock-names = "hs", "lp";135        #address-cells = <1>;136        #size-cells = <0>;137 138        panel@0 {139          compatible = "samsung,s6d16d0";140          reg = <0>;141          vdd1-supply = <&ab8500_ldo_aux1_reg>;142          reset-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;143        };144      };145 146      dsi1: dsi@a0352000 {147        compatible = "ste,mcde-dsi";148        reg = <0xa0352000 0x1000>;149        vana-supply = <&ab8500_ldo_ana_reg>;150        clocks = <&prcmu_clk PRCMU_DSI1CLK>, <&prcmu_clk PRCMU_DSI1ESCCLK>;151        clock-names = "hs", "lp";152        #address-cells = <1>;153        #size-cells = <0>;154      };155 156      dsi2: dsi@a0353000 {157        compatible = "ste,mcde-dsi";158        reg = <0xa0353000 0x1000>;159        vana-supply = <&ab8500_ldo_ana_reg>;160        /* This DSI port only has the Low Power / Energy Save clock */161        clocks = <&prcmu_clk PRCMU_DSI2ESCCLK>;162        clock-names = "lp";163        #address-cells = <1>;164        #size-cells = <0>;165      };166    };167 168...169