Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Raspberry Pi5: Driver does not probe the VD5943 correctly

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
64/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c, linux, raspberry-pi

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.