summaryrefslogtreecommitdiff
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorAlain Volmat <alain.volmat@st.com>2020-08-03 08:17:55 +0300
committerWolfram Sang <wsa@kernel.org>2020-09-09 11:38:28 +0300
commit2a71593da34d473461f2f5c3dbb53b883596188a (patch)
tree11499f7b30521f57203094e4694ccc33f27c26c2 /.get_maintainer.ignore
parente6277308ac214af04516564c516a0ff5f753d009 (diff)
downloadlinux-2a71593da34d473461f2f5c3dbb53b883596188a.tar.xz
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>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions