Re: [PATCH u-boot] doc: board: qemu-ppce500: Update supported and unsupported

2022-12-20 Thread Pali Rohár
On Wednesday 21 December 2022 09:15:41 Bin Meng wrote: > On Wed, Dec 21, 2022 at 4:06 AM Pali Rohár wrote: > > > > qemu can emulate also e500v1 core but cannot emulate CPUs from Freescale > > PowerPC QorIQ T and P series. > > > > Signed-off-by: Pali Rohár > > --- > >

Re: [PATCH 04/12] drivers: dma: Add support for J784S4

2022-12-20 Thread Vignesh Raghavendra
On 20/11/22 00:29, Hari Nagalla wrote: > diff --git a/drivers/dma/ti/Makefile b/drivers/dma/ti/Makefile > index 6807eb8e8b..bd4ce68d9c 100644 > --- a/drivers/dma/ti/Makefile > +++ b/drivers/dma/ti/Makefile > @@ -8,3 +8,4 @@ k3-psil-data-$(CONFIG_SOC_K3_J721E) += k3-psil-j721e.o >

Re: [PATCH v2 2/4] configs: am62x_evm_*: Run savedefconfig

2022-12-20 Thread Dhruva Gole
On 20/12/22 20:51, Sjoerd Simons wrote: Clean configuration for am62x_evm using savedefconfig Signed-off-by: Sjoerd Simons --- (no changes since v1) configs/am62x_evm_a53_defconfig | 4 ++-- configs/am62x_evm_r5_defconfig | 32 +++- 2 files changed, 17

Re: [PATCH v2 1/4] configs: am62x_evm_*: Correct SPI configuration option

2022-12-20 Thread Dhruva Gole
Hi, On 20/12/22 20:51, Sjoerd Simons wrote: In f422c4bec the configuration option to support s28hs512t SPI flashes was changed from CONFIG_SPI_FLASH_S28HS512T to CONFIG_SPI_FLASH_S28HX_T to support the wider family. Follow this change in the AM62x EVM configurations. Signed-off-by: Sjoerd

[PATCH] riscv: ae350: Enable CCTL_SUEN

2022-12-20 Thread Rick Chen
CCTL operations are available to Supervisor/User-mode software under the control of the mcache_ctl.CCTL_SUEN control bit. Enable it to support Superviosr(and User) CCTL operations. Signed-off-by: Rick Chen --- arch/riscv/cpu/ax25/cpu.c | 4 1 file changed, 4 insertions(+) diff --git

[PATCH] riscv: ae350: Support openSBI 1.0+ which enable FW_PIC

2022-12-20 Thread Rick Chen
Change openSBI load address from 0x100 to 0x0 and it will start to run at 0x0 directly without relocation. Signed-off-by: Rick Chen --- board/AndesTech/ax25-ae350/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/AndesTech/ax25-ae350/Kconfig

Re: [PATCH v5 6/6] patman: additionally honor a local .patman config file

2022-12-20 Thread Maxim Cournoyer
Hi Simon, Simon Glass writes: > On Mon, 19 Dec 2022 at 22:38, Maxim Cournoyer > wrote: >> >> This enables versioning a project specific patman configuration file. >> It also makes it possible to declare the project name, which is not a >> useful thing to do in $HOME/.patman. A new test is

Re: [PATCH u-boot] doc: board: qemu-ppce500: Update supported and unsupported

2022-12-20 Thread Bin Meng
On Wed, Dec 21, 2022 at 4:06 AM Pali Rohár wrote: > > qemu can emulate also e500v1 core but cannot emulate CPUs from Freescale > PowerPC QorIQ T and P series. > > Signed-off-by: Pali Rohár > --- > doc/board/emulation/qemu-ppce500.rst | 8 +--- > 1 file changed, 5 insertions(+), 3

Re: [PATCH] patman: Switch to setuptools

2022-12-20 Thread Simon Glass
On Mon, 28 Nov 2022 at 10:55, Sean Anderson wrote: > > 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(-)

Re: [PATCH 1/1] test:dm:fix typo

2022-12-20 Thread Simon Glass
On Sat, 3 Dec 2022 at 01:26, Yuepeng Xing wrote: > > Fix typos in the 'test/dm' directory. > > Signed-off-by: Yuepeng Xing > --- > test/dm/blk.c| 2 +- > test/dm/button.c | 4 ++-- > test/dm/gpio.c | 4 ++-- > test/dm/host.c | 2 +- > test/dm/remoteproc.c | 2 +- >

Re: [PATCH v3 4/8] patman: rename main script to __main__.py

2022-12-20 Thread Simon Glass
Hi Maxim, On Tue, 20 Dec 2022 at 17:28, Simon Glass wrote: > > This allows running the package as a Python module, like e.g.: > > $ python -m patman > > It also prevents Pytest from attempting to parse main.py, which > would cause errors. > > Reviewed-by: Simon Glass > Signed-off-by: Maxim

Re: [PATCH 2/3] patman: fix installation of README.rst data file

2022-12-20 Thread Simon Glass
On Fri, 16 Dec 2022 at 18:45, Maxim Cournoyer wrote: > > This fixes a regression introduced in commit 74df491051d6 ("buildman: > Convert documentation to rST"). > > Signed-off-by: Maxim Cournoyer > --- > > tools/patman/setup.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 1/3] patman: remove extraneous imports

2022-12-20 Thread Simon Glass
On Fri, 16 Dec 2022 at 18:45, Maxim Cournoyer wrote: > > * tools/patman/main.py: Remove extraneous imports and fix indentation. > > Signed-off-by: Maxim Cournoyer > --- > > tools/patman/main.py | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) Reviewed-by: Simon Glass Applied to

Re: [PATCH 3/3] patman: locate README.rst via importlib

2022-12-20 Thread Simon Glass
On Fri, 16 Dec 2022 at 18:45, Maxim Cournoyer wrote: > > Rationale: this is more robust than assumptions about the file > hierarchy layout of the installation of patman, for example on non > file-hierarchy standard (FHS) systems such as Guix System or Nix OS. > > Signed-off-by: Maxim Cournoyer >

Re: [PATCH v3 2/8] patman: locate test data files via __file__ and pathlib

2022-12-20 Thread Simon Glass
Previously it would rely on the executing script location, which could break for example when running the tests via 'pytest'. Reviewed-by: Simon Glass Signed-off-by: Maxim Cournoyer --- (no changes since v1) tools/patman/func_test.py | 8 ++-- 1 file changed, 6 insertions(+), 2

Re: [PATCH v5 1/6] patman: fix pep8 warnings in settings module

2022-12-20 Thread Simon Glass
On Mon, 19 Dec 2022 at 22:38, Maxim Cournoyer wrote: > > Remove extraneous imports, variables and comply to PEP 8 maximum line > width, among other PEP 8 changes suggested by Pyflake. > > Signed-off-by: Maxim Cournoyer > --- > > (no changes since v1) > > tools/patman/settings.py | 38

Re: [PATCH v3 1/8] patman: cosmetic: Fix PEP 8 warnings for the gitutil module.

2022-12-20 Thread Simon Glass
This patch fixes all the PEP 8 warnings reported by Pyflake for the gitutil module. Reviewed-by: Simon Glass Signed-off-by: Maxim Cournoyer --- (no changes since v1) tools/patman/gitutil.py | 106 1 file changed, 65 insertions(+), 41 deletions(-)

Re: [PATCH v3 3/8] patman: invoke the checkpatch.pl script with '--u-boot' and '--strict'

2022-12-20 Thread Simon Glass
This resolves 10 out of 11 test failures seen when running './patman test' from the 'tools/patman' subdirectory. This was caused by the .checkpatch.conf configuration file at the root of the project not being picked up. Make the test suite of patman independent from it by always invoking the

Re: [PATCH v3 4/8] patman: rename main script to __main__.py

2022-12-20 Thread Simon Glass
This allows running the package as a Python module, like e.g.: $ python -m patman It also prevents Pytest from attempting to parse main.py, which would cause errors. Reviewed-by: Simon Glass Signed-off-by: Maxim Cournoyer --- (no changes since v1) tools/patman/{main.py => __main__.py}

Re: [PATCH v3 6/8] patman: hide the 'test' command unless test data is available

2022-12-20 Thread Simon Glass
Some tests would fail when the test data is not available, so it doesn't make much sense to expose the action when patman is running outside of the u-boot git checkout. Reviewed-by: Simon Glass Signed-off-by: Maxim Cournoyer --- Changes in v3: - Mention the test command is hidden unless run

Re: [PATCH v3 5/8] patman: add pytest configuration file

2022-12-20 Thread Simon Glass
With this change, a user can run the patman test suite using Pytest the same as when using 'patman test': $ cd tools/patman && pytest [...] 44 passed, 8 warnings in 8.87s $ ./patman test Ran 44 tests in 8.460s Reviewed-by: Simon Glass Signed-off-by: Maxim Cournoyer ---

Re: [PATCH v3 7/8] patman: document how to run test suite via pytest

2022-12-20 Thread Simon Glass
Pytest offers useful features such as selecting tests by means of a regular expression, or running the pdb debugger upon encountering a test failure. Reviewed-by: Simon Glass Signed-off-by: Maxim Cournoyer --- (no changes since v1) tools/patman/patman.rst | 6 ++ 1 file changed, 6

Re: [PATCH v2] patman: add '--get-maintainer-script' argument

2022-12-20 Thread Simon Glass
This makes it possible to configure a project to use some other location or script than the default scripts/get_maintainer.pl one used in the U-Boot and Linux projects. It can be configured via a .patman configuration file and accepts arguments, as documented. Reviewed-by: Simon Glass

Re: [PATCH v3 8/8] patman: document default 'send' command

2022-12-20 Thread Simon Glass
Document that this command is the default and what it's intended for. Reviewed-by: Simon Glass Signed-off-by: Maxim Cournoyer --- (no changes since v1) tools/patman/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Applied to u-boot-dm/next, thanks!

Re: [PATCH v5 2/6] patman: replace deprecated SafeConfigParser with ConfigParser

2022-12-20 Thread Simon Glass
On Mon, 19 Dec 2022 at 22:38, Maxim Cournoyer wrote: > > The SafeConfigParser class has been renamed in Python 3.2 to > ConfigParser, and the old alias has been deprecated since. > > Signed-off-by: Maxim Cournoyer > --- > > (no changes since v1) > > tools/patman/settings.py | 28

Re: [PATCH v5 4/6] patman: set the default config_fname argument value to None

2022-12-20 Thread Simon Glass
On Mon, 19 Dec 2022 at 22:38, Maxim Cournoyer wrote: > > This better matches Python conventions, allowing to easily test > whether the optional argument is provided. > > Signed-off-by: Maxim Cournoyer > --- > > (no changes since v1) > > tools/patman/__main__.py | 2 +- >

Re: [PATCH v5 3/6] patman: import gitutil module where it is needed

2022-12-20 Thread Simon Glass
On Mon, 19 Dec 2022 at 22:38, Maxim Cournoyer wrote: > > Instead of propagating it from the module entry point (main script). > > Signed-off-by: Maxim Cournoyer > --- > > (no changes since v1) > > tools/patman/__main__.py | 3 +-- > tools/patman/settings.py | 8 +--- > 2 files changed, 6

Re: [PATCH v5 6/6] patman: additionally honor a local .patman config file

2022-12-20 Thread Simon Glass
On Mon, 19 Dec 2022 at 22:38, Maxim Cournoyer wrote: > > This enables versioning a project specific patman configuration file. > It also makes it possible to declare the project name, which is not a > useful thing to do in $HOME/.patman. A new test is added, along > updated documentation. > >

Re: [PATCH v5 5/6] patman: fail early in Setup when provided config file does not exist

2022-12-20 Thread Simon Glass
On Mon, 19 Dec 2022 at 22:38, Maxim Cournoyer wrote: > > Rationale: if the user explicitly provide this argument, they probably > intend for it to be used. > > Signed-off-by: Maxim Cournoyer > --- > > (no changes since v1) > > tools/patman/settings.py | 6 +- > 1 file changed, 5

[PATCH v2] video: ti: am335x: restore driver-model code

2022-12-20 Thread Dario Binacchi
The commit 82f7b869f5d7a ("video: Drop CONFIG_AM335X_LCD") removed not only the LCD legacy implementation but also the code with driver model support. The patch restores the code with driver model support. Signed-off-by: Dario Binacchi --- Changes in v2: - Collapse the two patches: - Revert

Re: [RESEND RFC PATCH 1/2] Revert "video: Drop CONFIG_AM335X_LCD"

2022-12-20 Thread Dario Binacchi
Hi Simon, On Mon, Dec 19, 2022 at 8:20 PM Simon Glass wrote: > > Hi Dario, > > On Mon, 19 Dec 2022 at 04:35, Dario Binacchi > wrote: > > > > This reverts commit 82f7b869f5d7aad246a4621a18a5ad04475815ba. > > > > It also removed code with driver model support. > > The commit [1], as described in

[PATCH u-boot] doc: board: qemu-ppce500: Update supported and unsupported

2022-12-20 Thread Pali Rohár
qemu can emulate also e500v1 core but cannot emulate CPUs from Freescale PowerPC QorIQ T and P series. Signed-off-by: Pali Rohár --- doc/board/emulation/qemu-ppce500.rst | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/board/emulation/qemu-ppce500.rst

[PATCH 2/2] configs: Enable distroboot on am625

2022-12-20 Thread Martyn Welch
TI boards use a custom (though faily common to TI boards) mechanism for booting Linux. We would like to use the "distroboot" approach. Enable distroboot as a further option to use for booting on am625 should the existing options fail. Signed-off-by: Martyn Welch ---

[PATCH 1/2] arm64:mach-k3 am625_init: Correct boot mode detection

2022-12-20 Thread Martyn Welch
The boot mode detection assumes that BOOT_DEVICE_MMC2 should always result in MMCSD_MODE_FS, but MMCSD_MODE_RAW is also a valid option for this port. The current logic also avoids looking at the bootmode pin strapping, which should be the primary means of determining whether a device is being

[PATCH 0/2] Enable distroboot as a boot option for am62x

2022-12-20 Thread Martyn Welch
The am62x config currently doesn't enable distroboot as an option for booting. Add this as a further option after the existing mechanisms have failed. Whilst working on this it was found that boot detection was failing on the am625-sk when attempting to boot from raw offsets on an SD card. Boot

Re: [PATCH v5 5/6] patman: fail early in Setup when provided config file does not exist

2022-12-20 Thread Simon Glass
On Mon, 19 Dec 2022 at 22:38, Maxim Cournoyer wrote: > > Rationale: if the user explicitly provide this argument, they probably > intend for it to be used. > > Signed-off-by: Maxim Cournoyer > --- > > (no changes since v1) > > tools/patman/settings.py | 6 +- > 1 file changed, 5

Re: [PATCH v5 6/6] patman: additionally honor a local .patman config file

2022-12-20 Thread Simon Glass
On Mon, 19 Dec 2022 at 22:38, Maxim Cournoyer wrote: > > This enables versioning a project specific patman configuration file. > It also makes it possible to declare the project name, which is not a > useful thing to do in $HOME/.patman. A new test is added, along > updated documentation. > >

Re: [PATCH v5 4/6] patman: set the default config_fname argument value to None

2022-12-20 Thread Simon Glass
On Mon, 19 Dec 2022 at 22:38, Maxim Cournoyer wrote: > > This better matches Python conventions, allowing to easily test > whether the optional argument is provided. > > Signed-off-by: Maxim Cournoyer > --- > > (no changes since v1) > > tools/patman/__main__.py | 2 +- >

Re: [PATCH v5 3/6] patman: import gitutil module where it is needed

2022-12-20 Thread Simon Glass
On Mon, 19 Dec 2022 at 22:38, Maxim Cournoyer wrote: > > Instead of propagating it from the module entry point (main script). > > Signed-off-by: Maxim Cournoyer > --- > > (no changes since v1) > > tools/patman/__main__.py | 3 +-- > tools/patman/settings.py | 8 +--- > 2 files changed, 6

Re: [PATCH v5 2/6] patman: replace deprecated SafeConfigParser with ConfigParser

2022-12-20 Thread Simon Glass
On Mon, 19 Dec 2022 at 22:38, Maxim Cournoyer wrote: > > The SafeConfigParser class has been renamed in Python 3.2 to > ConfigParser, and the old alias has been deprecated since. > > Signed-off-by: Maxim Cournoyer > --- > > (no changes since v1) > > tools/patman/settings.py | 28

Re: [PATCH v5 1/6] patman: fix pep8 warnings in settings module

2022-12-20 Thread Simon Glass
On Mon, 19 Dec 2022 at 22:38, Maxim Cournoyer wrote: > > Remove extraneous imports, variables and comply to PEP 8 maximum line > width, among other PEP 8 changes suggested by Pyflake. > > Signed-off-by: Maxim Cournoyer > --- > > (no changes since v1) > > tools/patman/settings.py | 38

Re: [PATCH v2 00/25] bootstd: Add a boot menu

2022-12-20 Thread Simon Glass
Hi Tom, On Mon, 5 Dec 2022 at 17:05, Simon Glass wrote: > > Hi Heinrich (and anyone else), > > On Thu, 10 Nov 2022 at 15:15, Simon Glass wrote: > > > > Hi Heinrich, > > > > On Mon, 7 Nov 2022 at 16:35, Simon Glass wrote: > > > > > > Hi Heinrich, > > > > > > On Mon, 7 Nov 2022 at 12:15,

Pull request for efi-2023-01-rc5

2022-12-20 Thread Heinrich Schuchardt
The following changes since commit 2243922edca9f56a9d5519b9d6e36f5d7a18434d: Prepare v2023.01-rc4 (2022-12-19 08:45:26 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2023-01-rc5 for you to fetch changes up to

Re: [PATCH v5 3/3] arm: dts: am335x-sancloud-bbe-lite: UEFI SPI export

2022-12-20 Thread Rob Herring
On Wed, Nov 23, 2022 at 05:50:06PM +, Paul Barker wrote: > Add properties to the Authenta SPI flash device node to enable access by > a UEFI application using a fixed GUID. > > Signed-off-by: Paul Barker > --- > arch/arm/dts/am335x-sancloud-bbe-lite-u-boot.dtsi | 13 ++--- >

[PATCH v2 3/4] arm: dts: k3-am625-sk: Enable first ethernet port

2022-12-20 Thread Sjoerd Simons
The K3 am625 sk EVM has two ethernet ports; Enable the first one for usage in u-boot. Signed-off-by: Sjoerd Simons --- (no changes since v1) arch/arm/dts/k3-am625-sk-u-boot.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi

[PATCH v2 2/4] configs: am62x_evm_*: Run savedefconfig

2022-12-20 Thread Sjoerd Simons
Clean configuration for am62x_evm using savedefconfig Signed-off-by: Sjoerd Simons --- (no changes since v1) configs/am62x_evm_a53_defconfig | 4 ++-- configs/am62x_evm_r5_defconfig | 32 +++- 2 files changed, 17 insertions(+), 19 deletions(-) diff --git

[PATCH v2 4/4] configs: am62x_evm_a53: Enable ethernet

2022-12-20 Thread Sjoerd Simons
Enable ethernet support for u-boot on am62x evm Signed-off-by: Sjoerd Simons --- Changes in v2: - Split out config cleanup from ethernet changes configs/am62x_evm_a53_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/am62x_evm_a53_defconfig

[PATCH v2 1/4] configs: am62x_evm_*: Correct SPI configuration option

2022-12-20 Thread Sjoerd Simons
In f422c4bec the configuration option to support s28hs512t SPI flashes was changed from CONFIG_SPI_FLASH_S28HS512T to CONFIG_SPI_FLASH_S28HX_T to support the wider family. Follow this change in the AM62x EVM configurations. Signed-off-by: Sjoerd Simons --- (no changes since v1)

[PATCH v2 0/4] Enable ethernet for ti am62x

2022-12-20 Thread Sjoerd Simons
These patches enable ethernet from u-boot on the ti am62x EVM. They are based on the u-boot next branch (33f4d3c3) to take advantage of recent dts sync of these boards with linux The first two patches clean up the configurations little bit (fixing incorrect config variable, running

Re: [PATCH v2] eficonfig: EFI_VARIABLE_APPEND_WRITE is not set for null key

2022-12-20 Thread Heinrich Schuchardt
On 12/20/22 10:38, Masahisa Kojima wrote: The signed null key with authenticated header is used to clear the PK, KEK, db and dbx. When CONFIG_EFI_MM_COMM_TEE is enabled (StMM and OP-TEE based RPMB storage is used as the EFI variable storage), clearing KEK, db and dbx by enrolling a signed null

Re: [u-boot][master][PATCH 1/3] pico-imx7d: add support for 2GB memory SoMs

2022-12-20 Thread Szőke Kálmán Benjamin
I will not keep, most of Technexion SoM codes are broken or limited in functionalities (like 2GB RAM support missing, dual boot missing), because there is no any active maintenancing and as i see nobody cares about it from freescale community.What is the point of renaming and rewriting these

Re: [u-boot][master][PATCH 2/3] pico-imx7d: add baseboard SD card boot detect

2022-12-20 Thread Szőke Kálmán Benjamin
To use fsl_esdhc_initialize() is must or esdhc drivers object will be not initialized. It was made by Technexion.In practice, it turned out that 3 is good.

Re: [u-boot][master][PATCH 1/3] pico-imx7d: add support for 2GB memory SoMs

2022-12-20 Thread Szőke Kálmán Benjamin
Technexion did that renaming, it is better to keep in synchronized.https://github.com/TechNexion/u-boot-tn-imx/tree/tn-imx_v2021.04_5.10.72_2.2.0-stable/board/technexion/pico-imx7d

Re: [u-boot][master][PATCH 1/3] pico-imx7d: add support for 2GB memory SoMs

2022-12-20 Thread Szőke Kálmán Benjamin
All codes come from official u-boot codes from Technexion may they knows better why it is optimal in this form.https://github.com/TechNexion/u-boot-tn-imx/tree/tn-imx_v2021.04_5.10.72_2.2.0-stable/board/technexion/pico-imx7d

[PATCH 1/4] xilinx: zynq: Enable gigadevice

2022-12-20 Thread Victor Lim
Enable gigadevice part #s Signed-off-by: Victor Lim --- configs/xilinx_zynq_virt_defconfig | 1 + configs/zynq_cse_qspi_defconfig| 1 + 2 files changed, 2 insertions(+) diff --git a/configs/xilinx_zynq_virt_defconfig b/configs/xilinx_zynq_virt_defconfig index 611c5e993c..fe2321d658 100644

[PATCH 4/4] mtd: spi-nor-ids: add gigadevice part #

2022-12-20 Thread Victor Lim
Adding the following parts to the list gd25b256: 3V QSPI, QE=1, 256Mbit gd25b512: 3V QSPI, QE=1, 512Mbit gd55b01g: 3V QSPI, QE=1, 1Gbit gd55b02g: 3V QSPI, QE=1, 2Gbit gd25f64: 3V QSPI, QE=1, 64Mbit, high performance gd25f128: 3V QSPI, QE=1, 128Mbit, high performance gd25f256: 3V QSPI, QE=1,

[PATCH 3/4] xilinx: versal: Enable gigadevice parts

2022-12-20 Thread Victor Lim
Enable gigadevice in this file Signed-off-by: Victor Lim --- configs/xilinx_versal_mini_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_versal_mini_qspi_defconfig b/configs/xilinx_versal_mini_qspi_defconfig index bb53e6c913..247a011dae 100644 ---

[PATCH 2/4] arm64: zynqmp: Enable gigadevice

2022-12-20 Thread Victor Lim
Enable gigadevice part # Signed-off-by: Victor Lim --- configs/xilinx_zynqmp_mini_qspi_defconfig | 1 + configs/xilinx_zynqmp_virt_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/xilinx_zynqmp_mini_qspi_defconfig b/configs/xilinx_zynqmp_mini_qspi_defconfig index

[PATCH 0/4] Enable gigadevice and add new part #s

2022-12-20 Thread Victor Lim
Enabling gigadevice part #s. These are the part #s added, gd25b256: 3V QSPI, QE=1, 256Mbit gd25b512: 3V QSPI, QE=1, 512Mbit gd55b01g: 3V QSPI, QE=1, 1Gbit gd55b02g: 3V QSPI, QE=1, 2Gbit gd25f64: 3V QSPI, QE=1, 64Mbit, high performance gd25f128: 3V QSPI, QE=1, 128Mbit, high performance gd25f256: 3V

[PATCH] i2c: add dm_i2c_probe_chip() to detect chip presence

2022-12-20 Thread Johan Korsnes
Add function to determine whether a chip is present. This check is typically implemented by writing the chip address to the bus and checking that the chip replies with an ACK. The already existing dm_i2c_probe() will attempt to bind/probe the relevant driver if the chip is present. This makes it

[PATCH] arm: mach-k3: j721e: Add platform data for main_uart2

2022-12-20 Thread Bhavya Kapoor
Add platform clock and powerdomain data for main_uart2 in J721e. This data is used by the driver to register main_uart2 device clocks and powerdomains for J721e. Signed-off-by: Bhavya Kapoor --- arch/arm/mach-k3/j721e/clk-data.c | 7 +-- arch/arm/mach-k3/j721e/dev-data.c | 3 ++- 2 files

[PATCH v2] eficonfig: EFI_VARIABLE_APPEND_WRITE is not set for null key

2022-12-20 Thread Masahisa Kojima
The signed null key with authenticated header is used to clear the PK, KEK, db and dbx. When CONFIG_EFI_MM_COMM_TEE is enabled (StMM and OP-TEE based RPMB storage is used as the EFI variable storage), clearing KEK, db and dbx by enrolling a signed null key does not work as expected if

[u-boot][PATCH v2 8/8] mtd: rawnand: omap_elm: u-boot driver model support

2022-12-20 Thread Roger Quadros
Support u-boot driver model. We still retain support legacy way of doing things if ELM_BASE is defined in We could completely get rid of that if all platforms defining ELM_BASE get rid of that definition and enable CONFIG_SYS_NAND_SELF_INIT and are verified to work. Signed-off-by: Roger Quadros

[u-boot][PATCH v2 7/8] dt-bindings: mtd: Add ti, elm DT binding documentation

2022-12-20 Thread Roger Quadros
Adds DT binding documentation for the TI Error Location Module. This is picked up from the Linux Kernel. Signed-off-by: Roger Quadros --- doc/device-tree-bindings/mtd/ti,elm.yaml | 72 1 file changed, 72 insertions(+) create mode 100644

[u-boot][PATCH v2 6/8] mtd: rawnand: omap_gpmc: Enable SYS_NAND_PAGE_COUNT for OMAP_GPMC

2022-12-20 Thread Roger Quadros
The symbol is required for NAND support in SPL when using OMAP_GPMC driver. Signed-off-by: Roger Quadros --- drivers/mtd/nand/raw/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index

[u-boot][PATCH v2 5/8] mtd: rawnand: omap_gpmc: Add SPL NAND support

2022-12-20 Thread Roger Quadros
Enables SPL NAND support for ARCH_K3 by enabling SPL_NAND_INIT and SPL_SYS_NAND_SELF_INIT. Legacy OMAP2plus platforms still rely on SPL_NAND_AM33XX_BCH instead. Signed-off-by: Roger Quadros --- drivers/mtd/nand/raw/Kconfig | 5 drivers/mtd/nand/raw/Makefile| 2 +-

[u-boot][PATCH v2 4/8] mtd: rawnand: omap_gpmc: support u-boot driver model

2022-12-20 Thread Roger Quadros
Adds driver model support. We need to be able to self initialize the NAND controller/chip at probe and so enable CONFIG_SYS_NAND_SELF_INIT. Doing so requires nand_register() API which is provided by nand.c and needs to be enabled during SPL build via CONFIG_SPL_NAND_INIT. But nand.c also

[u-boot][PATCH v2 3/8] dt-bindings: mtd: Add ti, gpmc-nand DT binding documentation

2022-12-20 Thread Roger Quadros
Add DT binding documentation for the TI GPMC NAND controller. This is picked up from the Linux Kernel. Signed-off-by: Roger Quadros --- .../mtd/ti,gpmc-nand.yaml | 129 ++ 1 file changed, 129 insertions(+) create mode 100644

[u-boot][PATCH v2 1/8] mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction

2022-12-20 Thread Roger Quadros
The BCH detection hardware can generate ECC bytes for multiple sectors in one go. Use that feature. correct() only corrects one sector at a time so we need to call it repeatedly for each sector. Signed-off-by: Roger Quadros Reviewed-by: Michael Trimarchi --- drivers/mtd/nand/raw/omap_gpmc.c |

[u-boot][PATCH v2 2/8] mtd: rawnand: nand_base: Allow base driver to be used in SPL without nand_bbt

2022-12-20 Thread Roger Quadros
nand_bbt.c is not being built with the nand_base driver during SPL build. This results in build failures if we try to access any nand_bbt related functions. Don't use any nand_bbt functions for SPL build. Signed-off-by: Roger Quadros --- drivers/mtd/nand/raw/nand_base.c | 18 +-

[u-boot][PATCH v2 0/8] rawnand: omap_gpmc: driver model support

2022-12-20 Thread Roger Quadros
Hi Michael & Dario, This series adds driver model support for rawnand: omap_gpmc and omap_elm drivers. This will enable the driver to be used on K2/K3 platforms as well. This series along with remaining patches required to get NAND working on AM6x EVM is available here

Re: [PATCH] eficonfig: EFI_VARIABLE_APPEND_WRITE is not set for null key

2022-12-20 Thread Masahisa Kojima
Hi Ilias, On Tue, 20 Dec 2022 at 15:56, Ilias Apalodimas wrote: > > On Tue, Dec 20, 2022 at 12:12:56AM +0900, Masahisa Kojima wrote: > > The signed null key with authenticated header is used to clear > > the PK, KEK, db and dbx. When CONFIG_EFI_MM_COMM_TEE is enabled > > (StMM and OP-TEE based

[PATCH v1] pinctrl: nuvoton: add NPCM7xx/NPCM8xx reset type detect

2022-12-20 Thread Jim Liu
add reset type detect and persist setting. Signed-off-by: Jim Liu --- arch/arm/include/asm/arch-npcm8xx/rst.h | 2 +- drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 20 drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 22 +- 3 files changed, 42 insertions(+),

Re: [PATCH] arm64: zynqmp: Remove unused snps,refclk_fladj property

2022-12-20 Thread Michal Simek
On 12/12/22 15:27, Michal Simek wrote: The commit c55ac51a550c ("usb: dwc3: Program GFLADJ") hopefully fixed issues around fladj logic. This DT property was used in Xilinx stack only that's why remove because it is not needed anymore. Signed-off-by: Michal Simek ---

Re: [PATCH 1/2] arm64: zynqmp: Describe TI phy as ethernet phy ID on ZCU102 RevB & up

2022-12-20 Thread Michal Simek
On 12/12/22 15:14, Michal Simek wrote: From: Harini Katakam TI phy requires a reset before PHY address detection to make sure correct strapping via MIO is detected. Facilitate the same using ethernet-phy-id compatible string. GPIO reset entry will be added in a separate commit. This support

Re: [PATCH] arm64: zynqmp: Remove unused USB DT properties

2022-12-20 Thread Michal Simek
On 12/12/22 15:06, Michal Simek wrote: xlnx,usb-polarity, xlnx,usb-reset-mode and snps,mask_phy_reset are not documented in dt binding and also there is no code associated with them that's why remove them. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-dlc21-revA.dts | 4

Re: Converting to DM SERIAL for Kirkwood boards

2022-12-20 Thread Pali Rohár
On Tuesday 20 December 2022 07:20:15 Stefan Roese wrote: > Hi Tony, > > On 12/20/22 02:36, Tony Dinh wrote: > > Hi Stefan, > > > > On Mon, Dec 19, 2022 at 4:06 PM Tony Dinh wrote: > > > > > > Hi Stefan, > > > > > > On Mon, Dec 19, 2022 at 1:22 PM Tony Dinh wrote: > > > > > > > > Hi Stefan,