Re: [PATCH] Add support for more XMC series

2023-08-14 Thread Clus Tom
Hi Simon, I just want to apply: https://patchwork.ozlabs.org/project/uboot/patch/20230812031846.3958-1-ssunk...@gmail.com Thanks, SSunk Simon Glass 于2023年8月15日周二 06:43写道: > Hi, > > On Sun, 13 Aug 2023 at 21:19, Clus Tom wrote: > > > > Hi Simon, > > I'm not quite sure what you mean by v2, if

RE: [PATCH] Add support for XMC XM25QH128C/XM25QH256C/XM25QU256C/XM25QH512C/XM25QU512C

2023-08-14 Thread Chin-Ting Kuo
> -Original Message- > From: SSunk > Sent: Friday, August 11, 2023 4:20 PM > Subject: [PATCH] Add support for XMC > XM25QH128C/XM25QH256C/XM25QU256C/XM25QH512C/XM25QU512C > > site: https://www.xmcwh.com/site/product > > Signed-off-by: Kankan Sun > --- > configs/evb-ast2600_defconfig |

Re: [PATCH 8/8] disk: Make blk_get_ops() internal to blk uclass

2023-08-14 Thread AKASHI Takahiro
On Mon, Aug 14, 2023 at 04:42:57PM -0600, Simon Glass wrote: > On Sun, 13 Aug 2023 at 17:47, Marek Vasut > wrote: > > > > Move the macro into blk-uclass.c , since it is only used there. > > > > Signed-off-by: Marek Vasut > > --- > > Cc: AKASHI Takahiro > > Cc: Abdellatif El Khlifi > > Cc: Bin

Re: [PATCH v9 08/10] sandbox: capsule: Generate capsule related files through binman

2023-08-14 Thread Simon Glass
Hi Sughosh, On Mon, 14 Aug 2023 at 02:17, Sughosh Ganu wrote: > > hi Simon, > > On Sat, 12 Aug 2023 at 22:33, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Sat, 12 Aug 2023 at 09:40, Sughosh Ganu wrote: > > > > > > hi Simon, > > > > > > On Sat, 12 Aug 2023 at 19:55, Simon Glass wrote: > >

Please pull u-boot-dm/next

2023-08-14 Thread Simon Glass
Hi Tom, This is for the -next branch The following changes since commit 321d7b4d875a77552a969dd6ea5bbed2644fcb0c: Merge branch '2023-08-09-misc-cleanups' into next (2023-08-09 13:15:51 -0400) are available in the Git repository at: git://git.denx.de/u-boot-dm.git tags/dm-next-14aug23

Re: [PATCH 2/2] configs: sandbox: test: dm: blk: Enable NVMXIP QSPI and update test

2023-08-14 Thread Marek Vasut
On 8/15/23 00:42, Simon Glass wrote: On Sun, 13 Aug 2023 at 15:47, Marek Vasut wrote: Enable NVMXIP QSPI driver on sandbox, since it is already enabled on sandbox64. Update blk tests to match. Signed-off-by: Marek Vasut --- Cc: Abdellatif El Khlifi Cc: Simon Glass ---

Re: [PATCH 8/8] disk: Make blk_get_ops() internal to blk uclass

2023-08-14 Thread Simon Glass
On Sun, 13 Aug 2023 at 17:47, Marek Vasut wrote: > > Move the macro into blk-uclass.c , since it is only used there. > > Signed-off-by: Marek Vasut > --- > Cc: AKASHI Takahiro > Cc: Abdellatif El Khlifi > Cc: Bin Meng > Cc: Heinrich Schuchardt > Cc: Joshua Watt > Cc: Michal Suchanek > Cc:

Re: [PATCH 1/2] blk: Add bounce buffer support to read/write operations

2023-08-14 Thread Simon Glass
Hi Marek, On Sun, 13 Aug 2023 at 17:50, Marek Vasut wrote: > > Some devices have limited DMA capabilities and require that the > buffers passed to them fit specific properties. Add new optional > callback which can be used at driver level to indicate whether a > buffer alignment is suitable for

Re: [PATCH v2 4/4] doc: qemu: arm: Add a section on booting Linux distros

2023-08-14 Thread Simon Glass
Hi Alper, On Mon, 14 Aug 2023 at 11:40, Alper Nebi Yasak wrote: > > Add an example qemu-system-aarch64 command that can make U-Boot on QEMU > boot into the Debian Installer, along with resulting console messages > from U-Boot, based on the existing documentation section for the x86 > version. >

Re: [PATCH v3 5/9] board_f: Fix corruption of relocaddr

2023-08-14 Thread Simon Glass
Hi Devarsh, Nikhil, Tom, On Wed, 9 Aug 2023 at 09:29, Bin Meng wrote: > > On Thu, Aug 3, 2023 at 7:03 PM Bin Meng wrote: > > > > On Thu, Aug 3, 2023 at 6:37 PM Bin Meng wrote: > > > > > > On Tue, Aug 1, 2023 at 12:00 AM Simon Glass wrote: > > > > > > > > When the video framebuffer comes from

Re: [PATCH 2/2] configs: sandbox: test: dm: blk: Enable NVMXIP QSPI and update test

2023-08-14 Thread Simon Glass
On Sun, 13 Aug 2023 at 15:47, Marek Vasut wrote: > > Enable NVMXIP QSPI driver on sandbox, since it is already enabled > on sandbox64. Update blk tests to match. > > Signed-off-by: Marek Vasut > --- > Cc: Abdellatif El Khlifi > Cc: Simon Glass > --- > configs/sandbox_defconfig | 1 + >

Re: [PATCH] test: cpu: Handle both 32bit and 64bit CPUs

2023-08-14 Thread Simon Glass
On Sun, 13 Aug 2023 at 13:52, Marek Vasut wrote: > > Handle both 32bit and 64bit systems, i.e. sandbox and sandbox64 > the same way drivers/cpu/cpu_sandbox.c does, that is in case > CONFIG_PHYS_64BIT is enabled, assume 64bit address width, else > assume 32bit address width. This fixes

Re: [PATCH] disk: dos: Infer MBR partition sector size from underlying drive sector size

2023-08-14 Thread Simon Glass
On Sun, 13 Aug 2023 at 17:49, Marek Vasut wrote: > > Block devices with 4k sectors imply the MBR sectors are also 4k instead > of regular 512B. Avoid hard-coding the 512B sector size and isntead read > the current block device sector size from it, and if the sector size is > larger than 512B, use

Re: [PATCH 1/1] doc: description of board_get_usable_ram_top()

2023-08-14 Thread Simon Glass
On Mon, 14 Aug 2023 at 00:47, Heinrich Schuchardt wrote: > > Improve the description of function board_get_usable_ram_top(). > > Signed-off-by: Heinrich Schuchardt > --- > include/init.h | 15 ++- > 1 file changed, 10 insertions(+), 5 deletions(-) > Reviewed-by: Simon Glass

Re: [PATCH] Add support for more XMC series

2023-08-14 Thread Simon Glass
Hi, On Sun, 13 Aug 2023 at 21:19, Clus Tom wrote: > > Hi Simon, > I'm not quite sure what you mean by v2, if it's the previous email, it only > removes the XM25QH128C part of the commit message compared to the previous > one. > Right, so it is v2. Your emails seem to have generated 3

Re: [PATCH] configs: sandbox64: Enable clock CCF driver

2023-08-14 Thread Simon Glass
On Sun, 13 Aug 2023 at 13:50, Marek Vasut wrote: > > Align the sandbox64 defconfig with sandbox defconfig. Enable missing > CCF and Sandbox CCF drivers. This fixes ut_dm_dm_test_clk_ccf test . > > Signed-off-by: Marek Vasut > --- > Cc: Simon Glass > --- > configs/sandbox64_defconfig | 2 ++ >

Re: [PATCH] configs: sandbox64: Enable PCI register multi-entry support

2023-08-14 Thread Simon Glass
On Sun, 13 Aug 2023 at 13:52, Marek Vasut wrote: > > Align the sandbox64 defconfig with sandbox defconfig. Enable missing > PCI register multi-entry support. This fixes ut_dm_dm_test_pci_bus_to_phys > test . > > Signed-off-by: Marek Vasut > --- > Cc: Simon Glass > --- >

Re: [PATCH] x86: Update cbmem driver

2023-08-14 Thread Simon Glass
Hi Alex, On Sun, 13 Aug 2023 at 21:03, Alex Sadovsky wrote: > > Dear Simon and other developers, > > - cursor = cbmem_console_p->buffer_cursor++; > > - if (cursor < cbmem_console_p->buffer_size) > > - cbmem_console_p->buffer_body[cursor] = data; > > + pos =

[PATCH 19/19] expo: doc: Update documentation for persistent settings

2023-08-14 Thread Simon Glass
Add mention of persistent settings in the documentation. Signed-off-by: Simon Glass --- doc/develop/cedit.rst | 15 +++ doc/develop/expo.rst | 1 - 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/doc/develop/cedit.rst b/doc/develop/cedit.rst index

[PATCH 18/19] expo: cedit: Support reading settings from CMOS RAM

2023-08-14 Thread Simon Glass
Add a command to read edit settings from CMOS RAM, using the cedit definition to indicate which registers and bits are used. Signed-off-by: Simon Glass --- boot/cedit.c| 99 + boot/scene_internal.h | 12 + boot/scene_menu.c | 16

[PATCH 17/19] expo: cedit: Support writing settings to CMOS RAM

2023-08-14 Thread Simon Glass
Add a command to write cedit settings to CMOS RAM so that it can be preserved across a reboot. This uses a simple bit-encoding, where each field has a 'bit position' and a 'bit length' in the schema. Signed-off-by: Simon Glass --- boot/cedit.c| 137

[PATCH 16/19] expo: cedit: Support reading settings from environment vars

2023-08-14 Thread Simon Glass
Add a command to read cedit settings from environment variables so that they can be restored as part of the environment. Signed-off-by: Simon Glass --- boot/cedit.c| 45 + cmd/cedit.c | 22

[PATCH 15/19] expo: cedit: Support writing settings to environment vars

2023-08-14 Thread Simon Glass
Add a command to write cedit settings to environment variables so that they can be stored with 'saveenv'. Signed-off-by: Simon Glass --- boot/cedit.c| 97 +++-- cmd/cedit.c | 22 ++ doc/usage/cmd/cedit.rst | 25 +++

[PATCH 14/19] expo: cedit: Support reading settings from a file

2023-08-14 Thread Simon Glass
Add a command to read cedit settings from a devicetree file. Signed-off-by: Simon Glass --- boot/cedit.c| 52 + cmd/cedit.c | 39 +++ doc/usage/cmd/cedit.rst | 8 +++ include/cedit.h | 13

[PATCH 13/19] expo: cedit: Support writing settings to a file

2023-08-14 Thread Simon Glass
Support writing settings from an expo into a file in FDT format. It consists of a single node with a two properties for each sceneitem, one with tag ID chosen by the user and another for its text value. Signed-off-by: Simon Glass --- boot/cedit.c| 136

[PATCH 12/19] expo: Export scene_menuitem_find() for use in internal code

2023-08-14 Thread Simon Glass
Make this function available to other expo code so we can use it to look up a menu item. Signed-off-by: Simon Glass --- boot/scene_internal.h | 12 boot/scene_menu.c | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/boot/scene_internal.h

[PATCH 11/19] doc: Expand documentation for the cedit command

2023-08-14 Thread Simon Glass
Add a little information about each subcommand. Signed-off-by: Simon Glass --- doc/usage/cmd/cedit.rst | 15 +++ 1 file changed, 15 insertions(+) diff --git a/doc/usage/cmd/cedit.rst b/doc/usage/cmd/cedit.rst index 3d815bd27af2..d34a220797ee 100644 --- a/doc/usage/cmd/cedit.rst

[PATCH 10/19] expo: Move cedit theme under bootstd

2023-08-14 Thread Simon Glass
This is related to standard boot, so put it under the same node. This may simplify schema upstreaming later. Mention themes in the documentation while we are here. Signed-off-by: Simon Glass --- arch/sandbox/dts/sandbox.dtsi | 12 ++-- arch/sandbox/dts/test.dts | 12 ++--

[PATCH 09/19] expo: Add documentation for the configuration editor

2023-08-14 Thread Simon Glass
This is mentioned in passing in the 'cedit' command. Its file format is described under `expo`. But it would be better if it had its own entry in the documentation. Add a new 'cedit' entry with a few details about this feature. Signed-off-by: Simon Glass --- doc/develop/cedit.rst | 147

[PATCH 08/19] expo: Tidy up the expo.py tool and usage

2023-08-14 Thread Simon Glass
Tidy up this tool a little: - define which arguments are needed - split the enum values out into a header file - warn if no enum values are found - display the dtc error if something goes wrong - avoid a Python traceback on error Signed-off-by: Simon Glass --- doc/develop/expo.rst

[PATCH 07/19] expo: Add a function to prepare a cedit

2023-08-14 Thread Simon Glass
Split out the code which prepares the cedit for use, so we can call it from a test. Add a log category while we are here. Signed-off-by: Simon Glass --- boot/cedit.c| 32 ++-- include/cedit.h | 15 +++ 2 files changed, 41 insertions(+), 6

[PATCH 06/19] expo: Move cedit test into its own file and tidy

2023-08-14 Thread Simon Glass
Move this test out so it can have its own file. Rename the test to use a cedit_ prefix. This allows us to drop the check for CONFIG_CMD_CEDIT in the test. Also we don't need driver model objects for this test, so drop them. Signed-off-by: Simon Glass --- test/boot/Makefile | 1 +

[PATCH 05/19] expo: Split out cedit into its own header

2023-08-14 Thread Simon Glass
Before adding more functions to this interface, create a new header for the configuration editor. Fix up the expo header guard while we are here. Signed-off-by: Simon Glass --- boot/cedit.c| 1 + cmd/cedit.c | 1 + include/cedit.h | 33 +

[PATCH 04/19] expo: Refactor menu_build() to return the object created

2023-08-14 Thread Simon Glass
The caller reads the ID but menu_build() does this again. Add the ID as a parameter to avoid this. Return the object created so that the caller can adjust it. Signed-off-by: Simon Glass --- boot/expo_build.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git

[PATCH 03/19] expo: Provide a way to iterate through all scene objects

2023-08-14 Thread Simon Glass
For some operations it is necessary to process all objects in an expo. Provide an iterator to handle this. Signed-off-by: Simon Glass --- boot/expo.c | 15 +++ boot/scene.c | 16 +++ boot/scene_internal.h | 24 +++ test/boot/expo.c

[PATCH 02/19] abuf: Allow incrementing the size

2023-08-14 Thread Simon Glass
Provide a convenience function to increment the size of the abuf. Signed-off-by: Simon Glass --- include/abuf.h | 9 + lib/abuf.c | 5 + test/lib/abuf.c | 25 + 3 files changed, 39 insertions(+) diff --git a/include/abuf.h b/include/abuf.h index

[PATCH 01/19] expo: Make scene_obj_find() take a const scene

2023-08-14 Thread Simon Glass
This does not change the scene, so mark the pointer const. Signed-off-by: Simon Glass --- boot/scene.c | 2 +- boot/scene_internal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boot/scene.c b/boot/scene.c index e5271f9c..b4c36c41702f 100644 ---

[PATCH 00/19] expo: Support a persistent configuration editor

2023-08-14 Thread Simon Glass
So far cedit does not support reading and writing the configuration. This series add several features related to this: First, it adds support for using a file on a filesystem. This is in FDT format and provides enough information to reset the cedit back to the saved settings. Second, it adds

Re: [PATCH 12/17] ufs: Add Support for Qualcomm UFS HC driver

2023-08-14 Thread Marek Vasut
On 8/14/23 23:54, Bhupesh Sharma wrote: Add Support for the Host Controller driver for UFS HC present on Qualcomm Snapdragon SoCs. [...] +static void ufs_qcom_dev_ref_clk_ctrl(struct ufs_hba *hba, bool enable) +{ + struct ufs_qcom_priv *priv = dev_get_priv(hba->dev); + + if

[PATCH] pci: pcie-brcmstb: bring over some robustness improvements from Linux

2023-08-14 Thread Sam Edwards
Since the initial U-Boot driver was ported here from Linux, the latter has had a few changes for robustness/stability. This patch brings over two of them: - Do not attempt to access the configuration space of a PCIe device if the link has gone down, as that will result in an asynchronous SError

Re: [PATCH 08/17] ufs: Expose 'ufshcd_ops_dbg_register_dump' vops to allow dumping debug registers

2023-08-14 Thread Marek Vasut
On 8/14/23 23:54, Bhupesh Sharma wrote: Add more verbose debug capabilities and vops to allow dumping UFS debug registers / regions, similar to how the UFS Linux driver does it. Signed-off-by: Bhupesh Sharma --- drivers/ufs/ufs.c | 71 +++

Re: [PATCH 00/17] Enable UFS on DragonBoard845c

2023-08-14 Thread Marek Vasut
On 8/14/23 23:54, Bhupesh Sharma wrote: This patchset enables the UFS controller on DragonBoard845c board which houses Qualcomm SDM845 Snapdragon SoC. In addition to enabling the UFS HC and UFS QMP PHY found on this SoC this patchset also contains: * Patches to add 'reset' controller support

Re: [PATCH 17/17] MAINTAINERS: Update UFS maintainer

2023-08-14 Thread Marek Vasut
On 8/14/23 23:54, Bhupesh Sharma wrote: Since Faiz Abbas's email ID is no longer valid, drop him from UFS Maintainer list. Since I am using the UFS framework now extensively on Qualcomm Snapdragon SoCs, so proposing myself as the new UFS maintainer. I have also been sending out u-boot UFS

[PATCH 16/17] configs/dragonboard845c_defconfig: Enable UFS + SCSI related configs

2023-08-14 Thread Bhupesh Sharma
Signed-off-by: Bhupesh Sharma --- configs/dragonboard845c_defconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/configs/dragonboard845c_defconfig b/configs/dragonboard845c_defconfig index e2676a37b5..0dd5ce6159 100644 --- a/configs/dragonboard845c_defconfig +++

[PATCH 17/17] MAINTAINERS: Update UFS maintainer

2023-08-14 Thread Bhupesh Sharma
Since Faiz Abbas's email ID is no longer valid, drop him from UFS Maintainer list. Since I am using the UFS framework now extensively on Qualcomm Snapdragon SoCs, so proposing myself as the new UFS maintainer. I have also been sending out u-boot UFS fixes in the recent past. Signed-off-by:

[PATCH 15/17] configs/dragonboard845c_defconfig: Enable DM_RESET by default

2023-08-14 Thread Bhupesh Sharma
Signed-off-by: Bhupesh Sharma --- configs/dragonboard845c_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/dragonboard845c_defconfig b/configs/dragonboard845c_defconfig index a69d82761a..e2676a37b5 100644 --- a/configs/dragonboard845c_defconfig +++

[PATCH 14/17] arm: dts: qcom: sdm845: Add UFS HC and PHY nodes

2023-08-14 Thread Bhupesh Sharma
Add UFS HC and PHY nodes in Qualcomm SDM845 dtsi. Signed-off-by: Bhupesh Sharma --- arch/arm/dts/sdm845.dtsi | 62 1 file changed, 62 insertions(+) diff --git a/arch/arm/dts/sdm845.dtsi b/arch/arm/dts/sdm845.dtsi index 056a1674d5..9ef41e3c84 100644 ---

[PATCH 13/17] arm: dts: qcom: sdm845: Add 'reset' node

2023-08-14 Thread Bhupesh Sharma
Add 'reset' controller node in Qualcomm SDM845 dtsi. Signed-off-by: Bhupesh Sharma --- arch/arm/dts/sdm845.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/sdm845.dtsi b/arch/arm/dts/sdm845.dtsi index 3b86b9328f..056a1674d5 100644 --- a/arch/arm/dts/sdm845.dtsi +++

[PATCH 12/17] ufs: Add Support for Qualcomm UFS HC driver

2023-08-14 Thread Bhupesh Sharma
Add Support for the Host Controller driver for UFS HC present on Qualcomm Snapdragon SoCs. Signed-off-by: Bhupesh Sharma --- drivers/ufs/Kconfig | 7 + drivers/ufs/Makefile | 1 + drivers/ufs/qcom-ufshcd.c | 880 ++ drivers/ufs/ufs-qcom.h|

[PATCH 11/17] ufs: Fix debug message in 'ufs_start'

2023-08-14 Thread Bhupesh Sharma
Minor typo fix and rewording of printf message inside 'ufs_start' which announces the availability of the UFS device. Signed-off-by: Bhupesh Sharma --- drivers/ufs/ufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ufs/ufs.c b/drivers/ufs/ufs.c index

[PATCH 10/17] ufs: Add missing memory barriers

2023-08-14 Thread Bhupesh Sharma
Add missing wmb() and mb() barriers in the u-boot UFS core framework driver to allow registers updates to happen before follow-up read operations. This makes the barrier placement similar to the Linux UFS driver. Signed-off-by: Bhupesh Sharma --- drivers/ufs/ufs.c | 11 +++ 1 file

[PATCH 09/17] ufs: Sync possible UFS Quirks with Linux UFS driver

2023-08-14 Thread Bhupesh Sharma
Sync u-boot UFS driver to add all possible UFS Quirks as supported by Linux UFS driver as well. Signed-off-by: Bhupesh Sharma --- drivers/ufs/ufs.h | 129 +++--- 1 file changed, 121 insertions(+), 8 deletions(-) diff --git a/drivers/ufs/ufs.h

[PATCH 08/17] ufs: Expose 'ufshcd_ops_dbg_register_dump' vops to allow dumping debug registers

2023-08-14 Thread Bhupesh Sharma
Add more verbose debug capabilities and vops to allow dumping UFS debug registers / regions, similar to how the UFS Linux driver does it. Signed-off-by: Bhupesh Sharma --- drivers/ufs/ufs.c | 71 +++ drivers/ufs/ufs.h | 9 ++ 2 files changed, 80

[PATCH 07/17] ufs: Add support for probing UFS controllers newer than UFSHCI_VERSION_21

2023-08-14 Thread Bhupesh Sharma
UFS Host Controllers on Qualcomm Snapdragon SoCs support versions newer/ greater than UFSHCI_VERSION_21. So, modify the driver to just print the UFS HC version and not bail-out for newer versions. Signed-off-by: Bhupesh Sharma --- drivers/ufs/ufs.c | 7 +-- 1 file changed, 1 insertion(+), 6

[PATCH 06/17] ufs: Clear UECPA once due to LINERESET has happened during LINK_STARTUP

2023-08-14 Thread Bhupesh Sharma
Clear UECPA once in u-boot UFS driver due to LINERESET has happened during LINK_STARTUP. This makes the u-boot ufs driver behavior related to UECPA similar to Linux UFS driver. Signed-off-by: Bhupesh Sharma --- drivers/ufs/ufs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 05/17] ufs/ufs.h: Add definition of 'ufshcd_rmwl()'

2023-08-14 Thread Bhupesh Sharma
Add definition of 'ufshcd_rmwl()' helper function which would be later used by Qualcomm UFS driver to read-modify-write registers. Signed-off-by: Bhupesh Sharma --- drivers/ufs/ufs.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/ufs/ufs.h b/drivers/ufs/ufs.h

[PATCH 04/17] phy: qcom: Add QMP UFS PHY driver

2023-08-14 Thread Bhupesh Sharma
Add Qualcomm QMP UFS PHY driver which is available on the following Snapdragon SoCs - SDM845, SM6115 and SM8250 SoCs. Signed-off-by: Bhupesh Sharma --- drivers/phy/qcom/Kconfig| 6 + drivers/phy/qcom/Makefile | 1 + drivers/phy/qcom/phy-qcom-qmp-ufs.c | 996

[PATCH 03/17] dt-bindings: clock: Import SM6115 and SM8250 related clock header files from Linux

2023-08-14 Thread Bhupesh Sharma
Import SM6115 and SM8250 related clock header files from Linux, which would be included in the Qualcomm QMP PHY driver. Signed-off-by: Bhupesh Sharma --- include/dt-bindings/clock/qcom,gcc-sm6115.h | 201 +++ include/dt-bindings/clock/qcom,gcc-sm8250.h | 271 2

[PATCH 02/17] phy: qcom: Import QMP phy related header files from Linux

2023-08-14 Thread Bhupesh Sharma
Import Qualcomm QMP phy related header files from Linux. Signed-off-by: Bhupesh Sharma --- drivers/phy/qcom/phy-qcom-qmp-pcs-ufs-v2.h| 25 ++ drivers/phy/qcom/phy-qcom-qmp-pcs-ufs-v3.h| 21 ++ drivers/phy/qcom/phy-qcom-qmp-pcs-ufs-v4.h| 31 +++

[PATCH 01/17] reset: qcom: Add support for SDM845 SoC reset table

2023-08-14 Thread Bhupesh Sharma
Add support for SDM845 SoC reset table Signed-off-by: Bhupesh Sharma --- drivers/reset/reset-qcom.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/reset/reset-qcom.c b/drivers/reset/reset-qcom.c index 94315e76d5..0d37305e10 100644 ---

[PATCH 00/17] Enable UFS on DragonBoard845c

2023-08-14 Thread Bhupesh Sharma
This patchset enables the UFS controller on DragonBoard845c board which houses Qualcomm SDM845 Snapdragon SoC. In addition to enabling the UFS HC and UFS QMP PHY found on this SoC this patchset also contains: * Patches to add 'reset' controller support for SDM845 SoC. * Minor UFS core framework

Re: [PATCH 1/3] sunxi: psci: clean away preprocessor macros

2023-08-14 Thread Sam Edwards
On 8/14/23 15:05, Andre Przywara wrote: Yes, I will add this to the header file, either defined as 0, or to its actual address. Gotcha; my v2 will also assume you've taken care of merging these guys: +#define SUNXI_CPUX_BASE0x0901 +#define SUNXI_CPUCFG_BASE

Re: [PATCH 2/5] drivers: security: Add TPM2 implementation of security devices

2023-08-14 Thread Sean Edmond
On 2023-08-14 1:39 a.m., Ilias Apalodimas wrote: Hi Sean On Sat, 12 Aug 2023 at 03:28, wrote: From: Stephen Carlson This implementation of the security uclass driver allows existing TPM2 devices declared in the device tree to be referenced for storing the OS anti-rollback counter, using

Re: [PATCH 1/3] sunxi: psci: clean away preprocessor macros

2023-08-14 Thread Andre Przywara
On Mon, 14 Aug 2023 12:10:25 -0600 Sam Edwards wrote: > Hi Andre, > > On 8/14/23 10:37, Andre Przywara wrote: > > So I think we can get rid of this: > > - GEN_H6 never compiles this code here, as both H6 and H616 are arm64. > > Easy! > > > - We can define SUNXI_PRCM_BASE for NCAT2, I

Re: [PATCH] sunxi: psci: remove redundant initialization from psci_arch_init

2023-08-14 Thread Andre Przywara
On Wed, 31 May 2023 14:15:20 -0600 Sam Edwards wrote: Hi, (CC:ing Marc and Chen-Yu as the original authors) sorry for the delay, found that mouldering in my Drafts folder. > The nonsec code overrides/handles these: > - Setting PMR to 0xFF happens earlier, in _nonsec_init, so this is >

Re: [RFC PATCH 2/4] scripts/Makefile.lib: Embed capsule public key in platform's dtb

2023-08-14 Thread Tom Rini
On Tue, Aug 15, 2023 at 12:19:36AM +0530, Sughosh Ganu wrote: > hi Tom, > > On Mon, 14 Aug 2023 at 20:34, Tom Rini wrote: > > > > On Mon, Aug 14, 2023 at 02:33:07PM +0530, Sughosh Ganu wrote: > > > The EFI capsule authentication logic in u-boot expects the public key > > > in the form of an EFI

[PATCH 2/2] irq: Fix typo in header comment

2023-08-14 Thread Paul Barker
Signed-off-by: Paul Barker --- include/irq.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/irq.h b/include/irq.h index 1d08cb858d0e..5638c10128e9 100644 --- a/include/irq.h +++ b/include/irq.h @@ -109,7 +109,7 @@ struct irq_ops { * xxx_xlate() call, or as

[PATCH 1/2] clk: Fix typo in header comment

2023-08-14 Thread Paul Barker
Signed-off-by: Paul Barker --- include/clk-uclass.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clk-uclass.h b/include/clk-uclass.h index 65ebff9ed27b..a22f1a5d8489 100644 --- a/include/clk-uclass.h +++ b/include/clk-uclass.h @@ -64,7 +64,7 @@ int of_xlate(struct

Re: [RFC PATCH 1/4] scripts/Makefile.lib: Collate all dtsi files for inclusion

2023-08-14 Thread Tom Rini
On Tue, Aug 15, 2023 at 12:12:57AM +0530, Sughosh Ganu wrote: > hi Tom, > > On Mon, 14 Aug 2023 at 20:34, Tom Rini wrote: > > > > On Mon, Aug 14, 2023 at 02:33:06PM +0530, Sughosh Ganu wrote: > > > > > At the time of building a device-tree file, all the *u-boot.dtsi files > > > are looked for,

Re: [PATCH 1/3] fdt: common API to populate kaslr seed

2023-08-14 Thread Sean Edmond
On 2023-08-12 6:09 a.m., Simon Glass wrote: Hi Sean, On Fri, 11 Aug 2023 at 11:14, Sean Edmond wrote: On 2023-08-09 6:49 p.m., Simon Glass wrote: Hi Sean, On Wed, 9 Aug 2023 at 16:35, Sean Edmond wrote: On 2023-08-08 7:03 p.m., Simon Glass wrote: Hi, On Fri, 4 Aug 2023 at 17:34,

Re: [PATCHv6 05/14] net/lwip: implement tftp cmd

2023-08-14 Thread Maxim Uvarov
On Mon, 14 Aug 2023 at 20:25, Ilias Apalodimas wrote: > > +// SPDX-License-Identifier: GPL-2.0 > > + > > +/* > > + * (C) Copyright 2023 Linaro Ltd. > > + */ > > + > > +#include > > +#include > > +#include > > +#include > > + > > +#include "lwip/apps/tftp_client.h" > > +#include

Re: [RFC PATCH 2/4] scripts/Makefile.lib: Embed capsule public key in platform's dtb

2023-08-14 Thread Sughosh Ganu
hi Tom, On Mon, 14 Aug 2023 at 20:34, Tom Rini wrote: > > On Mon, Aug 14, 2023 at 02:33:07PM +0530, Sughosh Ganu wrote: > > The EFI capsule authentication logic in u-boot expects the public key > > in the form of an EFI Signature List(ESL) to be provided as part of > > the platform's dtb.

Re: [RFC PATCH 1/4] scripts/Makefile.lib: Collate all dtsi files for inclusion

2023-08-14 Thread Sughosh Ganu
hi Tom, On Mon, 14 Aug 2023 at 20:34, Tom Rini wrote: > > On Mon, Aug 14, 2023 at 02:33:06PM +0530, Sughosh Ganu wrote: > > > At the time of building a device-tree file, all the *u-boot.dtsi files > > are looked for, in a particular order, and the first file found is > > included. Then, the list

Re: [PATCH 0/3] Allwinner R528/T113s PSCI

2023-08-14 Thread Sam Edwards
On 8/14/23 08:06, Andre Przywara wrote: Hi Sam, many many thanks for sending this, I especially like your clean up around the #ifdef's! The patches looks good on the first glance (apart from some regression in patch 3/3), but I will reply to them individually. Cheers, Andre Thanks for your

Re: [PATCH 1/3] sunxi: psci: clean away preprocessor macros

2023-08-14 Thread Sam Edwards
Hi Andre, On 8/14/23 10:37, Andre Przywara wrote: So I think we can get rid of this: - GEN_H6 never compiles this code here, as both H6 and H616 are arm64. Easy! - We can define SUNXI_PRCM_BASE for NCAT2, I believe Samuel once mentioned that the D1/T113 does have such a block, actually.

[PATCH v2 4/4] doc: qemu: arm: Add a section on booting Linux distros

2023-08-14 Thread Alper Nebi Yasak
Add an example qemu-system-aarch64 command that can make U-Boot on QEMU boot into the Debian Installer, along with resulting console messages from U-Boot, based on the existing documentation section for the x86 version. Signed-off-by: Alper Nebi Yasak --- I actually want to put the root.img

[PATCH v2 3/4] arm: qemu: Enable usb keyboard as an input device

2023-08-14 Thread Alper Nebi Yasak
Commit 02be57caf730 ("riscv: qemu: Enable usb keyboard as an input device") adds PCI xHCI support to QEMU RISC-V virtual machines and enables using a USB keyboard as one of the input devices. Similarly, enable those for ARM virtual machines as well. Signed-off-by: Alper Nebi Yasak Reviewed-by:

[PATCH v2 2/4] arm: qemu: Enable PRE_CONSOLE_BUFFER

2023-08-14 Thread Alper Nebi Yasak
Commit 608b80b5b855 ("riscv: qemu: Enable PRE_CONSOLE_BUFFER") enables buffering console messages for QEMU RISC-V virtual machines so those printed before the video console is available will still show up on the display. Similarly, enable it for ARM virtual machines as well. Signed-off-by: Alper

[PATCH v2 1/4] arm: qemu: Enable Bochs video support

2023-08-14 Thread Alper Nebi Yasak
Commit 716161663ec49 ("riscv: qemu: Enable Bochs video support") enables a video console for QEMU RISC-V virtual machines using an emulated Bochs VGA card. Similarly, enable it for ARM virtual machines as well. Signed-off-by: Alper Nebi Yasak Reviewed-by: Bin Meng --- Changes in v2: - Add tag:

[PATCH v2 0/4] arm: qemu: Enable Bochs, console buffering, USB keyboard

2023-08-14 Thread Alper Nebi Yasak
Now that the driver for the Bochs VGA card emulated by QEMU is no longer limited to x86 architectures [1], this series enables it on arm and arm64 virtual machines to provide a graphical interface. In line with that series this also enables console buffering and USB keyboard. Tested with the

Re: [PATCH v4 1/2] musb-new: ti-musb: Handle usb dual-role feature as peripheral

2023-08-14 Thread Tom Rini
On Thu, Jul 06, 2023 at 12:40:22PM +0200, Julien Panis wrote: > This prevents from getting some 'No USB device found' error, > in usb_ether_init() function for instance. > > Signed-off-by: Julien Panis > Reviewed-by: Tony Lindgren > Reviewed-by: Nishanth Menon > --- >

Re: [PATCH v3 09/12] usb: cdns3: Handle otg mode as peripheral

2023-08-14 Thread Tom Rini
On Thu, Jul 13, 2023 at 03:45:42PM +0200, Julien Panis wrote: > Override 'otg' to 'peripheral' mode, since 'otg' mode > is not yet supported by u-boot. > > Signed-off-by: Julien Panis > Suggested-by: Roger Quadros > --- > drivers/usb/cdns3/core.c | 4 > 1 file changed, 4 insertions(+) >

Re: [PATCH v3 01/12] usb: dwc3: Handle unknown mode as otg

2023-08-14 Thread Tom Rini
On Thu, Jul 13, 2023 at 03:45:34PM +0200, Julien Panis wrote: > In case dr_mode attribute is not passed via DT, > USB DRD controllers should default to OTG. > > Signed-off-by: Julien Panis > Acked-by: Roger Quadros > --- > drivers/usb/dwc3/dwc3-generic.c | 4 ++-- > 1 file changed, 2

Re: [PATCH 1/3] sunxi: psci: clean away preprocessor macros

2023-08-14 Thread Andre Przywara
On Fri, 11 Aug 2023 18:30:53 -0600 Sam Edwards wrote: Hi Sam, many thanks for that cleanup, that's very much welcome! I am still comparing the outcome for the different SoC families, and testing this on the boards I have, but two things I stumbled upon already: > This patch restructures

Re: [PATCH v8 0/7] Tegra: add ASUS/Google Nexus 7 (2012) support

2023-08-14 Thread Thierry Reding
On Mon, Aug 07, 2023 at 09:49:07AM -0400, Tom Rini wrote: > On Mon, Jul 31, 2023 at 11:29:19AM -0400, Tom Rini wrote: > > On Mon, Jul 31, 2023 at 03:19:08PM +0300, Svyatoslav Ryhel wrote: > > > Hello! > > > > > > It has been a month since the last patchset was sent. Should I re-send > > > them?

[PATCH 2/2] riscv: jh7110: enable riscv,timer in the device tree

2023-08-14 Thread Torsten Duwe
The JH7110 has the arhitectural CPU timer on all 5 rv64 cores. Note that in the device tree. Signed-off-by: Torsten Duwe --- arch/riscv/dts/jh7110.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/riscv/dts/jh7110.dtsi b/arch/riscv/dts/jh7110.dtsi index

[PATCH 1/2] riscv: allow riscv timer to be instantiated via device tree

2023-08-14 Thread Torsten Duwe
For the architectural timer on riscv, there already is a defined device tree binding[1]. Allow timer instances to be created from device tree matches, but for now retain the old mechanism, which registers the timer biggy-back with the CPU. [1]

[PATCH 0/2] riscv: jh7110: visionfive2: fix u-boot crash due to missing timer

2023-08-14 Thread Torsten Duwe
Hi all, Since commit 55171aedda8, U-Boot on the visionfive2 stops at | initcall sequence fffd76f8 failed at call 402192c8 (err=-19) | ### ERROR ### Please RESET the board ### This is init_sequence_r[initr_dm_devices] calling dm_timer_init, which returns ENODEV, because the riscv

Re: [PATCHv6 04/14] net/lwip: implement dhcp cmd

2023-08-14 Thread Tom Rini
On Mon, Aug 14, 2023 at 09:18:19PM +0600, Maxim Uvarov wrote: > On Mon, 14 Aug 2023 at 20:21, Ilias Apalodimas > wrote: > > > On Mon, Aug 14, 2023 at 07:32:43PM +0600, Maxim Uvarov wrote: > > > Implement function for dhcp command with lwIP variant. Usage and output > > is > > > the same as the

Re: [PATCHv6 04/14] net/lwip: implement dhcp cmd

2023-08-14 Thread Maxim Uvarov
On Mon, 14 Aug 2023 at 20:21, Ilias Apalodimas wrote: > On Mon, Aug 14, 2023 at 07:32:43PM +0600, Maxim Uvarov wrote: > > Implement function for dhcp command with lwIP variant. Usage and output > is > > the same as the original command. This code called by compatibility code > > between U-Boot

Re: [PATCH] odroid_xu3: Fix board environment variable

2023-08-14 Thread Tom Rini
On Mon, Aug 07, 2023 at 10:18:33PM -0400, Ben Wolsieffer wrote: > On Wed, Jun 08, 2022 at 02:30:14PM -0400, Tom Rini wrote: > > When migrating CONFIG_CONS_INDEX to Kconfig, on this platform we changed > > what "board" evaluated to in the environment. This in turn meant that > > we would no longer

Re: [PATCHv6 03/14] net/lwip: implement dns cmd

2023-08-14 Thread Maxim Uvarov
On Mon, 14 Aug 2023 at 20:19, Ilias Apalodimas wrote: > On Mon, Aug 14, 2023 at 07:32:42PM +0600, Maxim Uvarov wrote: > > Implement function for dns command with lwIP variant. Usage and output is > > the same as the original command. This code called by compatibility code > > between U-Boot and

Re: [PATCH 1/1] common: return type board_get_usable_ram_top

2023-08-14 Thread Tom Rini
On Mon, Aug 14, 2023 at 08:31:31AM +0200, Heinrich Schuchardt wrote: > > > On 8/13/23 15:36, Simon Glass wrote: > > Hi Heinrich, > > > > On Sat, 12 Aug 2023 at 23:01, Heinrich Schuchardt > > wrote: > > > > > > board_get_usable_ram_top() returns a physical address that is stored in > > >

Re: [RFC PATCH 2/4] scripts/Makefile.lib: Embed capsule public key in platform's dtb

2023-08-14 Thread Tom Rini
On Mon, Aug 14, 2023 at 02:33:07PM +0530, Sughosh Ganu wrote: > The EFI capsule authentication logic in u-boot expects the public key > in the form of an EFI Signature List(ESL) to be provided as part of > the platform's dtb. Currently, the embedding of the ESL file into the > dtb needs to be done

Re: [RFC PATCH 1/4] scripts/Makefile.lib: Collate all dtsi files for inclusion

2023-08-14 Thread Tom Rini
On Mon, Aug 14, 2023 at 02:33:06PM +0530, Sughosh Ganu wrote: > At the time of building a device-tree file, all the *u-boot.dtsi files > are looked for, in a particular order, and the first file found is > included. Then, the list of files specified in the > CONFIG_DEVICE_TREE_INCLUDES symbol are

Re: Pull request: u-boot-rockchip-20230814

2023-08-14 Thread Tom Rini
stodians/u-boot-watchdog (2023-08-10 > 11:40:09 -0400) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodians/u-boot-rockchip.git > tags/u-boot-rockchip-20230814 > > for you to fetch changes up to d7009faa098169abd7ff0e4b41af89b17896a7da: >

Re: Please pull u-boot-video

2023-08-14 Thread Tom Rini
following changes since commit a5899cc69a99379f01e8e2f9f98e0e09b24f1656: > > Merge https://source.denx.de/u-boot/custodians/u-boot-watchdog (2023-08-10 > 11:40:09 -0400) > > are available in the Git repository at: > > https://source.denx.de/u-boot/custodians/u-boot-video.git >

Re: [PATCH v2 2/2] doc: printf() codes: Fix format specifier for unsigned int

2023-08-14 Thread Tom Rini
On Mon, Aug 14, 2023 at 10:23:48AM +0530, Siddharth Vadapalli wrote: > The format specifier for the "unsigned int" variable is documented as > "%d". However, it should be "%u". Thus, fix it. > > Fixes: f5e9035043fb ("doc: printf() codes") > Reported-by: Tom Rini > Signed-off-by: Siddharth

Re: [PATCH v2 1/2] net: Fix the displayed value of bytes transferred

2023-08-14 Thread Tom Rini
On Mon, Aug 14, 2023 at 10:23:47AM +0530, Siddharth Vadapalli wrote: > In the case of NETLOOP_SUCCESS, the decimal value of the u32 variable > "net_boot_file_size" is printed using "%d", resulting in negative values > being reported for large file sizes. Fix this by using "%u" to print the >

Re: [PATCH] board: stm32mp1: add splash screen with stmicroelectronics logo

2023-08-14 Thread Dario Binacchi
Patrice, All On Mon, Aug 7, 2023 at 9:41 AM Patrice CHOTARD wrote: > > > > On 7/10/23 21:02, Dario Binacchi wrote: > > Hi Patrick, > > > > On Mon, Jul 10, 2023 at 1:31 PM Patrick Delaunay > > wrote: > >> > >> Display the STMicroelectronics logo with features VIDEO_LOGO and > >> SPLASH_SCREEN on

  1   2   >