Microchip's LCDC Framebuffer

Schema identifier ($id): "http://devicetree.org/schemas/display/atmel,lcdc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Nicolas Ferre <nicolas.ferre@microchip.com>", "Dharma Balasubiramani <dharma.b@microchip.com>"

The LCDC works with a framebuffer, which is a section of memory that contains a complete frame of data representing pixel values for the display. The LCDC reads the pixel data from the framebuffer and sends it to the LCD panel to render the image.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "atmel,at91sam9261-lcdc", "atmel,at91sam9263-lcdc", "atmel,at91sam9g10-lcdc", "atmel,at91sam9g45-lcdc", "atmel,at91sam9g45es-lcdc", "atmel,at91sam9rl-lcdc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "hclk"

Item 2

Exact value (const): "lcdc_clk"

display — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

A phandle pointing to the display node.

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "display"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/at91.h>
#include <dt-bindings/interrupt-controller/irq.h>
fb@500000 {
  compatible = "atmel,at91sam9g45-lcdc";
  reg = <0x00500000 0x1000>;
  interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
  pinctrl-names = "default";
  pinctrl-0 = <&pinctrl_fb>;
  clocks = <&pmc PMC_TYPE_PERIPHERAL 23>, <&pmc PMC_TYPE_PERIPHERAL 23>;
  clock-names = "hclk", "lcdc_clk";
  display = <&display>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page