public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] arm64: dts: mediatek: mt6359: fix dtbs_check error for audio-codec
@ 2025-02-17 11:37 Macpaul Lin
  2025-02-18  8:54 ` AngeloGioacchino Del Regno
  2025-02-19  0:42 ` Rob Herring (Arm)
  0 siblings, 2 replies; 4+ messages in thread
From: Macpaul Lin @ 2025-02-17 11:37 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, 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, Sen Chu,
	Chris-qj chen

This change fixes these dtbs_check errors for audio-codec:
1. pmic: 'mt6359codec' does not match any of the regexes: 'pinctrl-[0-9]+'
 - Replace device node name to generic 'audio-codec'
2. pmic: regulators: 'compatible' is a required property
 - Add 'mediatek,mt6359-codec' to compatible.

Fixes: 3b7d143be4b7 ("arm64: dts: mt6359: add PMIC MT6359 related nodes")
Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
 arch/arm64/boot/dts/mediatek/mt6359.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Changes for v2:
 - No change. Because the 2/3 patch has been dropped from the v1 patch.
   Hence the new patch set v2 needs to be updated.

Changes for v3:
 - Add "Reviewed-by:" tag. Thanks!.

diff --git a/arch/arm64/boot/dts/mediatek/mt6359.dtsi b/arch/arm64/boot/dts/mediatek/mt6359.dtsi
index 8e1b8c85c6ed..98a4aaac7911 100644
--- a/arch/arm64/boot/dts/mediatek/mt6359.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6359.dtsi
@@ -14,7 +14,8 @@ pmic_adc: adc {
 			#io-channel-cells = <1>;
 		};
 
-		mt6359codec: mt6359codec {
+		mt6359codec: audio-codec {
+			compatible = "mediatek,mt6359-codec";
 		};
 
 		regulators {
-- 
2.45.2


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

* Re: [PATCH v3] arm64: dts: mediatek: mt6359: fix dtbs_check error for audio-codec
  2025-02-17 11:37 [PATCH v3] arm64: dts: mediatek: mt6359: fix dtbs_check error for audio-codec Macpaul Lin
@ 2025-02-18  8:54 ` AngeloGioacchino Del Regno
  2025-02-19  0:42 ` Rob Herring (Arm)
  1 sibling, 0 replies; 4+ messages in thread
From: AngeloGioacchino Del Regno @ 2025-02-18  8:54 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	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, Sen Chu,
	Chris-qj chen

On Mon, 17 Feb 2025 19:37:36 +0800, Macpaul Lin wrote:
> This change fixes these dtbs_check errors for audio-codec:
> 1. pmic: 'mt6359codec' does not match any of the regexes: 'pinctrl-[0-9]+'
>  - Replace device node name to generic 'audio-codec'
> 2. pmic: regulators: 'compatible' is a required property
>  - Add 'mediatek,mt6359-codec' to compatible.
> 
> 
> [...]

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

[1/1] arm64: dts: mediatek: mt6359: fix dtbs_check error for audio-codec
      commit: 76b35f59bbe66d3eda8a98021bc01f9200131f09

Cheers,
Angelo



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

* Re: [PATCH v3] arm64: dts: mediatek: mt6359: fix dtbs_check error for audio-codec
  2025-02-17 11:37 [PATCH v3] arm64: dts: mediatek: mt6359: fix dtbs_check error for audio-codec Macpaul Lin
  2025-02-18  8:54 ` AngeloGioacchino Del Regno
@ 2025-02-19  0:42 ` Rob Herring (Arm)
  2025-02-21  7:18   ` Macpaul Lin (林智斌)
  1 sibling, 1 reply; 4+ messages in thread
From: Rob Herring (Arm) @ 2025-02-19  0:42 UTC (permalink / raw)
  To: Macpaul Lin
  Cc: linux-kernel, devicetree, Matthias Brugger, Sen Chu, Bear Wang,
	Conor Dooley, Chris-qj chen, linux-usb,
	AngeloGioacchino Del Regno, linux-mediatek,
	Project_Global_Chrome_Upstream_Group, Krzysztof Kozlowski,
	Alexandre Mergnat, linux-arm-kernel, Macpaul Lin, Pablo Sun


On Mon, 17 Feb 2025 19:37:36 +0800, Macpaul Lin wrote:
> This change fixes these dtbs_check errors for audio-codec:
> 1. pmic: 'mt6359codec' does not match any of the regexes: 'pinctrl-[0-9]+'
>  - Replace device node name to generic 'audio-codec'
> 2. pmic: regulators: 'compatible' is a required property
>  - Add 'mediatek,mt6359-codec' to compatible.
> 
> Fixes: 3b7d143be4b7 ("arm64: dts: mt6359: add PMIC MT6359 related nodes")
> Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
>  arch/arm64/boot/dts/mediatek/mt6359.dtsi | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> Changes for v2:
>  - No change. Because the 2/3 patch has been dropped from the v1 patch.
>    Hence the new patch set v2 needs to be updated.
> 
> Changes for v3:
>  - Add "Reviewed-by:" tag. Thanks!.
> 


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 for arch/arm64/boot/dts/mediatek/' for 20250217113736.1867808-1-macpaul.lin@mediatek.com:

arch/arm64/boot/dts/mediatek/mt8195-demo.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8395-kontron-3-5-sbc-i1200.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r1.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r0.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8395-genio-1200-evk.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku4.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8370-genio-510-evk.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku1.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8188-evb.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku7.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku3.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku6.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku0.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8192-evb.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8195-cherry-dojo-r1.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku2.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#
arch/arm64/boot/dts/mediatek/mt8188-geralt-ciri-sku5.dtb: pmic: '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/mfd/mediatek,mt6397.yaml#






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

* Re: [PATCH v3] arm64: dts: mediatek: mt6359: fix dtbs_check error for audio-codec
  2025-02-19  0:42 ` Rob Herring (Arm)
@ 2025-02-21  7:18   ` Macpaul Lin (林智斌)
  0 siblings, 0 replies; 4+ messages in thread
From: Macpaul Lin (林智斌) @ 2025-02-21  7:18 UTC (permalink / raw)
  To: robh@kernel.org
  Cc: Pablo Sun (孫毓翔),
	Chris-qj Chen (陳奇進),
	linux-usb@vger.kernel.org, Alexandre Mergnat,
	AngeloGioacchino Del Regno, linux-kernel@vger.kernel.org,
	Project_Global_Chrome_Upstream_Group, conor+dt@kernel.org,
	linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org,
	krzk+dt@kernel.org, macpaul@gmail.com,
	Bear Wang (萩原惟德),
	linux-arm-kernel@lists.infradead.org, matthias.bgg@gmail.com,
	Sen Chu (储森)

On Tue, 2025-02-18 at 18:42 -0600, Rob Herring (Arm) wrote:
> 
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> 
> 
> On Mon, 17 Feb 2025 19:37:36 +0800, Macpaul Lin wrote:
> > This change fixes these dtbs_check errors for audio-codec:
> > 1. pmic: 'mt6359codec' does not match any of the regexes: 'pinctrl-
> > [0-9]+'
> >  - Replace device node name to generic 'audio-codec'
> > 2. pmic: regulators: 'compatible' is a required property
> >  - Add 'mediatek,mt6359-codec' to compatible.
> > 

[snip]


> My bot found new DTB warnings on the .dts files added or changed in
> this
> series.

Dear Angelo,

Please help to review and pick-up this patch to fix dtbs check error
for 'mt6359rtc'.

[PATCH v3] arm64: dts: mediatek: mt6359: fix dtbs_check error for RTC
and regulators
https://lore.kernel.org/all/20250214084954.1181435-1-macpaul.lin@mediatek.com/

Thanks!

> arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dtb: pmic:
> '#sound-dai-cells', 'mt6359rtc' do not match any of the regexes:
> 'pinctrl-[0-9]+'
>         from schema $id: 

Best regards,
Macpaul Lin

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

end of thread, other threads:[~2025-02-21  7:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17 11:37 [PATCH v3] arm64: dts: mediatek: mt6359: fix dtbs_check error for audio-codec Macpaul Lin
2025-02-18  8:54 ` AngeloGioacchino Del Regno
2025-02-19  0:42 ` Rob Herring (Arm)
2025-02-21  7:18   ` Macpaul Lin (林智斌)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox