Thread (8 messages) 8 messages, 4 authors, 2021-05-25

[PATCH v4 0/2] i2c: stm32f7: add SMBus-Alert support

flat view
STALE1963d

From: Alain Volmat <alain.volmat@foss.st.com>
Date: 2021-05-05 13:17:41
Also in: linux-arm-kernel, linux-i2c, lkml

Revision v4 of 3 in this series.

Revisions (3)
  1. v2 [diff vs current]
  2. v3 [diff vs current]
  3. v4 current
This serie adds support for SMBus Alert on the STM32F7.
A new binding smbus-alert is added in order to differenciate
with the existing smbus binding.

SMBus-Alert is an optional SMBus feature and SMBA alert control
and status logic must be enabled along with SMBALERT# pin
configured via pinctrl in the device tree. This is the
rational for adding "smbus-alert" property.

---
v4:
add a new generic smbus-alert property instead of st,smbus-alert
update driver to use smbus-alert instead of st,smbus-alert

v3:
use lore.kernel.org links instead of marc.info

v2:
When SMBUS alert isn't available on the board (SMBA unused), this
logic musn't be enabled. Enabling it unconditionally wrongly lead to get
SMBA interrupts.
So, add "st,smbus-alert" dedicated binding to have a smbus alert with a
consistent pin configuration in DT.

Alain Volmat (2):
  i2c: add binding to mark a bus as supporting SMBus-Alert
  i2c: stm32f7: add SMBus-Alert support

 Documentation/devicetree/bindings/i2c/i2c.txt |  7 ++-
 drivers/i2c/busses/i2c-stm32f7.c              | 73 +++++++++++++++++++++++++++
 2 files changed, 78 insertions(+), 2 deletions(-)

-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help