dt-bindings: pfuze100.yaml: Add an entry for interrupts
Fabio Estevam
reviewerPATCH v2 1/3 dt-bindings: pfuze100.yaml: Add an entry for interrupts
From: Fabio Estevam <[email protected]>
The PFUZE100 PMIC has an interrupt pin that can be connected to the host SoC. Describe it in the dt-bindings to avoid warnings like:
imx6q-zii-rdu2.dtb: pmic@8: 'interrupt-parent', 'interrupts' do not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/regulator/pfuze100.yaml
---
Changes since v1:
- None. Only collected Conor's Reviewed-by tag.
Documentation/devicetree/bindings/regulator/pfuze100.yaml | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/regulator/pfuze100.yaml +3 -0
@@ -36,6 +36,9 @@ properties: reg: maxItems: 1 + interrupts: + maxItems: 1 + fsl,pfuze-support-disable-sw: $ref: /schemas/types.yaml#/definitions/flag description: |
Signature · 1 line
2.34.1
Fabio Estevam
reviewerPATCH v2 2/3 ARM: dts: imx: Use 'pmic' as node name
From: Fabio Estevam <[email protected]>
Devicetree node names should be generic. Use 'pmic' as node name to avoid devicetree check warning from pfuze100.yaml.
---
Changes since v1:
- Convert more devicetrees that were missed in v1.
arch/arm/boot/dts/imx6dl-riotboard.dts | 2 +- arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts | 2 +- arch/arm/boot/dts/imx6q-gw5400-a.dts | 2 +- arch/arm/boot/dts/imx6q-novena.dts | 2 +- arch/arm/boot/dts/imx6q-pistachio.dts | 2 +- arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 2 +- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 2 +- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 2 +- arch/arm/boot/dts/imx6qdl-wandboard-revd1.dtsi | 2 +- arch/arm/boot/dts/imx6sl-evk.dts | 2 +- arch/arm/boot/dts/imx6sx-sdb-reva.dts | 2 +- arch/arm/boot/dts/imx6sx-sdb.dts | 2 +- arch/arm/boot/dts/imx6sx-softing-vining-2000.dts | 2 +- arch/arm/boot/dts/imx6ul-pico.dtsi | 2 +- arch/arm/boot/dts/imx7d-nitrogen7.dts | 2 +- arch/arm/boot/dts/imx7d-pico.dtsi | 2 +- arch/arm/boot/dts/imx7d-sdb.dts | 2 +- arch/arm/boot/dts/imx7s-warp.dts | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-)
arch/arm/boot/dts/imx6dl-riotboard.dts +1 -1
@@ -177,7 +177,7 @@ codec: sgtl5000@a { VDDIO-supply = <®_3p3v>; }; - pmic: pf0100@8 { + pmic: pmic@8 { compatible = "fsl,pfuze100"; reg = <0x08>; interrupt-parent = <&gpio5>;
arch/arm/boot/dts/imx6q-dmo-edmqmx6.dts +1 -1
@@ -134,7 +134,7 @@ &pinctrl_stmpe2 &pinctrl_pfuze>; status = "okay"; - pmic: pfuze100@8 { + pmic: pmic@8 { compatible = "fsl,pfuze100"; reg = <0x08>; interrupt-parent = <&gpio3>;
arch/arm/boot/dts/imx6q-gw5400-a.dts +1 -1
@@ -206,7 +206,7 @@ &i2c2 { pinctrl-0 = <&pinctrl_i2c2>; status = "okay"; - pmic: pfuze100@8 { + pmic: pmic@8 { compatible = "fsl,pfuze100"; reg = <0x08>;
arch/arm/boot/dts/imx6q-novena.dts +1 -1
@@ -308,7 +308,7 @@ &i2c2 { pinctrl-0 = <&pinctrl_i2c2_novena>; status = "okay"; - pmic: pfuze100@8 { + pmic: pmic@8 { compatible = "fsl,pfuze100"; reg = <0x08>;
arch/arm/boot/dts/imx6q-pistachio.dts +1 -1
@@ -208,7 +208,7 @@ &i2c2 { pinctrl-0 = <&pinctrl_i2c2>; status = "okay"; - pmic: pfuze100@8 { + pmic: pmic@8 { compatible = "fsl,pfuze100"; reg = <0x08>;
arch/arm/boot/dts/imx6qdl-gw54xx.dtsi +1 -1
@@ -400,7 +400,7 @@ &i2c2 { pinctrl-0 = <&pinctrl_i2c2>; status = "okay"; - pmic: pfuze100@8 { + pmic: pmic@8 { compatible = "fsl,pfuze100"; reg = <0x08>;
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi +1 -1
@@ -336,7 +336,7 @@ &i2c2 { pinctrl-0 = <&pinctrl_i2c2>; status = "okay"; - pmic: pfuze100@8 { + pmic: pmic@8 { compatible = "fsl,pfuze100"; reg = <0x08>;
arch/arm/boot/dts/imx6qdl-sabresd.dtsi +1 -1
@@ -338,7 +338,7 @@ ov5640_to_mipi_csi2: endpoint { }; }; - pmic: pfuze100@8 { + pmic: pmic@8 { compatible = "fsl,pfuze100"; reg = <0x08>;
arch/arm/boot/dts/imx6qdl-wandboard-revd1.dtsi +1 -1
@@ -27,7 +27,7 @@ &i2c3 { pinctrl-0 = <&pinctrl_i2c3>; status = "okay"; - pmic: pfuze100@8 { + pmic: pmic@8 { compatible = "fsl,pfuze100"; reg = <0x08>;
arch/arm/boot/dts/imx6sl-evk.dts +1 -1
@@ -160,7 +160,7 @@ &i2c1 { pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; - pmic: pfuze100@8 { + pmic: pmic@8 { compatible = "fsl,pfuze100"; reg = <0x08>;
arch/arm/boot/dts/imx6sx-sdb-reva.dts +1 -1
@@ -15,7 +15,7 @@ &i2c1 { pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; - pmic: pfuze100@8 { + pmic: pmic@8 { compatible = "fsl,pfuze100"; reg = <0x08>;
arch/arm/boot/dts/imx6sx-sdb.dts +1 -1
@@ -14,7 +14,7 @@ &i2c1 { pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; - pmic: pfuze100@8 { + pmic: pmic@8 { compatible = "fsl,pfuze200"; reg = <0x08>;
arch/arm/boot/dts/imx6sx-softing-vining-2000.dts +1 -1
@@ -171,7 +171,7 @@ proximity: sx9500@28 { reset-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; }; - pmic: pfuze100@8 { + pmic: pmic@8 { compatible = "fsl,pfuze200"; reg = <0x08>;
arch/arm/boot/dts/imx6ul-pico.dtsi +1 -1
@@ -131,7 +131,7 @@ &i2c1 { pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; - pmic: pfuze3000@8 { + pmic: pmic@8 { compatible = "fsl,pfuze3000"; reg = <0x08>;
arch/arm/boot/dts/imx7d-nitrogen7.dts +1 -1
@@ -159,7 +159,7 @@ &i2c1 { pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; - pmic: pfuze3000@8 { + pmic: pmic@8 { compatible = "fsl,pfuze3000"; reg = <0x08>;
arch/arm/boot/dts/imx7d-pico.dtsi +1 -1
@@ -170,7 +170,7 @@ &i2c4 { pinctrl-0 = <&pinctrl_i2c4>; status = "okay"; - pmic: pfuze3000@8 { + pmic: pmic@8 { compatible = "fsl,pfuze3000"; reg = <0x08>;
arch/arm/boot/dts/imx7d-sdb.dts +1 -1
@@ -275,7 +275,7 @@ &i2c1 { pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; - pmic: pfuze3000@8 { + pmic: pmic@8 { compatible = "fsl,pfuze3000"; reg = <0x08>;
arch/arm/boot/dts/imx7s-warp.dts +1 -1
@@ -94,7 +94,7 @@ &i2c1 { pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; - pmic: pfuze3000@8 { + pmic: pmic@8 { compatible = "fsl,pfuze3000"; reg = <0x08>;
Signature · 1 line
2.34.1
Re: [PATCH v2 2/3] ARM: dts: imx: Use 'pmic' as node name
Quoted 7 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Devicetree node names should be generic. Use 'pmic' as node name to avoid devicetree check warning from
pfuze100.yaml.Signed-off-by Fabio Estevam <[email protected]>---
Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Shawn Guo
AppliedRe: [PATCH v2 2/3] ARM: dts: imx: Use 'pmic' as node name
In reply to Fabio EstevamQuoted 6 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Devicetree node names should be generic. Use 'pmic' as node name to avoid devicetree check warning from
pfuze100.yaml.Signed-off-by Fabio Estevam <[email protected]>
Applied, thanks!
Fabio Estevam
reviewerPATCH v2 3/3 ARM: dts: imx6ul-ccimx6ulsom: Fix the "coin" regulator name
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
As documented in pfuze100.yaml, the correct name for the regulator is "coin", so change it to fix the following DT check warning:
imx6ul-ccimx6ulsbcexpress.dtb: pmic@8: regulators: 'vcoin' does not match any of the regexes:
---
Changes since v1:
- Keep the node and change the name from vcoin to coin.
arch/arm/boot/dts/imx6ul-ccimx6ulsom.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx6ul-ccimx6ulsom.dtsi +1 -1
@@ -158,7 +158,7 @@ ldo4_ext: vldo4 { regulator-max-microvolt = <3300000>; }; - vcoin_chg: vcoin { + vcoin_chg: coin { regulator-min-microvolt = <2500000>; regulator-max-microvolt = <3300000>; };
Signature · 1 line
2.34.1
Shawn Guo
AppliedRe: [PATCH v2 3/3] ARM: dts: imx6ul-ccimx6ulsom: Fix the "coin" regulator name
Quoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
As documented in
pfuze100.yaml, the correct name for the regulator is "coin", so change it to fix the following DT check warning:imx6ul-ccimx6ulsbcexpress.dtb: pmic@8: regulators: 'vcoin' does not match any of the regexes:
Signed-off-by Fabio Estevam <[email protected]>
Applied, thanks!
Quoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
The PFUZE100 PMIC has an interrupt pin that can be connected to the host SoC. Describe it in the dt-bindings to avoid warnings like:
imx6q-zii-rdu2.dtb: pmic@8: 'interrupt-parent', 'interrupts' do not match any of the regexes: 'pinctrl-[0-9]+' From schema:
Documentation/devicetree/bindings/regulator/pfuze100.yaml
Quoted 9 lines
Signed-off-by Fabio Estevam <[email protected]>Reviewed-by Conor Dooley <[email protected]>---
Changes since v1:
- None. Only collected Conor's Reviewed-by tag.Documentation/devicetree/bindings/regulator/pfuze100.yaml | 3 +++ 1 file changed, 3 insertions(+)
Running 'make dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings.
Note that it is not yet a requirement to have 0 warnings for dtbs_check. This will change in the future.
Full log is available here: https://patchwork.ozlabs.org/patch/1786770
pf0100@8: $nodename:0: 'pf0100@8' does not match '^pmic@[0-9]$'
arch/arm/boot/dts/imx6dl-riotboard.dtb
pfuze100@8: $nodename:0: 'pfuze100@8' does not match '^pmic@[0-9]$'
arch/arm/boot/dts/imx6dl-gw54xx.dtb arch/arm/boot/dts/imx6dl-sabreauto.dtb arch/arm/boot/dts/imx6dl-sabresd.dtb arch/arm/boot/dts/imx6dl-wandboard-revd1.dtb arch/arm/boot/dts/imx6q-dmo-edmqmx6.dtb arch/arm/boot/dts/imx6q-gw5400-a.dtb arch/arm/boot/dts/imx6q-gw54xx.dtb arch/arm/boot/dts/imx6q-novena.dtb arch/arm/boot/dts/imx6q-pistachio.dtb arch/arm/boot/dts/imx6qp-sabreauto.dtb arch/arm/boot/dts/imx6qp-sabresd.dtb arch/arm/boot/dts/imx6qp-wandboard-revd1.dtb arch/arm/boot/dts/imx6q-sabreauto.dtb arch/arm/boot/dts/imx6q-sabresd.dtb arch/arm/boot/dts/imx6q-wandboard-revd1.dtb arch/arm/boot/dts/imx6sl-evk.dtb arch/arm/boot/dts/imx6sx-sdb.dtb arch/arm/boot/dts/imx6sx-sdb-mqs.dtb arch/arm/boot/dts/imx6sx-sdb-reva.dtb arch/arm/boot/dts/imx6sx-sdb-sai.dtb arch/arm/boot/dts/imx6sx-softing-vining-2000.dtb
pfuze3000@8: $nodename:0: 'pfuze3000@8' does not match '^pmic@[0-9]$'
arch/arm/boot/dts/imx6ul-pico-dwarf.dtb arch/arm/boot/dts/imx6ul-pico-hobbit.dtb arch/arm/boot/dts/imx6ul-pico-pi.dtb arch/arm/boot/dts/imx7d-nitrogen7.dtb arch/arm/boot/dts/imx7d-pico-dwarf.dtb arch/arm/boot/dts/imx7d-pico-hobbit.dtb arch/arm/boot/dts/imx7d-pico-nymph.dtb arch/arm/boot/dts/imx7d-pico-pi.dtb arch/arm/boot/dts/imx7d-sdb.dtb arch/arm/boot/dts/imx7d-sdb-reva.dtb arch/arm/boot/dts/imx7d-sdb-sht11.dtb arch/arm/boot/dts/imx7s-warp.dtb
pmic@8: regulators: 'vcoin' does not match any of the regexes: '^(vsnvs|vref|vrefddr|swbst|coin|v33|vccsd)$', '^sw([1-4]|[1-4][a-c]|[1-4][a-c][a-c])$', '^vgen[1-6]$', '^vldo[1-4]$', 'pinctrl-[0-9]+'
arch/arm/boot/dts/imx6ul-ccimx6ulsbcexpress.dtb
arch/arm/boot/dts/imx6ul-ccimx6ulsbcpro.dtb
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 26 lines · Krzysztof Kozlowski
Quoted 8 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
The PFUZE100 PMIC has an interrupt pin that can be connected to the host SoC. Describe it in the dt-bindings to avoid warnings like:
imx6q-zii-rdu2.dtb: pmic@8: 'interrupt-parent', 'interrupts' do not match any of the regexes: 'pinctrl-[0-9]+' From schema:
Documentation/devicetree/bindings/regulator/pfuze100.yamlQuoted 9 lines
Signed-off-by Fabio Estevam <[email protected]>Reviewed-by Conor Dooley <[email protected]>---
Changes since v1:
- None. Only collected Conor's Reviewed-by tag.Documentation/devicetree/bindings/regulator/pfuze100.yaml | 3 +++ 1 file changed, 3 insertions(+)Running 'make
dtbs_check' with the schema in this patch gives the following warnings. Consider if they are expected or the schema is incorrect. These may not be new warnings.Note that it is not yet a requirement to have 0 warnings for
dtbs_check. This will change in the future.
Quoted 7 lines
Full log is available here: https://patchwork.ozlabs.org/patch/1786770
pf0100@8: $nodename:0: 'pf0100@8' does not match '^pmic@[0-9]$'
arch/arm/boot/dts/imx6dl-riotboard.dtbpfuze100@8: $nodename:0: 'pfuze100@8' does not match '^pmic@[0-9]$'
It seems you fix all these.
Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 1 line · Krzysztof Kozlowski
It seems you fix all these.
That's correct. All these errors were fixed by this series.
Mark Brown
maintainerRe: (subset) [PATCH v2 1/3] dt-bindings: pfuze100.yaml: Add an entry for interrupts
In reply to Fabio EstevamQuoted 8 lines · Fabio Estevam
The PFUZE100 PMIC has an interrupt pin that can be connected to the host SoC. Describe it in the dt-bindings to avoid warnings like:
imx6q-zii-rdu2.dtb: pmic@8: 'interrupt-parent', 'interrupts' do not match any of the regexes: 'pinctrl-[0-9]+' From schema:
Documentation/devicetree/bindings/regulator/pfuze100.yaml[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[1/3] dt-bindings: pfuze100.yaml: Add an entry for interrupts
commit: 87fe0214d7aae5e1152953710489c5ab5469b388
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark