Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable i2c on orangepi zero 2 #201

Open
xuanchinh1994 opened this issue Nov 17, 2024 · 0 comments
Open

How to enable i2c on orangepi zero 2 #201

xuanchinh1994 opened this issue Nov 17, 2024 · 0 comments

Comments

@xuanchinh1994
Copy link

I have enabled i2c3 in /boot/orangepiEnv.txt with overlays=i2c3, and I can see /dev/i2c-3. However, when using the command sudo i2cdetect -y 3, it runs very slowly and throws errors:

yd@orangepizero2:~$ dmesg | grep i2c
[    3.132620] i2c_dev: adapter [mv64xxx_i2c adapter] registered as minor 3
[    3.132788] i2c i2c-3: adapter [mv64xxx_i2c adapter] registered
[    3.132822] i2c i2c-3: of_i2c: walking child nodes
[    3.133335] mv64xxx_i2c 7081400.i2c: can't get pinctrl, bus recovery not supported
[    3.139655] i2c_dev: adapter [mv64xxx_i2c adapter] registered as minor 4
[    3.139813] i2c i2c-4: adapter [mv64xxx_i2c adapter] registered
[    3.139842] i2c i2c-4: of_i2c: walking child nodes
[    3.139857] i2c i2c-4: of_i2c: register /soc/i2c@7081400/pmic@36
[    3.140412] axp20x-i2c 4-0036: probe
[    3.140447] axp20x-i2c 4-0036: AXP20x variant AXP806 found
[    3.187463] axp20x-i2c 4-0036: AXP20X driver loaded
[    3.187727] i2c i2c-4: client [axp305] registered with bus id 4-0036
[    3.211676] i2c_dev: adapter [DesignWare HDMI] registered as minor 5
[    3.211782] i2c i2c-5: adapter [DesignWare HDMI] registered
[  277.433529] i2c i2c-3: ioctl, cmd=0x705, arg=0xffffe69820e8
[  277.433784] i2c i2c-3: ioctl, cmd=0x703, arg=0x08
[  277.433813] i2c i2c-3: ioctl, cmd=0x720, arg=0xffffe6982048
[  279.485832] i2c i2c-3: mv64xxx: I2C bus locked, block: 1, time_left: 0
[  279.486028] i2c i2c-3: ioctl, cmd=0x703, arg=0x09
[  279.486062] i2c i2c-3: ioctl, cmd=0x720, arg=0xffffe6982048
[  281.534028] i2c i2c-3: mv64xxx: I2C bus locked, block: 1, time_left: 0
[  281.534188] i2c i2c-3: ioctl, cmd=0x703, arg=0x0a
[  281.534217] i2c i2c-3: ioctl, cmd=0x720, arg=0xffffe6982048
[  283.581674] i2c i2c-3: mv64xxx: I2C bus locked, block: 1, time_left: 0

Please help me check this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant