Raspberry Pi5: Driver does not probe the VD5943 correctly
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 64/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- c, linux, raspberry-pi
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- C
- Estrellas
- 2
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
FStarLang/karamel#784 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
DaveGamble/cJSON#1100 ·
-
UB: (int) cast of a user double outside int range in dispatch / vm_index_is_int / flat_index_atAbiertoarea:runtime-vm
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
InauguralSystems/EigenScript#1748 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
leanprover/lean4#15677 ·
Los mantenedores suelen responder en 1 día