Path: blob/main/sys/contrib/device-tree/Bindings/display/atmel/hlcdc-dc.txt
48406 views
Device-Tree bindings for Atmel's HLCDC (High LCD Controller) DRM driver12The Atmel HLCDC Display Controller is subdevice of the HLCDC MFD device.3See ../../mfd/atmel-hlcdc.txt for more details.45Required properties:6- compatible: value should be "atmel,hlcdc-display-controller"7- pinctrl-names: the pin control state names. Should contain "default".8- pinctrl-0: should contain the default pinctrl states.9- #address-cells: should be set to 1.10- #size-cells: should be set to 0.1112Required children nodes:13Children nodes are encoding available output ports and their connections14to external devices using the OF graph representation (see ../graph.txt).15At least one port node is required.1617Optional properties in grandchild nodes:18Any endpoint grandchild node may specify a desired video interface19according to ../../media/video-interfaces.txt, specifically20- bus-width: recognized values are <12>, <16>, <18> and <24>, and21override any output mode selection heuristic, forcing "rgb444",22"rgb565", "rgb666" and "rgb888" respectively.2324Example:2526hlcdc: hlcdc@f0030000 {27compatible = "atmel,sama5d3-hlcdc";28reg = <0xf0030000 0x2000>;29interrupts = <36 IRQ_TYPE_LEVEL_HIGH 0>;30clocks = <&lcdc_clk>, <&lcdck>, <&clk32k>;31clock-names = "periph_clk","sys_clk", "slow_clk";3233hlcdc-display-controller {34compatible = "atmel,hlcdc-display-controller";35pinctrl-names = "default";36pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb888>;37#address-cells = <1>;38#size-cells = <0>;3940port@0 {41#address-cells = <1>;42#size-cells = <0>;43reg = <0>;4445hlcdc_panel_output: endpoint@0 {46reg = <0>;47remote-endpoint = <&panel_input>;48};49};50};5152hlcdc_pwm: hlcdc-pwm {53compatible = "atmel,hlcdc-pwm";54pinctrl-names = "default";55pinctrl-0 = <&pinctrl_lcd_pwm>;56#pwm-cells = <3>;57};58};5960Example 2: With a video interface override to force rgb565; as above61but with these changes/additions:6263&hlcdc {64hlcdc-display-controller {65pinctrl-names = "default";66pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb565>;6768port@0 {69hlcdc_panel_output: endpoint@0 {70bus-width = <16>;71};72};73};74};757677