~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mfd/atmel,hlcdc.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/mfd/atmel,hlcdc.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Atmel's HLCD Controller
  8 
  9 maintainers:
 10   - Nicolas Ferre <nicolas.ferre@microchip.com>
 11   - Alexandre Belloni <alexandre.belloni@bootlin.com>
 12   - Claudiu Beznea <claudiu.beznea@tuxon.dev>
 13 
 14 description:
 15   The Atmel HLCDC (HLCD Controller) IP available on Atmel SoCs exposes two
 16   subdevices, a PWM chip and a Display Controller.
 17 
 18 properties:
 19   compatible:
 20     enum:
 21       - atmel,at91sam9n12-hlcdc
 22       - atmel,at91sam9x5-hlcdc
 23       - atmel,sama5d2-hlcdc
 24       - atmel,sama5d3-hlcdc
 25       - atmel,sama5d4-hlcdc
 26       - microchip,sam9x60-hlcdc
 27       - microchip,sam9x75-xlcdc
 28 
 29   reg:
 30     maxItems: 1
 31 
 32   interrupts:
 33     maxItems: 1
 34 
 35   clocks:
 36     minItems: 3
 37 
 38   clock-names:
 39     items:
 40       - const: periph_clk
 41       - const: sys_clk
 42       - const: slow_clk
 43       - const: lvds_pll_clk
 44     minItems: 3
 45 
 46   display-controller:
 47     $ref: /schemas/display/atmel/atmel,hlcdc-display-controller.yaml
 48 
 49   pwm:
 50     $ref: /schemas/pwm/atmel,hlcdc-pwm.yaml
 51 
 52 required:
 53   - compatible
 54   - reg
 55   - clocks
 56   - clock-names
 57   - interrupts
 58 
 59 additionalProperties: false
 60 
 61 examples:
 62   - |
 63     #include <dt-bindings/clock/at91.h>
 64     #include <dt-bindings/dma/at91.h>
 65     #include <dt-bindings/interrupt-controller/arm-gic.h>
 66 
 67     lcd_controller: lcd-controller@f0030000 {
 68       compatible = "atmel,sama5d3-hlcdc";
 69       reg = <0xf0030000 0x2000>;
 70       clocks = <&lcdc_clk>, <&lcdck>, <&clk32k>;
 71       clock-names = "periph_clk", "sys_clk", "slow_clk";
 72       interrupts = <36 IRQ_TYPE_LEVEL_HIGH 0>;
 73 
 74       display-controller {
 75         compatible = "atmel,hlcdc-display-controller";
 76         pinctrl-names = "default";
 77         pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;
 78         #address-cells = <1>;
 79         #size-cells = <0>;
 80 
 81         port@0 {
 82           #address-cells = <1>;
 83           #size-cells = <0>;
 84           reg = <0>;
 85 
 86           hlcdc_panel_output: endpoint@0 {
 87             reg = <0>;
 88             remote-endpoint = <&panel_input>;
 89           };
 90         };
 91       };
 92 
 93       pwm {
 94         compatible = "atmel,hlcdc-pwm";
 95         pinctrl-names = "default";
 96         pinctrl-0 = <&pinctrl_lcd_pwm>;
 97         #pwm-cells = <3>;
 98       };
 99     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php