[RFC PATCH 3/3] ARM: dts: phyboard-mira-dl: rely on PMIC for reboot and watchdog

2018-10-07 Thread Stefan Lengfeld
From: Stefan Christ Rely on PMIC watchdog and reboot support. The i.MX6 internal watchdog cannot be used, because it does not reset external PMIC voltages on reset. Signed-off-by: Stefan Christ Signed-off-by: Christian Hemp --- arch/arm/boot/dts/imx6dl-phytec-mira-rdk-nand.dts | 8

Re: [RFC PATCH 0/3] i2c: core: introduce master_xfer_irqless

2018-10-07 Thread 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

[RFC PATCH 1/3] i2c: imx: implement master_xfer_irqless callback

2018-10-07 Thread Stefan Lengfeld
. It makes the code not simpler or easier to read, but IRQ less I2C transfers are needed on some hardware configurations, e.g. to trigger reboots on an external PMIC chip. Signed-off-by: Stefan Lengfeld --- drivers/i2c/busses/i2c-imx.c | 128 +++ 1 file changed, 93

[RFC PATCH 2/3] watchdog: da9062: avoid regmap in restart handler

2018-10-07 Thread Stefan Lengfeld
Using i2c_transfer() directly to set the shutdown bit is more reliable than using regmap in atomic contexts, because calls to 'schedule()' or 'sleep()' must be avoided in call code paths. Tested on a phyCORE-i.MX6 Solo board. Signed-off-by: Stefan Lengfeld --- drivers/mfd/da9062-core.c

Re: [RFC PATCH 0/4] i2c: core: introduce master_xfer_irqless

2018-09-23 Thread Stefan Lengfeld
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