dt-bindings: pfuze100.yaml: Add an entry for interrupts
Fabio Estevam
reviewerPATCH 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
--- 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 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.
--- arch/arm/boot/dts/imx6dl-riotboard.dts | 2 +- arch/arm/boot/dts/imx6q-dmo-edmqmx6.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/imx6ul-pico.dtsi | 2 +- arch/arm/boot/dts/imx7d-nitrogen7.dts | 2 +- arch/arm/boot/dts/imx7d-sdb.dts | 2 +- arch/arm/boot/dts/imx7s-warp.dts | 2 +- 14 files changed, 14 insertions(+), 14 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-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/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-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
Fabio Estevam
reviewerPATCH 3/3 ARM: dts: imx6ul-ccimx6ulsom: Remove unexisting PMIC supply
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
There is no "vcoin" supply output provided by the PFUZE100 PMIC.
Remove it to fix the following DT check warning:
imx6ul-ccimx6ulsbcexpress.dtb: pmic@8: regulators: 'vcoin' does not match any of the regexes:
--- arch/arm/boot/dts/imx6ul-ccimx6ulsom.dtsi | 5 ----- 1 file changed, 5 deletions(-)
arch/arm/boot/dts/imx6ul-ccimx6ulsom.dtsi +0 -5
@@ -157,11 +157,6 @@ ldo4_ext: vldo4 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; }; - - vcoin_chg: vcoin { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <3300000>; - }; }; }; };
Signature · 1 line
2.34.1
Re: [PATCH 3/3] ARM: dts: imx6ul-ccimx6ulsom: Remove unexisting PMIC supply
Hey Fabio,
Quoted 7 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
There is no "vcoin" supply output provided by the PFUZE100 PMIC.
Remove it to fix the following DT check warning:
imx6ul-ccimx6ulsbcexpress.dtb: pmic@8: regulators: 'vcoin' does not match any of the regexes:
Dumb question, did you spot this only because of dtbs_check, or is this something you know to be true?
I had the datasheet open to check the interrupt thing, so I figured I may as well look for coin cell chargers too.
Seemly there is a "licell" pin that is an input/output. Is this what the vcoin_chg was referring to, or is that something else entirely?
I know nothing about the hardware at all, so was just something that piqued my curiosity.
Thanks,
Conor.
Quoted 25 lines
Signed-off-by Fabio Estevam <[email protected]>--- arch/arm/boot/dts/imx6ul-ccimx6ulsom.dtsi | 5 ----- 1 file changed, 5 deletions(-)arch/arm/boot/dts/imx6ul-ccimx6ulsom.dtsi +0
-5@@ -157,11 +157,6 @@ ldo4_ext: vldo4 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; }; - - vcoin_chg: vcoin { - regulator-min-microvolt = <2500000>; - regulator-max-microvolt = <3300000>; - }; }; }; };Signature · 1 line
2.34.1
Fabio Estevam
reviewerRe: [PATCH 3/3] ARM: dts: imx6ul-ccimx6ulsom: Remove unexisting PMIC supply
Hi Conor,
Quoted 9 lines · Conor Dooley
Dumb question, did you spot this only because of
dtbs_check, or is this something you know to be true?
I had the datasheet open to check the interrupt thing, so I figured I may as well look for coin cell chargers too.
Seemly there is a "licell" pin that is an input/output. Is this what thevcoin_chgwas referring to, or is that something else entirely?I know nothing about the hardware at all, so was just something that piqued my curiosity.
Thanks for your review.
I have double-checked it and the correct fix is to change it from "vcoin" to "coin".
I will send a v2 soon.
Thanks
Quoted 9 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.yamlSigned-off-by Fabio Estevam <[email protected]>
Thanks,
Conor.