i2c1-pi5 dtbo load error on 6.1
@pelwell is already working on this.
Since Oct 17, 2023.
Assessment
This issue has not been assessed yet.
Description
Describe the bug
Hello.
On commit 392b9849c8d147c25557fea5d6dbcddbcb9e72d5
Trying to load the dtbo i2c1-pi5 on pi5:
dtoverlay i2c1-pi5
will lead to the following error:
[ 121.186991] i2c_designware 1f00074000.i2c: prop pinctrl-0 index 0 invalid phandle
Steps to reproduce the behaviour
dtoverlay i2c1-pi5
Device (s)
Other
System
Recalbox 9.2 alpha
# vcgencmd version
2023/09/13 11:37:06
Copyright (c) 2012 Broadcom
version 9d494316 (release) (embedded)
# uname -a
Linux RECALBOX 6.1.57-v8_16k #1 SMP PREEMPT Sun Oct 15 15:54:49 CEST 2023 aarch64 GNU/Linux
Logs
dmesg
[ 121.186991] i2c_designware 1f00074000.i2c: prop pinctrl-0 index 0 invalid phandle
Additional context
It seems to be related to the target = <&frag0>; in i2c1-pi5-overlay.dts.
Using the i2c1 target in fragments fix the issue, but may I suggest using the same pattern for i2c0 and i2c1 than the i2c2-pi5-overlay.dts, that also fix the issue.
/dts-v1/;
/plugin/;
/{
compatible = "brcm,bcm2712";
fragment@0 {
target = <&i2c1>;
frag0: __overlay__ {
status = "okay";
clock-frequency = <100000>;
pinctrl-0 = <&rp1_i2c1_2_3>;
};
};
__overrides__ {
pins_2_3 = <&frag0>,"pinctrl-0:0=", <&rp1_i2c1_2_3>;
pins_10_11 = <&frag0>,"pinctrl-0:0=", <&rp1_i2c1_10_11>;
baudrate = <&frag0>, "clock-frequency:0";
};
};
Thank you for the hard work on pi5 hardware and kernel/mesa support, it runs almost flawlessly!
- Dominant language
- C
- Stars
- 13.2k
- Forks
- 5.5k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/linux
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7415 · 2 comments · 1 reaction ·
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace app Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
raspberrypi/linux#7399 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
raspberrypi/linux#7357 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7054 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
raspberrypi/linux#7634 · 8 comments · 1 reaction ·
All issues in raspberrypi/linux
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100