Skip to content

fix PASIC3/DS1WM, use MFD core

Philipp Zabel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6mfd: DS1WM: convert to use MFD coredrivers/w1/masters/ds1wm.c include/linux/ds1wm.h include/linux/mfd/ds1wm.h+25 -230 replies
2/6mfd: PASIC3: convert to use MFD coredrivers/mfd/Kconfig drivers/mfd/htc-pasic3.c+62 -980 replies
3/6pxa/magician: remove deprecated .bus_shift from PASIC3 platform_dataarch/arm/mach-pxa/magician.c+0 -10 replies
4/6mfd: PASIC3: remove unused bus_shift fieldinclude/linux/mfd/htc-pasic3.h+0 -10 replies
5/6mfd: DS1WM: remove clock handlingdrivers/w1/masters/ds1wm.c include/linux/mfd/ds1wm.h+6 -171 reply
6/6mfd: PASIC3: supply clock_rate to DS1WM via driver_datadrivers/mfd/htc-pasic3.c+13 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] fix PASIC3/DS1WM, use MFD core

Hi,

the following patches turn DS1WM into an MFD cell driver, make PASIC3 use the MFD core functions to register it and remove the generic clock API code from DS1WM as MFDs currently can't register their clocks with it. With those applied, 1-Wire is finally in a working state on magician.

Patch #2 depends on #1, patch #4 depends on #3 and patch #6 depends on #5. Therefor I propose that this whole patchset be queued in the mfd tree. If so, #4 could be merged into #2. But it won't hurt to just leave out #3 and #4 for now and apply them as cleanups later.

Philipp Zabel (6):
mfd: DS1WM: convert to use MFD core
mfd: PASIC3: convert to use MFD core
pxa/magician: remove deprecated .bus_shift from PASIC3 platform_data
mfd: PASIC3: remove unused bus_shift field
mfd: DS1WM: remove clock handling
mfd: PASIC3: supply clock_rate to DS1WM via driver_data

 arch/arm/mach-pxa/magician.c   |    1 -
 drivers/mfd/Kconfig            |    1 +
 drivers/mfd/htc-pasic3.c       |  169 ++++++++++++++++------------------------
 drivers/w1/masters/ds1wm.c     |   53 ++++++-------
 include/linux/ds1wm.h          |   12 ---
 include/linux/mfd/ds1wm.h      |    6 ++
 include/linux/mfd/htc-pasic3.h |    1 -
 7 files changed, 100 insertions(+), 143 deletions(-)
 delete mode 100644 include/linux/ds1wm.h
 create mode 100644 include/linux/mfd/ds1wm.h