Re: [PATCH 3/6] Input: mc13783-pwrbutton: enable other mc13xxx PMIC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 17 Aug 2025, Alexander Kurz wrote:

> All three mc13xxx types do feature two common power buttons while mc13783
> and mc13892 provide one extra button each that differs unfortunately.
> The common buttons are ONOFD[12] (mc13783) and PWRON[12] (mc13892/mc34708).
> ONOFD3 on mc13783 will still be supported while support for PWRON3 for
> mc13892 will be left unsupported for simplicity.
> Add the similarities to the header files for reference, extend the
> platform_driver struct with the id table to support all three types.
> 
> Signed-off-by: Alexander Kurz <akurz@xxxxxxxx>
> ---
>  drivers/input/misc/Kconfig             |  4 ++--
>  drivers/input/misc/mc13783-pwrbutton.c | 21 ++++++++++++++++++---

>  include/linux/mfd/mc13783.h            |  4 ++--
>  include/linux/mfd/mc13xxx.h            |  9 +++++++++

Acked-by: Lee Jones <lee@xxxxxxxxxx>

>  4 files changed, 31 insertions(+), 7 deletions(-)

-- 
Lee Jones [李琼斯]




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux