On 11/30/20 7:22 PM, Paulo Alcantara wrote:
Hi Heinrich,
Heinrich Schuchardt writes:
On 11/30/20 3:58 PM, Paulo Alcantara wrote:
Introduce a new config option CONFIG_EFI_SECURE_BOOT_VAR_DISABLE to
allow disabling EFI secure boot when the platform is operating in User
Mode and there is an NV+
As a way of keeping the driver declarations more consistent, add a warning
if the struct used does not end with _priv or _plat.
Signed-off-by: Simon Glass
---
scripts/checkpatch.pl | 38 +
tools/patman/test_checkpatch.py | 28
2
Fix up the code style for those declarations that should now fit onto one
line, which is all of them that currently do not.
This is needed for dtoc to detect the structs correctly, at present.
Signed-off-by: Simon Glass
---
arch/x86/cpu/intel_common/p2sb.c | 3 +--
drivers/i2c/i2c-em
Rename this to be consistent with the change from 'platdata'.
Signed-off-by: Simon Glass
---
doc/driver-model/of-plat.rst | 2 +-
drivers/core/device.c| 15
include/dm/platdata.h| 4 +--
tools/dtoc/dtb_platdata.py | 2 +-
tools/dtoc/test_dtoc.py | 66 +
There are several naming problems in driver model which I think are worth
sorting out.
FIrstly, the _auto_alloc_size suffix is widely used but is quite
long-winded. In earlier days it made some sense since auto allocation was
a strange concept. But with driver model now used pretty universally, we
Update this file to reduce the number of pylint warnings. Also add a few
missing comments while we are here.
Signed-off-by: Simon Glass
---
tools/dtoc/dtb_platdata.py | 91 +++---
1 file changed, 46 insertions(+), 45 deletions(-)
diff --git a/tools/dtoc/dtb_plat
From: Praneeth Bajjuri
Update the ddr settings to use the DDR reg config tool rev 0.5.0.
This enables 4266MTs DDR configuration.
Signed-off-by: Praneeth Bajjuri
Signed-off-by: Kevin Scholz
---
...33.dtsi => k3-j721e-ddr-evm-lp4-4266.dtsi} | 436 +-
.../arm/dts/k3-j721e-r5-comm
Hi,
On 12/3/20 8:20 PM, eugen.hris...@microchip.com wrote:
> 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 Chu
Initialize an err variable to 0.
Signed-off-by: Jaehoon Chung
---
drivers/mmc/mmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index a6394bcf308f..5151339d3aa3 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -2062,7 +2062,7
Dear Tom,
The following changes since commit a2c832471115d382d6dd60697be5bc74d2636eea:
Merge branch '2020-12-01-next-imports' into next (2020-12-02 11:35:02
-0500)
are available in the Git repository at:
https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-next
for you to fetc
Thanks Joel,
> From: Joel Stanley
> Sent: Wednesday, December 2, 2020 9:17 PM
> To: Hongwei Zhang
>
> Hello Hongwei,
>
> On Wed, 2 Dec 2020 at 19:48, Hongwei Zhang wrote:
> >
> > Hello Reviewer,
> >
> > Check for negative return value of fdt_noffset from calling
> > boot_get_fdt_fit(). Other
On Sat, Nov 14, 2020 at 2:01 AM Daniel Kiper wrote:
...
> The log specification should be as much as possible platform agnostic
> and self contained. The final version of this spec should be merged into
> existing specifications, e.g. UEFI, ACPI, Multiboot2, or be a standalone
> spec, e.g. as a
On 12/3/20 5:59 PM, Tom Rini wrote:
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_
On Thu, Dec 03, 2020 at 06:06:16PM +, Andre Przywara wrote:
> From: Tom Rini
> Sent: Thursday, December 03, 2020 17:22
> To: Nicolas Boulenguez
> Cc: U-Boot mailing list; Andre Przywara
> Subject: Re: Please convert last remaining file to UTF-8 encoding
>
> Sorry if that looks weird, my Thunde
From: Tom Rini
Sent: Thursday, December 03, 2020 17:22
To: Nicolas Boulenguez
Cc: U-Boot mailing list; Andre Przywara
Subject: Re: Please convert last remaining file to UTF-8 encoding
Sorry if that looks weird, my Thunderbird (68.x) suddenly refused to display
some emails (I guess S/MIME is to bl
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 241b42a6e9d3..234d85a94d34 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb
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 234d85a94d34..827f34bb172d 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb.c
@@ -1374,12 +1374,20 @@
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
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
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
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
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
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
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 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
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 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 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 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 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 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 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 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 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 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 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 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
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 --
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
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
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
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
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
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
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
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:
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 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
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
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-
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
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 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
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 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
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
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
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
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
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
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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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
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 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
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
1 - 100 of 117 matches
Mail list logo