From: Stephan Gerhold <stephan@gerhold.net>
To: Chanwoo Choi <cw00.choi@samsung.com>,
MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Nikita Travkin <nikita@trvn.ru>,
~postmarketos/upstreaming@lists.sr.ht,
Stephan Gerhold <stephan@gerhold.net>
Subject: [PATCH v2 0/6] extcon: sm5502: Add support for SM5504
Date: Mon, 31 May 2021 15:34:32 +0200 [thread overview]
Message-ID: <20210531133438.3511-1-stephan@gerhold.net> (raw)
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 if statements in the code.
I also put a few cleanup patches in front and convert the device tree
bindings to DT schema.
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 v2: Fix compile warning in last patch
v1: https://lore.kernel.org/lkml/20210520112334.129556-1-stephan@gerhold.net/
Stephan Gerhold (6):
extcon: sm5502: Use devm_regmap_add_irq_chip()
extcon: sm5502: Implement i2c_driver->probe_new()
extcon: sm5502: Drop invalid register write in sm5502_reg_data
dt-bindings: extcon: sm5502: Convert to DT schema
dt-bindings: extcon: sm5502: Document siliconmitus,sm5504-muic
extcon: sm5502: Add support for SM5504
.../bindings/extcon/extcon-sm5502.txt | 21 --
.../extcon/siliconmitus,sm5502-muic.yaml | 52 +++++
drivers/extcon/Kconfig | 2 +-
drivers/extcon/extcon-sm5502.c | 180 +++++++++++++++---
drivers/extcon/extcon-sm5502.h | 79 ++++++++
5 files changed, 282 insertions(+), 52 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/extcon/extcon-sm5502.txt
create mode 100644 Documentation/devicetree/bindings/extcon/siliconmitus,sm5502-muic.yaml
--
2.31.1
next reply other threads:[~2021-05-31 13:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-31 13:34 Stephan Gerhold [this message]
2021-05-31 13:34 ` [PATCH v2 1/6] extcon: sm5502: Use devm_regmap_add_irq_chip() Stephan Gerhold
2021-05-31 13:34 ` [PATCH v2 2/6] extcon: sm5502: Implement i2c_driver->probe_new() Stephan Gerhold
2021-05-31 13:34 ` [PATCH v2 3/6] extcon: sm5502: Drop invalid register write in sm5502_reg_data Stephan Gerhold
2021-05-31 13:34 ` [PATCH v2 4/6] dt-bindings: extcon: sm5502: Convert to DT schema Stephan Gerhold
2021-06-02 16:48 ` Rob Herring
2021-05-31 13:34 ` [PATCH v2 5/6] dt-bindings: extcon: sm5502: Document siliconmitus,sm5504-muic Stephan Gerhold
2021-05-31 13:34 ` [PATCH v2 6/6] extcon: sm5502: Add support for SM5504 Stephan Gerhold
2021-06-01 16:27 ` Chanwoo Choi
2021-06-01 16:28 ` [PATCH v2 0/6] " Chanwoo Choi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210531133438.3511-1-stephan@gerhold.net \
--to=stephan@gerhold.net \
--cc=cw00.choi@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=myungjoo.ham@samsung.com \
--cc=nikita@trvn.ru \
--cc=robh+dt@kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).