Re: [RFC PATCH] WIP: i2c: rcar: add HostNotify support

Wolfram Sang
2020-07-01T09:27:36Z

[-- Attachment #1: Type: text/plain, Size: 532 bytes --]

> Alain, this is the code needed to enable SMBus HostNotify for the
> Renesas R-Car driver already using the binding we discussed yesterday.
> I got it to work finally, so we have now two working cases. Good!

BTW I think the DTS additions don't look too bad? It is a grey area,
though...

&i2c3 {
pinctrl-0 = <&i2c3_pins>;
pinctrl-names = "i2c-pwr";
+
+ enable-host-notify;
+
+ dummy@32 {
+ compatible = "dummy";
+ reg = <0x32>;
+ host-notify;
+ };