]> asedeno.scripts.mit.edu Git - linux.git/commit
Input: da9062 - update bindings docs to account for da9061
authorSteve Twiss <stwiss.opensource@diasemi.com>
Wed, 9 Nov 2016 00:15:31 +0000 (16:15 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 9 Nov 2016 00:23:50 +0000 (16:23 -0800)
commit406d5a2de0718622241eff35831f6fed0316a7d4
tree1effccce101d00920038a36500ba93bf9888493f
parentc3fc60893d2d3ef55844c26770d080eceff68fd5
Input: da9062 - update bindings docs to account for da9061

Add binding information for DA9061 onkey.

This patch updates the compatible string "dlg,da9061-onkey" to support
DA9061, removes the reference to KEY_SLEEP (which the driver no longer
supports) and fixes a typo in the example for DA9063.

Supporting KEY_SLEEP was not the general convention and the typical
solution should have been for KEY_POWER to support both cases of suspend
and S/W power off. This change was sent to the DA9063 ONKEY device
driver in a separate patch, but the documentation was not updated at
that time.
f889bea Report KEY_POWER instead of KEY_SLEEP during power key-press

This patch also adds two new examples, one for DA9062 and one for DA9061.
The DA9061 examples uses a fall-back compatible string for the DA9062
onkey driver.

Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/da9062-onkey.txt