Message ID | 20180920161423.13990-1-wsa+renesas@sang-engineering.com (mailing list archive) |
---|---|
Headers | show |
Series | i2c: core: introduce master_xfer_irqless | expand |
* Wolfram Sang <wsa+renesas@sang-engineering.com> [180920 09:19]: > To keep the discussion about master_xfer_irqless going, I post here a > draft how I envision the changes to the I2C core. They are only build > tested. I am unsure if I can test them on hardware before next week, so > I'll send them around as RFC already, so people can get an idea and > comment. Maybe Stefan has some bandwidth to test his imx driver > implementation on top of this? > > A branch can be found here: > > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/i2c/xfer_irqless > > Happy hacking and thanks for all the input to this, Thanks looks nice to me: Acked-by: Tony Lindgren <tony@atomide.com>
> Thanks looks nice to me: > > Acked-by: Tony Lindgren <tony@atomide.com> Thanks, Tony!
On Thu, Sep 20, 2018 at 06:14:19PM +0200, Wolfram Sang wrote: > To keep the discussion about master_xfer_irqless going, I post here a > draft how I envision the changes to the I2C core. They are only build > tested. I am unsure if I can test them on hardware before next week, so > I'll send them around as RFC already, so people can get an idea and > comment. Maybe Stefan has some bandwidth to test his imx driver > implementation on top of this? > > A branch can be found here: > > git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/i2c/xfer_irqless What I forgot to mention: At some point, I'd like an adiitional check if the device is flagged to have very late I2C transfers and trigger a fat warning if not. To keep bugs visible. I have ideas but not perfect yet, so I'll leave this as the next step.
Hi Wolfram, On Thu, Sep 20, 2018 at 06:14:19PM +0200, Wolfram Sang wrote: > To keep the discussion about master_xfer_irqless going, I post here a > draft how I envision the changes to the I2C core. They are only build > tested. I am unsure if I can test them on hardware before next week, so > I'll send them around as RFC already, so people can get an idea and > comment. Maybe Stefan has some bandwidth to test his imx driver > implementation on top of this? No problem. I have some spare time in the next days and will post my results to the mailinglist. Kind Regards, Stefan Lengfeld
Hi Wolfram, I have ported my i.MX6 patches on your patch stack and tested the reboot handler on my i.MX6 Solo Board. Works without lockdep and non-atomic warnings so far. Kind Regards, Stefan Stefan Christ (1): ARM: dts: phyboard-mira-dl: rely on PMIC for reboot and watchdog Stefan Lengfeld (2): i2c: imx: implement master_xfer_irqless callback watchdog: da9062: avoid regmap in restart handler arch/arm/boot/dts/imx6dl-phytec-mira-rdk-nand.dts | 8 ++ drivers/i2c/busses/i2c-imx.c | 128 ++++++++++++++++------ drivers/mfd/da9062-core.c | 1 + drivers/watchdog/da9062_wdt.c | 17 ++- include/linux/mfd/da9062/core.h | 1 + 5 files changed, 116 insertions(+), 39 deletions(-)
On Friday 21 September 2018 04:26 AM, Wolfram Sang wrote: > >> Thanks looks nice to me: >> >> Acked-by: Tony Lindgren <tony@atomide.com> > > Thanks, Tony! Hi Wolfram Sang, Posted: https://lore.kernel.org/patchwork/patch/1001457/ Thanks for the series! I tested for poweroff on am572x-idk. Tested-by: Keerthy <j-keerthy@ti.com> Regards, Keerthy >