On Mon, Jan 10, 2022 at 06:55:57PM +0100, Mark Kettenis wrote: > > Date: Mon, 10 Jan 2022 18:35:05 +0100 > > From: Patrick Wildt <patr...@blueri.se> > > > > Am Mon, Jan 10, 2022 at 07:42:12PM +0900 schrieb SASANO Takayoshi: > > > Hi, > > > > > > To change AXP80x into RSB mode, put 0x7c value to register 0x3e. > > > The value defined RSB_DMCR_DEVICE_MODE_DATA in sxirsb.c works > > > 0x7e to the register. It needs to be fixed. > > > > > > At least my Allwinner H616 with AXP305 works good with fixed value. > > > > Yeah, that definitely seems like a bug. Unless anyone reports a > > regression, that's OK with me and definitely the correct fix. > > A64 + AXP803 works fine with this diff on the pinebook, and this > matches the Linux code. > > ok kettenis@ > > > I wonder if that fixes the machine from Pinephone thread? > > Me too.
I'm wondering that too, but I've not in the office at the moment to test it. I'll try to test either late tonight or tomorrow and report back.