Re: [PATCH v7 6/6] i2c: designware: Add doorbell support for Mendocino

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/30/23 01:07, Mario Limonciello wrote:
Mendocino and later platform don't use the platform feature mailbox for
communication for I2C arbitration, they rely upon ringing a doorbell.

Detect the platform by the device ID of the root port and choose the
appropriate method.

Link: https://lore.kernel.org/linux-i2c/20220916131854.687371-3-jsd@xxxxxxxxxxxx/
Signed-off-by: Mario Limonciello <mario.limonciello@xxxxxxx>
---
v6->v7:
  * Add missing pci_dev_put()
  * s/mendocino/doorbell/
v5->v6:
  * Handle Mendocino busy code like Cezanne
v4->v5:
  * Poll for busy
  * Rename to mendocino
  * Add explicit dependency on PCI
v3->v4:
  * Adjust to use PCI device ID and function pointers instead
v2->v3:
  * Use CPU ID rather than ACPI ID, this will be pushed to a later patch
v1->v2:
  * New patch
---
  drivers/i2c/busses/Kconfig                 |  1 +
  drivers/i2c/busses/i2c-designware-amdpsp.c | 26 +++++++++++++++++++++-
  2 files changed, 26 insertions(+), 1 deletion(-)

Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx>



[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux