Re: [PATCH v1 2/6] video: bridge: add Solomon SSD2825 DSI/LVDS driver

2023-04-20 Thread Vignesh Raghavendra
On 20/04/23 22:02, Svyatoslav Ryhel wrote: ..] > +static int ssd2825_spi_write(struct udevice *dev, int reg, > +const void *buf, int flags) > +{ > + struct spi_slave *slave = dev_get_parent_priv(dev); > + u8 command[2]; >

Re: [PATCH u-boot 3/3] pci: auto: Remove PCI_CLASS_PROCESSOR_POWERPC autoconfig case

2023-04-20 Thread Heiko Schocher
Hello Pali, On 20.04.23 21:44, Pali Rohár wrote: > PCI autoconfig case for PCI_CLASS_PROCESSOR_POWERPC just prints debug > message and then calls autoconfig setup code like for any other standard > endpoint device. We do not need special debug message for it, so remove > this case and handle PCI_C

Re: [PATCH u-boot 2/3] pci: fsl: Do not access PCI BAR0 register of PCIe Root Port

2023-04-20 Thread Heiko Schocher
Hello Plai, On 20.04.23 21:44, Pali Rohár wrote: > Freescale PCIe Root Port has PEXCSRBAR register at position of PCI BAR0. > PCIe Root Port does not have any PCIe memory, so returns zero when trying > to read from PCIe Root Port BAR0 and ignore any writes. > > Signed-off-by: Pali Rohár > --- >

Re: [PATCH u-boot 1/3] pci: mpc85xx: Do not access PCI BARs registers of BDF address 00:00.0

2023-04-20 Thread Heiko Schocher
Hello Pali, On 20.04.23 21:44, Pali Rohár wrote: > At BDF address 00:00.0 is fictional device which PCI configuration header > is for configuring mpc85xx PCI controller itself. PCI config space of this > device has ATMU inbound registers on position of PCI BARs. Trying to do PCI > auto configurati

Re: [PATCH u-boot 0/3] pci: Do not access Freescale PCI controllers BARs registers

2023-04-20 Thread Heiko Schocher
Hello Pali, On 20.04.23 21:44, Pali Rohár wrote: > Freescale PCI and PCIe controllers export in config space in BARs offset > for BDF address 00:00.0 internal controller registers, instead of BAR > registers. Avoid access to these registers to prevent overwriting them. > > Fixes autoconfiguration

Re: [PATCH v8 00/24] Fixes for Rockchip NFC driver part 1

2023-04-20 Thread Kever Yang
Hi Johan,     I got below error report from CI test, I think it should be relate to this patch set. === FAILURES === 1107 _ test_ut[u

Re: [PATCH] board: rockchip: add Anbernic RGXX3 Series Devices

2023-04-20 Thread Kever Yang
Hi Chris, On 2023/3/17 01:46, Chris Morgan wrote: + +&uart2 { + clock-frequency = <2400>; + u-boot,dm-spl; Please rebase the patch, this has been migrate to bootph. Thanks, - Kever

Re: [PATCH] board: rockchip: add Anbernic RGXX3 Series Devices

2023-04-20 Thread Kever Yang
Hi Chris, I got below CI error report for this patch: Warning, treated as error: /builds/u-boot/custodians/u-boot-rockchip/doc/board/anbernic/index.rst:4:Title underline too short. Anbernic = make[1]: *** [doc/Makefile:70: htmldocs] Error 2 make: *** [Makefile:2373: htmldocs] Error 2 Tha

Re: [PATCH 2/2] rockchip: rk3328: Add support for Orange Pi R1 Plus LTS

2023-04-20 Thread Tianling Shen
Hi Kever, On Fri, Apr 21, 2023 at 9:01 AM Kever Yang wrote: > > > On 2023/4/21 05:08, Tianling Shen wrote: > > The OrangePi R1 Plus LTS is a minor variant of OrangePi R1 Plus with > > the on-board NIC chip changed from rtl8211e to yt8531c, and RAM type > > changed from DDR4 to LPDDR3. > > There i

Re: [PATCH 2/2] rockchip: rk3328: Add support for Orange Pi R1 Plus LTS

2023-04-20 Thread Kever Yang
On 2023/4/21 05:08, Tianling Shen wrote: The OrangePi R1 Plus LTS is a minor variant of OrangePi R1 Plus with the on-board NIC chip changed from rtl8211e to yt8531c, and RAM type changed from DDR4 to LPDDR3. There is no difference in U-Boot, and these two board can use the same U-Boot, isn't

[PULL] u-boot-riscv/master

2023-04-20 Thread Leo Liang
Hi Tom, The following changes since commit 5db4972a5bbdbf9e3af48ffc9bc4fec73b7b6a79: Merge tag 'u-boot-nand-20230417' of https://source.denx.de/u-boot/custodians/u-boot-nand-flash (2023-04-17 10:47:33 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/

Re: [PATCH 1/2] rockchip: rk3328: Add support for Orange Pi R1 Plus

2023-04-20 Thread Kever Yang
On 2023/4/21 05:08, Tianling Shen wrote: Orange Pi R1 Plus is a Rockchip RK3328 based SBC by Xunlong. This device is similar to the NanoPi R2S, and has a 16MB SPI NOR (mx25l12805d). The reset button is changed to directly reset the power supply, another detail is that both network ports have i

Re: [PATCH] suniv: fix dramc autofresh freq calculation issue

2023-04-20 Thread Andre Przywara
On Mon, 20 Mar 2023 08:59:59 +0800 John Sanpe wrote: Hi John, thanks for sending this, and sorry for the delay. > External use mhz to express frequency, autofresh use hz, > no unit conversion is performed when calling, cause dram > instability at low frequency. What low frequency? Are you runn

Re: commit 787f04bb6a - imx: add USB2_BOOT type

2023-04-20 Thread Tim Harvey
On Sun, Apr 16, 2023 at 11:55 PM Rasmus Villemoes wrote: > > On 26/10/2022 01.42, Rasmus Villemoes wrote: > > On 18/10/2022 02.43, Peng Fan wrote: > >> + Stefano & Fabio > >> > > > > > > Is there any chance you could make some information on that ROM API > > public so it's possible for

[PATCH 2/2] rockchip: rk3328: Add support for Orange Pi R1 Plus LTS

2023-04-20 Thread Tianling Shen
The OrangePi R1 Plus LTS is a minor variant of OrangePi R1 Plus with the on-board NIC chip changed from rtl8211e to yt8531c, and RAM type changed from DDR4 to LPDDR3. The device tree is taken from the kernel linux-next branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/com

[PATCH 1/2] rockchip: rk3328: Add support for Orange Pi R1 Plus

2023-04-20 Thread Tianling Shen
Orange Pi R1 Plus is a Rockchip RK3328 based SBC by Xunlong. This device is similar to the NanoPi R2S, and has a 16MB SPI NOR (mx25l12805d). The reset button is changed to directly reset the power supply, another detail is that both network ports have independent MAC addresses. The device tree an

Re: [PATCH v2] nand: brcmnand: add iproc support

2023-04-20 Thread Linus Walleij
On Wed, Apr 19, 2023 at 6:13 PM Dario Binacchi wrote: > On Wed, Apr 19, 2023 at 4:00 PM Linus Walleij > wrote: > > > > On Wed, Apr 19, 2023 at 3:19 PM Dario Binacchi > > wrote: > > > On Wed, Apr 19, 2023 at 3:04 PM Linus Walleij > > > wrote: > > > > > > > > On Mon, Apr 17, 2023 at 10:37 AM Da

[PATCH u-boot 3/3] pci: auto: Remove PCI_CLASS_PROCESSOR_POWERPC autoconfig case

2023-04-20 Thread Pali Rohár
PCI autoconfig case for PCI_CLASS_PROCESSOR_POWERPC just prints debug message and then calls autoconfig setup code like for any other standard endpoint device. We do not need special debug message for it, so remove this case and handle PCI_CLASS_PROCESSOR_POWERPC via default code path. Signed-off-

[PATCH u-boot 2/3] pci: fsl: Do not access PCI BAR0 register of PCIe Root Port

2023-04-20 Thread Pali Rohár
Freescale PCIe Root Port has PEXCSRBAR register at position of PCI BAR0. PCIe Root Port does not have any PCIe memory, so returns zero when trying to read from PCIe Root Port BAR0 and ignore any writes. Signed-off-by: Pali Rohár --- drivers/pci/pcie_fsl.c | 14 ++ 1 file changed, 14

[PATCH u-boot 1/3] pci: mpc85xx: Do not access PCI BARs registers of BDF address 00:00.0

2023-04-20 Thread Pali Rohár
At BDF address 00:00.0 is fictional device which PCI configuration header is for configuring mpc85xx PCI controller itself. PCI config space of this device has ATMU inbound registers on position of PCI BARs. Trying to do PCI auto configuration of this device cause rewriting ATMU inbound registers.

[PATCH u-boot 0/3] pci: Do not access Freescale PCI controllers BARs registers

2023-04-20 Thread Pali Rohár
Freescale PCI and PCIe controllers export in config space in BARs offset for BDF address 00:00.0 internal controller registers, instead of BAR registers. Avoid access to these registers to prevent overwriting them. Fixes autoconfiguration of PCI and PCIe devices on Freescale PowerPC platforms. Pa

Re: [PATCH v5 15/17] riscv: dts: jh7110: Add initial u-boot device tree

2023-04-20 Thread Leo Liang
Hi YanHong, On Wed, Mar 29, 2023 at 11:42:22AM +0800, Yanhong Wang wrote: > Add initial u-boot device tree for the JH7110 RISC-V SoC. > > Signed-off-by: Yanhong Wang > Tested-by: Conor Dooley > --- > arch/riscv/dts/jh7110-u-boot.dtsi | 99 +++ > 1 file changed, 99 i

[PATCH 1/1] patman: fix class TestFunctional

2023-04-20 Thread Heinrich Schuchardt
Variable orig_dir cannot be used in the finally block if it has not be assigned outside of the try block. tools/patman/func_test.py:523:21: E0601: Using variable 'orig_dir' before assignment (used-before-assignment) tools/patman/func_test.py:691:21: E0601: Using variable 'orig_dir' before assignm

[PATCH 1/1] tools: fix TestFdtUtil()

2023-04-20 Thread Heinrich Schuchardt
Variable old_outdir cannot be used before assignment. The assignment must occur before the try block. tools/dtoc/test_fdt.py:796:26: E0601: Using variable 'old_outdir' before assignment (used-before-assignment) Add missing space in assignment. Fixes: a004f29464d1 ("binman: Tidy up _SetupDtb() to

[PATCH 1/1] test: fix launch_efi()

2023-04-20 Thread Heinrich Schuchardt
We cannot use old_dtb in the finally block if it has not been assigned before the try block. test/py/tests/test_efi_fit.py:458:30: E0601: Using variable 'old_dtb' before assignment (used-before-assignment) Fixes: 8391f955494e ("test/py: Create a test for launching UEFI binaries from FIT images")

Re: [PATCH v1 1/1] misc: extcon: add MAX14526 MUIC support

2023-04-20 Thread Svyatoslav Ryhel
чт, 20 квіт. 2023 р. о 19:30 Simon Glass пише: > > Hi Svyatoslav, > > On Thu, 20 Apr 2023 at 18:01, Svyatoslav Ryhel wrote: > > > > чт, 20 квіт. 2023 р. о 01:41 Simon Glass пише: > > > > > > Hi Svyatoslav, > > > > > > On Wed, 19 Apr 2023 at 12:53, Svyatoslav Ryhel wrote: > > > > > > > > MAX1452

Re: [PATCH v1 4/6] video: panel: add Renesas R69328 MIPI DSI panel driver

2023-04-20 Thread Svyatoslav Ryhel
чт, 20 квіт. 2023 р. о 19:35 Simon Glass пише: > > Hi Svyatoslav, > > On Thu, 20 Apr 2023 at 17:53, Svyatoslav Ryhel wrote: > > > > чт, 20 квіт. 2023 р. о 01:41 Simon Glass пише: > > > > > > Hi Svyatoslav, > > > > > > On Wed, 19 Apr 2023 at 13:17, Svyatoslav Ryhel wrote: > > > > > > > > Driver

Re: [PATCH v1 2/6] video: bridge: add Solomon SSD2825 DSI/LVDS driver

2023-04-20 Thread Svyatoslav Ryhel
чт, 20 квіт. 2023 р. о 19:30 Simon Glass пише: > > Hi Svyatoslav, > > On Thu, 20 Apr 2023 at 17:35, Svyatoslav Ryhel wrote: > > > > чт, 20 квіт. 2023 р. о 01:41 Simon Glass пише: > > > > > > Hi Svyatoslav, > > > > > > On Wed, 19 Apr 2023 at 13:17, Svyatoslav Ryhel wrote: > > > > > > > > SSD2825

Re: [PATCH v1 1/1] misc: extcon: add MAX14526 MUIC support

2023-04-20 Thread Simon Glass
Hi Svyatoslav, On Thu, 20 Apr 2023 at 18:01, Svyatoslav Ryhel wrote: > > чт, 20 квіт. 2023 р. о 01:41 Simon Glass пише: > > > > Hi Svyatoslav, > > > > On Wed, 19 Apr 2023 at 12:53, Svyatoslav Ryhel wrote: > > > > > > MAX14526 is a powerful extcon chip which allows detection of various > > > plu

Re: [PATCH 1/1] test: fix pylint warning for capsule tests

2023-04-20 Thread Simon Glass
Hi Heinrich, On Thu, 20 Apr 2023 at 17:57, Heinrich Schuchardt wrote: > > > > On 4/20/23 00:40, Simon Glass wrote: > > Hi Heinrich, > > > > On Wed, 19 Apr 2023 at 18:30, Heinrich Schuchardt > > wrote: > >> > >> > >> > >> On 4/19/23 03:45, Simon Glass wrote: > >>> Hi Heinrich, > >>> > >>> On Fri,

Re: [PATCH v1 4/6] video: panel: add Renesas R69328 MIPI DSI panel driver

2023-04-20 Thread Simon Glass
Hi Svyatoslav, On Thu, 20 Apr 2023 at 17:53, Svyatoslav Ryhel wrote: > > чт, 20 квіт. 2023 р. о 01:41 Simon Glass пише: > > > > Hi Svyatoslav, > > > > On Wed, 19 Apr 2023 at 13:17, Svyatoslav Ryhel wrote: > > > > > > Driver adds support for panels with Renesas R69328 IC > > > > > > Currently su

Re: [PATCH v1 2/6] video: bridge: add Solomon SSD2825 DSI/LVDS driver

2023-04-20 Thread Simon Glass
Hi Svyatoslav, On Thu, 20 Apr 2023 at 17:35, Svyatoslav Ryhel wrote: > > чт, 20 квіт. 2023 р. о 01:41 Simon Glass пише: > > > > Hi Svyatoslav, > > > > On Wed, 19 Apr 2023 at 13:17, Svyatoslav Ryhel wrote: > > > > > > SSD2825 is an innovative and cost-effective MIPI Bridge Chip solution > > > ta

Re: [PATCH v2 0/3] rpi: Convert to standard boot

2023-04-20 Thread Simon Glass
Hi Peter, On Thu, 20 Apr 2023 at 20:20, Peter Robinson wrote: > > On Wed, Apr 19, 2023 at 11:40 PM Simon Glass wrote: > > > > Hi Peter, > > > > On Wed, 19 Apr 2023 at 19:42, Peter Robinson wrote: > > > > > > Hi Simon, > > > > > > On Wed, Apr 19, 2023 at 2:46 AM Simon Glass wrote: > > > > > > >

Re: [PATCH 33/38] fs: fat: Support reading from a larger block size

2023-04-20 Thread Simon Glass
Hi Heinrich, On Fri, 31 Mar 2023 at 04:28, Heinrich Schuchardt wrote: > > On 3/31/23 00:55, Heinrich Schuchardt wrote: > > > > > > Am 30. März 2023 23:32:22 MESZ schrieb Simon Glass : > >> At present it is not possible to read from some CDROM drives since the > >> FAT sector size does not match t

Re: [PATCH 02/38] x86: Allow listing MTRRs in SPL

2023-04-20 Thread Simon Glass
Hi Heinrich, On Thu, 30 Mar 2023 at 16:10, Heinrich Schuchardt wrote: > > > > Am 30. März 2023 23:31:51 MESZ schrieb Simon Glass : > >When using video in SPL it is useful to see the values of the MTRR > >registers. Move this code into a shared file, so it can be called from > >SPL easily. > > > >

[PATCH v2 1/1] misc: extcon: add MAX14526 MUIC support

2023-04-20 Thread Svyatoslav Ryhel
MAX14526 is a powerful extcon chip which allows detection of various plugs like usb, mhl, uart, headset etc. This version of driver implements support of AP-usb and CP-usb/uart paths. Tested-by: Andreas Westman Dorcsak # LG P880 T30 Tested-by: Svyatoslav Ryhel # LG P895 T30 Signed-off-by: Svyato

[PATCH v2 0/1] Add MAX14526 MUIC driver

2023-04-20 Thread Svyatoslav Ryhel
MAX14526 MUIC is used by LG P880/P895 which are currently in the process of merging. Unfortunately U-Boot has no extcon driver model so I used a MISC model for now. MAX14526 is a powerful extcon device which has the ability to accurately determine plugged devices. In this implementation muic can

[PATCH v2 6/6] video: panel: add generic endeavoru panel

2023-04-20 Thread Svyatoslav Ryhel
Family of panels used by HTC in One X. Though were used variants at least from 3 vendors, this driver provides generic support for all of them. Tested-by: Ion Agorria # HTC One X T30 Sony Tested-by: Svyatoslav Ryhel # HTC One X T30 Sharp Signed-off-by: Svyatoslav Ryhel --- drivers/video/Kconfi

[PATCH v2 5/6] video: tegra: add DC based PWM backlight driver

2023-04-20 Thread Svyatoslav Ryhel
DC based PWM backlight is found on some T20 and T30 devices (HTC One X). This backlight is controlled by Tegra DC and is adjustable by the DC PM0 or PM1 signal. Tested-by: Andreas Westman Dorcsak # HTC One X T30 Tested-by: Svyatoslav Ryhel # HTC One X T30 Signed-off-by: Svyatoslav Ryhel Reviewe

[PATCH v2 4/6] video: panel: add Renesas R69328 MIPI DSI panel driver

2023-04-20 Thread Svyatoslav Ryhel
Driver adds support for panels with Renesas R69328 IC Currently supported compatible is: - jdi,dx12d100vm0eaa Tested-by: Andreas Westman Dorcsak # LG P880 T30 Tested-by: Svyatoslav Ryhel # LG P895 T30 Signed-off-by: Svyatoslav Ryhel Reviewed-by: Simon Glass --- drivers/video/Kconfig

[PATCH v2 3/6] video: panel: add Renesas R61307 MIPI DSI panel driver

2023-04-20 Thread Svyatoslav Ryhel
R61307 is liquid crystal driver for high-definition amorphous silicon (a-Si) panels and is ideal for tablets and smartphones. Supported compatibles are: - koe,tx13d100vm0eaa - hitachi,tx13d100vm0eaa Tested-by: Andreas Westman Dorcsak # LG P880 T30 Tested-by: Svyatoslav Ryhel # LG P895 T30 Signe

[PATCH v2 2/6] video: bridge: add Solomon SSD2825 DSI/LVDS driver

2023-04-20 Thread Svyatoslav Ryhel
SSD2825 is an innovative and cost-effective MIPI Bridge Chip solution targeting high resolution smartphones. It can convert 24bit RGB interface into 4-lane MIPI-DSI interface to drive extremely high resolution display modules of up to 800 x 1366, while supporting AMOLED, a-si LCD or LTPS advanced p

[PATCH v2 1/6] video: add lm3533 backlight driver

2023-04-20 Thread Svyatoslav Ryhel
This is basic lm3533 driver only with bank A and backlight cell support. Tested-by: Andreas Westman Dorcsak # LG P880 T30 Tested-by: Svyatoslav Ryhel # LG P895 T30 Signed-off-by: Svyatoslav Ryhel Reviewed-by: Simon Glass --- drivers/video/Kconfig| 9 +++ drivers/video/Makefile

[PATCH v2 0/6] Add video drivers for endeavoru and p880/p895

2023-04-20 Thread Svyatoslav Ryhel
This patchset contains mostly generic drivers used by endeavoru and p895/p880 (which are currently in the process of merging). Drivers do not contain any device specific parts and mostly can be used by any device with supported hardware. LG P880\P895 related drivers: - lm3533 backlight driver impl

[PATCH] arm: mach-k3: common: Default to non fitImage boot on HS-FS

2023-04-20 Thread Vignesh Raghavendra
Allow non fitImage bootflow on Field Securable (HS-FS) devices in addition to GP, force fitImage boot only on Security enforced (HS-SE) devices where signed images are necessary to maintain chain of trust. Signed-off-by: Vignesh Raghavendra --- arch/arm/mach-k3/common.c | 4 ++-- 1 file changed,

[PATCH v3 06/17] mmc: rockchip_sdhci: Use set_clock and config_dll sdhci_ops

2023-04-20 Thread Jonas Karlman
Change to configure clock and DLL in set_clock and config_dll ops instead of in the set_ios_post ops. With this change the output clock is turned off while configuring DLL parameters, according to the design recommendations. Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- v3: - Resolve

Re: [PATCH v2 06/17] mmc: rockchip_sdhci: Use set_clock and config_dll sdhci_ops

2023-04-20 Thread Jonas Karlman
Hi Kever, On 2023-04-20 13:10, Jonas Karlman wrote: > Hi Kever, > On 2023-04-20 12:19, Kever Yang wrote: >> Hi Tom, >> >> I got error report like below log when apply many of this patchset with >> "git-pw patch apply 1770392", >> >> did you met this kind of issue and do you know why? > > There ar

Re: Support for NXP S32K3 Family

2023-04-20 Thread Giulio Benetti
Hi Ashok, On 20/04/23 11:19, Ashok Kumar wrote: Hey Simon, Thanks for the suggestions. Sure, I will try to get some more information to build u-boot for S32K family. I have ported i.MXRT10xx family to uboot while Jesse the i.MXRT11xx family and then we ported the initial support to Linux too

Re: [PATCH] board: freescale: imx93_evk: Fix MMC environment offset boot conflict.

2023-04-20 Thread Ken Sloat
Hi Peng, I wanted to follow-up with you to see if you had time to review this patch. Thanks Sincerely, Ken Sloat From: Ken Sloat Sent: Tuesday, April 11, 2023 4:40 PM To: peng@nxp.com ; u-boot@lists.denx.de ; Ken Sloat Cc: Nate Drude Subject: [PATCH] board: freescale: imx93_evk: Fix MMC

Re: Support for NXP S32K3 Family

2023-04-20 Thread Ashok Kumar
Hey Simon, Thanks for the suggestions. Sure, I will try to get some more information to build u-boot for S32K family. I will contact you back If I need more information from your side. Cheers, Ashok On 19/04/2023 23:40, Simon Glass wrote: > Hi Ashok, > > On Wed, 19 Apr 2023 at 21:42, Ashok

Re: [PATCH 1/2] firmware: zynqmp: Mask expected and show unexpected warning

2023-04-20 Thread Stefan Herbrechtsmeier
Am 20.04.2023 um 14:39 schrieb Michal Simek: On 4/20/23 14:30, Stefan Herbrechtsmeier wrote: Am 20.04.2023 um 14:11 schrieb Michal Simek: On 4/20/23 14:03, Stefan Herbrechtsmeier wrote: Hi Michal, Am 20.04.2023 um 13:06 schrieb Michal Simek: Hi, On 4/19/23 09:58, Stefan Herbrechtsmeier wr

Re: [PATCH] board: freescale: imx93_evk: Fix MMC environment offset boot conflict.

2023-04-20 Thread Peng Fan
On 4/12/2023 4:40 AM, Ken Sloat wrote: From 734bfa4e4556976fe85c741f13ae94161cae97e6 Mon Sep 17 00:00:00 2001 From: Ken Sloat Date: Tue, 11 Apr 2023 16:05:31 -0400 Currently, the imx93_evk is configured with CONFIG_ENV_IS_IN_MMC and the chosen environment offset in the config is 0x40. U

Re: [PATCH v3 1/3] net: ipv6: Add support for default gateway discovery.

2023-04-20 Thread Vyacheslav V. Mitrofanov
Hello Ehsan! I tried to apply your patches and found out that there are some conflicts. I think you use your custom version. Check it please. Thanks! On Wed, 2023-04-12 at 09:10 -0700, emohand...@linux.microsoft.co wrote: From: Ehsan Mohandesi > > > #endif /* __NDISC_H__ */ > diff --git a/i

Re: [PATCH] ARM: imx: Fix parsing of ROM log event IDs on iMX8M

2023-04-20 Thread Peng Fan
Hi, Marek pointed me this thread. I admitted I overlooked this patch. Will check internally and back. Regards, Peng. On 4/15/2022 2:00 AM, Fedor Ross wrote: Hello Peng, can you please check the parameter of event 0x82 internally? The AN12853 doesn't mention a parameter for ID 0x82, but we see

Re: [PATCH 1/2] firmware: zynqmp: Mask expected and show unexpected warning

2023-04-20 Thread Michal Simek
On 4/20/23 14:30, Stefan Herbrechtsmeier wrote: Am 20.04.2023 um 14:11 schrieb Michal Simek: On 4/20/23 14:03, Stefan Herbrechtsmeier wrote: Hi Michal, Am 20.04.2023 um 13:06 schrieb Michal Simek: Hi, On 4/19/23 09:58, Stefan Herbrechtsmeier wrote: Hi Michal, Am 17.04.2023 um 12:16 schr

Re: [PATCH 1/2] firmware: zynqmp: Mask expected and show unexpected warning

2023-04-20 Thread Stefan Herbrechtsmeier
Am 20.04.2023 um 14:11 schrieb Michal Simek: On 4/20/23 14:03, Stefan Herbrechtsmeier wrote: Hi Michal, Am 20.04.2023 um 13:06 schrieb Michal Simek: Hi, On 4/19/23 09:58, Stefan Herbrechtsmeier wrote: Hi Michal, Am 17.04.2023 um 12:16 schrieb Michal Simek: On 4/3/23 15:34, Stefan Herbrech

Re: [RFC] riscv: visionfive2: use OF_BOARD_SETUP

2023-04-20 Thread Matthias Brugger
Hi Torsten, On 20/04/2023 09:43, Torsten Duwe wrote: Hi Leo, thanks for the quick reply! On Thu, 20 Apr 2023 06:33:57 + Leo Liang wrote: Hi, Torsten, Matthias, On Wed, Apr 19, 2023 at 02:34:03PM +0200, Matthias Brugger wrote: On 19/04/2023 13:28, Torsten Duwe wrote: This is only a

[PATCH V9 12/14] include: Enable video related global data variable and splash at SPL

2023-04-20 Thread Nikhil M Jain
To include video related global data variables and splash functions at SPL and u-boot proper, use CONFIG_IS_ENABLED. Replace CONFIG_CMD_BMP with CONFIG_BMP to enable splash_display function at u-boot proper and SPL. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Simon Gl

[PATCH V9 14/14] common: Replace #ifdef and #if with if's

2023-04-20 Thread Nikhil M Jain
Avoid using preprocessor compilation directives and instead use simple logical expressions for better readability since compiler will anyway optimize out the respective code block if condition is not satisfied. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass Reviewed-by: Devarsh Thakkar -

[PATCH V9 13/14] board: ti: am62x: evm: OSPI support for splash screen

2023-04-20 Thread Nikhil M Jain
Add ospi boot media support to load splash image from OSPI memory, add offset to read image from ospi and necessary flags defininig type of storage and storage device. Use CONFIG_IS_ENBALED to use the splash locations at SPL and u-boot proper. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glas

[PATCH V9 11/14] common: Enable splash functions at SPL

2023-04-20 Thread Nikhil M Jain
To support splash screen at both u-boot proper and SPL use CONFIG_IS_ENABLED and CONFIG_VAL to check for video related Kconfigs at respective stages. Replace CONFIG_CMD_BMP with CONFIG_BMP to enable splash_display function at u-boot proper and SPL. Signed-off-by: Nikhil M Jain Reviewed-by: Devar

Re: [PATCH 1/2] firmware: zynqmp: Mask expected and show unexpected warning

2023-04-20 Thread Michal Simek
On 4/20/23 14:03, Stefan Herbrechtsmeier wrote: Hi Michal, Am 20.04.2023 um 13:06 schrieb Michal Simek: Hi, On 4/19/23 09:58, Stefan Herbrechtsmeier wrote: Hi Michal, Am 17.04.2023 um 12:16 schrieb Michal Simek: On 4/3/23 15:34, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeie

[PATCH V9 10/14] drivers: video: Enable necessary video functions at SPL

2023-04-20 Thread Nikhil M Jain
To support video driver at SPL use CONFIG_IS_ENABLED and CONFIG_VAL, which checks for stage specific configs and thus enables video support at respective stage. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Simon Glass Tested-by: Simon Glass --- V9: - No change. V8: -

[PATCH V9 08/14] cmd: bmp: Split bmp commands and functions

2023-04-20 Thread Nikhil M Jain
To enable splash screen at SPL, need to compile cmd/bmp.c which also includes bmp commands, since SPL doesn't use commands split bmp.c into common/bmp.c which includes all bmp functions and cmd/bmp.c which only contains bmp commands. Add function delclaration for bmp_info in video.h. Signed-off-b

[PATCH V9 09/14] common: Makefile: Rule to compile bmp.c

2023-04-20 Thread Nikhil M Jain
Add rule to compile bmp.c at SPL and u-boot proper when CONFIG_SPL_BMP and CONFIG_BMP are defined. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Simon Glass Tested-by: Simon Glass --- V9: - No change. V8: - No change. V7: - Add Reviewed-by and Tested-by tag. V6: - A

[PATCH V9 07/14] common: Kconfig: Add BMP configs

2023-04-20 Thread Nikhil M Jain
Add CONFIG_BMP and CONFIG_SPL_BMP which enable displaying bmp images at u-boot proper and SPL. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass Reviewed-by: Devarsh Thakkar --- V9: - No change. V8: - No change. V7: - No change. V6: - Added Reviewed-by tag. V5: - Added Reviewed-by tag.

[PATCH V9 05/14] drivers: video: tidss: Makefile: Add condition to compile TIDSS at SPL

2023-04-20 Thread Nikhil M Jain
To enable TIDSS driver only at SPL stage add rule to compile the TIDSS video driver. CONFIG_$(SPL_)VIDEO_TIDSS will compile tidss_drv, at SPL only if CONFIG_SPL_VIDEO_TIDSS is defined and at u-boot proper if CONFIG_VIDEO_TIDSS is defined. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass --

[PATCH V9 06/14] common: Makefile: Add rule to compile splash and splash_source at SPL

2023-04-20 Thread Nikhil M Jain
To enable splash screen and loading bmp from boot media, add rules to compile splash.c and splash_source.c at SPL stage only when CONFIG_SPL_SPLASH_SCREEN and CONFIG_SPL_SPLASH_SOURCE are defined. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Simon Glass --- V9: - No ch

[PATCH V9 04/14] drivers: video: Makefile: Rule to compile necessary video driver files

2023-04-20 Thread Nikhil M Jain
To enable video driver at SPL, need to compile video-uclass, vidconsole-uclass, backlight-uclass, panel-uclass, simple-panel, add rules to compile them at SPL and u-boot proper. To support splash_display at SPL, need to compile video-bmp, add rule to compile at SPL and u-boot proper. Signed-off-by

[PATCH V9 03/14] drivers: Makefile: Add rule to compile video driver

2023-04-20 Thread Nikhil M Jain
Compile video driver at SPL using CONFIG_SPL_VIDEO. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Simon Glass Tested-by: Simon Glass # qemu-x86_64 --- V9: - No change. V8: - No change. V7: - Add Reviewed-by and Tested-by tag. V6: - Add Reviewed-by tag. - Commit mes

[PATCH V9 02/14] drivers: video: tidss: Kconfig: Configs to enable TIDSS at SPL

2023-04-20 Thread Nikhil M Jain
To enable tidss display driver only at SPL stage, add necessary config, CONFIG_SPL_VIDEO_TIDSS. Signed-off-by: Nikhil M Jain Reviewed-by: Simon Glass Reviewed-by: Devarsh Thakkar --- V9: - No change. V8: - No change. V7: - No change. V6: - Fix commit message. - Add Reviewed-By tag. V5: - No

[PATCH V9 00/14] Add splash screen support at u-boot SPL

2023-04-20 Thread Nikhil M Jain
To enable splash screen at SPL stage move video driver and splash screen framework at SPL, which will bring up image on display very quickly and thus have early display support in SPL. Changes in V9 - Update as per review comments. - Add Reviewed-by tag in appropriate patch. Changes in V8 - Updat

[PATCH V9 01/14] drivers: video: Kconfig: Add configs for enabling video at SPL

2023-04-20 Thread Nikhil M Jain
Add Kconfigs which enable the video driver and splash screen at SPL stage only and not at u-boot proper. The existing Kconfigs from u-boot proper were not used to make SPL splash screen independent to them. Signed-off-by: Nikhil M Jain Reviewed-by: Devarsh Thakkar Reviewed-by: Simon Glass Teste

Re: [PATCH 1/2] firmware: zynqmp: Mask expected and show unexpected warning

2023-04-20 Thread Stefan Herbrechtsmeier
Hi Michal, Am 20.04.2023 um 13:06 schrieb Michal Simek: Hi, On 4/19/23 09:58, Stefan Herbrechtsmeier wrote: Hi Michal, Am 17.04.2023 um 12:16 schrieb Michal Simek: On 4/3/23 15:34, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Mask the expected and show the unexpected warnin

[PATCH v2 4/4] configs: rockchip: radxa-cm3-io: drop CONFIG_USB_DWC3_GENERIC

2023-04-20 Thread FUKAUMI Naoki
it's not used by rk35xx Signed-off-by: FUKAUMI Naoki --- v2: - new patch configs/radxa-cm3-io-rk3566_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/radxa-cm3-io-rk3566_defconfig b/configs/radxa-cm3-io-rk3566_defconfig index 9b99181714..1df9cab79d 100644 --- a/configs/radx

[PATCH v2 3/4] arm: dts: rockchip: radxa-cm3-io, rock-3a: enable regulators for usb

2023-04-20 Thread FUKAUMI Naoki
enable regulators for usb host function Signed-off-by: FUKAUMI Naoki Reviewed-by: Kever Yang --- v2: - collect R-b arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi | 4 arch/arm/dts/rk3568-rock-3a-u-boot.dtsi | 8 2 files changed, 12 insertions(+) diff --git a/arch/arm/dts/rk35

[PATCH v2 2/4] configs: rockchip: radxa-cm3-io, rock-3a: enable commands for i2c/pmic/regulator

2023-04-20 Thread FUKAUMI Naoki
enable commands for i2c/pmic/regulator and relevant configs. also drop configs for unused regulators. Signed-off-by: FUKAUMI Naoki Reviewed-by: Kever Yang --- v2: - collect R-b configs/radxa-cm3-io-rk3566_defconfig | 8 ++-- configs/rock-3a-rk3568_defconfig | 3 ++- 2 files changed, 8

[PATCH v2 1/4] configs: rockchip: rock-3a: make usb host work

2023-04-20 Thread FUKAUMI Naoki
add support for USB host function on ROCK 3A Signed-off-by: FUKAUMI Naoki --- v2: - drop CONFIG_USB_DWC3_GENERIC configs/rock-3a-rk3568_defconfig | 11 +++ 1 file changed, 11 insertions(+) diff --git a/configs/rock-3a-rk3568_defconfig b/configs/rock-3a-rk3568_defconfig index e753832183

Re: [PATCH 0/2] Add support for Qualcomm QUSB2 USB PHY driver

2023-04-20 Thread Bhupesh Sharma
On Tue, 4 Apr 2023 at 02:03, Bhupesh Sharma wrote: > > Enable support for HighSpeed QUSB2 PHY transceiver for USB controllers > on Qualcomm chips. > > This patchset adds driver support for the high-speed PHY which is usually > paired with either the ChipIdea or Synopsys DWC3 USB IPs on Qualcomm >

[PATCH] arm: mach-k3: common: don't reconfigure background firewalls

2023-04-20 Thread Manorit Chawdhry
K3 devices have some firewalls set up by ROM that we usually remove so that the development is easy in HS devices. While removing the firewalls disabling a background region before disabling the foreground regions keeps the firewall in a state where all the transactions will be blacklisted until a

Re: [PATCH] rockchip: efuse: fix rk3399 reading multiple values

2023-04-20 Thread Jonas Karlman
On 2023-04-20 13:16, John Keeping wrote: > On Mon, Apr 17, 2023 at 06:58:30PM +0100, John Keeping wrote: >> On Mon, Apr 17, 2023 at 05:39:24PM +, Jonas Karlman wrote: >>> On 2023-04-17 18:09, John Keeping wrote: Update rk3399 to match the pattern in the other device-specific implement

[PATCH 2/2] board: Fix documentation for Snapdragon based Samsung and Qualcomm boards

2023-04-20 Thread Bhupesh Sharma
The current documentation for Snapdragon based Samsung and Qualcomm boards is vague in the sense that at one place it mentions that u-boot can be used as a replacement for ABL bootloader and at another it mentions that u-boot is loaded as an Android boot image through ABL. Fix the same. Signed-o

[PATCH 1/2] board: Fix board file path for sdm845.c for Samsung and Qualcomm boards

2023-04-20 Thread Bhupesh Sharma
Currently a few 'board/qualcomm/../Makefile' point to incorrect path of sdm845 board file. Fix the same. Signed-off-by: Bhupesh Sharma --- board/qualcomm/dragonboard845c/Makefile | 2 +- board/samsung/starqltechn/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 2/2] arm64: versal: Enable ADIN ethernet phy

2023-04-20 Thread Michal Simek
On 4/20/23 10:56, Ashok Reddy Soma wrote: Versal VEK280 board has Analog Devices ethernet phy. So, enable CONFIG_PHY_ADIN config in Versal defconfig. Signed-off-by: Ashok Reddy Soma --- configs/xilinx_versal_virt_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --g

Re: [PATCH 1/2] arm64: zynqmp: Enable ADIN ethernet phy

2023-04-20 Thread Michal Simek
On 4/20/23 10:56, Ashok Reddy Soma wrote: Some of the Kria SOM and ZynqMP boards are using Analog Devices ethernet phy. So, enable CONFIG_PHY_ADIN for all ZynqMP platforms. Signed-off-by: Ashok Reddy Soma --- configs/xilinx_zynqmp_virt_defconfig | 1 + 1 file changed, 1 insertion(+) dif

Re: [PATCH] rockchip: efuse: fix rk3399 reading multiple values

2023-04-20 Thread John Keeping
On Mon, Apr 17, 2023 at 06:58:30PM +0100, John Keeping wrote: > On Mon, Apr 17, 2023 at 05:39:24PM +, Jonas Karlman wrote: > > On 2023-04-17 18:09, John Keeping wrote: > > > Update rk3399 to match the pattern in the other device-specific > > > implementations to ensure the previous address is c

Re: [PATCH v2 06/17] mmc: rockchip_sdhci: Use set_clock and config_dll sdhci_ops

2023-04-20 Thread Jonas Karlman
Hi Kever, On 2023-04-20 12:19, Kever Yang wrote: > Hi Tom, > > I got error report like below log when apply many of this patchset with > "git-pw patch apply 1770392", > > did you met this kind of issue and do you know why? There are some interdependence in different incoming rockchip series, I

Re: [PATCH v2 2/3] firmware: zynqmp: Mask expected and show unexpected warning

2023-04-20 Thread Michal Simek
On 4/19/23 11:04, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Mask the expected and show the unexpected warning "No permission to change config object" for PMUFW_CFG_OBJ_SUPPORT_NODE because this node is used to detect if further zynqmp_pmufw_node function calls should be skip

Re: [PATCH 1/2] firmware: zynqmp: Mask expected and show unexpected warning

2023-04-20 Thread Michal Simek
Hi, On 4/19/23 09:58, Stefan Herbrechtsmeier wrote: Hi Michal, Am 17.04.2023 um 12:16 schrieb Michal Simek: On 4/3/23 15:34, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Mask the expected and show the unexpected warning "No permission to change config object" for NODE_OCM_BAN

Re: [PATCH 3/3] arm: dts: rockchip: radxa-cm3-io, rock-3a: enable regulators for usb

2023-04-20 Thread Jonas Karlman
On 2023-04-20 11:56, FUKAUMI Naoki wrote: > enable regulators for usb host function This is not needed once [1] and related pending patches lands. Will adjust my pending usb+spinor series at [2], on top of your series before sending it :-) [1] https://patchwork.ozlabs.org/project/uboot/patch/20

Re: [PATCH 1/3] configs: rockchip: rock-3a: make usb host work

2023-04-20 Thread Jonas Karlman
On 2023-04-20 11:56, FUKAUMI Naoki wrote: > add support for USB host function on ROCK 3A > > Signed-off-by: FUKAUMI Naoki > --- > configs/rock-3a-rk3568_defconfig | 12 > 1 file changed, 12 insertions(+) > > diff --git a/configs/rock-3a-rk3568_defconfig > b/configs/rock-3a-rk3568_

Re: [PATCH v2 1/3] firmware: zynqmp: Add config object support macro

2023-04-20 Thread Michal Simek
On 4/19/23 11:04, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier The driver uses a specific node id to detect if the pmufw support config objects. Add a macro for the node id to ensure that it match at different locations. Signed-off-by: Stefan Herbrechtsmeier --- Changes in

Re: [PATCH v2 06/17] mmc: rockchip_sdhci: Use set_clock and config_dll sdhci_ops

2023-04-20 Thread Kever Yang
Hi Tom, I got error report like below log when apply many of this patchset with "git-pw patch apply 1770392", did you met this kind of issue and do you know why? error: sha1 information is lacking or useless (drivers/mmc/rockchip_sdhci.c). error: could not build fake ancestor hint: Use 'git

Re: [PATCH v3 03/10] rockchip: rk35xx: Fix boot with a large fdt blob

2023-04-20 Thread Kever Yang
On 2023/4/18 03:07, Jonas Karlman wrote: The TF-A blobs used to boot RK3568 and RK3588 boards is based on atf v2.3. Mainline atf v2.3 contains an issue that could lead to a crash when it fails to parse the fdt blob being passed as the platform param. An issue that was fixed in atf v2.4. The ve

Re: [PATCH 3/3] arm: dts: rockchip: radxa-cm3-io, rock-3a: enable regulators for usb

2023-04-20 Thread Kever Yang
On 2023/4/20 17:56, FUKAUMI Naoki wrote: enable regulators for usb host function Signed-off-by: FUKAUMI Naoki Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi | 4 arch/arm/dts/rk3568-rock-3a-u-boot.dtsi | 8 2 files changed,

Re: [PATCH 2/3] configs: rockchip: radxa-cm3-io, rock-3a: enable commands for i2c/pmic/regulator

2023-04-20 Thread Kever Yang
On 2023/4/20 17:56, FUKAUMI Naoki wrote: enable commands for i2c/pmic/regulator and relevant configs. also drop configs for unused regulators. Signed-off-by: FUKAUMI Naoki Reviewed-by: Kever Yang Thanks, - Kever --- configs/radxa-cm3-io-rk3566_defconfig | 8 ++-- configs/rock-3a-r

Re: [PATCH 1/3] configs: rockchip: rock-3a: make usb host work

2023-04-20 Thread Kever Yang
On 2023/4/20 17:56, FUKAUMI Naoki wrote: add support for USB host function on ROCK 3A Signed-off-by: FUKAUMI Naoki Reviewed-by: Kever Yang Thanks, - Kever --- configs/rock-3a-rk3568_defconfig | 12 1 file changed, 12 insertions(+) diff --git a/configs/rock-3a-rk3568_defc

Re: [PATCH] arm: dts: rockchip: rock-3a: drop u-boot,spl-boot-order

2023-04-20 Thread Kever Yang
On 2023/4/20 17:42, FUKAUMI Naoki wrote: use common one defined in rk356x-u-boot.dtsi. Signed-off-by: FUKAUMI Naoki Reviewed-by: Kever Yang Thanks, - Kever --- arch/arm/dts/rk3568-rock-3a-u-boot.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/rk3568-rock-3a-u-boot

Re: [PATCH 2/2] ARM: dts: stm32mp: alignment with v6.3-rc3

2023-04-20 Thread Marek Vasut
On 4/20/23 11:08, Patrick DELAUNAY wrote: Hi, Hi, [...] no reason:  It was the version available when I start the synchronization and I don't see new patches on the  stm32mp device trees since v6.3-rc1 and the pull request stm32-dt-for-v6.3-1. I can update the commit message if it i

Re: [PATCH v2 17/17] mmc: rockchip_sdhci: Limit number of blocks read in a single command

2023-04-20 Thread Kever Yang
On 2023/4/19 00:46, Jonas Karlman wrote: Using DMA to load TF-A into SRAM fails when booting from eMMC on RK3588. ## Checking hash(es) for Image atf-3 ... sha256 error! Bad hash value for 'hash' hash node in 'atf-3' image node spl_load_simple_fit: can't load image loadables index 2 (r

  1   2   >