Re: [PATCH v5 3/4] Input: cyttsp - switch to using device properties

From: Rob Herring
Date: Fri Jan 22 2016 - 17:37:31 EST


On Thu, Jan 21, 2016 at 11:21:31PM +0100, Oreste Salerno wrote:
> Drop support for platform data passed via a C-structure and switch to
> device properties instead, which should make the driver compatible
> with all platforms: OF, ACPI and static boards. Static boards should
> use property sets to communicate device parameters to the driver.
>
> Signed-off-by: Oreste Salerno <oreste.salerno@xxxxxxxxxx>
> ---
> .../bindings/input/touchscreen/cyttsp.txt | 95 ++++++++++++++

Acked-by: Rob Herring <robh@xxxxxxxxxx>

> drivers/input/touchscreen/cyttsp_core.c | 136 ++++++++++++++-------
> drivers/input/touchscreen/cyttsp_core.h | 9 +-
> include/linux/input/cyttsp.h | 15 ---
> 4 files changed, 197 insertions(+), 58 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/input/touchscreen/cyttsp.txt