public inbox for linux-mips@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option
@ 2024-09-03 14:24 Heikki Krogerus
  2024-09-03 14:25 ` [PATCH v2 4/7] mips: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM Heikki Krogerus
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Heikki Krogerus @ 2024-09-03 14:24 UTC (permalink / raw)
  To: Andi Shyti, Jarkko Nikula
  Cc: Andy Shevchenko, Mika Westerberg, Jan Dabros, linux-i2c,
	linux-kernel, Vineet Gupta, Russell King, Dinh Nguyen,
	Catalin Marinas, Will Deacon, Alexandre Belloni,
	Thomas Bogendoerfer, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Jiawen Wu, Mengyuan Lou, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, netdev, linux-riscv, UNGLinuxDriver,
	linux-mips, linux-arm-kernel, linux-snps-arc

Hi guys,

This is a proposal for Kconfig improvement regarding the Synopsys
DesignWare I2C adapter driver.

Changes since v1:

There was one driver that selects I2C_DESIGNWARE_PLATFORM in its
Kconfig which causes an error because I2C_DESIGNWARE_CORE is not
selected.

The drivers Kconfig I'm proposing that we fix by using "depends on"
instead of "select". There are also a number of defconfigs that enable
I2C_DESIGNWARE_PLATFORM that now need to enable I2C_DESIGNWARE_CORE.

The original patch:
https://lore.kernel.org/linux-i2c/20240830111222.2131172-1-heikki.krogerus@linux.intel.com/

thanks,

Heikki Krogerus (7):
  ARC: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
  ARM: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
  arm64: defconfig: enable I2C_DESIGNWARE_CORE with
    I2C_DESIGNWARE_PLATFORM
  mips: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
  RISC-V: configs: enable I2C_DESIGNWARE_CORE with
    I2C_DESIGNWARE_PLATFORM
  net: txgbe: Fix I2C Kconfig dependencies
  i2c: designware: Group all DesignWare drivers under a single option

 arch/arc/configs/axs101_defconfig             |  1 +
 arch/arc/configs/axs103_defconfig             |  1 +
 arch/arc/configs/axs103_smp_defconfig         |  1 +
 arch/arc/configs/tb10x_defconfig              |  1 +
 arch/arm/configs/hisi_defconfig               |  1 +
 arch/arm/configs/multi_v7_defconfig           |  1 +
 arch/arm/configs/pxa_defconfig                |  1 +
 arch/arm/configs/socfpga_defconfig            |  1 +
 arch/arm/configs/spear13xx_defconfig          |  1 +
 arch/arm/configs/spear3xx_defconfig           |  1 +
 arch/arm/configs/spear6xx_defconfig           |  1 +
 arch/arm64/configs/defconfig                  |  1 +
 arch/mips/configs/generic/board-ocelot.config |  1 +
 arch/riscv/configs/defconfig                  |  1 +
 arch/riscv/configs/nommu_k210_defconfig       |  1 +
 .../riscv/configs/nommu_k210_sdcard_defconfig |  1 +
 drivers/i2c/busses/Kconfig                    | 29 ++++++++++++-------
 drivers/net/ethernet/wangxun/Kconfig          |  3 +-
 18 files changed, 35 insertions(+), 13 deletions(-)

-- 
2.45.2


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

* [PATCH v2 4/7] mips: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
  2024-09-03 14:24 [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option Heikki Krogerus
@ 2024-09-03 14:25 ` Heikki Krogerus
  2024-09-03 21:01 ` [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option Andi Shyti
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Heikki Krogerus @ 2024-09-03 14:25 UTC (permalink / raw)
  To: Andi Shyti, Jarkko Nikula
  Cc: Andy Shevchenko, Mika Westerberg, Jan Dabros, linux-i2c,
	linux-kernel, Alexandre Belloni, UNGLinuxDriver,
	Thomas Bogendoerfer, linux-mips

The dependency handling of the Synopsys DesignWare I2C
adapter drivers is going to be changed so that the glue
drivers for the PCI and platform buses depend on
I2C_DESIGNWARE_CORE.

Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: UNGLinuxDriver@microchip.com
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
---
 arch/mips/configs/generic/board-ocelot.config | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/configs/generic/board-ocelot.config b/arch/mips/configs/generic/board-ocelot.config
index 8cfbafa532e0..a5b5b5102472 100644
--- a/arch/mips/configs/generic/board-ocelot.config
+++ b/arch/mips/configs/generic/board-ocelot.config
@@ -31,6 +31,7 @@ CONFIG_MICROSEMI_PHY=y
 CONFIG_I2C=y
 CONFIG_I2C_CHARDEV=y
 CONFIG_I2C_MUX=y
+CONFIG_I2C_DESIGNWARE_CORE=y
 CONFIG_I2C_DESIGNWARE_PLATFORM=y
 
 CONFIG_SPI=y
-- 
2.45.2


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

* Re: [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option
  2024-09-03 14:24 [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option Heikki Krogerus
  2024-09-03 14:25 ` [PATCH v2 4/7] mips: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM Heikki Krogerus
@ 2024-09-03 21:01 ` Andi Shyti
  2024-09-05  8:18   ` Jarkko Nikula
  2024-09-09 19:21 ` Andi Shyti
  2024-10-01 11:35 ` patchwork-bot+linux-riscv
  3 siblings, 1 reply; 7+ messages in thread
From: Andi Shyti @ 2024-09-03 21:01 UTC (permalink / raw)
  To: Heikki Krogerus
  Cc: Jarkko Nikula, Andy Shevchenko, Mika Westerberg, Jan Dabros,
	linux-i2c, linux-kernel, Vineet Gupta, Russell King, Dinh Nguyen,
	Catalin Marinas, Will Deacon, Alexandre Belloni,
	Thomas Bogendoerfer, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Jiawen Wu, Mengyuan Lou, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, netdev, linux-riscv, UNGLinuxDriver,
	linux-mips, linux-arm-kernel, linux-snps-arc

Hi Jarkko, Andy,

...

> Heikki Krogerus (7):
>   ARC: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
>   ARM: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
>   arm64: defconfig: enable I2C_DESIGNWARE_CORE with
>     I2C_DESIGNWARE_PLATFORM
>   mips: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
>   RISC-V: configs: enable I2C_DESIGNWARE_CORE with
>     I2C_DESIGNWARE_PLATFORM
>   net: txgbe: Fix I2C Kconfig dependencies
>   i2c: designware: Group all DesignWare drivers under a single option

I believe you know this code already, do you mind giving it an
ack?

Thanks,
Andi

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

* Re: [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option
  2024-09-03 21:01 ` [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option Andi Shyti
@ 2024-09-05  8:18   ` Jarkko Nikula
  0 siblings, 0 replies; 7+ messages in thread
From: Jarkko Nikula @ 2024-09-05  8:18 UTC (permalink / raw)
  To: Andi Shyti, Heikki Krogerus
  Cc: Andy Shevchenko, Mika Westerberg, Jan Dabros, linux-i2c,
	linux-kernel, Vineet Gupta, Russell King, Dinh Nguyen,
	Catalin Marinas, Will Deacon, Alexandre Belloni,
	Thomas Bogendoerfer, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Jiawen Wu, Mengyuan Lou, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, netdev, linux-riscv, UNGLinuxDriver,
	linux-mips, linux-arm-kernel, linux-snps-arc

On 9/4/24 12:01 AM, Andi Shyti wrote:
> Hi Jarkko, Andy,
> 
> ...
> 
>> Heikki Krogerus (7):
>>    ARC: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
>>    ARM: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
>>    arm64: defconfig: enable I2C_DESIGNWARE_CORE with
>>      I2C_DESIGNWARE_PLATFORM
>>    mips: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
>>    RISC-V: configs: enable I2C_DESIGNWARE_CORE with
>>      I2C_DESIGNWARE_PLATFORM
>>    net: txgbe: Fix I2C Kconfig dependencies
>>    i2c: designware: Group all DesignWare drivers under a single option
> 
> I believe you know this code already, do you mind giving it an
> ack?
> 
To the patches 1-7/7 in this set:

Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>

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

* Re: [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option
  2024-09-03 14:24 [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option Heikki Krogerus
  2024-09-03 14:25 ` [PATCH v2 4/7] mips: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM Heikki Krogerus
  2024-09-03 21:01 ` [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option Andi Shyti
@ 2024-09-09 19:21 ` Andi Shyti
  2024-10-01 11:35 ` patchwork-bot+linux-riscv
  3 siblings, 0 replies; 7+ messages in thread
From: Andi Shyti @ 2024-09-09 19:21 UTC (permalink / raw)
  To: Heikki Krogerus
  Cc: Jarkko Nikula, Andy Shevchenko, Mika Westerberg, Jan Dabros,
	linux-i2c, linux-kernel, Vineet Gupta, Russell King, Dinh Nguyen,
	Catalin Marinas, Will Deacon, Alexandre Belloni,
	Thomas Bogendoerfer, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Jiawen Wu, Mengyuan Lou, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, netdev, linux-riscv, UNGLinuxDriver,
	linux-mips, linux-arm-kernel, linux-snps-arc

Hi Heikki,

> Heikki Krogerus (7):
>   ARC: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
>   ARM: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
>   arm64: defconfig: enable I2C_DESIGNWARE_CORE with
>     I2C_DESIGNWARE_PLATFORM
>   mips: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
>   RISC-V: configs: enable I2C_DESIGNWARE_CORE with
>     I2C_DESIGNWARE_PLATFORM
>   net: txgbe: Fix I2C Kconfig dependencies
>   i2c: designware: Group all DesignWare drivers under a single option

Merged to i2c/i2c-host.

Thanks,
Andi

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

* Re: [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option
  2024-09-03 14:24 [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option Heikki Krogerus
                   ` (2 preceding siblings ...)
  2024-09-09 19:21 ` Andi Shyti
@ 2024-10-01 11:35 ` patchwork-bot+linux-riscv
  2024-10-02  8:45   ` Andi Shyti
  3 siblings, 1 reply; 7+ messages in thread
From: patchwork-bot+linux-riscv @ 2024-10-01 11:35 UTC (permalink / raw)
  To: Heikki Krogerus
  Cc: linux-riscv, andi.shyti, jarkko.nikula, andriy.shevchenko,
	mika.westerberg, jsd, linux-i2c, linux-kernel, vgupta, linux,
	dinguyen, catalin.marinas, will, alexandre.belloni, tsbogend,
	paul.walmsley, palmer, aou, jiawenwu, mengyuanlou, davem,
	edumazet, kuba, pabeni, netdev, UNGLinuxDriver, linux-mips,
	linux-arm-kernel, linux-snps-arc

Hello:

This patch was applied to riscv/linux.git (fixes)
by Andi Shyti <andi.shyti@kernel.org>:

On Tue,  3 Sep 2024 17:24:59 +0300 you wrote:
> Hi guys,
> 
> This is a proposal for Kconfig improvement regarding the Synopsys
> DesignWare I2C adapter driver.
> 
> Changes since v1:
> 
> [...]

Here is the summary with links:
  - [v2,5/7] RISC-V: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
    https://git.kernel.org/riscv/c/0175b1d3c6df

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

* Re: [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option
  2024-10-01 11:35 ` patchwork-bot+linux-riscv
@ 2024-10-02  8:45   ` Andi Shyti
  0 siblings, 0 replies; 7+ messages in thread
From: Andi Shyti @ 2024-10-02  8:45 UTC (permalink / raw)
  To: patchwork-bot+linux-riscv
  Cc: Heikki Krogerus, linux-riscv, jarkko.nikula, andriy.shevchenko,
	mika.westerberg, jsd, linux-i2c, linux-kernel, vgupta, linux,
	dinguyen, catalin.marinas, will, alexandre.belloni, tsbogend,
	paul.walmsley, palmer, aou, jiawenwu, mengyuanlou, davem,
	edumazet, kuba, pabeni, netdev, UNGLinuxDriver, linux-mips,
	linux-arm-kernel, linux-snps-arc

Hi,

On Tue, Oct 01, 2024 at 11:35:13AM GMT, patchwork-bot+linux-riscv@kernel.org wrote:
> Hello:
> 
> This patch was applied to riscv/linux.git (fixes)
> by Andi Shyti <andi.shyti@kernel.org>:
> 
> On Tue,  3 Sep 2024 17:24:59 +0300 you wrote:
> > Hi guys,
> > 
> > This is a proposal for Kconfig improvement regarding the Synopsys
> > DesignWare I2C adapter driver.
> > 
> > Changes since v1:
> > 
> > [...]
> 
> Here is the summary with links:
>   - [v2,5/7] RISC-V: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM
>     https://git.kernel.org/riscv/c/0175b1d3c6df

This patch has already been taken and merged to mainline through
i2c.

Andi

> You are awesome, thank you!
> -- 
> Deet-doot-dot, I am a bot.
> https://korg.docs.kernel.org/patchwork/pwbot.html
> 
> 

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

end of thread, other threads:[~2024-10-02  8:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03 14:24 [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option Heikki Krogerus
2024-09-03 14:25 ` [PATCH v2 4/7] mips: configs: enable I2C_DESIGNWARE_CORE with I2C_DESIGNWARE_PLATFORM Heikki Krogerus
2024-09-03 21:01 ` [PATCH v2 0/7] i2c: designware: Group all DesignWare drivers under a single option Andi Shyti
2024-09-05  8:18   ` Jarkko Nikula
2024-09-09 19:21 ` Andi Shyti
2024-10-01 11:35 ` patchwork-bot+linux-riscv
2024-10-02  8:45   ` Andi Shyti

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