From: "Rob Herring (Arm)" <robh@kernel.org>
To: Andrei Simion <andrei.simion@microchip.com>
Cc: alexandre.belloni@bootlin.com, krzk+dt@kernel.org,
nicolas.ferre@microchip.com, claudiu.beznea@tuxon.dev,
broonie@kernel.org, devicetree@vger.kernel.org,
conor+dt@kernel.org, linux-kernel@vger.kernel.org,
lgirdwood@gmail.com, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 0/7] Add input voltage suppliers for PMIC MCP16502 regulators
Date: Mon, 12 Aug 2024 09:33:33 -0600 [thread overview]
Message-ID: <172347672887.922611.11316946762732938797.robh@kernel.org> (raw)
In-Reply-To: <20240812135231.43744-1-andrei.simion@microchip.com>
On Mon, 12 Aug 2024 16:52:24 +0300, Andrei Simion wrote:
> In this series of patches, support for the *-supply property [1] is added
> (correlated with supply_name [2]) from the core regulator.
> Link [1]: https://github.com/torvalds/linux/blob/master/drivers/regulator/core.c#L471
> Link [2]: https://github.com/torvalds/linux/blob/master/drivers/regulator/core.c#L2064
>
> I modified the mcp16502.c driver and the dts that use this PMIC.
> We added these improvements to provide a complete description of the board power scheme.
>
> Snippet (as an example) from /sys/kernel/debug/regulator/regulator_summary
> (for at91-sama7g5ek):
> # cat regulator_summary
> regulator use open bypass opmode voltage current min max
> ---------------------------------------------------------------------------------------
> regulator-dummy 1 0 0 unknown 0mV 0mA 0mV 0mV
> 5V_MAIN 6 6 0 unknown 5000mV 0mA 5000mV 5000mV
> VDD_IO 5 4 0 normal 3300mV 0mA 3300mV 3300mV
> e1208000.mmc-vqmmc 1 0mA 0mV 0mV
> e1208000.mmc-vmmc 1 0mA 3300mV 3400mV
> e1204000.mmc-vmmc 1 0mA 3300mV 3400mV
> VDDOUT25 3 2 0 unknown 2500mV 0mA 2500mV 2500mV
> e1000000.adc-vref 1 0mA 0mV 0mV
> e1000000.adc-vddana 1 0mA 0mV 0mV
> VDD_DDR 1 0 0 normal 1350mV 0mA 1350mV 1350mV
> VDD_CORE 1 0 0 normal 1150mV 0mA 1150mV 1150mV
> VDD_OTHER 2 1 0 normal 1050mV 0mA 1050mV 1250mV
> cpu0-cpu 1 0mA 1050mV 1225mV
> LDO1 2 1 0 unknown 1800mV 0mA 1800mV 1800mV
> e1204000.mmc-vqmmc 1 0mA 0mV 0mV
> LDO2
>
> -------------------------------------------------------------------------------------------
>
> Changelog:
>
> v1 -> v2:
> - drop (lvin|pvin[1-4])-supply from each regulators sub-node
> - add voltage input supply documentation in the yaml schema
> - add lvin-supply, pvin[1-4]-supply to PMIC node
>
> Andrei Simion (7):
> regulator: mcp16502: Add supplier for regulators
> regulator: dt-bindings: microchip,mcp16502: Add voltage input supply
> documentation
> ARM: dts: microchip: at91-sama7g5ek: Add reg_5v to supply PMIC nodes
> ARM: dts: microchip: at91-sama7g54_curiosity: Add reg_5v to supply
> PMIC nodes
> ARM: dts: microchip: at91-sama5d2_icp: Add reg_5v to supply PMIC nodes
> ARM: dts: microchip: at91-sama5d27_wlsom1: Add reg_5v to supply PMIC
> nodes
> ARM: dts: microchip: sama5d29_curiosity: Add reg_5v to supply PMIC
> nodes
>
> .../regulator/microchip,mcp16502.yaml | 20 +++++++++++++++++++
> .../dts/microchip/at91-sama5d27_wlsom1.dtsi | 13 ++++++++++++
> .../dts/microchip/at91-sama5d29_curiosity.dts | 13 ++++++++++++
> .../boot/dts/microchip/at91-sama5d2_icp.dts | 13 ++++++++++++
> .../dts/microchip/at91-sama7g54_curiosity.dts | 13 ++++++++++++
> .../arm/boot/dts/microchip/at91-sama7g5ek.dts | 13 ++++++++++++
> drivers/regulator/mcp16502.c | 17 ++++++++--------
> 7 files changed, 94 insertions(+), 8 deletions(-)
>
>
> base-commit: 9e6869691724b12e1f43655eeedc35fade38120c
> --
> 2.34.1
>
>
>
My bot found new DTB warnings on the .dts files added or changed in this
series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:
pip3 install dtschema --upgrade
New warnings running 'make CHECK_DTBS=y microchip/at91-sama5d29_curiosity.dtb microchip/at91-sama5d2_icp.dtb microchip/at91-sama7g54_curiosity.dtb microchip/at91-sama7g5ek.dtb' for 20240812135231.43744-1-andrei.simion@microchip.com:
arch/arm/boot/dts/microchip/at91-sama7g5ek.dtb: /soc/chipid@e0020000: failed to match any schema with compatible: ['microchip,sama7g5-chipid']
arch/arm/boot/dts/microchip/at91-sama7g5ek.dtb: /soc/mmc@e120c000: failed to match any schema with compatible: ['microchip,sama7g5-sdhci', 'microchip,sam9x60-sdhci']
arch/arm/boot/dts/microchip/at91-sama7g5ek.dtb: /soc/mmc@e120c000: failed to match any schema with compatible: ['microchip,sama7g5-sdhci', 'microchip,sam9x60-sdhci']
next prev parent reply other threads:[~2024-08-12 15:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-12 13:52 Andrei Simion
2024-08-12 13:52 ` [PATCH v2 1/7] regulator: mcp16502: Add supplier for regulators Andrei Simion
2024-08-12 13:52 ` [PATCH v2 2/7] regulator: dt-bindings: microchip,mcp16502: Add voltage input supply documentation Andrei Simion
2024-08-14 9:07 ` Krzysztof Kozlowski
2024-08-12 13:52 ` [PATCH v2 3/7] ARM: dts: microchip: at91-sama7g5ek: Add reg_5v to supply PMIC nodes Andrei Simion
2024-08-12 13:52 ` [PATCH v2 4/7] ARM: dts: microchip: at91-sama7g54_curiosity: " Andrei Simion
2024-08-12 13:52 ` [PATCH v2 5/7] ARM: dts: microchip: at91-sama5d2_icp: " Andrei Simion
2024-08-12 13:52 ` [PATCH v2 6/7] ARM: dts: microchip: at91-sama5d27_wlsom1: " Andrei Simion
2024-08-12 13:52 ` [PATCH v2 7/7] ARM: dts: microchip: sama5d29_curiosity: " Andrei Simion
2024-08-12 15:33 ` Rob Herring (Arm) [this message]
2024-08-13 15:43 ` (subset) [PATCH v2 0/7] Add input voltage suppliers for PMIC MCP16502 regulators Mark Brown
2024-08-24 14:15 ` claudiu beznea
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=172347672887.922611.11316946762732938797.robh@kernel.org \
--to=robh@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=andrei.simion@microchip.com \
--cc=broonie@kernel.org \
--cc=claudiu.beznea@tuxon.dev \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.ferre@microchip.com \
/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®