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
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
. 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
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
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