Skip to contentSkip to conversation

arm64: configs: remove redundant CONFIG_MTK_PMIC_WRAP

PATCH In review Luo Longjun 5 participants 6 messages May 10, 2021 – Jun 14, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: configs: remove redundant CONFIG_MTK_PMIC_WRAP

When I compile kernel in ARM64, it produces the following output:

*** Default configuration is based on 'defconfig' arch/arm64/configs/defconfig:1018:warning: override: reassigning to symbol MTK_PMIC_WRAP

After checking defcofnig, I found two CONFIG_MTK_PMIC_WRAP options.

---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/configs/defconfig +0 -1
index 08c6f769df9a..9907a431db0d 100644
@@ -491,7 +491,6 @@ CONFIG_SPI_S3C64XX=y
 CONFIG_SPI_SH_MSIOF=m
 CONFIG_SPI_SUN6I=y
 CONFIG_SPI_SPIDEV=m
-CONFIG_MTK_PMIC_WRAP=m
 CONFIG_SPMI=y
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_PINCTRL_MAX77620=y
Signature · 1 line
2.17.1
#1 lore raw
Quoted 18 lines · Luo Longjun

When I compile kernel in ARM64, it produces the following output:

*** Default configuration is based on 'defconfig' arch/arm64/configs/defconfig:1018:warning: override: reassigning to symbol MTK_PMIC_WRAP

After checking defcofnig, I found two CONFIG_MTK_PMIC_WRAP options.

---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/configs/defconfig +0 -0
index 08c6f769df9a..9907a431db0d 100644

arch/arm64/configs/defconfig CONFIG_SPI_S3C64XX=y · line 496

Quoted 7 lines
arch/arm64/configs/defconfig +0 -1
@@ -491,7 +491,6 @@ CONFIG_SPI_S3C64XX=y
 CONFIG_SPI_SH_MSIOF=m
 CONFIG_SPI_SUN6I=y
 CONFIG_SPI_SPIDEV=m
-CONFIG_MTK_PMIC_WRAP=m
 CONFIG_SPMI=y
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_PINCTRL_MAX77620=y

Adding Matthias and Enric. This change looks fine to me but I think it should go in via the arm-soc tree. Commit 9fd5449e061e introduced the =m option while commit fbbe38309d56 introduced the =y variant.

You could add:

Fixes fbbe38309d56 ("arm64: defconfig: Allow mt8173-based boards to boot from usb")
Signature · 1 line
Catalin
#2 lore raw

Hi Catalin,

Thanks for cc'ing me.

Quoted 31 lines · Catalin Marinas
Quoted 18 lines · Luo Longjun

When I compile kernel in ARM64, it produces the following output:

*** Default configuration is based on 'defconfig' arch/arm64/configs/defconfig:1018:warning: override: reassigning to symbol MTK_PMIC_WRAP

After checking defcofnig, I found two CONFIG_MTK_PMIC_WRAP options.

---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/configs/defconfig +0 -0
index 08c6f769df9a..9907a431db0d 100644

arch/arm64/configs/defconfig CONFIG_SPI_S3C64XX=y · line 496

Quoted 7 lines
arch/arm64/configs/defconfig +0 -1
@@ -491,7 +491,6 @@ CONFIG_SPI_S3C64XX=y
 CONFIG_SPI_SH_MSIOF=m
 CONFIG_SPI_SUN6I=y
 CONFIG_SPI_SPIDEV=m
-CONFIG_MTK_PMIC_WRAP=m
 CONFIG_SPMI=y
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_PINCTRL_MAX77620=y

Adding Matthias and Enric. This change looks fine to me but I think it should go in via the arm-soc tree. Commit 9fd5449e061e introduced the =m option while commit fbbe38309d56 introduced the =y variant.

Quoted 4 lines

You could add:

Fixes fbbe38309d56 ("arm64: defconfig: Allow mt8173-based boards to boot from usb")

I sent the same patch some time ago [1].

I agree, either land this patch or mine. In any case,

Matthias is this something that should go through your tree?

Thanks,
Enric

[1]
https://lore.kernel.org/linux-arm-kernel/[email protected]/T/

#3 lore raw

Hi all,

Quoted 41 lines · Enric Balletbo i Serra

Hi Catalin,

Thanks for cc'ing me.

Quoted 31 lines · Catalin Marinas
Quoted 18 lines · Luo Longjun

When I compile kernel in ARM64, it produces the following output:

*** Default configuration is based on 'defconfig' arch/arm64/configs/defconfig:1018:warning: override: reassigning to symbol MTK_PMIC_WRAP

After checking defcofnig, I found two CONFIG_MTK_PMIC_WRAP options.

---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/configs/defconfig +0 -0
index 08c6f769df9a..9907a431db0d 100644

arch/arm64/configs/defconfig CONFIG_SPI_S3C64XX=y · line 496

Quoted 7 lines
arch/arm64/configs/defconfig +0 -1
@@ -491,7 +491,6 @@ CONFIG_SPI_S3C64XX=y
 CONFIG_SPI_SH_MSIOF=m
 CONFIG_SPI_SUN6I=y
 CONFIG_SPI_SPIDEV=m
-CONFIG_MTK_PMIC_WRAP=m
 CONFIG_SPMI=y
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_PINCTRL_MAX77620=y

Adding Matthias and Enric. This change looks fine to me but I think it should go in via the arm-soc tree. Commit 9fd5449e061e introduced the =m option while commit fbbe38309d56 introduced the =y variant.

Quoted 4 lines

You could add:

Fixes fbbe38309d56 ("arm64: defconfig: Allow mt8173-based boards to boot from usb")
Quoted 8 lines

I sent the same patch some time ago [1].

I agree, either land this patch or mine. In any case,

Matthias is this something that should go through your tree?

Yes, this should go through my tree. I'll take care of it.

Regards,
Matthias

Reviewed-by
#4 lore raw

Hi,

Quoted 42 lines

Hi all,

Quoted 39 lines · Enric Balletbo i Serra

Hi Catalin,

Thanks for cc'ing me.

Quoted 34 lines · Catalin Marinas
Quoted 18 lines · Luo Longjun

When I compile kernel in ARM64, it produces the following output:

*** Default configuration is based on 'defconfig' arch/arm64/configs/defconfig:1018:warning: override: reassigning to symbol MTK_PMIC_WRAP

After checking defcofnig, I found two CONFIG_MTK_PMIC_WRAP options.

---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/configs/defconfig +0 -0
index 08c6f769df9a..9907a431db0d 100644

arch/arm64/configs/defconfig CONFIG_SPI_S3C64XX=y · line 496

Quoted 7 lines
arch/arm64/configs/defconfig +0 -1
@@ -491,7 +491,6 @@ CONFIG_SPI_S3C64XX=y
 CONFIG_SPI_SH_MSIOF=m
 CONFIG_SPI_SUN6I=y
 CONFIG_SPI_SPIDEV=m
-CONFIG_MTK_PMIC_WRAP=m
 CONFIG_SPMI=y
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_PINCTRL_MAX77620=y

Adding Matthias and Enric. This change looks fine to me but I think it should go in via the arm-soc tree. Commit 9fd5449e061e introduced the =m option while commit fbbe38309d56 introduced the =y variant.

You could add:

Fixes fbbe38309d56 ("arm64: defconfig: Allow mt8173-based boards to boot from usb")

I was going to send fix myself, I'd prefer also y, but weren't 100% sure sure.

For a record:

* CONFIG_MTK_PMIC_WRAP=m committed by author in 2021-01-04, merged 2021-01-31 15:31:01 9fd5449e061e ("arm64: configs: Support pwrap on Mediatek MT6779 platform")
sent: 4 Jan 2021
https://lore.kernel.org/r/[email protected]
Applied to v5.11-next/defconfig 31 Jan 2021 15:32:26 by Matthias Brugger <[email protected]>
https://lore.kernel.org/linux-devicetree/[email protected]/

* CONFIG_MTK_PMIC_WRAP=y was committed by author in 2021-03-31 11:06:57, merged 2021-03-31 12:12:59 fbbe38309d56 ("arm64: defconfig: Allow mt8173-based boards to boot from usb")
sent: 31 Mar 2021 11:06:57
https://lore.kernel.org/r/[email protected]
But originally sent: 9 Feb 2021 10:11:11
https://lore.kernel.org/lkml/[email protected]/

Kind regards,
Petr

Quoted 13 lines
Quoted 7 lines

I sent the same patch some time ago [1].

I agree, either land this patch or mine. In any case,

Matthias is this something that should go through your tree?

Yes, this should go through my tree. I'll take care of it.

Regards,
Matthias

#5 lore raw

Hi Petr,

Quoted 41 lines · Petr Vorel

Hi,

Quoted 38 lines

Hi all,

Quoted 35 lines · Enric Balletbo i Serra

Hi Catalin,

Thanks for cc'ing me.

Quoted 30 lines · Catalin Marinas
Quoted 18 lines · Luo Longjun

When I compile kernel in ARM64, it produces the following output:

*** Default configuration is based on 'defconfig' arch/arm64/configs/defconfig:1018:warning: override: reassigning to symbol MTK_PMIC_WRAP

After checking defcofnig, I found two CONFIG_MTK_PMIC_WRAP options.

---
 arch/arm64/configs/defconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/configs/defconfig +0 -0
index 08c6f769df9a..9907a431db0d 100644

arch/arm64/configs/defconfig CONFIG_SPI_S3C64XX=y · line 496

Quoted 7 lines
arch/arm64/configs/defconfig +0 -1
@@ -491,7 +491,6 @@ CONFIG_SPI_S3C64XX=y
 CONFIG_SPI_SH_MSIOF=m
 CONFIG_SPI_SUN6I=y
 CONFIG_SPI_SPIDEV=m
-CONFIG_MTK_PMIC_WRAP=m
 CONFIG_SPMI=y
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_PINCTRL_MAX77620=y

Adding Matthias and Enric. This change looks fine to me but I think it should go in via the arm-soc tree. Commit 9fd5449e061e introduced the =m option while commit fbbe38309d56 introduced the =y variant.

Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

You could add:

Fixes fbbe38309d56 ("arm64: defconfig: Allow mt8173-based boards to boot from usb")

I was going to send fix myself, I'd prefer also y, but weren't 100% sure sure.

This has landed in the arm-soc tree this weekend.
Anyway, thanks for looking into this as well.

Regards,
Matthias

Quoted 32 lines

For a record:

* CONFIG_MTK_PMIC_WRAP=m committed by author in 2021-01-04, merged 2021-01-31 15:31:01 9fd5449e061e ("arm64: configs: Support pwrap on Mediatek MT6779 platform")
sent: 4 Jan 2021
https://lore.kernel.org/r/[email protected]
Applied to v5.11-next/defconfig 31 Jan 2021 15:32:26 by Matthias Brugger <[email protected]>
https://lore.kernel.org/linux-devicetree/[email protected]/

* CONFIG_MTK_PMIC_WRAP=y was committed by author in 2021-03-31 11:06:57, merged 2021-03-31 12:12:59 fbbe38309d56 ("arm64: defconfig: Allow mt8173-based boards to boot from usb")
sent: 31 Mar 2021 11:06:57
https://lore.kernel.org/r/[email protected]
But originally sent: 9 Feb 2021 10:11:11
https://lore.kernel.org/lkml/[email protected]/

Kind regards,
Petr

Quoted 13 lines
Quoted 7 lines

I sent the same patch some time ago [1].

I agree, either land this patch or mine. In any case,

Matthias is this something that should go through your tree?

Yes, this should go through my tree. I'll take care of it.

Regards,
Matthias