Re: [PATCH 0/2] board: sifive: unmatched: reset multiple devices in SPL

2021-07-20 Thread Vincent Chen
Just a gentle ping. If this patchset has any problems, please let me know. I am willing to modify it. Thank you. On Thu, Jul 8, 2021 at 9:08 AM Vincent Chen wrote: > > In SiFive unmatched board, the reset of the USB hub, PCIe-USB bridge, and > ULPI rely on the power-cycling. However,

[PATCH 2/2] board: sifive: unmatched: reset USB hub, PCIe-USB bridge, and ULPI device in SPL

2021-07-07 Thread Vincent Chen
Ensure USB hub, PCIe-USB bridge, and ULPI device to be reset even if the rebooting is without power-cycling. Signed-off-by: Vincent Chen --- board/sifive/unmatched/spl.c | 36 1 file changed, 36 insertions(+) diff --git a/board/sifive/unmatched/spl.c b

[PATCH 1/2] board: sifive: unmatched: refine GEMGXL initialized function in SPL

2021-07-07 Thread Vincent Chen
Create a new function spl_reset_device_by_gpio to reset the device whose reset pin is connected to the GPIO. Then, using this function to initialize GEMGXL. Signed-off-by: Vincent Chen --- board/sifive/unmatched/spl.c | 58 +--- 1 file changed, 39

[PATCH 0/2] board: sifive: unmatched: reset multiple devices in SPL

2021-07-07 Thread Vincent Chen
, because the reset pint of these four devices incluing GEMGXL connects to the GPIO, the 1st patch creates a new wrapper, spl_reset_device_by_gpio(), to address the GPIO operation during the reset. Vincent Chen (2): board: sifive: unmatched: refine GEMGXL initialized function in SPL board: sifive

[PATCH] pwm: sifive: make set_config() and set_enable() work properly

2021-05-03 Thread Vincent Chen
The pwm_sifive_set_config() and pwm_sifive_set_enable() cannot work properly due to the wrong implementations. It will cause the u-boot PWM command to not work as expected. The bugs will be resolved in this patch. Signed-off-by: Vincent Chen --- drivers/pwm/pwm-sifive.c | 21

[PATCH] pwm: sifive: make set_config() and set_enable() work properly

2021-04-12 Thread Vincent Chen
The pwm_sifive_set_config() and pwm_sifive_set_enable() cannot work properly due to the wrong implementations. It will cause the u-boot PWM command to not work as expected. The bugs will be resolved in this patch. Signed-off-by: Vincent Chen --- drivers/pwm/pwm-sifive.c | 21