diff options
author | Fenglin Wu <quic_fenglinw@quicinc.com> | 2024-04-16 10:44:32 +0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-04-17 15:27:12 -0700 |
commit | 6d84ec254a2283c7a97a89b0dbdc4a6854bf395f (patch) | |
tree | d8fd38cc2d2d30b0ebcf91d974ab67293fd14ea9 /drivers/vhost | |
parent | 48c0687a322d54ac7e7a685c0b6db78d78f593af (diff) | |
download | linux-6d84ec254a2283c7a97a89b0dbdc4a6854bf395f.tar.gz linux-6d84ec254a2283c7a97a89b0dbdc4a6854bf395f.tar.bz2 linux-6d84ec254a2283c7a97a89b0dbdc4a6854bf395f.zip |
input: pm8xxx-vibrator: refactor to support new SPMI vibrator
Currently, vibrator control register addresses are hard coded,
including the base address and offsets, it's not flexible to
support new SPMI vibrator module which is usually included in
different PMICs with different base address. Refactor it by using
the base address defined in devicetree.
Signed-off-by: Fenglin Wu <quic_fenglinw@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240416-pm8xxx-vibrator-new-design-v11-1-7b1c951e1515@quicinc.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions