Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jyri Sarha <jsarha@ti.com>

authored by

Bartosz Golaszewski and committed by
Jyri Sarha
507b72b2 cb42e20e

+5 -2
+4 -2
Documentation/devicetree/bindings/display/tilcdc/tilcdc.txt
··· 1 1 Device-Tree bindings for tilcdc DRM driver 2 2 3 3 Required properties: 4 - - compatible: value should be "ti,am33xx-tilcdc". 4 + - compatible: value should be one of the following: 5 + - "ti,am33xx-tilcdc" for AM335x based boards 6 + - "ti,da850-tilcdc" for DA850/AM18x/OMAP-L138 based boards 5 7 - interrupts: the interrupt number 6 8 - reg: base address and size of the LCDC device 7 9 ··· 53 51 Example: 54 52 55 53 fb: fb@4830e000 { 56 - compatible = "ti,am33xx-tilcdc"; 54 + compatible = "ti,am33xx-tilcdc", "ti,da850-tilcdc"; 57 55 reg = <0x4830e000 0x1000>; 58 56 interrupt-parent = <&intc>; 59 57 interrupts = <36>;
+1
drivers/gpu/drm/tilcdc/tilcdc_drv.c
··· 719 719 720 720 static struct of_device_id tilcdc_of_match[] = { 721 721 { .compatible = "ti,am33xx-tilcdc", }, 722 + { .compatible = "ti,da850-tilcdc", }, 722 723 { }, 723 724 }; 724 725 MODULE_DEVICE_TABLE(of, tilcdc_of_match);