Am 2022-11-28 07:59, schrieb Rafał Miłecki:
From: Rafał Miłecki
Pass whole NVMEM cell struct and length pointer as arguments to
callback
functions.
This allows:
1. Cells content to be modified based on more info
Some cells (identified by their names) contain specific data that
needs
The HDMI PHY depends on the HVCC supply being enabled. So far we have
relied on it being enabled by an earlier firmware stage (SPL or TF-A).
Attempt to enable the regulator here, so we can remove that dependency.
Signed-off-by: Samuel Holland
---
drivers/video/sunxi/sunxi_dw_hdmi.c | 6 ++
This abstracts away the CCU register layout, which is necessary for
supporting new SoCs like H6 with a reorganized CCU. One of the resets is
referenced from the PHY node instead of the controller node, so it will
have to wait until the PHY code is factored out to a separate driver.
Signed-off-by:
From: Jernej Skrabec
Currently HDMI controller MMIO address is hardcoded. Change that so
address is read from DT node. That will make adding support for new
variants a bit easier.
Signed-off-by: Jernej Skrabec
Signed-off-by: Samuel Holland
---
drivers/video/sunxi/sunxi_dw_hdmi.c | 39
Add clock/reset definitions for display-related peripherals, including
the display engine, TCONs, and DSI and HDMI encoders, so those drivers
can be converted to DM clock consumers instead of directly manipulating
the CCU registers.
Signed-off-by: Samuel Holland
---
drivers/clk/sunxi/clk_a64.c
From: Jernej Skrabec
Currently the sunxi dw-hdmi driver is probed unconditionally,
even if there is no such device.
Switch the driver to probing via a compatible string. This brings many
benefits; the driver is only probed when needed, and now it can read the
DT node.
Signed-off-by: Jernej
This series starts converting the DE2 video driver to use devicetree for
MMIO addresses and clock/reset/regulator consumers. This is necessary
for adding new SoC support (H6, D1, etc.) and will also be helpful when
adding DSI output support.
I picked up a couple of patches from Jernej's branch
From: Rafał Miłecki
NVMEM consumers expect MAC in a byte-based format (see e.g.
nvmem_get_mac_address()). U-Boot environment data stores all values in
ASCII form.
Add post processing callback detecting "ethaddr" reads and reformat data
as expected. This fixes Ethernet drivers reading MAC from
From: Rafał Miłecki
Pass whole NVMEM cell struct and length pointer as arguments to callback
functions.
This allows:
1. Cells content to be modified based on more info
Some cells (identified by their names) contain specific data that
needs further processing. This can be e.g. MAC address
This driver handles most voltage regulators found in X-Powers AXP PMICs.
It is based on, and intended to replace, the regulator driver in TF-A.
AXP PMIC regulators can be divided into 6 categories:
- Switches without voltage control => fully supported.
- Single linear range => fully supported.
Now that a regulator driver exists for this PMIC, hook it up to the
device tree "regulators" subnodes.
Signed-off-by: Samuel Holland
---
drivers/power/pmic/axp.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/drivers/power/pmic/axp.c b/drivers/power/pmic/axp.c
index
Subordinate regulator drivers can use this enumerated ID instead of
matching the compatible string again.
Signed-off-by: Samuel Holland
---
drivers/power/pmic/axp.c | 18 +-
include/axp_pmic.h | 12
2 files changed, 21 insertions(+), 9 deletions(-)
diff
This series adds a driver for the regulators in X-Powers AXPxxx PMICs.
It supports everything except regulators shared with GPIO pins. Those
have a different register interface, so they may need a separate driver.
Regulator setup in U-Boot proper is needed for Ethernet and HDMI/LCD
display
This allows devm_reset_control_get(dev, NULL) to work and get the first
reset control, which is common in code ported from Linux.
Signed-off-by: Samuel Holland
---
drivers/reset/reset-uclass.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/reset/reset-uclass.c
This allows devm_clock_get(dev, NULL) to work and get the first clock,
which is common in code ported from Linux.
Signed-off-by: Samuel Holland
---
drivers/clk/clk-uclass.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/clk-uclass.c
If the UART bus or baud clock has a gate, it must be enabled before the
UART can be used.
Signed-off-by: Samuel Holland
---
drivers/serial/ns16550.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c
index 7592979cab5..785fb520062
On Mon, Nov 28, 2022 at 01:27:53AM +, Luca Boccassi wrote:
> On Mon, 28 Nov 2022 at 00:45, AKASHI Takahiro
> wrote:
> >
> > On Fri, Nov 25, 2022 at 01:30:11PM +, luca.bocca...@gmail.com wrote:
> > > From: Luca Boccassi
> > >
> > > Loading the PK locks down the EFI variables, so it needs
Add npcm750 gpio node compatible name
Signed-off-by: Jim Liu
---
arch/arm/dts/nuvoton-npcm7xx-u-boot.dtsi | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/arm/dts/nuvoton-npcm7xx-u-boot.dtsi
b/arch/arm/dts/nuvoton-npcm7xx-u-boot.dtsi
index
1. add usb phy
2. add ehci ohci sdhci
3. add pinctrl node
4. add fiu node
Signed-off-by: Jim Liu
---
arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 92 +
arch/arm/dts/nuvoton-npcm845-evb.dts | 129 ++
arch/arm/dts/nuvoton-npcm845-pincfg.dtsi | 2007 ++
Signed-off-by: Jim Liu
---
configs/arbel_evb_defconfig | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/configs/arbel_evb_defconfig b/configs/arbel_evb_defconfig
index 447b97ef4a..aa857661d9 100644
--- a/configs/arbel_evb_defconfig
+++
Add Nuvoton BMC npcm844 function config and dts node
Jim Liu (2):
ARM: config: enable function for nuvoton npcm845 bmc
ARM: dts: npcm8xx: add npcm845 function node
arch/arm/dts/nuvoton-common-npcm8xx.dtsi | 92 +
arch/arm/dts/nuvoton-npcm845-evb.dts | 129 ++
-Original Message-
From: Ramon Fried
Sent: Sunday, 27 November, 2022 6:50 AM
To: Lim, Jit Loon
Cc: u-boot@lists.denx.de; Jagan Teki ; Vignesh R
; Vasut, Marek ; Simon
; Chee, Tien Fong ;
Hea, Kok Kiang ; Lim, Elly Siew Chin
; Kho, Sin Hui ;
Lokanathan, Raaj ; Maniyam, Dinesh
; Ng,
On Mon, 28 Nov 2022 at 00:45, AKASHI Takahiro
wrote:
>
> On Fri, Nov 25, 2022 at 01:30:11PM +, luca.bocca...@gmail.com wrote:
> > From: Luca Boccassi
> >
> > Loading the PK locks down the EFI variables, so it needs to be done last.
>
> No, it's not (always) correct.
>
> > Fix the order in
On Fri, Nov 25, 2022 at 01:30:11PM +, luca.bocca...@gmail.com wrote:
> From: Luca Boccassi
>
> Loading the PK locks down the EFI variables, so it needs to be done last.
No, it's not (always) correct.
> Fix the order in the documentation and add a note.
>
> Signed-off-by: Luca Boccassi
>
From: Rafał Miłecki
NVMEM consumers expect MAC in a byte-based format (see e.g.
nvmem_get_mac_address()). U-Boot environment data stores all values in
ASCII form.
Add post processing callback detecting "ethaddr" reads and reformat data
as expected. This fixes Ethernet drivers reading MAC from
From: Rafał Miłecki
Pass whole NVMEM cell struct and length pointer as arguments to callback
functions.
This allows:
1. Cells content to be modified based on more info
Some cells (identified by their names) contain specific data that
needs further processing. This can be e.g. MAC address
distutils is about to meet its demise [1]. Switch to setuptools.
[1] https://peps.python.org/pep-0632/
Signed-off-by: Sean Anderson
---
tools/patman/setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/patman/setup.py b/tools/patman/setup.py
index
On Sun, Nov 27, 2022 at 08:39:44PM +, Andre Przywara wrote:
> On Sun, 27 Nov 2022 10:25:01 -0500
> Tom Rini wrote:
>
> Hi Tom,
>
> > This value is always defined to 0, so move it to Kconfig as being set to
> > always 0.
>
> Yeah, but that's not needed in Kconfig at all, it's just a name
On Sun, 27 Nov 2022 10:25:01 -0500
Tom Rini wrote:
Hi Tom,
> This value is always defined to 0, so move it to Kconfig as being set to
> always 0.
Yeah, but that's not needed in Kconfig at all, it's just a name for the
first MMC slot, its definition being misplaced in the config directory.
I
On Sat, May 07, 2022 at 01:13:03PM -0400, Tom Rini wrote:
> On Sat, May 07, 2022 at 05:18:02PM +0200, Merlijn Wajer wrote:
> > Hi Tom, Pali,
> >
> > On 25/07/2021 15:43, Tom Rini wrote:
> > > On Sun, Jul 25, 2021 at 12:40:13PM +0200, Merlijn Wajer wrote:
> > > > Hi Tom,
> > > >
> > > > On
As DM_ETH is required for all network drivers, it's now safe to remove
the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/qe/Makefile |2 +-
drivers/qe/uccf.c| 509 ---
drivers/qe/uccf.h| 119
drivers/qe/uec.c | 1436
As there are no more non-DM_ETH cases for networking, remove this legacy
file and update the Makefile to match current usage.
Signed-off-by: Tom Rini
---
boot/bootm.c| 3 -
cmd/net.c | 2 -
cmd/usb.c | 10 --
drivers/net/Kconfig | 4 +
include/net.h |
As DM_ETH is required for all network drivers, it's now safe to remove
the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/usb/gadget/ether.c | 97 --
drivers/usb/gadget/rndis.c | 9
drivers/usb/gadget/rndis.h | 11 -
3 files changed,
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/rtl8169.c | 166 --
1 file changed, 166 deletions(-)
diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/rtl8139.c | 112 --
1 file changed, 112 deletions(-)
diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/phy/aquantia.c | 2 --
drivers/net/phy/atheros.c| 2 --
drivers/net/phy/dp83867.c| 14 ---
drivers/net/phy/dp83869.c
As DM_ETH is required for all network drivers, it's now safe to remove
the non-DM_ETH support code fro usb_ether itself.
Signed-off-by: Tom Rini
---
drivers/usb/eth/usb_ether.c | 199 --
drivers/usb/host/usb-uclass.c | 43
include/usb.h
As DM_ETH is required for all network drivers, it's now safe to remove
the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/usb/eth/mcs7830.c | 276 --
1 file changed, 276 deletions(-)
diff --git a/drivers/usb/eth/mcs7830.c
As DM_ETH is required for all network drivers, it's now safe to remove
the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/usb/eth/smsc95xx.c | 234 -
1 file changed, 234 deletions(-)
diff --git a/drivers/usb/eth/smsc95xx.c
As DM_ETH is required for all network drivers, it's now safe to remove
the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/usb/eth/r8152.c | 275
drivers/usb/eth/r8152.h | 2 -
2 files changed, 277 deletions(-)
diff --git
As DM_ETH is required for all network drivers, it's now safe to remove
the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/usb/eth/asix88179.c | 250
1 file changed, 250 deletions(-)
diff --git a/drivers/usb/eth/asix88179.c
As DM_ETH is required for all network drivers, it's now safe to remove
the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/usb/eth/asix.c | 255 -
1 file changed, 255 deletions(-)
diff --git a/drivers/usb/eth/asix.c b/drivers/usb/eth/asix.c
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/ti/keystone_net.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ti/keystone_net.c b/drivers/net/ti/keystone_net.c
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/ti/cpsw.c | 96 ---
1 file changed, 96 deletions(-)
diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/sunxi_emac.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c
index 8625e49dae4d..ad9e1abd161e
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/smc911x.c | 147 --
1 file changed, 147 deletions(-)
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/sh_eth.c | 160 ---
1 file changed, 160 deletions(-)
diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/pcnet.c | 136
1 file changed, 136 deletions(-)
diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c
index
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/netconsole.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c
index
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/mvgbe.c | 214 +---
drivers/net/mvgbe.h | 8 --
2 files changed, 2 insertions(+), 220 deletions(-)
diff --git
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/macb.c | 194 +
1 file changed, 2 insertions(+), 192 deletions(-)
diff --git a/drivers/net/macb.c
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/mcfmii.c | 16
1 file changed, 16 deletions(-)
diff --git a/drivers/net/mcfmii.c b/drivers/net/mcfmii.c
index e2c8f41876e7..48dd558405c5
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/ldpaa_eth/ldpaa_eth.c | 198 +-
drivers/net/ldpaa_eth/ldpaa_eth.h | 4 -
2 files changed, 2 insertions(+), 200 deletions(-)
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/eepro100.c | 134 -
1 file changed, 134 deletions(-)
diff --git a/drivers/net/eepro100.c b/drivers/net/eepro100.c
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/fsl-mc/mc.c | 21 -
1 file changed, 21 deletions(-)
diff --git a/drivers/net/fsl-mc/mc.c b/drivers/net/fsl-mc/mc.c
index
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/fec_mxc.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/fec_mxc.h b/drivers/net/fec_mxc.h
index 48faa33d66ec..77bfc1cbf450 100644
---
As DM_ETH is required for all network drivers, it's now safe to
remove the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/ethoc.c | 85
include/dm/platform_data/net_ethoc.h | 4 --
2 files changed, 89 deletions(-)
diff --git
As DM_ETH is required for all network drivers, it's now safe to remove
the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/e1000.c | 216 +---
drivers/net/e1000.h | 11 ---
2 files changed, 1 insertion(+), 226 deletions(-)
diff --git
As DM_ETH is required for all network drivers, it's now safe to remove
the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/dm9000x.c | 66 ---
1 file changed, 66 deletions(-)
diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c
As DM_ETH is required for all network drivers, it's now safe to remove
the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/designware.c | 112 ++-
drivers/net/designware.h | 5 --
2 files changed, 3 insertions(+), 114 deletions(-)
diff
As DM_ETH is required for all network drivers, it's now safe to remove
the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/fm/Makefile| 1 -
drivers/net/fm/eth.c | 238 ---
drivers/net/fm/fm.c| 4 -
drivers/net/fm/fm.h| 8 -
As DM_ETH is required for all network drivers, it's now safe to remove
the non-DM_ETH support code. Doing this removes some board support code
which was also unused. Finally, this removes some CONFIG symbols that
otherwise needed to be migrated to Kconfig, but were unused in code now.
As DM_ETH is required for all network drivers, it's now safe to remove
the non-DM_ETH support code.
Signed-off-by: Tom Rini
---
drivers/net/dc2114x.c | 156 --
1 file changed, 156 deletions(-)
diff --git a/drivers/net/dc2114x.c b/drivers/net/dc2114x.c
We only need to enable DM_ETH if we have a networking driver. All
networking drivers depend on DM_ETH being enabled, and their selection
ensures DM_ETH will be enabled.
Signed-off-by: Tom Rini
---
arch/Kconfig | 2 --
arch/arm/Kconfig | 13 -
With DM_ETH being required now for all drivers, we don't need this
listed on individual drivers as well.
Signed-off-by: Tom Rini
---
drivers/net/Kconfig | 4 ++--
drivers/net/bnxt/Kconfig | 1 -
drivers/net/mscc_eswitch/Kconfig | 10 +-
drivers/net/phy/Kconfig
This value is always defined to 0, so move it to Kconfig as being set to
always 0.
Cc: Andre Przywara
C: Icenowy Zheng
Signed-off-by: Tom Rini
---
arch/arm/mach-sunxi/Kconfig| 4
include/configs/sunxi-common.h | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git
We don't appear to actually use networking in SPL here, disable it.
Cc: Simon Glass
Signed-off-by: Tom Rini
---
configs/chromebook_samus_tpl_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs/chromebook_samus_tpl_defconfig
b/configs/chromebook_samus_tpl_defconfig
index
This platform had largely disabled networking support before. More
completely disable it by turning off CONFIG_NET.
Cc: Mike Looijmans
Signed-off-by: Tom Rini
---
configs/topic_miami_defconfig | 2 +-
configs/topic_miamilite_defconfig | 2 +-
configs/topic_miamiplus_defconfig | 2 +-
3
This platform had largely disabled networking support before. More
completely disable it by turning off CONFIG_NET.
Cc: Icenowy Zheng
Signed-off-by: Tom Rini
---
configs/pinecube_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/pinecube_defconfig
This platform had largely disabled networking support before. More
completely disable it by turning off CONFIG_NET.
Cc: Icenowy Zheng
Signed-off-by: Tom Rini
---
configs/LicheePi_Zero_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/LicheePi_Zero_defconfig
This platform had largely disabled networking support before. More
completely disable it by turning off CONFIG_NET.
Cc: Anastasiia Lukianenko
Cc: Oleksandr Andrushchenko
Signed-off-by: Tom Rini
---
configs/xenguest_arm64_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Drop support for quickly deprecated DT property "snps,ref-clock-period-ns"
to prevent its proliferation.
Reviewed-by: Sean Anderson
Signed-off-by: Marek Vasut
---
Cc: Angus Ainslie
Cc: Bin Meng
Cc: Fabio Estevam
Cc: Kunihiko Hayashi
Cc: Michal Simek
Cc: Peng Fan
Cc: Sean Anderson
Cc:
From: Sean Anderson
GUCTL.REFCLKPER can only account for clock frequencies with integer
periods. To address this, program REFCLK_FLADJ with the relative error
caused by period truncation. The formula given in the register reference
has been rearranged to allow calculation based on rate (instead
From: Sean Anderson
Instead of using a special property to determine the reference clock
period, use the rate of the reference clock. When we have a legacy
snps,ref-clock-period-ns property and no reference clock, use it
instead. Fractional clocks are not currently supported, and will be
dealt
From: Balaji Prakash J
Set reference clock period when it differs from dwc3 default hardware
set.
We could calculate clock period based on reference clock frequency. But
this information is not always available. This is the case of PCI bus
attached USB host. For that reason we use a custom
Cache ref_clk clock pointer in struct dwc3 . This is a preparatory
patch for subsequent backports from Linux kernel which configure
GFLADJ register content based on the ref_clk rate and therefore need
access to the ref_clk pointer.
It is possible to extract the clock pointer from existing
Host mode structures were accessed but not initialized
and gadget dm did not compile at all.
Signed-off-by: Andreas Kemnade
---
drivers/usb/musb-new/omap2430.c | 42 -
1 file changed, 25 insertions(+), 17 deletions(-)
diff --git a/drivers/usb/musb-new/omap2430.c
Like other peripherals important for booting,
do not rely on ti-sysc compatibility alone
Signed-off-by: Andreas Kemnade
---
arch/arm/dts/omap4-u-boot.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/dts/omap4-u-boot.dtsi b/arch/arm/dts/omap4-u-boot.dtsi
index
DM_GADGET did not compile at all, probe was not called in
non-gadget mode.
Tested on an omap4 board with ums and fastboot command
Andreas Kemnade (2):
omap4: make musb probeable by simple bus
musb-new: omap2430: fix musb probing in gadget mode
arch/arm/dts/omap4-u-boot.dtsi | 8 +++
79 matches
Mail list logo