mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Chen-Yu Tsai <wens@csie.org>,
	Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: devicetree@vger.kernel.org, Samuel Holland <samuel@sholland.org>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Chris Morgan <macromorgan@hotmail.com>,
	linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev
Subject: [PATCH 0/4] regulator: Add X-Powers AXP717 PMIC support
Date: Sun, 10 Mar 2024 01:02:07 +0000	[thread overview]
Message-ID: <20240310010211.28653-1-andre.przywara@arm.com> (raw)

This patch series adds support for the X-Powers AXP717 PMIC, which is 
used recently on new boards with Allwinner SoCs.
Allwinner's BSP code often speaks of the AXP2202, this seems to be the
same chip, at least a boot0 AXP2202 driver happily drove a chip labelled
AXP717.

Patch 1 fixes a typo in some macro names for the AXP313a PMIC, I just
realised that during some copy&paste action. It's just an identifier
rename, so not a backport candidate, I'd say.
Patch 2 adds the compatible string to the binding document.
Patch 3 is the MFD part, describing the regmap and all the interrupts.
So far we support the regulator and power key devices, the USB and
charging devices will follow later.
Patch 4 adds the voltage regulator rails, this part is crucial to enable
any board using this PMIC, as we depend on those rails even for basic
devices.

Please note that I could not test this driver myself, but had success
messages from others. It would be good to hear from Ryan and Chris
here on the list, with a Tested-by: tag.

This series is based on next-20240308 for now. I will send a rebased
update after the merge window, but wanted to start discussion and review
now.

Please have a look!

Cheers,
Andre

Andre Przywara (4):
  regulator: axp20x: fix typo-ed identifier
  dt-bindings: mfd: x-powers,axp152: document AXP717
  mfd: axp20x: add support for AXP717 PMIC
  regulator: axp20x: add support for the AXP717

 .../bindings/mfd/x-powers,axp152.yaml         |  2 +
 drivers/mfd/axp20x-i2c.c                      |  2 +
 drivers/mfd/axp20x-rsb.c                      |  1 +
 drivers/mfd/axp20x.c                          | 90 +++++++++++++++++
 drivers/regulator/axp20x-regulator.c          | 94 +++++++++++++++++-
 include/linux/mfd/axp20x.h                    | 98 ++++++++++++++++++-
 6 files changed, 277 insertions(+), 10 deletions(-)

-- 
2.35.8


             reply	other threads:[~2024-03-10  1:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-10  1:02 Andre Przywara [this message]
2024-03-10  1:02 ` [PATCH 1/4] regulator: axp20x: fix typo-ed identifier Andre Przywara
2024-03-13 17:14   ` Jernej Škrabec
2024-03-10  1:02 ` [PATCH 2/4] dt-bindings: mfd: x-powers,axp152: document AXP717 Andre Przywara
2024-03-10  8:40   ` Krzysztof Kozlowski
2024-03-11 22:20   ` Samuel Holland
2024-03-13 17:35     ` Andre Przywara
2024-03-13 18:13       ` Chen-Yu Tsai
2024-03-10  1:02 ` [PATCH 3/4] mfd: axp20x: add support for AXP717 PMIC Andre Przywara
2024-03-13 17:18   ` Jernej Škrabec
2024-03-10  1:02 ` [PATCH 4/4] regulator: axp20x: add support for the AXP717 Andre Przywara
2024-03-11 22:22   ` Samuel Holland
2024-03-12 14:18     ` Mark Brown
2024-03-12 14:19   ` Mark Brown
2024-03-11  7:34 ` [PATCH 0/4] regulator: Add X-Powers AXP717 PMIC support Ryan Walklin
2024-03-21 17:10 ` Lee Jones
2024-03-22  8:10   ` Lee Jones
2024-03-28  9:56 ` [GIT PULL] Immutable branch between MFD and Regulator due for the v6.9 merge window:wq Lee Jones
2024-03-28 11:11   ` Andre Przywara
2024-03-28 12:00     ` Lee Jones
2024-03-28 12:03       ` Lee Jones

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=20240310010211.28653-1-andre.przywara@arm.com \
    --to=andre.przywara@arm.com \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=lee@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=macromorgan@hotmail.com \
    --cc=robh@kernel.org \
    --cc=samuel@sholland.org \
    --cc=wens@csie.org \
    /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

all inboxes | Powered by JetHome®