There is a QSPI chip connected to the FSPI. Enable the defconfig
to support it.
Signed-off-by: Adam Ford
diff --git a/configs/imx8mn_beacon_defconfig b/configs/imx8mn_beacon_defconfig
index d6a3385d8d..567a6e5e1e 100644
--- a/configs/imx8mn_beacon_defconfig
+++ b/configs/imx8mn_beacon_defconfig
There have been a few updates including flexspi, so it's necessary
to re-sync.
Signed-off-by: Adam Ford
diff --git a/arch/arm/dts/imx8mn-beacon-baseboard.dtsi
b/arch/arm/dts/imx8mn-beacon-baseboard.dtsi
index 49bff19a78..376ca8ff72 100644
--- a/arch/arm/dts/imx8mn-beacon-baseboard.dtsi
+++ b/ar
On Fri, Mar 26, 2021 at 11:34 AM Marek Vasut wrote:
>
> On 3/26/21 7:15 PM, Tim Harvey wrote:
> > Greetings,
>
> Hi,
>
> > I'm trying to understand best how to lock down a U-Boot environment
> > using ENV_WRITEABLE_LIST=y.
> >
> > My understanding is that I should define all vars that I wish to be
On 4/2/21 7:05 PM, Sean Anderson wrote:
This series adds support for enhanced SPI modes. It was tested on a K210 (DWC
SSI with QSPI flash).
If anyone has a designware device with QSPI flash attached (especially a DW SSI
APB device), I'd greatly appreciate them testing out this patch series. Give
This adds support for DUAL/QUAD/OCTAL transfers. This adds
dw_spi_supports_op to do some sanity checks which would otherwise live in
exec_op. We only support byte transfers, but as far as I could tell only
bytes are supported by mem_ops (e.g. every part of the opcode has nbytes).
Signed-off-by: Se
We don't always read/write to the FIFO fast enough. Enable clock stretching
for enhanced SPI transfers. This is only possible with DWC SSI devices more
recent than 1.01a. We also need to set the RXFTLR register to tell the
device when to start reciving again. In particular, the default of 0 will
re
This adds some registers needed for DUAL/QUAD/OCTAL modes. It also adds the
fields in (R)ISR so we can check for over-/under-flow.
Signed-off-by: Sean Anderson
---
(no changes since v2)
Changes in v2:
- Fix some inconsistencies in register naming and usage
drivers/spi/designware_spi.c | 60 ++
This capability corresponds to an SSIC_SPI_MODE of 1, 2, or 3. This
doesn't do much yet, but it does add support for detection and for
disallowing unsupported modes. Unfortunately, we cannot discriminate
between these modes (only that SSIC_SPI_MODE != 0), so we just pretend to
have DUAL+QUAD+OCTAL
This rewrites poll_transfer, dw_writer, and dw_reader.
* We now use RO transfers (instead of always using TR). This eliminates the
need to send out dummy words, and simplifies the transmit logic.
* All parameters (except regs and bits_per_word) are passed explicitly.
* Most parameters have been
Since Linux commit cc760f3143f5 ("spi: dw: Convert CS-override to DW SPI
capabilities"), the Linux driver has used capability flags instead of
using ad-hoc flags and functions. This is a great idea, and we should use
it as well.
The .data field in the compatible array has switched from being an
in
Writing 1s to this register *unmasks* interrupts. Mask them instead.
Signed-off-by: Sean Anderson
---
(no changes since v2)
Changes in v2:
- Actually mask interrupts
drivers/spi/designware_spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/designware_spi.c b
This prints some basic metadata about the SPI memory op. This information
may be used to debug SPI drivers (e.g. determining the expected SPI mode).
It is also helpful for verifying that the data on the wire matches the data
intended to be transmitted (e.g. with a logic analyzer). The opcode is
pri
This logs the status register on timeout, so it is easier to determine the
cause of the failure.
Signed-off-by: Sean Anderson
---
(no changes since v1)
drivers/spi/designware_spi.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/spi/designware_spi.c b/drivers/spi/designware_spi.
This is useful for extending the default functionality. This mirrors the
change in Linux commit 46109648052f ("spi: spi-mem: export
spi_mem_default_supports_op()").
Signed-off-by: Sean Anderson
Reviewed-by: Bin Meng
Reviewed-by: Pratyush Yadav
---
(no changes since v1)
include/spi-mem.h | 3
This series adds support for enhanced SPI modes. It was tested on a K210 (DWC
SSI with QSPI flash).
If anyone has a designware device with QSPI flash attached (especially a DW SSI
APB device), I'd greatly appreciate them testing out this patch series. Given
that there has been no testing of v2 ove
On 3/10/21 9:02 PM, Sean Anderson wrote:
Please merge! I don't want to have to keep rebasing.
Changes in v6:
- Rebase on u-boot/master
Changes in v5:
- Note dependency on "time: Fix get_ticks being non-monotonic"
- Add a few signed-off-bys which were sent for version 1
- Rebase on u-boot/mas
On 3/30/21 1:26 AM, Green Wan wrote:
Add a callback riscv_hart_early_init() to ./arch/riscv/cpu/start.S to
allow different riscv hart perform setup code for each hart as early
as possible. Since all the harts enter the callback, they must be able
to run the same setup.
Signed-off-by: Green Wan
On 4/1/21 3:31 PM, Pratyush Yadav wrote:
spi_mem_default_supports_op() rejects DTR ops by default to ensure that
the controller drivers that haven't been updated with DTR support
continue to reject them. It also makes sure that controllers that don't
support DTR mode at all (which is most of them
On 4/1/21 3:31 PM, Pratyush Yadav wrote:
In xSPI mode, flashes expect 2-byte opcodes. The second byte is called
the "command extension". There can be 3 types of extensions in xSPI:
repeat, invert, and hex. When the extension type is "repeat", the same
opcode is sent twice. When it is "invert", th
On 4/1/21 3:31 PM, Pratyush Yadav wrote:
Hi,
This series adds support for octal DTR flashes in the SPI NOR framework,
As an overall question, is this the same as "DDR" mode?
--Sean
and then adds hooks for the Cypress S28HS512T and Micron MT35XU512ABA
flashes. Reviving this series after a lo
On 4/1/21 3:31 PM, Pratyush Yadav wrote:
Each phase is given a separate 'dtr' field so mixed protocols like
4S-4D-4D can be supported.
Signed-off-by: Pratyush Yadav
---
drivers/spi/spi-mem.c | 3 +++
include/spi-mem.h | 8
2 files changed, 11 insertions(+)
diff --git a/drive
On 4/1/21 3:31 PM, Pratyush Yadav wrote:
Controllers can use this function to perform basic sanity checking on
the spi-mem op.
Signed-off-by: Pratyush Yadav
---
include/spi-mem.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/spi-mem.h b/include/spi-mem.h
index 3e5b771045..dc
When used with hierarchical images, use the Chromium OS convention of
adding a section before all the subentries it contains.
Signed-off-by: Simon Glass
---
tools/binman/entries.rst | 13 +--
tools/binman/etype/fmap.py | 20 +++--
tools/binm
Use an interator in two of the fmap tests so it is easier to add new
items. Also check the name first since that is the first indication
that something is wrong. Use a variable for the expected size of the
fmap to avoid repeating the code.
Signed-off-by: Simon Glass
---
tools/binman/ftest.py |
There's currently no network enabled in the sheep
but we now have all the bits in place so enable the
driver and DM_ETH to fix the warning.
Signed-off-by: Peter Robinson
Cc: Andy Yan
---
configs/sheep-rk3368_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/sheep-rk3368_de
The CHIP devices doesn't enable distro defaults due to primary
storage being NAND so it doesn't get DM_USB by default so enable
it and a few other useful USB bits.
Signed-off-by: Peter Robinson
---
configs/CHIP_defconfig | 2 ++
configs/CHIP_pro_defconfig | 3 +++
2 files changed, 5 insertio
There's currently no network enabled in the geekbox
but we now have all the bits in place so enable the
driver and DM_ETH to fix the warning.
Signed-off-by: Peter Robinson
Cc: "Andreas Färber"
---
configs/geekbox_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/geekbox_de
There's not currently any network support on the rock but
the minor network config still triggers the DM_ETH warning
even though there's no even a USB network interface so lets
disable network support to mitigate the warning.
Signed-off-by: Peter Robinson
Cc: Heiko Stuebner
---
configs/rock_def
The odroid has USB ethernet so enable DM Ethernet support.
Signed-off-by: Peter Robinson
Jaehoon Chung
---
configs/odroid_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/odroid_defconfig b/configs/odroid_defconfig
index 9f2b0b205d..1d7949b6d0 100644
--- a/configs/odroid_de
The odroid-xu3 has USB ethernet so enable DM Ethernet support.
Signed-off-by: Peter Robinson
Cc: Jaehoon Chung
Cc: Lukasz Majewski
---
configs/odroid-xu3_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/odroid-xu3_defconfig b/configs/odroid-xu3_defconfig
index 755a2ca9ad..
There's not currently any network support on the 820c but
the minor network config still triggers the DM_ETH warning
even though there's no even a USB network interface so lets
disable network support to mitigate the warning.
Signed-off-by: Peter Robinson
Cc: Jorge Ramirez-Ortiz
---
configs/dra
The dragonboard410c only uses USB ethernet interfaces so just
enable DM_ETH.
Signed-off-by: Peter Robinson
Cc: Ramon Fried
---
configs/dragonboard410c_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/dragonboard410c_defconfig
b/configs/dragonboard410c_defconfig
index f5db4
* UEFI spec 2.9 introduced a new memory type EFI_UNACCEPTED_MEMORY_TYPE.
Add it to enum EFI_MEMORY_TYPE.
* Add missing EFI_MEMORY_CPU_CRYPTO constant
* Improve description of EFI_PERSISTENT_MEMORY_TYPE
Signed-off-by: Heinrich Schuchardt
---
include/efi.h | 7 ++-
1 file changed, 6 insertio
Convert Warp to use DM USB.
Signed-off-by: Peter Robinson
Cc: Otavio Salvador
Cc: Fabio Estevam
Cc: Stefano Babic
---
configs/warp_defconfig | 1 +
include/configs/warp.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/configs/warp_defconfig b/configs/warp_defconfig
index
Convert Warp to use DM MMC.
Signed-off-by: Peter Robinson
Cc: Otavio Salvador
Cc: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/dts/imx6sl-warp-u-boot.dtsi | 7 ++
board/warp/warp.c| 33
configs/warp_defconfig | 1 +
3 files
We don't need a random MAC as the only network that's supported is
over USB and that has a hardcoded MAC, enable DM_ETH for the USB,
and the device doesn't have MTD storage so drop that.
Signed-off-by: Peter Robinson
Cc: Fabio Estevam
Cc: Stefano Babic
---
configs/warp7_bl33_defconfig | 3 +--
Enable OF_CONTROL and DM for gpio and pin control support
on the i.MX6SL based Warp.
Signed-off-by: Peter Robinson
Cc: Otavio Salvador
Cc: Fabio Estevam
Cc: Stefano Babic
---
configs/warp_defconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/configs/warp_defconfig b/configs/war
Import the i.MX6 based Warp dts files from Linux 5.12-rc1.
Signed-off-by: Peter Robinson
Cc: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/dts/Makefile| 4 +-
arch/arm/dts/imx6sl-warp.dts | 234 +++
2 files changed, 237 insertions(+), 1 deletion(-)
cre
Hi Herbert
I will have a look at this issue.
Thanks for the information and start of debug.
Patrice
De : Herbert Poetzl
Envoyé : jeudi 1 avril 2021 12:58
À : u-boot@lists.denx.de
Cc : Patrick DELAUNAY ; Patrice CHOTARD
Objet : Ethernet Gadget on STM32MP1 not
Most modern OpenSSL engines have methods overridden at the EVP level rather
than at RSA level, to make these engines work properly with mkimage, the RSA
signing code needs to switch to using EVP_* APIs as much as possible.
Signed-off-by: Donald Chan
---
lib/rsa/rsa-sign.c | 168 +
FYI:
the output from serial port:
board_init_f spl_atmel.c 130 mem_init 182 ddr2_init mpddr.c 66udelay
lib time.c 196__udelay lib time.c 177Could not initialize timer (err
-11)
udelay lib time.c 196__udelay lib time.c 177Could not initialize timer (err -11)
udelay lib time.c 196__udelay lib tim
> As it seems from the dump of dm_dump_all() the atmel_pit_timer is not
> probed. I did a bit of debug and the dm_timer_init() ->
> uclass_first_device() -> uclass_find_first_device() found zero timers
> registered for UCLASS_TIMER. The driver is compiled. Also checked that
> atmel_pit_timer probe
Enable DM block, DM MMC and DM SATA support on iMX6 Udoo
convert board code to match the DM support.
Signed-off-by: Peter Robinson
Cc: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/dts/imx6qdl-udoo-u-boot.dtsi | 7 +++
board/udoo/udoo.c | 30 ---
Convert the UDOO board to use DM_ETH.
Signed-off-by: Peter Robinson
Cc: Fabio Estevam
Cc: Stefano Babic
---
board/udoo/udoo.c | 75 ++
configs/udoo_defconfig | 2 ++
include/configs/udoo.h | 8 -
3 files changed, 4 insertions(+), 81 deletions(
The UDOO doesn't have any MTD storage so drop the config.
Signed-off-by: Peter Robinson
Cc: Fabio Estevam
Cc: Stefano Babic
---
configs/udoo_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/configs/udoo_defconfig b/configs/udoo_defconfig
index bcc88356ce..deec4bc82f 100644
--- a/co
Import the i.MX6 based UDOO dts files from Linux 5.12-rc1.
Signed-off-by: Peter Robinson
Cc: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/dts/Makefile | 2 +
arch/arm/dts/imx6dl-udoo.dts | 14 ++
arch/arm/dts/imx6q-udoo.dts| 18 ++
arch/arm/dts/imx6qdl-udoo.dtsi | 324 ++
Enable OF_CONTROL and DM for gpio and pin control support
on the i.MX6 based Udoo boards.
Signed-off-by: Peter Robinson
Cc: Fabio Estevam
Cc: Stefano Babic
---
configs/udoo_defconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/configs/udoo_defconfig b/configs/udoo_defconfig
inde
On Wed, Mar 31, 2021 at 06:52:53PM +0200, Heinrich Schuchardt wrote:
> Hello Tom,
>
> this fixes the Coverity issue that you reported.
>
> The following changes since commit d8eafb16c85bc3b5d85d7ba8ebb1438cc0ae168f:
>
> Prepare v2021.04-rc5 (2021-03-29 17:20:13 -0400)
>
> are available in th
Enable DM_SPI and DM_SPI_FLASH on the mars/riot boards.
Signed-off-by: Peter Robinson
Cc: "Eric Bénard"
Cc: Fabio Estevam
Cc: Stefano Babic
---
configs/marsboard_defconfig | 2 ++
configs/riotboard_defconfig | 2 ++
2 files changed, 4 insertions(+)
diff --git a/configs/marsboard_defconfig b/
Convert the boards to use DM_ETH.
Signed-off-by: Peter Robinson
Cc: "Eric Bénard"
Cc: Fabio Estevam
Cc: Stefano Babic
---
board/embest/mx6boards/mx6boards.c | 26 +-
configs/marsboard_defconfig| 2 ++
configs/riotboard_defconfig| 2 ++
include/configs
Convert the two Embest boards to use DM MMC.
Signed-off-by: Peter Robinson
Cc: "Eric Bénard"
Cc: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/dts/imx6dl-riotboard-u-boot.dtsi | 8 ++
arch/arm/dts/imx6q-marsboard-u-boot.dtsi | 8 ++
board/embest/mx6boards/mx6boards.c| 137
Convert the marsboard/riotboard to use DM_USB.
Signed-off-by: Peter Robinson
Cc: "Eric Bénard"
Cc: Fabio Estevam
Cc: Stefano Babic
---
configs/marsboard_defconfig | 1 +
configs/riotboard_defconfig | 1 +
include/configs/embestmx6boards.h | 1 -
3 files changed, 2 insertions(+), 1
Enable OF_CONTROL and DM for gpio and pin control support
on the i.MX6D based riotboard.
Signed-off-by: Peter Robinson
Cc: "Eric Bénard"
Cc: Fabio Estevam
Cc: Stefano Babic
---
configs/riotboard_defconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/configs/riotboard_defconfig b/
It doesn't make much sense to have two separate configs for
the riotboard so let's merge the SPL config into the main one
for less duplication.
Signed-off-by: Peter Robinson
Cc: "Eric Bénard"
Cc: Fabio Estevam
Cc: Stefano Babic
---
configs/riotboard_defconfig | 14 ++-
configs/riotboa
Import the iMX6 based marsboard and riotboard. dts files from Linux 5.12-rc1
Signed-off-by: Peter Robinson
Cc: Fabio Estevam
Cc: Stefano Babic
---
arch/arm/dts/Makefile | 2 +
arch/arm/dts/imx6dl-riotboard.dts | 594 ++
arch/arm/dts/imx6q-marsboard.dts
Enable OF_CONTROL and DM for gpio and pin control support
on the i.MX6Q based embestmx6boards marsboard.
Signed-off-by: Peter Robinson
Cc: "Eric Bénard"
Cc: Fabio Estevam
Cc: Stefano Babic
---
configs/marsboard_defconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/configs/marsbo
From: dillon min
All these files are add for support rt-thread art-pi board
- add board/st/stm32h750-art-pi, defconfig, header support for u-boot
for more information about art-pi, please goto:
https://art-pi.gitee.io/website/
Signed-off-by: dillon min
---
v4: update CONFIG_BOOTARGS, remove rd
From: dillon min
strsep will change data from original memory address,
in case the memory is in non-sdram/sram place, will
run into a bug(hang at SDRAM: )
just add a temporary array to store bank_name[] to fix this
bug.
Signed-off-by: dillon min
---
v4: use strlcpy suggested by Patrice CHOTARD
From: dillon min
This patchset has following changes:
- introduce stm32h750.dtsi to support stm32h750 value line
- add pin groups for usart3/uart4/spi1/sdmmc2
- add stm32h750i-art-pi.dtb (arch/arm/boot/dts/Makefile)
- add stm32h750i-art-pi.dts to support art-pi board
- add stm32h750i-art-pi-u-bo
From: dillon min
Replace upper case by lower case in i2c nodes name.
update dmamux1 register range.
Signed-off-by: dillon min
---
v4: sync with kernel side commit
link:
https://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32.git/commit/?h=stm32-dt-for-v5.13&id=978783f90ab71f830207b7e9b49a
From: dillon min
Some instances are missing in current support of stm32h743 MCU. This commit
adds usart3/uart4 and sdmmc2 support.
Signed-off-by: dillon min
---
v4: sync with kernel side commit
link:
https://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32.git/commit/?h=stm32-dt-for-v5.13&
From: dillon min
This patch is intend to add support stm32h750 value line,
just add stm32h7-pinctrl.dtsi for extending, with following changes:
- rename stm32h743-pinctrl.dtsi to stm32h7-pinctrl.dtsi
- move 'pin-controller' from stm32h7-pinctrl.dtsi to stm32h743.dtsi
- update stm32h743i-{disco,
From: dillon min
As different boards has their own sdram hw connection, mount different
sdram modules, so move sdram timing parameter and pin configuration
to their board device tree.
Signed-off-by: dillon min
Reviewed-by: Patrice Chotard
---
v4: no changes
arch/arm/dts/stm32h7-u-boot.dtsi
From: dillon min
These patches aim to adds u-boot support on art-pi board.
the board resources:
- stm32h750xbh6 128k flash, 1024k sram
- 32MiB sdram
- 16MiB spi flash
- 8MiB qspi flash
- onboard wifi, bt, fm
the detail board information can be found at:
https://art-pi.gitee.io/website/
---
cha
Add functions to add size of addresses in the device tree using ofnode
references.
Signed-off-by: Chen Guanqiao
---
drivers/core/ofnode.c | 9 +
include/dm/ofnode.h | 10 ++
2 files changed, 19 insertions(+)
diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c
index fa0
Add test item for getting address and size functions
Test the following function:
- ofnode_get_addr()
- ofnode_get_size()
Signed-off-by: Chen Guanqiao
---
test/dm/ofnode.c | 24
1 file changed, 24 insertions(+)
diff --git a/test/dm/ofnode.c b/test/dm/ofnode.c
index c53
Currently, there is only an interface for obtaining address from node,
and if you want to get the size, you need to traverse the node.
So I added the function to get the size ,and added related test case.
Changes for v2:
- Add a test to test/dm/ofnode.c
Chen Guanqiao (2):
dm: core: Add size op
Hi everyone, hope is the right place to ask but we are running out of ideas
hehe, we need some help with a problem we have for a rockchip rk1808 based
pcb we designed related with our DDR memory:
So the problem is that we are not able to go further from the execution of
the ddr init code from psra
Enable USB host support on MX8MM Verdin.
Signed-off-by: Marek Vasut
Cc: Marcel Ziswiler
Cc: Max Krummenacher
Cc: Oleksandr Suvorov
---
configs/verdin-imx8mm_defconfig | 8 +++-
include/configs/verdin-imx8mm.h | 6 ++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/confi
The iMX8M uses nop PHY, select PHY and NOP_PHY automatically.
Otherwise, the DM capable driver is now perfectly compatible.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
drivers/usb/host/Kconfig | 4 +++-
1 file changed, 3 insertions
Add new compatible string, used by some more up-to-date DTs.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
drivers/usb/host/ehci-mx6.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host
In case PHY support is enabled, use the generic EHCI PHY support
to start and stop the PHY.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
drivers/usb/host/ehci-mx6.c | 17 -
1 file changed, 16 insertions(+), 1 deletio
In case of legacy platforms which do not implement PHY support,
determine portnr from PHY node DT aliases, just like Linux does.
This is not necessary in case PHY support is enabled and a PHY
driver is available, so only enable the portnr handling for the
legacy platforms.
Fixes: 4de51cc25b5 ("usb
Instead of passing ad-hoc sequence number to usb_oc_config(), pass in
the USB MISC address itself. The USB MISC address comes from DT in DM
case, and from the old method using controller index in non-DM case.
Fixes: 4de51cc25b5 ("usb: ehci-mx6: Drop assignment of sequence number")
Signed-off-by: M
Split usb_power_config() per SoC and pass in USB PHY, USBNC and ANATOP
addresses instead of ad-hoc sequence numbers. This is only applicable
on legacy systems which do not implement proper PHY support. Once PHY
support is available, parts of this can be removed altogether and moved
to the PHY drive
Instead of passing ad-hoc index to USB PHY handling functions and then
try and figure out the PHY address, pass in the PHY address itself. For
DM case, this address comes easily from DT. For non-DM case, the previous
method is still present, however the non-DM case will soon be removed.
Fixes: 4de
In order to pass component addresses around easily instead of passing
ad-hoc sequence numbers, it is necessary to split ehci_mx6_common_init().
Make it so and call the separate functions instead.
Since board_ehci_hcd_init() makes no sense in DM case, do not call it
in DM case.
Fixes: 4de51cc25b5
In case DM and OF controler is enabled, but PHY support is disabled,
parse USB PHY and MISC component addresses from DT manually. Those
component addresses will be used in subsequent patches to access the
ANATOP, PHY and MISC registers matching the controller and thus get
rid of the ad-hoc controll
The driver is compatible with iMX8MM, add missing compatible string.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
drivers/power/domain/imx8m-power-domain.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/power/domain/imx
Merge USBNC register layout structure into a single one, instead of
having three separate structures and a lot of ifdeffery. No functional
change.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
drivers/usb/host/ehci-mx6.c | 53 +++
Add support for using DM clock framework to enable and disable all the
necessary clock for the USB controller.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
drivers/usb/host/ehci-mx6.c | 37 -
1 fi
The driver turns on Vbus regulator in probe, but fails to turn it back
off in case of probe failure. Add the missing code.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
drivers/usb/host/ehci-mx6.c | 29 +++--
Add power domain nodes to DT.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
arch/arm/dts/imx8mm.dtsi | 73
include/dt-bindings/power/imx8mm-power.h | 22 +++
2 files changed, 95 insertions
The fsl,usbphy DT property is deprecated, replace it with phys DT
property and specify #phy-cells, so that the generic PHY framework
can parse the PHY bindings without any extra hacking.
Signed-off-by: Marek Vasut
Cc: Fabio Estevam
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
The standard compatible string is "usb-nop-xceiv", use it.
Note that keystone-k2g.dtsi already uses the aforementioned
compat string, so this patch can only remove the override.
Signed-off-by: Marek Vasut
Cc: Alexey Brodkin
Cc: Eugeniy Paltsev
Cc: Fabio Estevam
Cc: Jean-Jacques Hiblot
Cc: Mur
The standard compatible string is "usb-nop-xceiv", use it.
Signed-off-by: Marek Vasut
Cc: Alexey Brodkin
Cc: Eugeniy Paltsev
Cc: Fabio Estevam
Cc: Jean-Jacques Hiblot
Cc: Murali Karicheri
Cc: Peng Fan
Cc: Stefano Babic
Cc: Ye Li
Cc: uboot-imx
---
arch/arc/dts/iot_devkit.dts | 2 +-
1 fi
The USB no-op PHY uses "usb-nop-xceiv" compatible string. This driver is
compatible with USB no-op PHY, so add the compatible string.
Signed-off-by: Marek Vasut
Cc: Alexey Brodkin
Cc: Eugeniy Paltsev
Cc: Fabio Estevam
Cc: Jean-Jacques Hiblot
Cc: Murali Karicheri
Cc: Peng Fan
Cc: Stefano Bab
On Fri, Apr 2, 2021 at 5:42 PM Heinrich Schuchardt wrote:
>
> Version 0.9 of OpenSBI provides the system reset extension which allows us
> to reset and power off boards without board specific code.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> .azure-pipelines.yml | 8
> .gitlab-ci.yml
Add support of TF-A FIP header in command stm32prog for all the boot
partition and not only the STM32IMAGE.
This patch is a preliminary patch to support FIP as second boot stage
after TF-A BL2 when CONFIG_TFABOOT is activated for trusted boot chain.
The FIP is archive binary loaded by TF-A BL2, w
Replace static function efi_get_device_handle_info() by a simplified
function efi_get_device_path_text() avoiding EFI_CALL().
Signed-off-by: Heinrich Schuchardt
---
cmd/efidebug.c | 31 ---
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/cmd/efidebug.c
Version 0.9 of OpenSBI provides the system reset extension which allows us
to reset and power off boards without board specific code.
Signed-off-by: Heinrich Schuchardt
---
.azure-pipelines.yml | 8
.gitlab-ci.yml | 8
2 files changed, 8 insertions(+), 8 deletions(-)
dif
On Fri, Apr 2, 2021 at 4:35 PM Heinrich Schuchardt wrote:
>
> At least on one board we should compile the sbi command.
> Enabling it on QEMU will allow to write a test for it.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> configs/qemu-riscv64_spl_defconfig | 1 +
> 1 file changed, 1 insertion(+
At least on one board we should compile the sbi command.
Enabling it on QEMU will allow to write a test for it.
Signed-off-by: Heinrich Schuchardt
---
configs/qemu-riscv64_spl_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/qemu-riscv64_spl_defconfig
b/configs/qemu-riscv64
On 4/2/21 1:15 PM, Heinrich Schuchardt wrote:
> On 4/2/21 2:15 AM, Jaehoon Chung wrote:
>> Provide a man-pages for the mmc command.
>>
>> Signed-off-by: Jaehoon Chung
>> ---
>> Changelog on V2
>> - Add missing empty line
>> - Add bootbus's arguments descriptions
>> ---
>> doc/usage/index.rst |
94 matches
Mail list logo