diff options
author | Vinod Koul <vkoul@kernel.org> | 2018-07-30 22:57:33 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2018-07-30 23:11:16 -0700 |
commit | 2049a9e56a01ddedc2528ea42284e60d0e448cce (patch) | |
tree | 0231a630e6c4dd9d1175b7745be6a1ca25805ba9 /Documentation/vm/transhuge.txt | |
parent | 0b64fa0a0ee31501d546c775a88922f3cf51fef3 (diff) | |
download | blackbird-obmc-linux-2049a9e56a01ddedc2528ea42284e60d0e448cce.tar.gz blackbird-obmc-linux-2049a9e56a01ddedc2528ea42284e60d0e448cce.zip |
Input: pm8941-pwrkey - abstract register offsets and event code
In order to support resin thru the pwrkey driver (they are very
similar in nature) we need to abstract the handling in this driver.
First we abstract pull_up_bit and status_bit along in driver data.
The event code sent for key events is quiried from DT.
Since the device can be child of pon lookup regmap and reg from
parent if lookup fails (we are child).
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/vm/transhuge.txt')
0 files changed, 0 insertions, 0 deletions