[PATCH v7 0/5] i2c: thunderx: Marvell thunderx i2c changes

Piyush Malgujar posted 5 patches 1 week, 4 days ago
drivers/i2c/busses/i2c-octeon-core.c     | 141 ++++++++++++++++-------
drivers/i2c/busses/i2c-octeon-core.h     |  53 +++++++--
drivers/i2c/busses/i2c-thunderx-pcidrv.c |  13 ++-
3 files changed, 152 insertions(+), 55 deletions(-)
[PATCH v7 0/5] i2c: thunderx: Marvell thunderx i2c changes
Posted by Piyush Malgujar 1 week, 4 days ago
The changes are for Marvell OcteonTX2 SOC family:

- Handling clock divisor logic using subsytem ID
- Support for high speed mode
- Handle watchdog timeout
- Added ioclk support

Changes since V6:
- Split the second patch into two patches by separating
  out the cleanup changes related to renaming of macros.

Changes since V5:
- Added "bitfield.h" header file in first patch to
  resolve implicit declaration issue of FIELD_GET
  reported by kernel test robot

Changes since V4:
- Proper alignment
- Used bitops helpers as required
- Patch description made more clear to understand
- Removed unrelated code

Changes since V3:
- Removed the MAINTAINER file change from this series
- Modified the commit message to include more details
- Minor changes such as adding macros, comments modified
  to have more detail as required

Changes since V2:
- Respinning the series, no functional change
- Added Marvell member in MAINTAINERS file
- Added macro OTX2_REF_FREQ_DEFAULT for 100 MHz

Changes since V1:
- Addressed comments, added defines as required
- Removed unnecessary code
- Added a patch to support ioclk if sclk not present in ACPI table

Piyush Malgujar (2):
  i2c: octeon: Add platform prefix to macros
  i2c: thunderx: Adding ioclk support

Suneel Garapati (3):
  i2c: thunderx: Clock divisor logic changes
  i2c: thunderx: Support for High speed mode
  i2c: octeon: Handle watchdog timeout

 drivers/i2c/busses/i2c-octeon-core.c     | 141 ++++++++++++++++-------
 drivers/i2c/busses/i2c-octeon-core.h     |  53 +++++++--
 drivers/i2c/busses/i2c-thunderx-pcidrv.c |  13 ++-
 3 files changed, 152 insertions(+), 55 deletions(-)

-- 
2.43.0
Re: [PATCH v7 0/5] i2c: thunderx: Marvell thunderx i2c changes
Posted by Andi Shyti 1 week, 3 days ago
Hi

On Tue, 23 Apr 2024 00:46:03 -0700, Piyush Malgujar wrote:
> The changes are for Marvell OcteonTX2 SOC family:
> 
> - Handling clock divisor logic using subsytem ID
> - Support for high speed mode
> - Handle watchdog timeout
> - Added ioclk support
> 
> [...]

Applied to i2c/i2c-host on

git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git

Thank you,
Andi

Patches applied
===============
[1/5] i2c: thunderx: Clock divisor logic changes
      commit: 1e82de6368238dfcca306fc66dc6c3f8c21e1b4b
[2/5] i2c: thunderx: Support for High speed mode
      commit: 305b1350c49993bbc879270764aa59e8de00a904
[3/5] i2c: octeon: Add platform prefix to macros
      commit: 8c82edccf99ad4395cf943dad48c47b44a1c920a
[4/5] i2c: octeon: Handle watchdog timeout
      commit: b6ea602a1100c6241c47a8b4326a050ff3379c4d
[5/5] i2c: thunderx: Adding ioclk support
      commit: 8d49135d177dbfee92bd84fef32b47d656e6b314