提交 34604086 编写于 作者: R Roland Stigge 提交者: Dmitry Torokhov

Input: lpc32xx_ts - fix device tree compatible string

During the device tree integration of the various LPC32xx drivers,
we agreed on using non-wildcard "compatible" strings. This change
switches lpc32xx_ts touchscreen driver to use "nxp,lpc3220-tsc".
Signed-off-by: NRoland Stigge <stigge@antcom.de>
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 f57fe78e
* NXP LPC32xx SoC Touchscreen Controller (TSC) * NXP LPC32xx SoC Touchscreen Controller (TSC)
Required properties: Required properties:
- compatible: must be "nxp,lpc32xx-tsc" - compatible: must be "nxp,lpc3220-tsc"
- reg: physical base address of the controller and length of memory mapped - reg: physical base address of the controller and length of memory mapped
region. region.
- interrupts: The TSC/ADC interrupt - interrupts: The TSC/ADC interrupt
...@@ -9,7 +9,7 @@ Required properties: ...@@ -9,7 +9,7 @@ Required properties:
Example: Example:
tsc@40048000 { tsc@40048000 {
compatible = "nxp,lpc32xx-tsc"; compatible = "nxp,lpc3220-tsc";
reg = <0x40048000 0x1000>; reg = <0x40048000 0x1000>;
interrupt-parent = <&mic>; interrupt-parent = <&mic>;
interrupts = <39 0>; interrupts = <39 0>;
......
...@@ -386,7 +386,7 @@ static const struct dev_pm_ops lpc32xx_ts_pm_ops = { ...@@ -386,7 +386,7 @@ static const struct dev_pm_ops lpc32xx_ts_pm_ops = {
#ifdef CONFIG_OF #ifdef CONFIG_OF
static struct of_device_id lpc32xx_tsc_of_match[] = { static struct of_device_id lpc32xx_tsc_of_match[] = {
{ .compatible = "nxp,lpc32xx-tsc", }, { .compatible = "nxp,lpc3220-tsc", },
{ }, { },
}; };
MODULE_DEVICE_TABLE(of, lpc32xx_tsc_of_match); MODULE_DEVICE_TABLE(of, lpc32xx_tsc_of_match);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册