devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: mediatek: mt6358: fix dtbs_check error
@ 2024-10-29  6:46 Macpaul Lin
  2024-11-04 10:10 ` AngeloGioacchino Del Regno
  0 siblings, 1 reply; 2+ messages in thread
From: Macpaul Lin @ 2024-10-29  6:46 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, Hsin-Hsiung Wang, devicetree,
	linux-kernel, linux-arm-kernel, linux-mediatek, Alexandre Mergnat
  Cc: Bear Wang, Pablo Sun, Macpaul Lin, Macpaul Lin,
	Project_Global_Chrome_Upstream_Group, linux-usb, Chris-qj chen

Fix DTBS check errors for 'mt6358codec' and 'mt6358regulator':

Error message is:
pmic: 'mt6358codec' and 'mt6358regulator' does not match any of the
regexes: 'pinctrl-[0-9]+'.
Rename these two device node to generic 'audio-codec' and 'regulators'.

Fixes: 9f8872221674 ("arm64: dts: mt6358: add PMIC MT6358 related nodes")
Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt6358.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt6358.dtsi b/arch/arm64/boot/dts/mediatek/mt6358.dtsi
index 641d452fbc08..e23672a2eea4 100644
--- a/arch/arm64/boot/dts/mediatek/mt6358.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6358.dtsi
@@ -15,12 +15,12 @@ pmic_adc: adc {
 			#io-channel-cells = <1>;
 		};
 
-		mt6358codec: mt6358codec {
+		mt6358codec: audio-codec {
 			compatible = "mediatek,mt6358-sound";
 			mediatek,dmic-mode = <0>; /* two-wires */
 		};
 
-		mt6358regulator: mt6358regulator {
+		mt6358regulator: regulators {
 			compatible = "mediatek,mt6358-regulator";
 
 			mt6358_vdram1_reg: buck_vdram1 {
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: mediatek: mt6358: fix dtbs_check error
  2024-10-29  6:46 [PATCH] arm64: dts: mediatek: mt6358: fix dtbs_check error Macpaul Lin
@ 2024-11-04 10:10 ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 2+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-11-04 10:10 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	Hsin-Hsiung Wang, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, Alexandre Mergnat, Macpaul Lin
  Cc: Bear Wang, Pablo Sun, Macpaul Lin,
	Project_Global_Chrome_Upstream_Group, linux-usb, Chris-qj chen

On Tue, 29 Oct 2024 14:46:47 +0800, Macpaul Lin wrote:
> Fix DTBS check errors for 'mt6358codec' and 'mt6358regulator':
> 
> Error message is:
> pmic: 'mt6358codec' and 'mt6358regulator' does not match any of the
> regexes: 'pinctrl-[0-9]+'.
> Rename these two device node to generic 'audio-codec' and 'regulators'.
> 
> [...]

Applied to v6.12-next/dts64, thanks!

[1/1] arm64: dts: mediatek: mt6358: fix dtbs_check error
      commit: 76ab2ae0ab9ebb2d70e6ee8a9f59911621192c37

Cheers,
Angelo



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-04 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-29  6:46 [PATCH] arm64: dts: mediatek: mt6358: fix dtbs_check error Macpaul Lin
2024-11-04 10:10 ` AngeloGioacchino Del Regno

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).