Hi,
This driver is connected via spi on one ZynqMP board. Only 8bit SPI
connection is supported now. Spi zynq driver was used for testing this
driver.
We have tested load image via BMP command and also using it as console as
is visible from log in the last patch.
Thanks,
Michal
Michal Simek (2)
Some drivers like LCD connected via SPI requires explicit sync function
which copy framebuffer content over SPI to controller to display.
This hook doesn't exist yet that's why introduce it via video operations.
Signed-off-by: Michal Simek
---
Simon: Please review this. I didn't find existing wa
From: Vikhyat Goyal
Added dt binding for seps525 display driver.
Signed-off-by: Vikhyat Goyal
Signed-off-by: Michal Simek
---
MAINTAINERS | 1 +
.../video/syncoam,seps525.txt | 24 +++
2 files changed, 25 insertions(+)
creat
Add support for the WiseChip Semiconductor Inc. (UG-6028GDEBF02) display
using the SEPS525 (Syncoam) LCD Controller. Syncoam Seps525 PM-Oled is RGB
160x128 display. This driver has been tested through zynq-spi driver.
ZynqMP> load mmc 1 10 rainbow.bmp
61562 bytes read in 20 ms (2.9 MiB/s)
Zynq
Remove the obsolete CONFIG_VIDCONSOLE_AS_LCD as vidconsole is used in
./include/configs/peach-pit.h => configs/exynos5-dt-common.h since the
commit bb5930d5c97f ("exynos: video: Convert several boards to driver
model for video")
Signed-off-by: Patrick Delaunay
---
configs/peach-pit_defconfig |
Remove the obsolete CONFIG_VIDCONSOLE_AS_LCD as vidconsole is used in
./include/configs/tbs2910.h since commit 513acd04452f ("tbs2910: migrate
to DM_VIDEO").
Signed-off-by: Patrick Delaunay
---
configs/tbs2910_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs/tbs2910_defconfi
Remove the obsolete CONFIG_VIDCONSOLE_AS_LCD as vidconsole is used in
./include/configs/snow.h => configs/exynos5-dt-common.h since the
commit bb5930d5c97f ("exynos: video: Convert several boards to driver
model for video")
Signed-off-by: Patrick Delaunay
---
configs/snow_defconfig | 1 -
1 fil
Remove the obsolete CONFIG_VIDCONSOLE_AS_LCD as vidconsole is used in
./include/configs/peach-pi.h => configs/exynos5-dt-common.h since the
commit bb5930d5c97f ("exynos: video: Convert several boards to driver
model for video")
Signed-off-by: Patrick Delaunay
---
configs/peach-pi_defconfig | 1
Remove the obsolete CONFIG_VIDCONSOLE_AS_LCD as vidconsole is used in
./include/configs/spring.h => configs/exynos5-dt-common.h since the
commit bb5930d5c97f ("exynos: video: Convert several boards to driver
model for video")
Signed-off-by: Patrick Delaunay
---
configs/spring_defconfig | 1 -
1
I propose this serie to remove the vidconsole work-around, activated with
the 2 options VIDCONSOLE_AS_LCD and VIDCONSOLE_AS_NAME and cleanup
the associated code in console.c (under #ifdef CONFIG_VIDCONSOLE_AS_LCD)
This options are now obsolete and they was planned to be
removed around the end of
Remove as planned (option will be removed around the end of 2020)
the workaround for boards which have 'lcd' or 'vga' in their stdout
environment variable.
These options are no more used in any defconfig and this patch simplify
the code in console.c file.
Signed-off-by: Patrick Delaunay
---
co
Use 'if (IS_ENABLED(CONFIG...))' instead of '#if or #ifdef' where possible
This patchset can applied on master branch after the serie [1]
(for the new order of test in function putc() and puts()
done in "console: allow to record console output before ready"
)
I will push a separate serie to re
Remove #ifdef or #ifndef for CONFIG when it is possible to simplify
the console.c code and respect the U-Boot coding rules.
Signed-off-by: Patrick Delaunay
---
common/console.c | 149 +++
1 file changed, 61 insertions(+), 88 deletions(-)
diff --git a
Add the helper function console_tstc_check() and replace the test
#if CONFIG_IS_ENABLED(CONSOLE_MUX) to a simple if to respect the
U-Boot coding rule.
No functional change.
Signed-off-by: Patrick Delaunay
---
common/console.c | 36
1 file changed, 24 insert
Add helper functions to access to gd->console_out and gd->console_in
with membuff API and replace the #ifdef CONFIG_CONSOLE_RECORD test
by if (IS_ENABLED(CONFIG_CONSOLE_RECORD)) to respect the U-Boot
coding rule.
Signed-off-by: Patrick Delaunay
# Conflicts:
# common/console.c
---
common/c
Add a new function to access to console_devices only defined if
CONFIG_IS_ENABLED(CONSOLE_MUX).
This path allows to remove #if CONFIG_IS_ENABLED(CONSOLE_MUX)
in console_getc function.
Signed-off-by: Patrick Delaunay
---
common/console.c | 20 +---
1 file changed, 13 insertions(
On 11/27/20 11:52 PM, Biju Das wrote:
> Add SDHI quirks for R-Car M3-W and RZ/G2M SoC.
>
> Signed-off-by: Biju Das
> Reviewed-by: Lad Prabhakar
Reviewed-by: Jaehoon chung
Best Regards,
Jaehoon Chung
> ---
> v7:
> * Incorporated Jaehoon Chung's review comments.
> * Fixed the build error on
On 11/27/20 11:52 PM, Biju Das wrote:
> Add SDHI quirks for R-Car M3-N and RZ/G2N SoC.
>
> Signed-off-by: Biju Das
> Reviewed-by: Lad Prabhakar
Reviewed-by: Jaehoon chung
Best Regards,
Jaehoon Chung
> ---
> v7:
> * No Change.
> v6:
> * New patch. quirks using soc_device_match.
> ---
> dr
On 11/27/20 11:53 PM, Biju Das wrote:
> Add SDHI quirks for R-Car H3 and RZ/G2H SoC.
>
> Signed-off-by: Biju Das
> Reviewed-by: Lad Prabhakar
Reviewed-by: Jaehoon chung
Best Regards,
Jaehoon Chung
> ---
> v7:
> * No Change.
> v6:
> * New patch. quirks using soc_device_match.
> ---
> dri
Hi,
On 12/3/20 6:28 PM, Eugen Hristev wrote:
> Add new config for storing environment from sdmmc0.
> Also clean-up sama7g5ek_emmc1 to point to the proper mmc device.
Just one question, Sorry, i didn't check entire patchset.
What is different between sama7g5ek_mmc1 and sama7g5ek_mmc?
Best Regard
On 12/3/20 7:47 PM, eugen.hris...@microchip.com wrote:
> On 03.12.2020 12:38, Jaehoon Chung wrote:
>> Hi,
>>
>> On 12/3/20 6:28 PM, Eugen Hristev wrote:
>>> Add new config for storing environment from sdmmc0.
>>> Also clean-up sama7g5ek_emmc1 to point to the proper mmc device.
>>
>> Just one questi
Fix typo.
Signed-off-by: Claudiu Beznea
---
drivers/net/phy/micrel_ksz90x1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/micrel_ksz90x1.c b/drivers/net/phy/micrel_ksz90x1.c
index d6694c5cd88f..77fad4a8fc9e 100644
--- a/drivers/net/phy/micrel_ksz90x1.c
+++
Add support for DLL setup on KSZ9131.
Signed-off-by: Claudiu Beznea
---
drivers/net/phy/micrel_ksz90x1.c | 63 +++-
1 file changed, 62 insertions(+), 1 deletion(-)
diff --git a/drivers/net/phy/micrel_ksz90x1.c b/drivers/net/phy/micrel_ksz90x1.c
index f0032e8c
Hi,
KSZ9131 has an internal DLL used to add proper delay on TX/RX lines
to confirm with RGMII timings. The series add support for this. Along
with this I included a typo patch.
Thank you,
Claudiu Beznea
Claudiu Beznea (2):
net: phy: micrel: add support for DLL setup on ksz9131
net: phy: micr
Hi,
This series add support for SAMA7G5 ethernet interfaces: one
gigabit interface and one 10/100Mbps interface.
Thank you,
Claudiu Beznea
Claudiu Beznea (6):
net: macb: use dummy descriptor for RBQP
net: macb: add user io config data structure
net: macb: check clk_set_rate return value to
In case of multiple queues on RX side the queue scheduler
will try to use all the available configured queues (with
descriptors having TX_USED bit cleared). If at least one RBQP
points to a descriptor with a valid used bit configuration then
the reception may block as this may point to any memory.
Different implementation of USER IO register needs different
mapping for bit fields of this register. Add implementation
for this and, since clken is part of USER IO and it needs to
be activated based on per SoC capabilities, add caps in
macb_config where clken specific information needs to be fill
Add support for SAMA7G5 EMAC.
Signed-off-by: Claudiu Beznea
---
drivers/net/macb.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index 8039a53d4f4c..e3003cb4a619 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb.c
@@ -1374,12 +1374,20 @@
Add support for SAMA7G5 GMAC.
Signed-off-by: Claudiu Beznea
---
drivers/net/macb.c | 32
1 file changed, 32 insertions(+)
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index 439d1706485c..8039a53d4f4c 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb
clk_set_rate() returns the set rate in case of success and a
negative number in case of failure. Consider failure only the
negative numbers.
Fixes: 3ef6de157 ("dm: net: macb: Implement link speed change callback")
Signed-off-by: Claudiu Beznea
---
drivers/net/macb.c | 2 +-
1 file changed, 1
Take into account all RGMII interface types. Depending on it
the RGMII PHY's timings are setup.
Signed-off-by: Claudiu Beznea
---
drivers/net/macb.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index e3003cb4a619..127d6e899bad
Hello,
This series adds support for sama7g5 SoC DT and the sama7g5ek board.
I kept the original incremental development for this board, with each
commit's author and designated change, for traceability and for easier
reviewing.
The series starts from a basic devicetree and ends with a fully funct
Add initial basic devicetree for sama7g5 SoC
Signed-off-by: Eugen Hristev
---
arch/arm/dts/sama7g5.dtsi | 65 +++
1 file changed, 65 insertions(+)
create mode 100644 arch/arm/dts/sama7g5.dtsi
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
Add initial support for sama7g5 evaluation kit board.
Signed-off-by: Eugen Hristev
---
arch/arm/dts/Makefile | 3 ++
arch/arm/dts/sama7g5ek-u-boot.dtsi | 33 +++
arch/arm/dts/sama7g5ek.dts | 39 +
arch/arm/mach-at91/Kconfig | 8
boa
From: Claudiu Beznea
Heap base address is computed based on SYS_INIT_SP_ADDR by
subtracting the SYS_MALLOC_F_LEN value in
board_init_f_init_reserve().
Signed-off-by: Claudiu Beznea
---
include/configs/sama7g5ek.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/con
From: Claudiu Beznea
Set malloc pool to 68K for sama7g5ek.
Signed-off-by: Claudiu Beznea
---
configs/sama7g5ek_mmc1_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig
index d54af0ccbf..2da766d4e2 100644
--- a/config
From: Claudiu Beznea
Add DT bindings for slow clock driver.
Signed-off-by: Claudiu Beznea
---
arch/arm/dts/sama7g5.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index c2410959ed..9d390db5ff 100644
--- a/arch/arm/dts/sama7g
From: Claudiu Beznea
Move clock frequencies for crystals on board specific files.
Signed-off-by: Claudiu Beznea
---
arch/arm/dts/sama7g5.dtsi | 2 --
arch/arm/dts/sama7g5ek.dts | 10 ++
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/a
From: Claudiu Beznea
Enable PLL driver for SAMA7G5.
Signed-off-by: Claudiu Beznea
---
configs/sama7g5ek_mmc1_defconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig
index 2da766d4e2..d43d07da78 100644
-
From: Claudiu Beznea
Add slow rc and main rc oscillators to dtsi.
Signed-off-by: Claudiu Beznea
---
arch/arm/dts/sama7g5.dtsi | 12
arch/arm/dts/sama7g5ek-u-boot.dtsi | 8
2 files changed, 20 insertions(+)
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/s
From: Claudiu Beznea
Add dm-pre-reloc DT binding property for cristals.
Signed-off-by: Claudiu Beznea
---
arch/arm/dts/sama7g5ek-u-boot.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/dts/sama7g5ek-u-boot.dtsi
b/arch/arm/dts/sama7g5ek-u-boot.dtsi
index 06af2f74ee..d1
From: Claudiu Beznea
Add DT bindings for PMC driver.
Signed-off-by: Claudiu Beznea
---
arch/arm/dts/sama7g5.dtsi | 9 +
arch/arm/dts/sama7g5ek-u-boot.dtsi | 4
2 files changed, 13 insertions(+)
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index 9d39
From: Claudiu Beznea
Get rid of software defined MCK and switch to PMC bindings
for IPs currently present in device tree.
Signed-off-by: Claudiu Beznea
---
arch/arm/dts/sama7g5.dtsi | 13 -
arch/arm/dts/sama7g5ek-u-boot.dtsi | 4
2 files changed, 4 insertions(+), 13
From: Claudiu Beznea
Enable CONFIG_CPU.
Signed-off-by: Claudiu Beznea
---
configs/sama7g5ek_mmc1_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig
index d43d07da78..936d9cd73f 100644
--- a/configs/sama7g5ek_mmc1_de
From: Claudiu Beznea
Use PIT64B driver. ATMEL_PIT is not available for SAMA7G5.
Signed-off-by: Claudiu Beznea
---
configs/sama7g5ek_mmc1_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig
index 936d9cd73f..7d4d40953
From: Claudiu Beznea
Add CPU DT bindings.
Signed-off-by: Claudiu Beznea
---
arch/arm/dts/sama7g5.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index 94e0b535cc..a2554dcfff 100644
--- a/arch/arm/dts/sama7g5.dtsi
+++
From: Claudiu Beznea
Add DT bindings for PIT64B driver.
Signed-off-by: Claudiu Beznea
---
arch/arm/dts/sama7g5.dtsi | 8
arch/arm/dts/sama7g5ek-u-boot.dtsi | 4
2 files changed, 12 insertions(+)
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index a2
From: Claudiu Beznea
Enable autoboot.
Signed-off-by: Claudiu Beznea
---
configs/sama7g5ek_mmc1_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig
index 7d4d409532..99e2439516 100644
--- a/configs/sama7g5ek_mmc1_defco
Add pioA pinctrl node.
Signed-off-by: Eugen Hristev
---
arch/arm/dts/sama7g5.dtsi | 13 +
arch/arm/dts/sama7g5ek-u-boot.dtsi | 8
2 files changed, 21 insertions(+)
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index f633c2f81e..d9208d68d5 1006
From: Claudiu Beznea
Enable mii command as ethernet's PHY specific programming is
based on it.
Signed-off-by: Claudiu Beznea
---
configs/sama7g5ek_mmc1_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig
index 99e243
Add pinctrl for sdmmc1 and flx3.
Signed-off-by: Eugen Hristev
---
arch/arm/dts/sama7g5ek-u-boot.dtsi | 4
arch/arm/dts/sama7g5ek.dts | 30 ++
2 files changed, 34 insertions(+)
diff --git a/arch/arm/dts/sama7g5ek-u-boot.dtsi
b/arch/arm/dts/sama7g5ek-u-b
From: Claudiu Beznea
Add GMAC0.
Signed-off-by: Claudiu Beznea
---
arch/arm/dts/sama7g5.dtsi | 11 +++
arch/arm/dts/sama7g5ek.dts | 32
2 files changed, 43 insertions(+)
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index d9208d68d
From: Claudiu Beznea
Add GMAC1.
Signed-off-by: Claudiu Beznea
---
arch/arm/dts/sama7g5.dtsi | 8
arch/arm/dts/sama7g5ek.dts | 27 +++
2 files changed, 35 insertions(+)
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index 33589f3ad9..43fac
From: Claudiu Beznea
Increase ARP timeout and retry count as this will increase
the speed of communication.
Signed-off-by: Claudiu Beznea
---
include/configs/sama7g5ek.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/configs/sama7g5ek.h b/include/configs/sama7g5ek.h
index fbf02
From: Claudiu Beznea
Enable support for KSZ9131.
Signed-off-by: Claudiu Beznea
---
configs/sama7g5ek_mmc1_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig
index 176f4f3000..7e3cf49da0 100644
--- a/configs/sama7g
From: Claudiu Beznea
Enable CCF for SAMA7G5.
Signed-off-by: Claudiu Beznea
---
configs/sama7g5ek_mmc1_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig
index 7e3cf49da0..fa4c88ffa6 100644
--- a/configs/sama7g5ek_mm
SDMMC1 requires clock specification with assigned-clocks, such that
the PMC will know which parent to assign and the initial start-up frequency.
Signed-off-by: Eugen Hristev
---
arch/arm/dts/sama7g5.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/
Add new config for storing environment from sdmmc0.
Also clean-up sama7g5ek_emmc1 to point to the proper mmc device.
Signed-off-by: Eugen Hristev
---
board/atmel/sama7g5ek/MAINTAINERS | 1 +
configs/sama7g5ek_mmc1_defconfig | 7 ++--
configs/sama7g5ek_mmc_defconfig | 67
Enable sdmmc0 on this board. A non-removable eMMC is connected on this
block.
Configure pincontrol accordingly.
Signed-off-by: Eugen Hristev
---
arch/arm/dts/sama7g5ek.dts | 30 ++
1 file changed, 30 insertions(+)
diff --git a/arch/arm/dts/sama7g5ek.dts b/arch/arm/dt
Add node for sdmmc0 block.
Signed-off-by: Eugen Hristev
---
arch/arm/dts/sama7g5.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index 826828bb17..4c571befad 100644
--- a/arch/arm/dts/sama7g5.dtsi
+++ b/arch/arm/dts/sama
Clean-up boot command to use the predefined device and part for FAT
environment.
According to this device and partition, select the proper boot media.
Signed-off-by: Eugen Hristev
---
include/configs/sama7g5ek.h | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/incl
Add flexcom1 and i2c subnode.
Signed-off-by: Eugen Hristev
---
arch/arm/dts/sama7g5.dtsi | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index 4c571befad..4846778ed9 100644
--- a/arch/arm/dts/sama7g5.dtsi
+++ b/arch/arm
Add node for flx1 i2c1 subnode (and alias to bus 0)
This bus has two eeprom devices connected.
Signed-off-by: Eugen Hristev
---
arch/arm/dts/sama7g5ek.dts | 30 ++
1 file changed, 30 insertions(+)
diff --git a/arch/arm/dts/sama7g5ek.dts b/arch/arm/dts/sama7g5ek.dts
i
From: Nicolas Ferre
TXC line is directly connected from the SoC to the KSZ9131 PHY. There
is a transient state on this signal, before configuring it to RGMII,
which leads to packet transmit being blocked.
Keeping a pull-up when muxing this pin as function A (G0_TXCK) fixes
the issue.
Signed-off-
Obtain two MAC addresses from the two EEPROMs and configure the two
available Ethernet interfaces accordingly.
Signed-off-by: Eugen Hristev
---
board/atmel/sama7g5ek/sama7g5ek.c | 18 +-
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/board/atmel/sama7g5ek/sama7g5e
Add drivers for flexcom, i2c and eeproms
Signed-off-by: Eugen Hristev
---
configs/sama7g5ek_mmc1_defconfig | 3 +++
configs/sama7g5ek_mmc_defconfig | 3 +++
2 files changed, 6 insertions(+)
diff --git a/configs/sama7g5ek_mmc1_defconfig b/configs/sama7g5ek_mmc1_defconfig
index b6d2f4dd05..af362
On 03.12.2020 12:38, Jaehoon Chung wrote:
> Hi,
>
> On 12/3/20 6:28 PM, Eugen Hristev wrote:
>> Add new config for storing environment from sdmmc0.
>> Also clean-up sama7g5ek_emmc1 to point to the proper mmc device.
>
> Just one question, Sorry, i didn't check entire patchset.
>
> What is differ
Hello.
Please convert last remaining file to UTF-8 encoding
A trivial patch is attached.
Thanks.
>From 38cde811be6878d9a6d10ae88980e0af55a31418 Mon Sep 17 00:00:00 2001
From: Nicolas Boulenguez
Date: Thu, 3 Dec 2020 15:22:58 +0100
Subject: [PATCH] Convert last remaining file to UTF-8 encoding
---
On 03.12.2020 13:11, Jaehoon Chung wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
>
> On 12/3/20 7:47 PM, eugen.hris...@microchip.com wrote:
>> On 03.12.2020 12:38, Jaehoon Chung wrote:
>>> Hi,
>>>
>>> On 12/3/20 6:28 PM, Eugen Hristev wrote:
get_rkusb() mistakenly uses integers without cast.
Convert them to proper type.
Signed-off-by: Andy Shevchenko
---
drivers/usb/gadget/f_rockusb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/f_rockusb.c b/drivers/usb/gadget/f_rockusb.c
index 9ae02ae7
In case of usb_add_function() failure the error path has two issues:
- the potentially allocated structure isn't getting freed
- the global pointer variable is assigned to garbage
Fix the above mentioned issues by freeing memory and assigning NULL.
Signed-off-by: Andy Shevchenko
---
drivers/u
In case of usb_add_function() failure the error path has an issue,
i.e the global pointer variable is assigned to garbage
Fix the above mentioned issue by assigning pointer to NULL.
Signed-off-by: Andy Shevchenko
---
drivers/usb/gadget/f_fastboot.c | 2 +-
1 file changed, 1 insertion(+), 1 dele
The platforms based on Intel Tangier may have different requirements
how to create bootloader bundle to supply to a device. Currently
the BINMAN approach is for Intel Edison only.
Signed-off-by: Andy Shevchenko
---
arch/x86/cpu/tangier/Kconfig | 1 -
board/intel/edison/Kconfig | 1 +
2 files c
On Wednesday 02 December 2020 15:35:08 Andre Heider wrote:
> On 25/11/2020 19:20, Pali Rohár wrote:
> > Try to initialize emmc in board_late_init() and if it fails then we know
> > that emmc device is not connected.
> >
> > This allows to use in U-Boot just one DTS file for all Espressobin variant
Missing of this regulator caused the kernel to stop on loading pwm-regulator
and rk808-regulator modules.
--- ../u-boot-master.orig/arch/arm/dts/rk3399-firefly-u-boot.dtsi
2020-11-26
15:30:37.972005178 +0100
+++ ../u-boot-master/arch/arm/dts/rk3399-firefly-u-boot.dtsi2020-12-03
16:39:42
Use generic Synopsys DesignWare 3 driver on Intel Edison.
For now it's just a stub which allows future refactoring.
Signed-off-by: Andy Shevchenko
---
arch/x86/cpu/tangier/Kconfig| 3 +++
arch/x86/dts/edison.dts | 4
drivers/usb/dwc3/dwc3-generic.c | 1 +
3 files changed, 8 inse
DM is the modern default approach for the drivers in U-Boot.
It also allows to configure code via Device Tree.
Move Intel Edison to use DM_USB_GADGET and drop hard coded values.
Signed-off-by: Andy Shevchenko
---
arch/x86/dts/edison.dts | 8
board/intel/edison/edison.c | 35 --
On 03.12.20 16:56, Pali Rohár wrote:
On Wednesday 02 December 2020 15:35:08 Andre Heider wrote:
On 25/11/2020 19:20, Pali Rohár wrote:
Try to initialize emmc in board_late_init() and if it fails then we know
that emmc device is not connected.
This allows to use in U-Boot just one DTS file for
On Thu, Nov 05, 2020 at 10:15:37AM +0100, Holger Brunck wrote:
> This option is obsolete since 2009 and can be removed globally.
>
> CC: Stefan Roese
> Signed-off-by: Holger Brunck
> Reviewed-by: Stefan Roese
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signatur
On Thu, Nov 05, 2020 at 10:28:51AM +0100, Holger Brunck wrote:
> This was used for a board which is not supproted anymore and can
> therefore be dropped.
>
> CC: Stefan Roese
> Signed-off-by: Holger Brunck
> Reviewed-by: Stefan Roese
Applied to u-boot/master, thanks!
--
Tom
signature.asc
On Thu, Nov 19, 2020 at 09:37:19AM +0900, AKASHI Takahiro wrote:
> Since update_flash() is used only in update_tftp(), it should be
> guarded with appropriate config options.
>
> After the commit 3149e524fc1e, common/update.c will be built under
> either CONFIG_UDATE_TFTP, CONFIG_DFU_TFTP or CONF
On Thu, Nov 19, 2020 at 09:26:20PM +0200, Andy Shevchenko wrote:
> It seems nobody tested the debug() option in spin_lock_irqsave().
> Currently, when #define DEBUG, it spoils the compiler with
>
> In file included from drivers/usb/dwc3/gadget.c:18:
> drivers/usb/dwc3/gadget.c: In function ‘dwc3_
On Tue, Nov 24, 2020 at 06:07:52PM +0100, Richard Genoud wrote:
> This will prevent a double free error if sqfs_close() is called twice.
>
> Signed-off-by: Richard Genoud
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Wed, Nov 25, 2020 at 12:55:47PM +0800, Qiang Zhao wrote:
> From: Zhao Qiang
>
> timeout should be in "millisecond" instead of second,
> so divided it by 1000 when calculate the load value.
>
> Signed-off-by: Zhao Qiang
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description:
On Sun, Nov 29, 2020 at 05:07:04PM -0700, Simon Glass wrote:
> This comment is in the wrong format, so reports an error with
> 'make htmldocs'. Fix it.
>
> Fixes: b73d61a5565 ("x86: zimage: Add a little more logging")
> Signed-off-by: Simon Glass
> Reviewed-by: Heinrich Schuchardt
Applied to u
On Mon, Nov 30, 2020 at 09:04:48AM +0100, Heinrich Schuchardt wrote:
> Correct several typos.
>
> Signed-off-by: Heinrich Schuchardt
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Mon, Nov 30, 2020 at 09:08:12AM +0100, Heinrich Schuchardt wrote:
> include/log.h belongs to LOGGING.
>
> Signed-off-by: Heinrich Schuchardt
> Reviewed-by: Simon Glass
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Sun, Nov 29, 2020 at 05:07:05PM -0700, Simon Glass wrote:
> This comment is in the wrong format, so reports an error with
> 'make htmldocs'. Fix it.
>
> Fixes: a294ead8d25 ("dm: Use an allocated array for run-time device info")
> Signed-off-by: Simon Glass
> Reviewed-by: Heinrich Schuchardt
On Tue, Dec 01, 2020 at 12:12:39AM +0100, Michael Walle wrote:
> The Kontron SMARC-sAL28 board uses that flash.
>
> This is the same change as in the linux commit f3418718c0ec ("mtd:
> spi-nor: Add support for w25q32jwm").
>
> Signed-off-by: Michael Walle
> Reported-by: Leo Krueger
Applied to
On Thu, Dec 03, 2020 at 03:27:44PM +0100, Nicolas Boulenguez wrote:
> Hello.
> Please convert last remaining file to UTF-8 encoding
> A trivial patch is attached.
> Thanks.
> From 38cde811be6878d9a6d10ae88980e0af55a31418 Mon Sep 17 00:00:00 2001
> From: Nicolas Boulenguez
> Date: Thu, 3 Dec 2020
This latest run also closed a number of open defects (the CIDs of which
are sadly not in the summary).
- Forwarded message from scan-ad...@coverity.com -
Date: Mon, 30 Nov 2020 18:33:34 + (UTC)
From: scan-ad...@coverity.com
To: tom.r...@gmail.com
Subject: New Defects reported by Cover
On Thu, Dec 3, 2020 at 6:26 PM Andy Shevchenko
wrote:
>
> DM is the modern default approach for the drivers in U-Boot.
> It also allows to configure code via Device Tree.
>
> Move Intel Edison to use DM_USB_GADGET and drop hard coded values.
Missed one more file to be slightly cleaned up.
I'll s
It turns out that in rare cases, current analytical approach to detect
correct DRAM bus width and rank on H6 doesn't work. On some TV boxes
with DDR3, incorrect DRAM configuration triggers write leveling error
which immediately stops initialization process. Exact reason why this
error appears isn't
Use generic Synopsys DesignWare 3 driver on Intel Edison.
For now it's just a stub which allows future refactoring.
Signed-off-by: Andy Shevchenko
---
v2: no changes
arch/x86/cpu/tangier/Kconfig| 3 +++
arch/x86/dts/edison.dts | 4
drivers/usb/dwc3/dwc3-generic.c | 1 +
3 files
DM is the modern default approach for the drivers in U-Boot.
It also allows to configure code via Device Tree.
Move Intel Edison to use DM_USB_GADGET and drop hard coded values.
Signed-off-by: Andy Shevchenko
---
v2: cleaned up arch/x86/cpu/tangier/Kconfig as well
arch/x86/cpu/tangier/Kconfig
In case of multiple queues on RX side the queue scheduler
will try to use all the available configured queues (with
descriptors having TX_USED bit cleared). If at least one RBQP
points to a descriptor with a valid used bit configuration then
the reception may block as this may point to any memory.
Different implementation of USER IO register needs different
mapping for bit fields of this register. Add implementation
for this and, since clken is part of USER IO and it needs to
be activated based on per SoC capabilities, add caps in
macb_config where clken specific information needs to be fill
Hi,
This series add support for SAMA7G5 ethernet interfaces: one
gigabit interface and one 10/100Mbps interface.
Thank you,
Claudiu Beznea
Changes in v2:
- fix compilation error on patch 6/6 for wb50n_defconfig
Claudiu Beznea (6):
net: macb: use dummy descriptor for RBQP
net: macb: add user
clk_set_rate() returns the set rate in case of success and a
negative number in case of failure. Consider failure only the
negative numbers.
Fixes: 3ef6de157 ("dm: net: macb: Implement link speed change callback")
Signed-off-by: Claudiu Beznea
---
drivers/net/macb.c | 2 +-
1 file changed, 1
Take into account all RGMII interface types. Depending on it
the RGMII PHY's timings are setup.
Signed-off-by: Claudiu Beznea
---
drivers/net/macb.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index 827f34bb172d..fe299af4d5d3 10
1 - 100 of 117 matches
Mail list logo