[PATCH 0/2] Remove SEC S5M MFDs with no compatibles

David Virag posted 2 patches 2 years, 7 months ago
drivers/mfd/sec-core.c              | 46 ---------------
drivers/mfd/sec-irq.c               | 89 ----------------------------
drivers/rtc/rtc-s5m.c               | 82 +-------------------------
include/linux/mfd/samsung/core.h    |  2 -
include/linux/mfd/samsung/irq.h     | 50 ----------------
include/linux/mfd/samsung/s5m8763.h | 90 -----------------------------
6 files changed, 3 insertions(+), 356 deletions(-)
delete mode 100644 include/linux/mfd/samsung/s5m8763.h
[PATCH 0/2] Remove SEC S5M MFDs with no compatibles
Posted by David Virag 2 years, 7 months ago
The S5M8751 and S5M8763 MFD PMICs have no compatibles, and board file
support for them was removed, resulting in essentially no way for these
chips to be used anymore (unless they get dt compatibles).
They seemingly have never been in any board files upstream and I only
found references to the SM8751 being on the SMDK6450 board (which has
been unsupported for many years now) in a downstream Samsung Galaxy S2
kernel tree.

The patches should be applied in order.

David Virag (2):
  mfd: sec: Remove PMICs without compatibles
  rtc: s5m: Drop S5M8763 support

 drivers/mfd/sec-core.c              | 46 ---------------
 drivers/mfd/sec-irq.c               | 89 ----------------------------
 drivers/rtc/rtc-s5m.c               | 82 +-------------------------
 include/linux/mfd/samsung/core.h    |  2 -
 include/linux/mfd/samsung/irq.h     | 50 ----------------
 include/linux/mfd/samsung/s5m8763.h | 90 -----------------------------
 6 files changed, 3 insertions(+), 356 deletions(-)
 delete mode 100644 include/linux/mfd/samsung/s5m8763.h

-- 
2.39.0
Re: [PATCH 0/2] Remove SEC S5M MFDs with no compatibles
Posted by Lee Jones 2 years, 6 months ago
On Tue, 31 Jan 2023, David Virag wrote:

> The S5M8751 and S5M8763 MFD PMICs have no compatibles, and board file
> support for them was removed, resulting in essentially no way for these
> chips to be used anymore (unless they get dt compatibles).
> They seemingly have never been in any board files upstream and I only
> found references to the SM8751 being on the SMDK6450 board (which has
> been unsupported for many years now) in a downstream Samsung Galaxy S2
> kernel tree.
>
> The patches should be applied in order.
>
> David Virag (2):
>   mfd: sec: Remove PMICs without compatibles
>   rtc: s5m: Drop S5M8763 support
>
>  drivers/mfd/sec-core.c              | 46 ---------------
>  drivers/mfd/sec-irq.c               | 89 ----------------------------
>  drivers/rtc/rtc-s5m.c               | 82 +-------------------------
>  include/linux/mfd/samsung/core.h    |  2 -
>  include/linux/mfd/samsung/irq.h     | 50 ----------------
>  include/linux/mfd/samsung/s5m8763.h | 90 -----------------------------
>  6 files changed, 3 insertions(+), 356 deletions(-)
>  delete mode 100644 include/linux/mfd/samsung/s5m8763.h

Pull-request to follow, once it passes build testing.

--
Lee Jones [李琼斯]
Immutable branch between MFD and RTC due for the v6.4 merge window
Posted by Lee Jones 2 years, 6 months ago
Enjoy!

The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:

  Linux 6.3-rc1 (2023-03-05 14:52:03 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-rtc-v6.4

for you to fetch changes up to bb7929626c4f57f590b6028540a4bbd2a73809cb:

  rtc: s5m: Drop S5M8763 support (2023-03-16 15:12:03 +0000)

----------------------------------------------------------------
Immutable branch between MFD and RTC due for the v6.4 merge window

----------------------------------------------------------------
David Virag (2):
      mfd: sec: Remove PMICs without compatibles
      rtc: s5m: Drop S5M8763 support

 drivers/mfd/sec-core.c              | 46 -------------------
 drivers/mfd/sec-irq.c               | 89 ------------------------------------
 drivers/rtc/rtc-s5m.c               | 82 ++-------------------------------
 include/linux/mfd/samsung/core.h    |  2 -
 include/linux/mfd/samsung/irq.h     | 50 ---------------------
 include/linux/mfd/samsung/s5m8763.h | 90 -------------------------------------
 6 files changed, 3 insertions(+), 356 deletions(-)
 delete mode 100644 include/linux/mfd/samsung/s5m8763.h

--
Lee Jones [李琼斯]