[PATCH 2/2] rpi: set the correct parameter for simple framebuffer node

2023-07-25 Thread Meng Li
ut "r5g6b5" video format from framebuffer node is used in kernel image. In order to avoid weird display status on screen, it needs to set the correct parameter for simple framebuffer node even if it has existed. Signed-off-by: Meng Li --- board/raspberrypi/rpi/rpi.c | 2 ++ 1 file c

[PATCH 0/2] patches used to enable u-boot video driver on raspberry pi 4B platform

2023-07-25 Thread Meng Li
From: Meng Li There are 2 patches as bleow: 0001-bcm2835-Add-simiple-framebuffer-for-use-with-fkms.patch 0002-rpi-set-the-correct-parameter-for-simple-framebuffer.patch The first one is used to enable u-boot video driver. The second one is used to fix the wired display status on monitor. Jason

[PATCH 1/2] bcm2835: Add simiple-framebuffer for use with fkms

2023-07-25 Thread Meng Li
From: Jason Wessel When the fkms dtb overlay is used only the simple-framebuffer is presented as a usable video display. So, add "simple-framebuffer" compatible to enable video driver bcm2835. Signed-off-by: Jason Wessel Signed-off-by: Meng Li --- drivers/video/bcm2835.c | 3 +

[PATCH v5, 1/2] driver: watchdog: reset watchdog in designware_wdt_stop() function

2021-05-23 Thread Meng . Li
action takes effect. Signed-off-by: Meng Li Reviewed-by: Stefan Roese --- v5: fix build issue, and verify this patch with latest upstream u-boot. v4: Remove the unauthorized signature. v3: Add the resets to designware_wdt_priv and initialize it in probe(). v2: Change "#if CONFIG_IS_ENABLED(DM_

[PATCH v5, 2/2] arm: socfpga: socfpga_stratix10: enable wdt command by default

2021-05-23 Thread Meng . Li
From: MengLi In latest u-boot code, watchdog feature is implemented, so enable wdt command by default. Signed-off-by: Meng Li --- v2: Change the title of this patch --- configs/socfpga_stratix10_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/socfpga_stratix10_defconfig

[PATCH v4,2/2] driver: watchdog: enable wdt command by default

2021-05-11 Thread Meng . Li
From: MengLi In latest u-boot code, watchdog feature is implemented, so enable wdt command by default. Signed-off-by: Meng Li --- configs/socfpga_stratix10_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/socfpga_stratix10_defconfig b/configs/socfpga_stratix10_defconfig

[PATCH v4, 1/2] driver: watchdog: reset watchdog in designware_wdt_stop() function

2021-05-11 Thread Meng . Li
action takes effect. Signed-off-by: Meng Li Reviewed-by: Stefan Roese --- v4: Remove the unauthorized signature. v3: Add the resets to designware_wdt_priv and initialize it in probe(). v2: Change "#if CONFIG_IS_ENABLED(DM_RESET)" into "if (CONFIG_IS_ENABLED(DM_RESET)) {", and

[PATCH v3, 1/2] driver: watchdog: reset watchdog in designware_wdt_stop() function

2021-04-30 Thread Meng . Li
action takes effect. Signed-off-by: Meng Li Reviewed-by: Stefan Roese Reviewed-by: Sean Anderson --- v3: Add the resets to designware_wdt_priv and initialize it in probe(). v2: Change "#if CONFIG_IS_ENABLED(DM_RESET)" into "if (CONFIG_IS_ENABLED(DM_RESET)) {", and

[PATCH v3,2/2] driver: watchdog: enable wdt command by default

2021-04-30 Thread Meng . Li
From: MengLi In latest u-boot code, watchdog feature is implemented, so enable wdt command by default. Signed-off-by: Meng Li --- configs/socfpga_stratix10_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/socfpga_stratix10_defconfig b/configs/socfpga_stratix10_defconfig

[PATCH v2,2/2] driver: watchdog: enable wdt command by default

2021-04-27 Thread Meng . Li
From: MengLi In latest u-boot code, watchdog feature is implemented, so enable wdt command by default. Signed-off-by: Meng Li --- configs/socfpga_stratix10_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/socfpga_stratix10_defconfig b/configs/socfpga_stratix10_defconfig

[PATCH v2, 1/2] driver: watchdog: reset watchdog in designware_wdt_stop() function

2021-04-27 Thread Meng . Li
action takes effect. v2: Change "#if CONFIG_IS_ENABLED(DM_RESET)" into "if (CONFIG_IS_ENABLED(DM_RESET)) {", and define the variable into if condition sentence. Signed-off-by: Meng Li --- drivers/watchdog/designware_wdt.c | 17 + 1 file changed, 17 insertions(+)

[PATCH 2/2] driver: watchdog: enable wdt command by default

2021-04-12 Thread Meng . Li
From: MengLi In latest u-boot code, watchdog feature is implemented, so enable wdt command by default. Signed-off-by: Meng Li --- configs/socfpga_stratix10_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/socfpga_stratix10_defconfig b/configs/socfpga_stratix10_defconfig

[PATCH 1/2] driver: watchdog: reset watchdog in designware_wdt_stop() function

2021-04-12 Thread Meng . Li
action takes effect. Signed-off-by: Meng Li --- drivers/watchdog/designware_wdt.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/watchdog/designware_wdt.c b/drivers/watchdog/designware_wdt.c index 12f09a7a39..63e89d38c4 100644 --- a/drivers/watchdog/designware_wdt.c