ARM: dts: omap3-igep: remove VSIM regulator
PATCH 1/1 ARM: dts: omap3-igep: remove VSIM regulator
commit 5a8095e9 ARM: dts: Add omap3-beagle.dts
moved the VSIM regulator definition to the twl4030.dtsi to avoid duplication. A definition for the VSIM regulator was also present on omap3-igep.dtsi which leads to the following build error:
DTC arch/arm/boot/dts/omap3-igep0020.dtb
DTC arch/arm/boot/dts/omap3-igep0030.dtb
ERROR (duplicate_label): Duplicate label 'vsim' on /ocp/i2c at 48070000/twl at 48/regulator-vsim and /ocp/i2c at 48070000/twl at 48/regulator at 10
ERROR: Input tree has errors, aborting (use -f to force output)
ERROR (duplicate_label): Duplicate label 'vsim' on /ocp/i2c at 48070000/twl at 48/regulator-vsim and /ocp/i2c at 48070000/twl at 48/regulator at 10
ERROR: Input tree has errors, aborting (use -f to force output)
make[1]: *** [arch/arm/boot/dts/omap3-igep0020.dtb] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [arch/arm/boot/dts/omap3-igep0030.dtb] Error 2
make: *** [dtbs] Error 2
Since IGEP devices uses the same PMIC as Beagle boards, the VSIM definition from twl4030.dtsi can be used.
--- arch/arm/boot/dts/omap3-igep.dtsi | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
arch/arm/boot/dts/omap3-igep.dtsi +0 -6
@@ -43,12 +43,6 @@ interrupts = <7>; /* SYS_NIRQ cascaded to intc */ interrupt-parent = <&intc>; - vsim: regulator at 10 { - compatible = "ti,twl4030-vsim"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3000000>; - }; - twl_audio: audio { compatible = "ti,twl4030-audio"; codec {
Signature · 1 line
1.7.7.6
PATCH 1/1 ARM: dts: omap3-igep: remove VSIM regulator
Quoted 32 lines · Javier Martinez Canillas
commit
5a8095e9ARM: dts: Addomap3-beagle.dtsmoved the VSIM regulator definition to the
twl4030.dtsito avoid duplication. A definition for the VSIM regulator was also present onomap3-igep.dtsiwhich leads to the following build error:DTC
arch/arm/boot/dts/omap3-igep0020.dtb
DTCarch/arm/boot/dts/omap3-igep0030.dtb
ERROR (duplicate_label): Duplicate label 'vsim' on /ocp/i2c at 48070000/twl at 48/regulator-vsim and /ocp/i2c at 48070000/twl at 48/regulator at 10
ERROR: Input tree has errors, aborting (use -f to force output)
ERROR (duplicate_label): Duplicate label 'vsim' on /ocp/i2c at 48070000/twl at 48/regulator-vsim and /ocp/i2c at 48070000/twl at 48/regulator at 10
ERROR: Input tree has errors, aborting (use -f to force output)
make[1]: *** [arch/arm/boot/dts/omap3-igep0020.dtb] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [arch/arm/boot/dts/omap3-igep0030.dtb] Error 2
make: *** [dtbs] Error 2Since IGEP devices uses the same PMIC as Beagle boards, the VSIM definition from
twl4030.dtsican be used.Signed-off-by Javier Martinez Canillas <[email protected]>--- arch/arm/boot/dts/omap3-igep.dtsi | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)arch/arm/boot/dts/omap3-igep.dtsi +0
-0@@ -43,12 +43,6 @@ interrupts = <7>; /* SYS_NIRQ cascaded to intc */ interrupt-parent = <&intc>;
arch/arm/boot/dts/omap3-igep.dtsi line 48
Quoted 10 lines
arch/arm/boot/dts/omap3-igep.dtsi +0
-6- vsim: regulator at 10 { - compatible = "ti,twl4030-vsim"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3000000>; - }; - twl_audio: audio { compatible = "ti,twl4030-audio"; codec {
Hi Benoit,
It is ok for you that I send delta patches for the IGEP DT initial support [1] such as this patch and the MMC device node mux pins setup
[2] or should I merge these changes and resend a new patch-set?
Thanks a lot and best regards,
Javier
[1]: https://lkml.org/lkml/2012/12/3/142
[2]: https://patchwork.kernel.org/patch/1882991/
PATCH 1/1 ARM: dts: omap3-igep: remove VSIM regulator
Hi Javier,
Quoted 47 lines · Javier Martinez Canillas
Quoted 32 lines · Javier Martinez Canillas
commit
5a8095e9ARM: dts: Addomap3-beagle.dtsmoved the VSIM regulator definition to the
twl4030.dtsito avoid duplication. A definition for the VSIM regulator was also present onomap3-igep.dtsiwhich leads to the following build error:DTC
arch/arm/boot/dts/omap3-igep0020.dtb
DTCarch/arm/boot/dts/omap3-igep0030.dtb
ERROR (duplicate_label): Duplicate label 'vsim' on /ocp/i2c at 48070000/twl at 48/regulator-vsim and /ocp/i2c at 48070000/twl at 48/regulator at 10
ERROR: Input tree has errors, aborting (use -f to force output)
ERROR (duplicate_label): Duplicate label 'vsim' on /ocp/i2c at 48070000/twl at 48/regulator-vsim and /ocp/i2c at 48070000/twl at 48/regulator at 10
ERROR: Input tree has errors, aborting (use -f to force output)
make[1]: *** [arch/arm/boot/dts/omap3-igep0020.dtb] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [arch/arm/boot/dts/omap3-igep0030.dtb] Error 2
make: *** [dtbs] Error 2Since IGEP devices uses the same PMIC as Beagle boards, the VSIM definition from
twl4030.dtsican be used.Signed-off-by Javier Martinez Canillas <[email protected]>--- arch/arm/boot/dts/omap3-igep.dtsi | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)arch/arm/boot/dts/omap3-igep.dtsi +0
-0@@ -43,12 +43,6 @@ interrupts = <7>; /* SYS_NIRQ cascaded to intc */ interrupt-parent = <&intc>;arch/arm/boot/dts/omap3-igep.dtsi line 48
Quoted 10 lines
arch/arm/boot/dts/omap3-igep.dtsi +0
-6- vsim: regulator at 10 { - compatible = "ti,twl4030-vsim"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3000000>; - }; - twl_audio: audio { compatible = "ti,twl4030-audio"; codec {Hi Benoit,
Quoted 3 lines
It is ok for you that I send delta patches for the IGEP DT initial support [1] such as this patch and the MMC device node mux pins setup
[2] or should I merge these changes and resend a new patch-set?
It is always better to re-send a clean patch set instead of fixing a previously broken one. It will be bisect friendly.
Regards,
Benoit
PATCH 1/1 ARM: dts: omap3-igep: remove VSIM regulator
Quoted 54 lines · Benoit Cousson
Hi Javier,
Quoted 47 lines · Javier Martinez Canillas
Quoted 32 lines · Javier Martinez Canillas
commit
5a8095e9ARM: dts: Addomap3-beagle.dtsmoved the VSIM regulator definition to the
twl4030.dtsito avoid duplication. A definition for the VSIM regulator was also present onomap3-igep.dtsiwhich leads to the following build error:DTC
arch/arm/boot/dts/omap3-igep0020.dtb
DTCarch/arm/boot/dts/omap3-igep0030.dtb
ERROR (duplicate_label): Duplicate label 'vsim' on /ocp/i2c at 48070000/twl at 48/regulator-vsim and /ocp/i2c at 48070000/twl at 48/regulator at 10
ERROR: Input tree has errors, aborting (use -f to force output)
ERROR (duplicate_label): Duplicate label 'vsim' on /ocp/i2c at 48070000/twl at 48/regulator-vsim and /ocp/i2c at 48070000/twl at 48/regulator at 10
ERROR: Input tree has errors, aborting (use -f to force output)
make[1]: *** [arch/arm/boot/dts/omap3-igep0020.dtb] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [arch/arm/boot/dts/omap3-igep0030.dtb] Error 2
make: *** [dtbs] Error 2Since IGEP devices uses the same PMIC as Beagle boards, the VSIM definition from
twl4030.dtsican be used.Signed-off-by Javier Martinez Canillas <[email protected]>--- arch/arm/boot/dts/omap3-igep.dtsi | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)arch/arm/boot/dts/omap3-igep.dtsi +0
-0@@ -43,12 +43,6 @@ interrupts = <7>; /* SYS_NIRQ cascaded to intc */ interrupt-parent = <&intc>;arch/arm/boot/dts/omap3-igep.dtsi line 48
Quoted 10 lines
arch/arm/boot/dts/omap3-igep.dtsi +0
-6- vsim: regulator at 10 { - compatible = "ti,twl4030-vsim"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3000000>; - }; - twl_audio: audio { compatible = "ti,twl4030-audio"; codec {Hi Benoit,
Quoted 3 lines
It is ok for you that I send delta patches for the IGEP DT initial support [1] such as this patch and the MMC device node mux pins setup
[2] or should I merge these changes and resend a new patch-set?
Quoted 6 lines
It is always better to re-send a clean patch set instead of fixing a previously broken one. It will be bisect friendly.
Regards,
Benoit
ok, it wasn't broken when I sent it but the recent change on twl4030.dtsi broke it...
I'll send a v4 of the patch-set with this fix + the MMC mux pins setup
Thanks a lot and best regards,
Javier