All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/8] i2c: busses: Introduce and use i2c_10bit_addr_from_msg()
@ 2025-02-12 16:32 Andy Shevchenko
  2025-02-12 16:32 ` [PATCH v1 1/8] i2c: Introduce i2c_10bit_addr_from_msg() Andy Shevchenko
                   ` (7 more replies)
  0 siblings, 8 replies; 21+ messages in thread
From: Andy Shevchenko @ 2025-02-12 16:32 UTC (permalink / raw)
  To: Andy Shevchenko, Andi Shyti, Wolfram Sang, linux-i2c,
	linux-kernel, linux-arm-kernel, linux-mediatek, linux-renesas-soc
  Cc: Krzysztof Adamski, Florian Fainelli, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Stefan Roese,
	Matthias Brugger, AngeloGioacchino Del Regno, Gregory CLEMENT,
	Fabrizio Castro

For 8-bit addresses we have a helper function, define similar one
for 10-bit addresses and use it in the drivers. It allows to remove
some boilerplate code.

Andy Shevchenko (8):
  i2c: Introduce i2c_10bit_addr_from_msg()
  i2c: axxia: Use i2c_10bit_addr_from_msg() helper
  i2c: bcm-kona: Use i2c_10bit_addr_from_msg() helper
  i2c: eg20t: Use i2c_10bit_addr_from_msg() helper
  i2c: kempld: Use i2c_10bit_addr_from_msg() helper
  i2c: mt7621: Use i2c_10bit_addr_from_msg() helper
  i2c: mv64xxx: Use i2c_*bit_addr_from_msg() helpers
  i2c: rzv2m: Use i2c_10bit_addr_from_msg() helper

 drivers/i2c/busses/i2c-axxia.c    | 19 ++-----------------
 drivers/i2c/busses/i2c-bcm-kona.c |  9 ++++-----
 drivers/i2c/busses/i2c-eg20t.c    | 28 +++++-----------------------
 drivers/i2c/busses/i2c-kempld.c   |  4 +---
 drivers/i2c/busses/i2c-mt7621.c   |  4 +---
 drivers/i2c/busses/i2c-mv64xxx.c  | 10 ++--------
 drivers/i2c/busses/i2c-rzv2m.c    | 10 +++-------
 include/linux/i2c.h               | 10 ++++++++++
 8 files changed, 28 insertions(+), 66 deletions(-)

-- 
2.45.1.3035.g276e886db78b


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

end of thread, other threads:[~2025-02-14 13:55 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-12 16:32 [PATCH v1 0/8] i2c: busses: Introduce and use i2c_10bit_addr_from_msg() Andy Shevchenko
2025-02-12 16:32 ` [PATCH v1 1/8] i2c: Introduce i2c_10bit_addr_from_msg() Andy Shevchenko
2025-02-12 17:06   ` Fabrizio Castro
2025-02-12 18:36   ` Geert Uytterhoeven
2025-02-12 19:04     ` Andy Shevchenko
2025-02-13 10:02       ` Wolfram Sang
2025-02-13 10:54         ` Andy Shevchenko
2025-02-13 13:04         ` Andy Shevchenko
2025-02-13 11:10       ` Geert Uytterhoeven
2025-02-13 22:41     ` Andi Shyti
2025-02-14  8:04       ` Geert Uytterhoeven
2025-02-14 13:55         ` Andy Shevchenko
2025-02-13 22:40   ` Andi Shyti
2025-02-12 16:32 ` [PATCH v1 2/8] i2c: axxia: Use i2c_10bit_addr_from_msg() helper Andy Shevchenko
2025-02-12 16:32 ` [PATCH v1 3/8] i2c: bcm-kona: " Andy Shevchenko
2025-02-12 16:32 ` [PATCH v1 4/8] i2c: eg20t: " Andy Shevchenko
2025-02-12 16:32 ` [PATCH v1 5/8] i2c: kempld: " Andy Shevchenko
2025-02-12 16:32 ` [PATCH v1 6/8] i2c: mt7621: " Andy Shevchenko
2025-02-12 16:32 ` [PATCH v1 7/8] i2c: mv64xxx: Use i2c_*bit_addr_from_msg() helpers Andy Shevchenko
2025-02-12 16:32 ` [PATCH v1 8/8] i2c: rzv2m: Use i2c_10bit_addr_from_msg() helper Andy Shevchenko
2025-02-12 17:08   ` Fabrizio Castro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.