* [PATCH] i2c: tegra: enable compile testing on all archs
@ 2026-03-09 8:12 Johan Hovold
2026-03-30 11:47 ` Johan Hovold
2026-03-30 13:10 ` Wolfram Sang
0 siblings, 2 replies; 3+ messages in thread
From: Johan Hovold @ 2026-03-09 8:12 UTC (permalink / raw)
To: Andi Shyti; +Cc: linux-i2c, linux-kernel, Johan Hovold, Krzysztof Kozlowski
Commit 4a2d5f663dab ("i2c: Enable compile testing for more drivers")
enabled compile testing of the Tegra i2c driver only for architectures
that explicitly provide readsX() and writesX().
This limitation appears to have been too restrictive since the generic
implementation of these primitives added by commit 9ab3a7a0d2b4
("asm-generic/io.h: Implement generic {read,write}s*()") predates the
commit in question.
Allow compile testing of the driver on all architectures.
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/i2c/busses/Kconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index e11d50750e63..33b06fa70f91 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -1211,8 +1211,7 @@ config I2C_SYNQUACER
config I2C_TEGRA
tristate "NVIDIA Tegra internal I2C controller"
- depends on ARCH_TEGRA || (COMPILE_TEST && (ARC || ARM || ARM64 || M68K || RISCV || SUPERH || SPARC))
- # COMPILE_TEST needs architectures with readsX()/writesX() primitives
+ depends on ARCH_TEGRA || COMPILE_TEST
help
If you say yes to this option, support will be included for the
I2C controller embedded in NVIDIA Tegra SOCs
--
2.52.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] i2c: tegra: enable compile testing on all archs
2026-03-09 8:12 [PATCH] i2c: tegra: enable compile testing on all archs Johan Hovold
@ 2026-03-30 11:47 ` Johan Hovold
2026-03-30 13:10 ` Wolfram Sang
1 sibling, 0 replies; 3+ messages in thread
From: Johan Hovold @ 2026-03-30 11:47 UTC (permalink / raw)
To: Andi Shyti; +Cc: linux-i2c, linux-kernel, Krzysztof Kozlowski
On Mon, Mar 09, 2026 at 09:12:59AM +0100, Johan Hovold wrote:
> Commit 4a2d5f663dab ("i2c: Enable compile testing for more drivers")
> enabled compile testing of the Tegra i2c driver only for architectures
> that explicitly provide readsX() and writesX().
>
> This limitation appears to have been too restrictive since the generic
> implementation of these primitives added by commit 9ab3a7a0d2b4
> ("asm-generic/io.h: Implement generic {read,write}s*()") predates the
> commit in question.
>
> Allow compile testing of the driver on all architectures.
>
> Cc: Krzysztof Kozlowski <krzk@kernel.org>
> Signed-off-by: Johan Hovold <johan@kernel.org>
> ---
Can this one be picked up for 7.1?
Johan
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] i2c: tegra: enable compile testing on all archs
2026-03-09 8:12 [PATCH] i2c: tegra: enable compile testing on all archs Johan Hovold
2026-03-30 11:47 ` Johan Hovold
@ 2026-03-30 13:10 ` Wolfram Sang
1 sibling, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2026-03-30 13:10 UTC (permalink / raw)
To: Johan Hovold; +Cc: Andi Shyti, linux-i2c, linux-kernel, Krzysztof Kozlowski
[-- Attachment #1: Type: text/plain, Size: 780 bytes --]
On Mon, Mar 09, 2026 at 09:12:59AM +0100, Johan Hovold wrote:
> Commit 4a2d5f663dab ("i2c: Enable compile testing for more drivers")
> enabled compile testing of the Tegra i2c driver only for architectures
> that explicitly provide readsX() and writesX().
>
> This limitation appears to have been too restrictive since the generic
> implementation of these primitives added by commit 9ab3a7a0d2b4
> ("asm-generic/io.h: Implement generic {read,write}s*()") predates the
> commit in question.
>
> Allow compile testing of the driver on all architectures.
>
> Cc: Krzysztof Kozlowski <krzk@kernel.org>
> Signed-off-by: Johan Hovold <johan@kernel.org>
I wanted to give Krzysztof the opportunity to ack, but I can pick it up
now.
Applied to for-next, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-30 13:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-09 8:12 [PATCH] i2c: tegra: enable compile testing on all archs Johan Hovold
2026-03-30 11:47 ` Johan Hovold
2026-03-30 13:10 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox