Path: blob/master/Documentation/devicetree/bindings/display/atmel,lcdc.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/display/atmel,lcdc.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Microchip's LCDC Framebuffer78maintainers:9- Nicolas Ferre <nicolas.ferre@microchip.com>10- Dharma Balasubiramani <dharma.b@microchip.com>1112description:13The LCDC works with a framebuffer, which is a section of memory that contains14a complete frame of data representing pixel values for the display. The LCDC15reads the pixel data from the framebuffer and sends it to the LCD panel to16render the image.1718properties:19compatible:20enum:21- atmel,at91sam9261-lcdc22- atmel,at91sam9263-lcdc23- atmel,at91sam9g10-lcdc24- atmel,at91sam9g45-lcdc25- atmel,at91sam9g45es-lcdc26- atmel,at91sam9rl-lcdc2728reg:29maxItems: 13031interrupts:32maxItems: 13334clocks:35maxItems: 23637clock-names:38items:39- const: hclk40- const: lcdc_clk4142display:43$ref: /schemas/types.yaml#/definitions/phandle44description: A phandle pointing to the display node.4546required:47- compatible48- reg49- interrupts50- clocks51- clock-names52- display5354additionalProperties: false5556examples:57- |58#include <dt-bindings/clock/at91.h>59#include <dt-bindings/interrupt-controller/irq.h>60fb@500000 {61compatible = "atmel,at91sam9g45-lcdc";62reg = <0x00500000 0x1000>;63interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;64pinctrl-names = "default";65pinctrl-0 = <&pinctrl_fb>;66clocks = <&pmc PMC_TYPE_PERIPHERAL 23>, <&pmc PMC_TYPE_PERIPHERAL 23>;67clock-names = "hclk", "lcdc_clk";68display = <&display>;69};707172