Skip to content

extcon: sm5502: Add support for SM5504

Stephan Gerhold linux-devicetree lkml 4 versions – Applied

Status from this message: Applied them. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyApplied
  2. v33 patches 7 repliesSuperseded
  3. v26 patches 3 repliesApplied
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches0 repliesSuperseded

Changes in v4 from the cover letter

- Add NULL check for .parse_irq (suggested by Chanwoo Choi)
- Add Rob's Acked-by: on the dt-bindings patch

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3dt-bindings: extcon: sm5502: Document siliconmitus,sm5504-muicDocumentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml+4 -20 replies
2/3extcon: sm5502: Refactor driver to use chip-specific structdrivers/extcon/extcon-sm5502.c drivers/extcon/extcon-sm5502.h+44 -280 replies
3/3extcon: sm5502: Add support for SM5504drivers/extcon/Kconfig drivers/extcon/extcon-sm5502.c drivers/extcon/extcon-sm5502.h+204 -80 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] extcon: sm5502: Add support for SM5504

This patch series adds support for SM5504 to the existing extcon-sm5502 driver. SM5502 and SM5504 are fairly similar so support for SM5504 can be added with a few simple changes to the code.

I tested this patch series on both SM5502 (Samsung Galaxy A5 2015) and SM5504 (Samsung Galaxy S4 Mini Value Edition) and it seems to work just fine for both.

---
Changes in v4:
- Add NULL check for .parse_irq (suggested by Chanwoo Choi)
- Add Rob's Acked-by: on the dt-bindings patch
Changes in v3:
- Drop patch 1-4 (already applied)
- Avoid if (type == TYPE_SM5504) everywhere in the code, instead introduce a struct sm5502_type that encodes chip-specific information.
Changes in v2: Fix compile warning in last patch

v3: https://lore.kernel.org/lkml/[email protected]/
v2: https://lore.kernel.org/lkml/[email protected]/
v1: https://lore.kernel.org/lkml/[email protected]/

Stephan Gerhold (3):
dt-bindings: extcon: sm5502: Document siliconmitus,sm5504-muic
extcon: sm5502: Refactor driver to use chip-specific struct
extcon: sm5502: Add support for SM5504

 .../extcon/siliconmitus,sm5502-muic.yaml      |   6 +-
 drivers/extcon/Kconfig                        |   2 +-
 drivers/extcon/extcon-sm5502.c                | 200 +++++++++++++++---
 drivers/extcon/extcon-sm5502.h                |  82 ++++++-
 4 files changed, 252 insertions(+), 38 deletions(-)
Signature · 1 line
2.31.1