[RFC PATCH] riscv: dts: spacemit: initial i2c support for OrangePi RV2
Troy Mitchell
troy.mitchell at linux.spacemit.com
Mon Nov 3 17:21:59 PST 2025
On Mon, Nov 03, 2025 at 08:51:11PM +0000, Michael Opdenacker wrote:
> Hi Troy,
>
> On 11/3/25 03:44, Troy Mitchell wrote:
> > > > Unfortunately, these changes are not functional yet on OrangePi RV2, testing
> > > > on https://github.com/spacemit-com/linux/commits/k1/dt-for-next
> > > >
> > > > # i2cdetect -r 2
> > > > WARNING! This program can confuse your I2C bus, cause data loss and worse!
> > > > I will probe file /dev/i2c-2 using receive byte commands.
> > > > I will probe address range 0x08-0x77.
> > > > Continue? [Y/n]
> > > > 0 1 2 3 4 5 6 7 8 9 a b c d e f
> > > > 00: [ 124.675321] i2c-k1 d4012000.i2c: i2c transfer failed, ret -11
> > > > err 0x400000
> > I recall that the PMIC sometimes reports I2C timeouts.
> > Could you please confirm if you’re seeing this issue on your side?
> > If so, does it still occur when using my branch?
> Unfortunately, I can't try at the moment, not having the board this week.
> I'll be able to test again next week-end.
Thanks!
>
> However, I don't remember having
> it with your changes.
I forgot to put my link.
Here: https://github.com/Troyself/spacemit/tree/k1/fix-i2c-detect
- Troy
> Cheers
> Michael.
> --
>
> Michael Opdenacker
> Root Commit
> Embedded Linux Training and Consulting
> https://rootcommit.com
>
>
More information about the linux-riscv
mailing list