Re: [PATCH v2 1/4] i2c: smbus: add core function handling SMBus host-notify

2020-07-02 Thread Alain Volmat
Hi Wolfram, > Okay, now I got it to work, I also noted a few more issues. > > First, I'd suggest s/i2c_smbus_host_notify/i2c_slave_host_notify/g for > all occurences in this patch. This makes a stronger distinction between > the generic HostNotify support and the slave specific one. Ok with that

Re: [PATCH v2 1/4] i2c: smbus: add core function handling SMBus host-notify

2020-07-01 Thread Wolfram Sang
On Thu, Jun 25, 2020 at 09:39:26AM +0200, Alain Volmat wrote: > 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 registeri

[PATCH v2 1/4] i2c: smbus: add core function handling SMBus host-notify

2020-06-25 Thread Alain Volmat
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 clie