From: Matti Vaittinen <mazziesaccount@gmail.com>
To: Lee Jones <lee@kernel.org>
Cc: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-watchdog@vger.kernel.org
Subject: Re: [PATCH v4 0/6] Support ROHM BD96801 Scalable PMIC
Date: Wed, 26 Jun 2024 12:07:22 +0300 [thread overview]
Message-ID: <8d964b3f-e2d0-44b2-bece-92380b8c9a5d@gmail.com> (raw)
In-Reply-To: <20240620143859.GM3029315@google.com>
On 6/20/24 17:38, Lee Jones wrote:
> On Fri, 14 Jun 2024, Matti Vaittinen wrote:
>
>> Support ROHM BD96801 Scalable PMIC
>>
>> The ROHM BD96801 is automotive grade PMIC, intended to be usable in
>> multiple solutions. The BD96801 can be used as a stand-alone, or together
>> with separate 'companion PMICs'. This modular approach aims to make this
>> PMIC suitable for various use-cases.
>>
>> This series brings only limited support. The more complete set of
>> features was sent in the RFC:
>> https://lore.kernel.org/lkml/cover.1712058690.git.mazziesaccount@gmail.com/
>>
>> The v3: implemented also support for ERRB interrupt and setting a name
>> suffix to IRQ domains. That work was postponed and will be continued
>> after some unrelated changes to irqdomain code are completed as
>> discussed here:
>> https://lore.kernel.org/all/87plst28yk.ffs@tglx/
>>
>> Revision history still tries to summarize changes from the RFC for the
>> reviewers.
>>
>> Revision history:
>> v3 => v4:
>> - Drop patches 7 to 10 (inclusive) until preparatory irqdomain changes
>> are done.
>> - Cleanups as suggested by Lee.
>> - Change the regulator subdevice name. (MFD and regulators).
>> - Minor styling in MFD driver
>>
>> v2 => v3: Mostly based on feedback from Thomas Gleixner
>> - Added acks from Krzysztof and Mark
>> - Rebased on v6.10-rc2
>> - Drop name suffix support for legacy IRQ domains (both
>> irqdomain and regmap)
>> - Improve the commit message for patch 7/10
>>
>> v1 => v2:
>> - Add support for setting a name suffix for fwnode backed IRQ domains.
>> - Add support for setting a domain name suffix for regmap-IRQ.
>> - Add handling of ERRB IRQs.
>> - Small fixes based on feedback.
>>
>> RFCv2 => v1:
>> - Drop ERRB IRQ from drivers (but not DT bindings).
>> - Drop configuration which requires STBY - state.
>> - Fix the register lock race by moving it from the regulator
>> driver to the MFD driver.
>>
>> RFCv1 => RFCv2:
>> - Tidying code based on feedback form Krzysztof Kozlowski and
>> Lee Jones.
>> - Documented undocumented watchdog related DT properties.
>> - Added usage of the watchdog IRQ.
>> - Use irq_domain_update_bus_token() to work-around debugFS name
>> collision for IRQ domains.
>>
>> ---
>>
>>
>> Matti Vaittinen (6):
>> dt-bindings: ROHM BD96801 PMIC regulators
>> dt-bindings: mfd: bd96801 PMIC core
>> mfd: support ROHM BD96801 PMIC core
>> regulator: bd96801: ROHM BD96801 PMIC regulators
>> watchdog: ROHM BD96801 PMIC WDG driver
>> MAINTAINERS: Add ROHM BD96801 'scalable PMIC' entries
>>
>> .../bindings/mfd/rohm,bd96801-pmic.yaml | 173 ++++
>> .../regulator/rohm,bd96801-regulator.yaml | 63 ++
>> MAINTAINERS | 4 +
>> drivers/mfd/Kconfig | 13 +
>> drivers/mfd/Makefile | 1 +
>> drivers/mfd/rohm-bd96801.c | 273 ++++++
>> drivers/regulator/Kconfig | 12 +
>> drivers/regulator/Makefile | 2 +
>> drivers/regulator/bd96801-regulator.c | 908 ++++++++++++++++++
>> drivers/watchdog/Kconfig | 13 +
>> drivers/watchdog/Makefile | 1 +
>> drivers/watchdog/bd96801_wdt.c | 416 ++++++++
>> include/linux/mfd/rohm-bd96801.h | 215 +++++
>> include/linux/mfd/rohm-generic.h | 1 +
>> 14 files changed, 2095 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd96801-pmic.yaml
>> create mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd96801-regulator.yaml
>> create mode 100644 drivers/mfd/rohm-bd96801.c
>> create mode 100644 drivers/regulator/bd96801-regulator.c
>> create mode 100644 drivers/watchdog/bd96801_wdt.c
>> create mode 100644 include/linux/mfd/rohm-bd96801.h
>
> allmodconfig and allyesconfig builds fail with:
>
> make[5]: *** No rule to make target 'drivers/regulator/da903x.o', needed by 'drivers/regulator/built-in.a'.
> make[5]: Target 'drivers/regulator/' not remade because of errors.
Bummer!
There is unrelated change in the Makefile. I must've messed up a rebase!
Sorry! I'll send new version with corrected Makefile - latest early next
week. (I suppose new version is appropriate instead of a follow-up as
this breaks the build).
Thanks for the heads-up Lee!
Yours,
-- Matti
--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland
~~ When things go utterly wrong vim users can always type :help! ~~
prev parent reply other threads:[~2024-06-26 9:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-14 9:42 [PATCH v4 0/6] Support ROHM BD96801 Scalable PMIC Matti Vaittinen
2024-06-14 9:43 ` [PATCH v4 1/6] dt-bindings: ROHM BD96801 PMIC regulators Matti Vaittinen
2024-06-14 9:43 ` [PATCH v4 2/6] dt-bindings: mfd: bd96801 PMIC core Matti Vaittinen
2024-06-14 9:43 ` [PATCH v4 3/6] mfd: support ROHM BD96801 " Matti Vaittinen
2024-06-14 9:44 ` [PATCH v4 4/6] regulator: bd96801: ROHM BD96801 PMIC regulators Matti Vaittinen
2024-06-14 9:44 ` [PATCH v4 5/6] watchdog: ROHM BD96801 PMIC WDG driver Matti Vaittinen
2024-06-14 13:44 ` Guenter Roeck
2024-06-14 9:44 ` [PATCH v4 6/6] MAINTAINERS: Add ROHM BD96801 'scalable PMIC' entries Matti Vaittinen
2024-06-20 9:35 ` [PATCH v4 0/6] Support ROHM BD96801 Scalable PMIC Lee Jones
2024-06-20 9:43 ` Lee Jones
2024-06-20 14:38 ` Lee Jones
2024-06-26 9:07 ` Matti Vaittinen [this message]
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=8d964b3f-e2d0-44b2-bece-92380b8c9a5d@gmail.com \
--to=mazziesaccount@gmail.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lee@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=matti.vaittinen@fi.rohmeurope.com \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=wim@linux-watchdog.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;
as well as URLs for NNTP newsgroup(s).