Re: [PATCH] [RFC] cmd: i2c: fix default address len for DM_I2C

2022-08-16 Thread Tim Harvey
On Mon, Aug 15, 2022 at 3:16 PM Simon Glass wrote: > > Hi Tim, > > On Mon, 15 Aug 2022 at 11:48, Tim Harvey wrote: > > > > On Sat, Aug 13, 2022 at 7:59 AM Simon Glass wrote: > > > > > > Hi Tim, > > > > > > On Thu, 11 Aug 2022 at 11:57,

Re: [PATCH 2/2] i2c: fix stack buffer overflow vulnerability in i2c md command

2022-08-26 Thread Tim Harvey
Marek Vasut > Cc: Heiko Schocher > Cc: Nicolas Iooss > Cc: Simon Glass > Cc: Tim Harvey > --- > cmd/i2c.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/cmd/i2c.c b/cmd/i2c.c > index 9050b2b8d27..e196a73efa6 100644 > --- a/cmd/i2c.c

Re: [PATCH 2/2] i2c: fix stack buffer overflow vulnerability in i2c md command

2022-08-26 Thread Tim Harvey
On Fri, Aug 26, 2022 at 3:21 PM Tim Harvey wrote: > > On Fri, Aug 26, 2022 at 2:16 PM Marek Vasut wrote: > > > > This reinstates fix from commit 8f8c04bf1ebbd2f72f1643e7ad9617dafa6e5409 > > without the changes unrelated to the actual fix. Avoid the underflow by >

Re: [PATCH] ARM: imx: Update Data Modul i.MX8M Mini eDM SBC DRAM timing

2022-08-30 Thread Tim Harvey
On Tue, Aug 30, 2022 at 5:34 AM Marek Vasut wrote: > > Adjust the DRAM timing settings for this board per ones provided > by hardware department. The change is applied to the LPDDR4 MR11 > register CA ODT configuration, from RZQ/6 to RZQ/3, which fixes > stability issues on subset of boards. The D

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

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

2023-04-21 Thread Tim Harvey
On Thu, Apr 20, 2023 at 9:54 AM Svyatoslav Ryhel wrote: > > чт, 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, > > > > > > >

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

2023-04-21 Thread Tim Harvey
On Fri, Apr 21, 2023 at 9:36 AM Svyatoslav Ryhel wrote: > > пт, 21 квіт. 2023 р. о 19:30 Tim Harvey пише: > > > > On Thu, Apr 20, 2023 at 9:54 AM Svyatoslav Ryhel wrote: > > > > > > чт, 20 квіт. 2023 р. о 19:30 Simon Glass пише: > > > > >

[PATCH] imx: fix get_boot_device() for imx8

2023-04-24 Thread Tim Harvey
commit 787f04bb6a0a ("imx: add USB2_BOOT type") broke get_boot_device() for IMX8 which affects booting from SDP due to boot_instance being non-zero. Fix this by only using boot_instance for imx8ulp and imx9. Fixes: 787f04bb6a0a ("imx: add USB2_BOOT type") Signed-off-by: Tim H

Re: imx8mm/imx8mn hang on usb stop / ehci_shutdown

2023-04-27 Thread Tim Harvey
On Wed, Mar 15, 2023 at 3:01 PM Tim Harvey wrote: > > Greetings, > > I'm seeing a hang on imx8mm-venice and imx8mn-venice boards which have > a USB host controller in host mode when ehci_shutdown() is called > (which is called for 'usb stop' as well as when bootin

Re: imx8mm/imx8mn hang on usb stop / ehci_shutdown

2023-04-27 Thread Tim Harvey
On Thu, Apr 27, 2023 at 10:49 AM Fabio Estevam wrote: > > Hi Adam, > > On Thu, Apr 27, 2023 at 2:42 PM Adam Ford wrote: > > > There was some re-organization of the power domains in Linux in the > > device tree [1]. Do you know if those propagated to U-Boot? > > Excellent, I just synced the kerne

Re: imx8mm/imx8mn hang on usb stop / ehci_shutdown

2023-04-27 Thread Tim Harvey
On Thu, Apr 27, 2023 at 10:54 AM Adam Ford wrote: > > On Thu, Apr 27, 2023 at 12:52 PM Tim Harvey wrote: > > > > On Thu, Apr 27, 2023 at 10:49 AM Fabio Estevam wrote: > > > > > > Hi Adam, > > > > > > On Thu, Apr 27, 2023 at 2:42 PM Adam For

Re: imx8mm/imx8mn hang on usb stop / ehci_shutdown

2023-04-27 Thread Tim Harvey
On Thu, Apr 27, 2023 at 11:16 AM Fabio Estevam wrote: > > Hi Tim, > > On Thu, Apr 27, 2023 at 2:52 PM Tim Harvey wrote: > > > Fabio, > > > > The original issue I was trying to solve should not be visible on > > imx8mm-evk unless you changed its usbotg1 to

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-27 Thread Tim Harvey
On Thu, Apr 27, 2023 at 11:08 AM Fabio Estevam wrote: > > From: Fabio Estevam > > Sync imx8mm.dtsi with Linux 6.3. > > The motivation for doing this sync was a bug when doing "ums 0 mmc 1" > on imx8mm-evk. It worked well for the first time, but after doing > a CTRL+C and launching the ums again,

Re: imx8mm/imx8mn hang on usb stop / ehci_shutdown

2023-04-27 Thread Tim Harvey
On Thu, Apr 27, 2023 at 11:52 AM Fabio Estevam wrote: > > Hi Tim, > > On Thu, Apr 27, 2023 at 3:46 PM Tim Harvey wrote: > > > Fabio, > > > > Do you have another board to test with that uses both imx8mm usb host > > controllers? With your imx8mm dtsi sync

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-27 Thread Tim Harvey
On Thu, Apr 27, 2023 at 12:11 PM Fabio Estevam wrote: > > On Thu, Apr 27, 2023 at 3:56 PM Tim Harvey wrote: > > > Fabio, > > > > This causes a hang on imx8mm boards when usbotg2 (usb@32e5) is > > enabled. You can re-create this on the imx8mm-evk with: &g

Re: imx8mm/imx8mn hang on usb stop / ehci_shutdown

2023-04-27 Thread Tim Harvey
On Thu, Apr 27, 2023 at 11:58 AM Tim Harvey wrote: > > On Thu, Apr 27, 2023 at 11:52 AM Fabio Estevam wrote: > > > > Hi Tim, > > > > On Thu, Apr 27, 2023 at 3:46 PM Tim Harvey wrote: > > > > > Fabio, > > > > > > Do you

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-27 Thread Tim Harvey
On Thu, Apr 27, 2023 at 12:14 PM Tim Harvey wrote: > > On Thu, Apr 27, 2023 at 12:11 PM Fabio Estevam wrote: > > > > On Thu, Apr 27, 2023 at 3:56 PM Tim Harvey wrote: > > > > > Fabio, > > > > > > This causes a hang on imx8mm boards when usbotg2

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-27 Thread Tim Harvey
On Thu, Apr 27, 2023 at 12:26 PM Fabio Estevam wrote: > > On Thu, Apr 27, 2023 at 4:19 PM Tim Harvey wrote: > > > Fabio, > > > > Sorry, responded to the wrong thread here. The thread regarding imx8mm > > hang on usb_stop is resolved with the regulator reference

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-27 Thread Tim Harvey
On Thu, Apr 27, 2023 at 12:49 PM Fabio Estevam wrote: > > On Thu, Apr 27, 2023 at 4:44 PM Tim Harvey wrote: > > > Fabio, > > > > Sorry for the confusion. > > > > This imx8mm dt sync patch will hang on imx8mm boards that use 'both' > > u

Re: [PATCH v5 1/3] regulator: implement basic reference counter

2023-04-27 Thread Tim Harvey
On Wed, Apr 19, 2023 at 6:45 AM Eugen Hristev wrote: > > Some devices share a regulator supply, when the first one will request > regulator disable, the second device will have it's supply cut off before > graciously shutting down. Hence there will be timeouts and other failed > operations. > Impl

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-28 Thread Tim Harvey
On Fri, Apr 28, 2023 at 4:57 AM Adam Ford wrote: > > On Thu, Apr 27, 2023 at 5:25 PM Tim Harvey wrote: > > > > On Thu, Apr 27, 2023 at 12:49 PM Fabio Estevam wrote: > > > > > > On Thu, Apr 27, 2023 at 4:44 PM Tim Harvey wrote: > > > > >

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-28 Thread Tim Harvey
On Fri, Apr 28, 2023 at 8:32 AM Adam Ford wrote: > > On Fri, Apr 28, 2023 at 10:27 AM Tim Harvey wrote: > > > > On Fri, Apr 28, 2023 at 4:57 AM Adam Ford wrote: > > > > > > On Thu, Apr 27, 2023 at 5:25 PM Tim Harvey wrote: > > > > > &

Re: [PATCH v5 1/3] regulator: implement basic reference counter

2023-04-28 Thread Tim Harvey
On Fri, Apr 28, 2023 at 12:39 AM Eugen Hristev wrote: > > On 4/28/23 02:39, Tim Harvey wrote: > > On Wed, Apr 19, 2023 at 6:45 AM Eugen Hristev > > wrote: > >> > >> Some devices share a regulator supply, when the first one will request > >> regula

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-04-28 Thread Tim Harvey
On Fri, Apr 28, 2023 at 9:44 AM Adam Ford wrote: > > On Fri, Apr 28, 2023 at 11:26 AM Fabio Estevam wrote: > > > > Hi Tim, > > > > On Fri, Apr 28, 2023 at 12:48 PM Tim Harvey wrote: > > > > > Yes I think that is similar enough to test. In my ex

[PATCH] usb: ehci-mx6: move phy setup before register access

2023-04-28 Thread Tim Harvey
For the CONFIG_PHY case, move the PHY setup before the register access. This avoids a hang when updating the imx8mm.dtsi which moves the USB OTG power-domains to the PHY. Signed-off-by: Tim Harvey Tested-by: Fabio Estevam --- drivers/usb/host/ehci-mx6.c | 10 -- 1 file changed, 4

Re: [PATCH v5 1/3] regulator: implement basic reference counter

2023-05-01 Thread Tim Harvey
On Mon, May 1, 2023 at 1:12 AM Eugen Hristev wrote: > > On 4/30/23 21:21, Jonas Karlman wrote: > > Hi Tim, > > On 2023-04-28 18:36, Tim Harvey wrote: > >> On Fri, Apr 28, 2023 at 12:39 AM Eugen Hristev > >> wrote: > >>> > >>> On 4/28/

Re: [PATCH] usb: ehci-mx6: replace regulator_set_enable with *_if_allowed

2023-05-02 Thread Tim Harvey
On Mon, May 1, 2023 at 11:51 PM Eugen Hristev wrote: > > regulator_set_enable_if_allowed already handles cases when the > regulator is already enabled, or already disabled, and does not > treat these as errors. > With this change, the driver can work correctly even if the regulator > is already ta

[PATCH] board: gateworks: venice: add GPIO name lookup

2023-05-02 Thread Tim Harvey
Add GPIO name lookup so that you can act on GPIO's by name vs controller id: Before: u-boot=> gpio input pci_wdis# GPIO: 'pci_wdis#' not found Command 'gpio' failed: Error -22 After: u-boot=> gpio input pci_wdis# gpio: pin pci_wdis# (gpio 103) value is 1 Signed-o

[PATCH] board: gateworks: venice: add eraseenv command

2023-05-02 Thread Tim Harvey
Add eraseenv command and remove the unnecessary env command. Signed-off-by: Tim Harvey --- board/gateworks/venice/venice.env | 1 - configs/imx8mm_venice_defconfig | 1 + configs/imx8mn_venice_defconfig | 1 + configs/imx8mp_venice_defconfig | 1 + 4 files changed, 3 insertions(+), 1

[PATCH 0/5] allow boot firmware to go in user/boot0/boot1

2023-05-02 Thread Tim Harvey
-boot sector. Additionally the firmware script is updated to automate device, offset, and soc. Tim Harvey (5): board: gateworks: venice: dynamically determine U-Boot raw sector board: gateworks: venice: dynamically determine U-Boot env partition board: gateworks: venice: dynamically updat

[PATCH 3/5] board: gateworks: venice: dynamically update the update_firmware script

2023-05-02 Thread Tim Harvey
partitions. - IMX8MM the offset is 33KiB for SD and eMMC regardless of hardware partition. Dynamically set soc, dev, bootpart, and bootblk env vars at runtime and use these in the update_firmware script. Remove the splblk env var from config files as its no longer needed. Signed-off-by: Tim Harvey

[PATCH 2/5] board: gateworks: venice: dynamically determine U-Boot env partition

2023-05-02 Thread Tim Harvey
Determine the U-Boot env hardware partition depending on the boot device. This allows the same boot firmware image to be placed on user, boot0, or boot1 without changing CONFIG_SYS_MMC_ENV_PART. Signed-off-by: Tim Harvey --- board/gateworks/venice/venice.c | 15 +++ 1 file changed

[PATCH 1/5] board: gateworks: venice: dynamically determine U-Boot raw sector

2023-05-02 Thread Tim Harvey
partitions adjust raw_sect dynamically at runtime. Signed-off-by: Tim Harvey --- board/gateworks/venice/spl.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/board/gateworks/venice/spl.c b/board/gateworks/venice/spl.c index 4eb7bdfcee67..50056da3ee0f 100644 --- a/board/gateworks

[PATCH 4/5] board: gateworks: venice: move env location

2023-05-02 Thread Tim Harvey
To allow U-Boot to fit within emmc boot partitions move the env from just under 16MiB to just under 4MiB as some emmc devices used on venice boards have 4MiB boot partitions. This still leaves plenty of room for U-Boot. Signed-off-by: Tim Harvey --- configs/imx8mm_venice_defconfig | 4

[PATCH 5/5] board: gateworks: venice: update board doc to show other emmc parts

2023-05-02 Thread Tim Harvey
partition. Signed-off-by: Tim Harvey --- doc/board/gateworks/imx8mm_venice.rst | 4 +++- doc/board/gateworks/imx8mn_venice.rst | 4 +++- doc/board/gateworks/imx8mp_venice.rst | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/board/gateworks/imx8mm_venice.rst b/doc/board

Re: [PATCH 1/3] arm: dts: imx8mm: Sync with Linux 6.3

2023-05-03 Thread Tim Harvey
On Fri, Apr 28, 2023 at 11:19 AM Fabio Estevam wrote: > > Hi Tim, > > On Fri, Apr 28, 2023 at 2:59 PM Tim Harvey wrote: > > > I believe the fix we need is the following which moves phy setup > > before the register access (where it should have been along with the >

Re: [PATCH 3/3] arm: dts: imx8mp: Sync with Linux 6.3

2023-05-03 Thread Tim Harvey
assigned-clocks = <&clk IMX8MP_CLK_VPU_G2>; > + assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_1000M>; > + assigned-clock-rates = <5>; > + power-domains = <&vpumix_blk_ctrl > IM

Re: [PATCH 2/3] arm: dts: imx8mn: Sync with Linux 6.3

2023-05-03 Thread Tim Harvey
}; > > @@ -1094,7 +1118,6 @@ > , > , > ; > - interrupt-names = "gpmi0", "gpmi1", "gpmi2", "gpmi3"; > #dma-cells = <1>; > dma-channels = <4>; > clocks = <&clk IMX8MN_CLK_NAND_USDHC_BUS_RAWNAND_CLK>; > @@ -1103,7 +1126,7 @@ > gpmi: nand-controller@33002000 { > compatible = "fsl,imx8mn-gpmi-nand", > "fsl,imx7d-gpmi-nand"; > #address-cells = <1>; > - #size-cells = <1>; > + #size-cells = <0>; > reg = <0x33002000 0x2000>, <0x33004000 0x4000>; > reg-names = "gpmi-nand", "bch"; > interrupts = ; > @@ -1175,5 +1198,6 @@ > assigned-clocks = <&clk IMX8MN_CLK_USB_PHY_REF>; > assigned-clock-parents = <&clk IMX8MN_SYS_PLL1_100M>; > clock-names = "main_clk"; > + power-domains = <&pgc_otg1>; > }; > }; > -- > 2.34.1 > with commit bb6ea0fe9290 ("usb: ehci-mx6: move phy setup before register access") now in imx/master: Tested-by: Tim Harvey #imx8mn-venice-gw7902 Best Regards, Tim

[PATCH] usb: ehci-mx6: remove unnecessary regulator enable from probe

2023-05-19 Thread Tim Harvey
Remove the regulator_set_enable() call from device probe which resolves a regulator imbalance. This is unnecessary as regulator_set_enable() will be called when ehci_register calls the init_after_reset hook. Suggested-by: Marek Vasut Signed-off-by: Tim Harvey --- drivers/usb/host/ehci-mx6.c

Re: [PATCH 3/3] arm: dts: imx8mp: Sync with Linux 6.3

2023-05-19 Thread Tim Harvey
On Wed, May 3, 2023 at 9:11 AM Tim Harvey wrote: > > On Thu, Apr 27, 2023 at 11:09 AM Fabio Estevam wrote: > > > > From: Fabio Estevam > > > > Sync imx8mp.dtsi and imx8mp-clock.h with Linux 6.3. > > > > Signed-off-by: Fabio Estevam > > --- >

Re: [PATCH 3/3] arm: dts: imx8mp: Sync with Linux 6.3

2023-05-19 Thread Tim Harvey
On Fri, May 19, 2023 at 3:27 PM Adam Ford wrote: > > On Fri, May 19, 2023 at 5:19 PM Tim Harvey wrote: > > > > On Wed, May 3, 2023 at 9:11 AM Tim Harvey wrote: > > > > > > On Thu, Apr 27, 2023 at 11:09 AM Fabio Estevam wrote: > > > > &

Re: [PATCH 3/3] arm: dts: imx8mp: Sync with Linux 6.3

2023-05-19 Thread Tim Harvey
On Fri, May 19, 2023 at 3:31 PM Tim Harvey wrote: > > On Fri, May 19, 2023 at 3:27 PM Adam Ford wrote: > > > > On Fri, May 19, 2023 at 5:19 PM Tim Harvey wrote: > > > > > > On Wed, May 3, 2023 at 9:11 AM Tim Harvey wrote: > > > > > &

Re: [PATCH 3/3] arm: dts: imx8mp: Sync with Linux 6.3

2023-05-19 Thread Tim Harvey
On Fri, May 19, 2023 at 3:35 PM Adam Ford wrote: > > On Fri, May 19, 2023 at 5:34 PM Tim Harvey wrote: > > > > On Fri, May 19, 2023 at 3:31 PM Tim Harvey wrote: > > > > > > On Fri, May 19, 2023 at 3:27 PM Adam Ford wrote: > > > > &g

Re: [PATCH 06/11] imx: ventana: convert U-Boot to OF_CONTROL using FIT image

2021-04-09 Thread Tim Harvey
On Thu, Apr 8, 2021 at 1:57 PM wrote: > > > In preparation for dm conversion convert to OF_CONTROL by adding FIT image > > support and multi dtb. > > Add a board_fit_config_name_match to match the dtb based off of EEPROM > > model. > > Signed-off-by: Tim Harvey

Re: [PATCH 06/11] imx: ventana: convert U-Boot to OF_CONTROL using FIT image

2021-04-09 Thread Tim Harvey
On Fri, Apr 9, 2021 at 1:00 PM Stefano Babic wrote: > > Hi Tim, > > On 09.04.21 21:52, Tim Harvey wrote: > > On Thu, Apr 8, 2021 at 1:57 PM wrote: > >> > >>> In preparation for dm conversion convert to OF_CONTROL by adding FIT image &

Re: [PATCH 06/11] imx: ventana: convert U-Boot to OF_CONTROL using FIT image

2021-04-09 Thread Tim Harvey
On Fri, Apr 9, 2021 at 1:08 PM Tim Harvey wrote: > > On Fri, Apr 9, 2021 at 1:00 PM Stefano Babic wrote: > > > > Hi Tim, > > > > On 09.04.21 21:52, Tim Harvey wrote: > > > On Thu, Apr 8, 2021 at 1:57 PM wrote: > > >> > > >>> In

Re: [PATCH] Revert "spl: Drop bd_info in the data section"

2021-04-09 Thread Tim Harvey
On Fri, Apr 9, 2021 at 1:53 PM Tom Rini wrote: > > On Fri, Apr 09, 2021 at 03:24:41PM -0500, Adam Ford wrote: > > On Fri, Apr 9, 2021 at 2:20 PM Alex G. wrote: > > > > > > Hi Simon > > > > > > On 4/8/21 6:55 PM, Simon Glass wrote: > > > > Hi Alexandru, > > > > > > > > On Fri, 9 Apr 2021 at 04:56,

Re: [PATCH 06/11] imx: ventana: convert U-Boot to OF_CONTROL using FIT image

2021-04-09 Thread Tim Harvey
On Fri, Apr 9, 2021 at 1:14 PM Tim Harvey wrote: > > On Fri, Apr 9, 2021 at 1:08 PM Tim Harvey wrote: > > > > On Fri, Apr 9, 2021 at 1:00 PM Stefano Babic wrote: > > > > > > Hi Tim, > > > > > > On 09.04.21 21:52, Tim Harve

Re: [PATCH v3 13/28] pci: Update to use new sequence numbers

2021-04-13 Thread Tim Harvey
On Sat, Dec 19, 2020 at 8:43 AM Simon Glass wrote: > > Now that we know the sequence number at bind time, there is no need for > special-case code in dm_pci_hose_probe_bus(). > > Note: the PCI_CAP_ID_EA code may need a look, but there are no test > failures so I have left it as is. > > Signed-off-

Re: [PATCH v3 13/28] pci: Update to use new sequence numbers

2021-04-14 Thread Tim Harvey
On Wed, Apr 14, 2021 at 12:37 PM Simon Glass wrote: > > Hi Tim, > > On Wed, 14 Apr 2021 at 06:32, Tim Harvey wrote: > > > > On Sat, Dec 19, 2020 at 8:43 AM Simon Glass wrote: > > > > > > Now that we know the sequence number at bind time, there

Re: [PATCH 01/13] pci: Update the highest subordinate bus number for bridge setup

2021-04-15 Thread Tim Harvey
On Wed, Apr 14, 2021 at 12:38 PM Simon Glass wrote: > > On Tue, 13 Apr 2021 at 16:21, Masami Hiramatsu > wrote: > > > > Update the highest subordinate bus number after probing the devices > > under the bus for setting up the bridge correctly. > > The commit 42f3663a3f67 ("pci: Update to use new s

Re: [PATCH 01/13] pci: Update the highest subordinate bus number for bridge setup

2021-04-15 Thread Tim Harvey
On Thu, Apr 15, 2021 at 5:15 PM Masami Hiramatsu wrote: > > Hi Tim, > > Sorry for confusion. It may be my git configuration issue. > It seems not to correctly send the series to the SMTP server. > Here is the patch. > > Thank you, > > 2021年4月16日(金) 0:07 Tim Harvey

[PATCH] net: e1000: do not attempt to set hwaddr for i210 without FLASH

2021-04-16 Thread Tim Harvey
return -ENOSYS indicating this is not supported. Signed-off-by: Tim Harvey --- drivers/net/e1000.c | 4 drivers/net/e1000.h | 1 + 2 files changed, 5 insertions(+) diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 694114eca7..60613b7df0 100644 --- a/drivers/net/e1000.c +++ b/driv

[PATCH] pci: imx: disable imx6sdl LTSSM upon driver remove

2021-04-16 Thread Tim Harvey
L. Fix the case for IMX6S and IMX6DL getting missed. This fixes IMX6S and IMX6DL with PCI enabled in U-Boot booting for Linux v4.11+. Signed-off-by: Tim Harvey --- drivers/pci/pcie_imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pcie_imx.c b/drivers/pci/

Re: [PATCH] Revert "spl: Drop bd_info in the data section"

2021-04-16 Thread Tim Harvey
On Mon, Apr 12, 2021 at 11:44 AM Simon Glass wrote: > > Hi Tom, > > On Tue, 13 Apr 2021 at 06:38, Tom Rini wrote: > > > > On Tue, Apr 13, 2021 at 06:26:08AM +1200, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 13 Apr 2021 at 06:18, Tom Rini wrote: > > > > > > > > On Tue, Apr 13, 2021 at 0

Re: [PATCH] pci: imx: disable imx6sdl LTSSM upon driver remove

2021-04-16 Thread Tim Harvey
On Fri, Apr 16, 2021 at 1:41 PM Fabio Estevam wrote: > > Hi Tim, > > Some more comments. > > On Fri, Apr 16, 2021 at 5:30 PM Tim Harvey wrote: > > > > commit 6ecbe1375671 ("drivers: pci: imx: add imx_pcie_remove function") > > attempted to resolve

[PATCH] cmd: net: add a 'net list' command to list network devs

2021-04-16 Thread Tim Harvey
added or moved here. Example: U-Boot > net net - NET sub-system Usage: net list - list available devices U-Boot > net list eth0 : ethernet@2188000 00:d0:12:98:f5:47 active eth1 : e1000#0 00:d0:12:98:f5:48 eth2 : asix_eth 8c:ae:4c:f5:84:9d eth3 : asix_eth 8c:ae:4c:f9:41:e3 Signed-off-by: Tim

[PATCH] fdtdec: fdtdec_get_aliases_highest_id: skip aliases to disabled nodes

2021-04-16 Thread Tim Harvey
When looking for an alias with the highest id skip aliases for nodes that are disabled. Signed-off-by: Tim Harvey --- lib/fdtdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 864589193b..d47195525a 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c

[PATCH 1/3] pci: Update the highest subordinate bus number for bridge setup

2021-04-16 Thread Tim Harvey
From: Masami Hiramatsu Update the highest subordinate bus number after probing the devices under the bus for setting up the bridge correctly. The commit 42f3663a3f67 ("pci: Update to use new sequence numbers") removed this but it is required if a PCIe bridge is under the bus. Fixes: 42f3663a3f67

[PATCH 2/3] pci: pci-uclass: Add board_pci_fixup_dev for DM_PCI

2021-04-16 Thread Tim Harvey
Add a board_pci_fixup_dev weak function to allow PCI device fixups during enumeration. Signed-off-by: Tim Harvey --- drivers/pci/pci-uclass.c | 6 ++ include/pci.h| 8 2 files changed, 14 insertions(+) diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c

[PATCH 3/3] imx: ventana: enable dm support for PCI and FEC ethernet

2021-04-16 Thread Tim Harvey
PCI_INIT_R to scan for PCI devices on init such as the e1000 that is present on the GW552x. Convert board_pci_fixup to use dm callback and remove pcidisable env variable which is not supported for DM_PCI and thus leave PCI always enabled during init. Signed-off-by: Tim Harvey --- arch/arm/dts

[PATCH 1/2] imx: ventana: add delay before reading EEPROM

2021-04-16 Thread Tim Harvey
fixes: d863d054397a ("imx: ventana: convert U-Boot to OF_CONTROL using FIT image") Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/eeprom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/gateworks/gw_ventana/eeprom.c b/board/gateworks/gw_ventana/eeprom.c index

[PATCH 2/2] arm: dts: imx6qdl-gw552x.dtsi: fix VBUS supply

2021-04-16 Thread Tim Harvey
Remove the invalid 'regulator-always-on' property to resolve: starting USB... Bus usb@2184000: Error enabling VBUS supply (ret=-13) probe failed, error -13 Bus usb@2184200: USB EHCI 1.00 Signed-off-by: Tim Harvey --- arch/arm/dts/imx6qdl-gw552x.dtsi | 1 - 1 file changed, 1 deletio

Re: [PATCH 1/3] pci: Update the highest subordinate bus number for bridge setup

2021-04-16 Thread Tim Harvey
On Fri, Apr 16, 2021 at 3:30 PM Masami Hiramatsu wrote: > > Hi Tim, > > Thanks for picking it up. I'll drop this patch from the next version. > > Thank you, > > 2021年4月17日(土) 6:53 Tim Harvey : > > > > From: Masami Hiramatsu > > > > Update

Re: [PATCH V2 24/24] ARM: imx8m: verdin-imx8mm: Enable USB Host support

2021-04-19 Thread Tim Harvey
On Sun, Apr 11, 2021 at 9:35 AM Marek Vasut wrote: > > Enable USB host support on MX8MM Verdin. > > Signed-off-by: Marek Vasut > Cc: Marcel Ziswiler > Cc: Max Krummenacher > Cc: Oleksandr Suvorov > --- > V2: No change > --- > configs/verdin-imx8mm_defconfig | 8 +++- > include/configs/ver

Re: [PATCH V2 24/24] ARM: imx8m: verdin-imx8mm: Enable USB Host support

2021-04-22 Thread Tim Harvey
On Thu, Apr 22, 2021 at 3:34 AM Ying-Chun Liu (PaulLiu) wrote: > > Hi Marek, > > I have the same issue on my iMX8MM based board. > Are you continue working on the patch for iMX8MM or should I dig into > this problem? > > I'm asking this just for not duplicating efforts. > So if you are not working

Re: [PATCH V2 24/24] ARM: imx8m: verdin-imx8mm: Enable USB Host support

2021-04-23 Thread Tim Harvey
On Thu, Apr 22, 2021 at 12:16 PM Marek Vasut wrote: > > On 4/20/21 2:33 AM, Tim Harvey wrote: > > [...] > > >> +/* USB Configs */ > >> +#define CONFIG_EHCI_HCD_INIT_AFTER_RESET > >> +#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) >

Re: [PATCH V2 24/24] ARM: imx8m: verdin-imx8mm: Enable USB Host support

2021-04-26 Thread Tim Harvey
On Fri, Apr 23, 2021 at 8:21 AM Marek Vasut wrote: > > On 4/23/21 5:04 PM, Tim Harvey wrote: > > On Thu, Apr 22, 2021 at 12:16 PM Marek Vasut wrote: > >> > >> On 4/20/21 2:33 AM, Tim Harvey wrote: > >> > >> [...] > >> > >>>

Re: [PATCH V2 24/24] ARM: imx8m: verdin-imx8mm: Enable USB Host support

2021-04-27 Thread Tim Harvey
On Mon, Apr 26, 2021, 5:35 PM Marek Vasut wrote: > > On 4/27/21 2:01 AM, Tim Harvey wrote: > [...] > >>> Why would the power domain get probed/enabled for the usbotg2 > >>> bus but not the usbotg1 bus? Here is some debugging: > >>> u-boot=> usb st

Re: [PATCH] usb: ehci-mx6: Limit PHY address parsing to !CONFIG_PHY

2021-04-27 Thread Tim Harvey
On Tue, Apr 27, 2021 at 9:06 AM Marek Vasut wrote: > > For systems which use generic PHY support and implement USB PHY driver, > the parsing of PHY properties is unnecessary, disable it. > > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Peng Fan > Cc: Stefano

[PATCH 1/3] usb: ehci-mx6: move mode set/detect to probe

2021-04-27 Thread Tim Harvey
. Signed-off-by: Tim Harvey --- drivers/usb/host/ehci-mx6.c | 42 ++--- 1 file changed, 16 insertions(+), 26 deletions(-) diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c index 06be9deaaa..c2dfe49012 100644 --- a/drivers/usb/host/ehci-mx6.c +++ b

[PATCH 2/3] usb: ehci-mx6: add IMX8MM OTG support

2021-04-27 Thread Tim Harvey
Add support for determining host vs peripheral mode for IMX8MM configured as OTG. Signed-off-by: Tim Harvey --- drivers/usb/host/ehci-mx6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c index c2dfe49012..d055d2b1fe

[PATCH 3/3] configs: imx8mm_venice_defconfig: add usb support

2021-04-27 Thread Tim Harvey
Enable USB support for host controller and various USB ethernet devices. Signed-off-by: Tim Harvey --- configs/imx8mm_venice_defconfig | 15 +++ include/configs/imx8mm_venice.h | 4 2 files changed, 19 insertions(+) diff --git a/configs/imx8mm_venice_defconfig b/configs

Re: [PATCH 2/3] usb: ehci-mx6: add IMX8MM OTG support

2021-04-27 Thread Tim Harvey
On Tue, Apr 27, 2021 at 10:44 AM Marek Vasut wrote: > > On 4/27/21 7:08 PM, Tim Harvey wrote: > > Add support for determining host vs peripheral mode for IMX8MM > > configured as OTG. > > > > Signed-off-by: Tim Harvey > > --- > > drivers/usb/host

Re: [PATCH 1/3] usb: ehci-mx6: move mode set/detect to probe

2021-04-27 Thread Tim Harvey
On Tue, Apr 27, 2021 at 10:45 AM Marek Vasut wrote: > > On 4/27/21 7:08 PM, Tim Harvey wrote: > > There is no need to set and/or detect mode in of_to_plat and > > accessing phy registers at that point before device power domain and > > clock are enabled will cause hangs on

Re: [PATCH 2/3] usb: ehci-mx6: add IMX8MM OTG support

2021-04-27 Thread Tim Harvey
On Tue, Apr 27, 2021 at 12:52 PM Marek Vasut wrote: > > On 4/27/21 9:24 PM, Patrick Wildt wrote: > > Am Tue, Apr 27, 2021 at 10:50:34AM -0700 schrieb Tim Harvey: > >> On Tue, Apr 27, 2021 at 10:44 AM Marek Vasut wrote: > >>> > >>> On 4/27/21 7:08

Re: [PATCH 6/6] net: octeontx: smi: fix mii probe

2021-04-28 Thread Tim Harvey
On Mon, Apr 26, 2021 at 10:19 PM Stefan Roese wrote: > > Hi Tim, > > On 26.03.21 16:55, Tim Harvey wrote: > > On Thu, Mar 25, 2021 at 11:48 PM Stefan Roese wrote: > >> > >> On 26.03.21 01:07, Tim Harvey wrote: > >>> The fdt node offset is apparent

Re: [PATCH 6/6] net: octeontx: smi: fix mii probe

2021-04-29 Thread Tim Harvey
On Wed, Apr 28, 2021 at 10:21 PM Stefan Roese wrote: > > Hi Tim, > > On 28.04.21 17:11, Tim Harvey wrote: > > On Mon, Apr 26, 2021 at 10:19 PM Stefan Roese wrote: > >> > >> Hi Tim, > >> > >> On 26.03.21 16:55, Tim Harvey wrote: >

Re: [PATCH] fdtdec: fdtdec_get_aliases_highest_id: skip aliases to disabled nodes

2021-04-29 Thread Tim Harvey
On Thu, Apr 29, 2021 at 9:10 AM Simon Glass wrote: > > Hi Tim, > > On Fri, 16 Apr 2021 at 14:30, Tim Harvey wrote: > > > > When looking for an alias with the highest id skip aliases for nodes > > that are disabled. > > > > Signed-off-by: Tim Harvey &g

[PATCH] imx: ventana: enable dm support for PCI and FEC ethernet

2021-05-03 Thread Tim Harvey
PCI_INIT_R to scan for PCI devices on init such as the e1000 that is present on the GW552x. Convert board_pci_fixup to use dm callback and remove pcidisable env variable which is not supported for DM_PCI and thus leave PCI always enabled during init. Signed-off-by: Tim Harvey --- v2: rebase --- arch

Re: Unable to boot u-boot image from nand storage imx6ull.

2021-05-04 Thread Tim Harvey
On Sat, May 1, 2021 at 2:32 AM Navin Sankar wrote: > > Hello all, > > Ported uboot to seeed studio based imx6ull board. > > NAND Part Number - mt29f4g08abaeawp > > NAND Size - 512 MBytes > > Both the SPL and U-BOOT image boot successfully from SD card. > > While with nand flash, SP

Re: Unable to boot u-boot image from nand storage imx6ull.

2021-05-04 Thread Tim Harvey
On Tue, May 4, 2021 at 9:28 AM Navin Sankar wrote: > > On 04/05/21 8:49 pm, Tim Harvey wrote: > > On Sat, May 1, 2021 at 2:32 AM Navin Sankar wrote: > > Hello all, > > Ported uboot to seeed studio based imx6ull board. > > NAND Part Number - mt29f4g08abaea

Re: Strange construct in binman description

2023-07-30 Thread Tim Harvey
e duplicate phandles. > > > > > > I have sent a series to correct this, but it fails the build on: > > > imx8mm_venice imx8mn_venice imx8mp_venice > > > > > > > > > Ah, now I get it. You mixed up venice (Gate works) with verdin > (Toradex).

Re: Strange construct in binman description

2023-08-07 Thread Tim Harvey
On Sun, Jul 30, 2023 at 7:50 PM Simon Glass wrote: > > Hi Tim, > > On Sun, 30 Jul 2023 at 17:42, Tim Harvey wrote: > > > > > > On Wed, Jul 26, 2023, 5:55 PM Simon Glass wrote: > >> > >> Hi Tim, > >> > >> On Mon, 24 Jul 2023 at

Re: Strange construct in binman description

2023-08-08 Thread Tim Harvey
On Tue, Aug 8, 2023 at 10:54 AM Simon Glass wrote: > > Hi Tim, > > On Mon, 7 Aug 2023 at 14:03, Tim Harvey wrote: > > > > On Sun, Jul 30, 2023 at 7:50 PM Simon Glass wrote: > > > > > > Hi Tim, > > > > > > On Sun, 30 Jul 2023 at 17:4

[PATCH 1/6] board: gateworks: venice: fix gw7904

2023-08-15 Thread Tim Harvey
Add missing imx8mm-venice-gw7904 to CONFIG_OF_LIST Fixes commit 61e7f9732565 ("board: gateworks: venice: add imx8mm-gw7904 support") Signed-off-by: Tim Harvey --- configs/imx8mm_venice_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/imx8mm_venice

[PATCH 2/6] board: gateworks: venice: add imx8mp-gw71xx-2x support

2023-08-15 Thread Tim Harvey
r LED - re-chargeable battery (for RTC) - PCIe clock generator - 1x USB Type-C connector supporting USB 2.0 host mode with VBUS - 1x MiniPCIe socket with SIM, PCI/USB 3.0 (mux), and USB 2.0 - GPS - Accelerometer - EERPOM - Wide range DC input supply Signed-off-by: Tim Harvey --- arch/ar

[PATCH 4/6] board: gateworks: venice: add imx8mp-gw73xx-2x support

2023-08-15 Thread Tim Harvey
input supply Signed-off-by: Tim Harvey --- arch/arm/dts/Makefile | 1 + .../dts/imx8mp-venice-gw73xx-2x-u-boot.dtsi | 95 arch/arm/dts/imx8mp-venice-gw73xx-2x.dts | 19 + arch/arm/dts/imx8mp-venice-gw73xx.dtsi| 414 ++ co

[PATCH 3/6] board: gateworks: venice: add imx8mp-gw72xx-2x support

2023-08-15 Thread Tim Harvey
PCIe clock generator - PCIe switch - 1x USB Type-A host socket with USB 3.0 support - 1x USB OTG with USB 2.0 support - 1x MiniPCIe socket with PCI and USB 2.0 - 1x MiniPCIe socket with SIM, PCI/USB 3.0 (mux), and USB 2.0 - Wide range DC input supply Signed-off-by: Tim Harvey --- arch/ar

[PATCH 5/6] board: gateworks: venice: add imx8mm-gw7905-0x support

2023-08-15 Thread Tim Harvey
- 1x full-length miniPCIe socket with PCI/USB3 (via mux) and USB2.0 - 1x half-length miniPCIe socket with USB2.0 and USB3.0 - USB 3.0 HUB - USB Type-C with USB PD Sink capability and peripheral support - USB Type-C with USB 3.0 host support Signed-off-by: Tim Harvey --- arch/arm/dts/Mak

[PATCH 6/6] board: gateworks: venice: updates for imx8mp-venice-gw74xx revB PCB

2023-08-15 Thread Tim Harvey
Update the imx8mp-venice-gw74xx for revB: - add CAN1 - add TIS-TPM on SPI2 - add FAN controller - fix PMIC I2C bus (revA PMIC I2C was non-functional so no need for backward compatible option) - M2 socket GPIO's moved Signed-off-by: Tim Harvey --- arch/arm/dts/imx8mp-venice-gw7

[PATCH 2/3] imx8mp-venice: fix DRAM bus configuration

2023-12-14 Thread Tim Harvey
. Signed-off-by: Tim Harvey --- board/gateworks/venice/lpddr4_timing_imx8mp.c | 121 +- 1 file changed, 61 insertions(+), 60 deletions(-) diff --git a/board/gateworks/venice/lpddr4_timing_imx8mp.c b/board/gateworks/venice/lpddr4_timing_imx8mp.c index 7bfd1b556bb3..221296f9a626

[PATCH 3/3] imx8mp-venice: update DRAM config for 2000MHz

2023-12-14 Thread Tim Harvey
The imx8mp venice boards can support 2000Mhz DRAM. Update the DRAM config to support this. Signed-off-by: Tim Harvey --- board/gateworks/venice/lpddr4_timing_imx8mp.c | 214 +- 1 file changed, 107 insertions(+), 107 deletions(-) diff --git a/board/gateworks/venice

[PATCH 1/3] board: gateworks: venice: remove extra file

2023-12-14 Thread Tim Harvey
Remove lpddr4_timing_imx8mm_512mb.c mistakenly committed Fixes: a1c711046b0d "(board: gateworks: venice: add imx8mm-gw7903 support)" Signed-off-by: Tim Harvey --- .../venice/lpddr4_timing_imx8mm_512mb.c | 1849 - 1 file changed, 1849 deletions(-) delete mode 10

[PATCH 1/2] configs: imx8m{m, n, p}_venice_defconfig: add arch_misc_init

2023-12-14 Thread Tim Harvey
Enable call to arch_misc_init in order to probe the CAAM driver. Signed-off-by: Tim Harvey --- configs/imx8mm_venice_defconfig | 1 + configs/imx8mn_venice_defconfig | 1 + configs/imx8mp_venice_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/configs/imx8mm_venice_defconfig b

[PATCH 2/2] ARM: dts: imx8mm-venice: prepare for dek blob encapsulation

2023-12-14 Thread Tim Harvey
b binaries through OP-TEE dynamic shared memory. To enable the DEK blob encapsulation, add to the defconfig: CONFIG_SECURE_BOOT=y CONFIG_FAT_WRITE=y CONFIG_CMD_DEKBLOB=y Taken from NXP's commit 56d2050f4028 ("imx8m: Add DEK blob encapsulation for imx8m"). Signed-off-by: Tim

Re: [PATCH 3/3] imx8mp-venice: update DRAM config for 2000MHz

2023-12-14 Thread Tim Harvey
On Thu, Dec 14, 2023 at 8:29 AM Fabio Estevam wrote: > > Hi Tim, > > On Thu, Dec 14, 2023 at 1:22 PM Tim Harvey wrote: > > > > The imx8mp venice boards can support 2000Mhz DRAM. > > Update the DRAM config to support this. > > > > Signed-off-by: T

Re: [PATCH 2/2] ARM: dts: imx8mm-venice: prepare for dek blob encapsulation

2023-12-15 Thread Tim Harvey
On Thu, Dec 14, 2023 at 8:30 AM Fabio Estevam wrote: > > Hi Tim, > > On Thu, Dec 14, 2023 at 1:25 PM Tim Harvey wrote: > > > > Prepare for DEK blob encapsulation support through "dek_blob" command. > > On ARMv8, u-boot runs in non-secure, thus cannot encap

Re: [PATCH 2/2] ARM: dts: imx8mm-venice: prepare for dek blob encapsulation

2023-12-20 Thread Tim Harvey
On Fri, Dec 15, 2023 at 11:06 AM Adam Ford wrote: > > On Fri, Dec 15, 2023 at 12:41 PM Fabio Estevam wrote: > > > > Hi Tim, > > > > On Fri, Dec 15, 2023 at 3:34 PM Tim Harvey wrote: > > > > > Fabio, > > > > > > The commit log det

Re: [PATCH v4] fdt: automatically add /chosen/kaslr-seed if DM_RNG is enabled

2024-05-29 Thread Tim Harvey
On Wed, May 29, 2024 at 9:30 AM Simon Glass wrote: > > Hi Tim, > > On Sat, 25 May 2024 at 14:02, Tim Harvey wrote: > > > > If RANDOMIZE_BASE is enabled in the Linux kernel instructing it to > > randomize the virtual address at which the kernel image is loaded

<    1   2   3   4   5   6   7   8   9   10   >