Input: pm8941-pwrkey - add support for PON GEN3 base addresses
authorAnjelique Melendez <quic_amelende@quicinc.com>
Mon, 25 Apr 2022 01:19:29 +0000 (18:19 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 25 Apr 2022 01:25:12 +0000 (18:25 -0700)
commit8ac8904bf9c7da69456731b890dd4e5839e2341a
treeeb011550205b11b9642ab72a04c10a8f2b9b3076
parent2e7cfec0edd41e44d7506beead7591fa668ff824
Input: pm8941-pwrkey - add support for PON GEN3 base addresses

Currently, PON address is read from the "reg" property. For PON GEN3,
which starts with PMK8350, the "reg" property will have both the PON
HLOS and PON PBS addesses defined. Add support so that all PON
generations can be configured.

Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
Link: https://lore.kernel.org/r/20220422191239.6271-4-quic_amelende@quicinc.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/pm8941-pwrkey.c