On Wed, Dec 27, 2017 at 10:48:16AM +0100, Mark Kettenis wrote: > > > Date: Wed, 27 Dec 2017 09:37:12 +0800 > > From: Kevin Lo <ke...@openbsd.org> > > > > On Tue, Dec 26, 2017 at 06:20:59PM +0100, Mark Kettenis wrote: > > > > > > > Date: Tue, 26 Dec 2017 22:51:38 +0800 > > > > From: Kevin Lo <ke...@openbsd.org> > > > > > > > > > Shouldn't be too difficult to add support for that one to axppmic(4). > > > > > Do you want me to create a diff for you to test? > > > > > > > > That'd be great, thanks. Testing is easier than writing code :) > > > > > > Here's a diff. Should give you a couple of sensors and working > > > regulators. That might make the on-board eMMC work. > > > > > > > Thanks, but I keep getting these messages: > > > > axppmic0 at sxirsb0 addr 0x3a3: AXP223 > > sxirsb0: RD8 failed for run-time address 0x2d > > sxirsb0: RD8 failed for run-time address 0x2d > > sxirsb0: WR8 failed for run-time address 0x2d > > sxirsb0: RD8 failed for run-time address 0x2d > > sxirsb0: RD8 failed for run-time address 0x2d > > That suggests communication with the device over the RSB is failing. > > Can you send me the output of > > # eeprom -p > > for that board?
Sure, here you go: http://ix.io/DsI BTW, mine is BPI-M2 Magic, the board without eMMC [1]. Thanks for your help. [1] https://bananapi.gitbooks.io/banana-pi-bpi-m2-magic-iot-development-board/content/chapter1.html > Thanks, > > Mark Kevin