linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Enable named interrupt smbus-alert for ACPI as well
@ 2021-12-16 13:13 Akhil R
  2021-12-16 13:13 ` [PATCH 1/2] device property: Add device_irq_get_byname Akhil R
  2021-12-16 13:13 ` [PATCH 2/2] i2c: smbus: Use device_ functions instead of of_ Akhil R
  0 siblings, 2 replies; 9+ messages in thread
From: Akhil R @ 2021-12-16 13:13 UTC (permalink / raw)
  To: wsa, sumit.semwal, christian.koenig, gregkh, rafael,
	andy.shevchenko, digetx, ldewangan, thierry.reding, jonathanh,
	linux-i2c, linux-kernel, linux-tegra
  Cc: Akhil R

I2C - SMBus core drivers use named interrupts to support smbus_alert.
As named interrupts are not available for ACPI based systems, it was
required to change the i2c bus controller driver if to use smbus alert.
These patches provide option for named interrupts in ACPI and  make the
implementation similar to DT. This will enable use of interrupt named
'smbus-alert' in ACPI as well which will be taken during i2c adapter
register.

Akhil R (2):
  device property: Add device_irq_get_byname
  i2c: smbus: Use device_ functions instead of of_

 drivers/base/property.c      | 35 +++++++++++++++++++++++++++++++++++
 drivers/i2c/i2c-core-base.c  |  2 +-
 drivers/i2c/i2c-core-smbus.c | 10 +++++-----
 drivers/i2c/i2c-smbus.c      |  2 +-
 include/linux/i2c-smbus.h    |  6 +++---
 include/linux/property.h     |  3 +++
 6 files changed, 48 insertions(+), 10 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2022-01-04 10:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-16 13:13 [PATCH 0/2] Enable named interrupt smbus-alert for ACPI as well Akhil R
2021-12-16 13:13 ` [PATCH 1/2] device property: Add device_irq_get_byname Akhil R
2021-12-16 14:38   ` Andy Shevchenko
2022-01-04 10:06     ` Akhil R
2021-12-16 13:13 ` [PATCH 2/2] i2c: smbus: Use device_ functions instead of of_ Akhil R
2021-12-16 14:59   ` Andy Shevchenko
2021-12-16 16:08     ` Akhil R
2021-12-16 20:18       ` Andy Shevchenko
2021-12-17  5:31         ` Akhil R

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).