Files
linux-stable-mirror/include/linux
Alain VolmatandWolfram Sang 2a71593da3 i2c: smbus: add core function handling SMBus host-notify
SMBus Host-Notify protocol, from the adapter point of view
consist of receiving a message from a client, including the
client address and some other data.

It can be simply handled by creating a new slave device
and registering a callback performing the parsing of the
message received from the client.

This commit introduces two new core functions
  * i2c_new_slave_host_notify_device
  * i2c_free_slave_host_notify_device
that take care of registration of the new slave device and
callback and will call i2c_handle_smbus_host_notify once a
Host-Notify event is received.

Signed-off-by: Alain Volmat <alain.volmat@st.com>
Reviewed-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2020-09-09 10:38:28 +02:00
..
2020-08-03 18:19:23 -07:00
2020-08-14 19:56:56 -07:00
2020-08-04 21:02:38 -04:00
2020-07-31 18:08:59 +10:00
2020-08-07 11:33:24 -07:00
2020-08-01 11:28:17 +02:00