Raspberry Pi5: Driver does not probe the VD5943 correctly
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 64/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c, linux, raspberry-pi
- Lĩnh vực
- embedded-iot, operating-systems
Hướng nghiên cứu
Start in the vd1943_power_on function and inspect the reset handling and vd1943_wait_state call when the Raspberry Pi 5 DTS has no reset GPIO. Review pcb4280d_vd5943_2lanes.dts.txt and the existing device-tree setup. Done means the VD5943 probes correctly on the reported Raspberry Pi 5 configuration and the requested DTS is added if appropriate.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Dear developpers,
The driver does not probe the VD5943 correctly, it fails.
The issue is that the DTS of RPI does not have any reset, so gpiod_set_value_cansleep(sensor->reset_gpio, 0); is probably not sleeping at all.
The solution for me was to add
usleep_range(20000, 25000);
just before :
gpiod_set_value_cansleep(sensor->reset_gpio, 0);
usleep_range(6000, 6500);
ret = vd1943_wait_state(sensor, VD1943_SYSTEM_FSM_SYSTEM_UP, NULL);
in the function: static int vd1943_power_on(struct vd1943 *sensor)
also can you add the pcb4280d_vd5943_2lanes.dts.txt to the code please ?
Thank you,
BELOUARGA Mohamed
- Ngôn ngữ chính
- C
- Star
- 2
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue tương tự
-
backlog bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
EchoTools/nevr-runtime#653 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
InfiniTimeOrg/InfiniTime#2492 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 1 ngày
-
system: coco
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
FujiNetWIFI/fujinet-config#274 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
base-files: 82_config_generate: regenerate /etc/board.json if 0-bytes / truncated after power cutĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
openwrt/openwrt#25940 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày