Input: silead_gsl1680 - document firmware-name, fix implementation
authorHans de Goede <hdegoede@redhat.com>
Thu, 8 Sep 2016 02:25:37 +0000 (19:25 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 10 Sep 2016 17:49:12 +0000 (10:49 -0700)
commit43ba588346455dcc984dc98a49af1c2eb1e9aa75
treeaefde270d98b14e8270a0a85492a3e6f9c19c112
parente3a888a4bff0bef0b256d55c58bc32c99fb44ece
Input: silead_gsl1680 - document firmware-name, fix implementation

The driver has supported touchscreen-fw-name to specify the firmware to
load since it has been merged, but this was omitted from the dt-binding
documentation.

During review of adding touchscreen-fw-name to the binding documentation
it was brought up that there is a standard property name called
"firmware-name" for this, which should be used.

Since there are no users of touchscreen-fw-name yet, this commit
adds documentation of "firmware-name" to the dt-binding documentation
and switches the driver over to use this.

This commit also makes the driver add a "silead/" prefix to the
firmware name from dt before calling request_firmware. That the
firmware files are stored under /lib/firmware/silead under Linux
is an implementation detail and does not belong in devicetree.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/silead_gsl1680.txt
drivers/input/touchscreen/silead.c