Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 507b72b2 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Jyri Sarha
Browse files

drm/tilcdc: add a da850-specific compatible string



Due to some potential tweaks for the da850 LCDC (for example: the
required memory bandwith settings) we need a separate compatible
for the IP present on the da850 boards.

Suggested-by: default avatarSekhar Nori <nsekhar@ti.com>
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
parent cb42e20e
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
Device-Tree bindings for tilcdc DRM driver
Device-Tree bindings for tilcdc DRM driver


Required properties:
Required properties:
 - compatible: value should be "ti,am33xx-tilcdc".
 - compatible: value should be one of the following:
    - "ti,am33xx-tilcdc" for AM335x based boards
    - "ti,da850-tilcdc" for DA850/AM18x/OMAP-L138 based boards
 - interrupts: the interrupt number
 - interrupts: the interrupt number
 - reg: base address and size of the LCDC device
 - reg: base address and size of the LCDC device


@@ -51,7 +53,7 @@ Optional nodes:
Example:
Example:


	fb: fb@4830e000 {
	fb: fb@4830e000 {
		compatible = "ti,am33xx-tilcdc";
		compatible = "ti,am33xx-tilcdc", "ti,da850-tilcdc";
		reg = <0x4830e000 0x1000>;
		reg = <0x4830e000 0x1000>;
		interrupt-parent = <&intc>;
		interrupt-parent = <&intc>;
		interrupts = <36>;
		interrupts = <36>;
+1 −0
Original line number Original line Diff line number Diff line
@@ -719,6 +719,7 @@ static int tilcdc_pdev_remove(struct platform_device *pdev)


static struct of_device_id tilcdc_of_match[] = {
static struct of_device_id tilcdc_of_match[] = {
		{ .compatible = "ti,am33xx-tilcdc", },
		{ .compatible = "ti,am33xx-tilcdc", },
		{ .compatible = "ti,da850-tilcdc", },
		{ },
		{ },
};
};
MODULE_DEVICE_TABLE(of, tilcdc_of_match);
MODULE_DEVICE_TABLE(of, tilcdc_of_match);