Skip to content

Commit

Permalink
Input: lpc32xx_ts - fix device tree compatible string
Browse files Browse the repository at this point in the history
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: Roland Stigge <stigge@antcom.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Roland Stigge authored and Dmitry Torokhov committed Apr 24, 2012
1 parent f57fe78 commit 3460408
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
* NXP LPC32xx SoC Touchscreen Controller (TSC)

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
region.
- interrupts: The TSC/ADC interrupt

Example:

tsc@40048000 {
compatible = "nxp,lpc32xx-tsc";
compatible = "nxp,lpc3220-tsc";
reg = <0x40048000 0x1000>;
interrupt-parent = <&mic>;
interrupts = <39 0>;
Expand Down
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/lpc32xx_ts.c
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ static const struct dev_pm_ops lpc32xx_ts_pm_ops = {

#ifdef CONFIG_OF
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);
Expand Down

0 comments on commit 3460408

Please sign in to comment.