-by: Angus Ainslie
On 2022-09-18 13:41, sba...@denx.de wrote:
Initial commit of Librem5 u-boot and SPL
Signed-off-by: Angus Ainslie
Co-developed-by: Sebastian Krzyszkowiak
Signed-off-by: Sebastian Krzyszkowiak
Reviewed-by: Fabio Estevam
Applied to u-boot-imx, master, thanks !
Thanks Stefano !
Cheers
Hi Heiko,
On 2022-09-09 07:45, Heiko Thiery wrote:
Hi Angus,
Am Fr., 9. Sept. 2022 um 16:43 Uhr schrieb Angus Ainslie
:
Hi Heiko,
The librem5 (imx8mq) is able to boot using these [1] patches on top of
u-boot-imx-20220729.
I believe the change that fixed the allocation issue for me was
Hi Heiko,
The librem5 (imx8mq) is able to boot using these [1] patches on top of
u-boot-imx-20220729.
I believe the change that fixed the allocation issue for me was
CONFIG_SPL_MAX_SIZE=0x25000
Cheers,
Angus
[1]
https://lore.kernel.org/u-boot/20220825134602.382775-1-an...@akkea.ca/
On 20
Initial commit of Librem5 u-boot and SPL
Signed-off-by: Angus Ainslie
Co-developed-by: Sebastian Krzyszkowiak
Signed-off-by: Sebastian Krzyszkowiak
Reviewed-by: Fabio Estevam
---
Changes since v7:
Added Reviewed-by
Move patch comments
Changes since v6:
Move migrated symbols
Rebase onto
On 2022-08-13 07:53, Fabio Estevam wrote:
Hi Angus,
On Sun, Aug 7, 2022 at 1:02 PM Angus Ainslie wrote:
Initial commit of Librem5 u-boot and SPL
All of the pre-requisite patches for this board are now upstream.
Changes since v6:
Move migrated symbols
Rebase onto latest u-boot-imx
Changes
a monolithic board patch
Using DM drivers for devices in u-boot
Added USB storage support for uSD rootfs
Dropped many SPL_BUILD guarded define's
Fixed documentation index
Signed-off-by: Angus Ainslie
Co-developed-by: Sebastian Krzyszkowiak
Signed-off-by: Sebastian Krzyszkowiak
---
arch/ar
On 2022-07-26 00:35, Stefano Babic wrote:
On 30.06.22 21:29, Angus Ainslie wrote:
Hi Stefano,
On 2022-06-30 12:09, Stefano Babic wrote:
Hi Angus,
On 30.06.22 19:30, Angus Ainslie wrote:
Hi All,
Are there any remaining issues with this patch ?
Rather yes, it was supposed that issues with
On 2022-07-18 23:47, Michal Simek wrote:
Hi,
On 7/18/22 18:23, Angus Ainslie wrote:
Hi,
On 2022-07-18 01:13, Michal Simek wrote:
On 7/17/22 17:23, Marek Vasut wrote:
On 7/17/22 05:00, Angus Ainslie wrote:
On 2022-07-16 11:37, Marek Vasut wrote:
On 7/16/22 15:02, Angus Ainslie wrote:
Hi
Hi,
On 2022-07-18 01:13, Michal Simek wrote:
On 7/17/22 17:23, Marek Vasut wrote:
On 7/17/22 05:00, Angus Ainslie wrote:
On 2022-07-16 11:37, Marek Vasut wrote:
On 7/16/22 15:02, Angus Ainslie wrote:
Hi Michal,
I recently rebased my librem5 tree onto the latest u-boot-imx
branch
and the
Hi Marek/Michal,
On 2022-07-18 01:13, Michal Simek wrote:
On 7/17/22 17:23, Marek Vasut wrote:
On 7/17/22 05:00, Angus Ainslie wrote:
On 2022-07-16 11:37, Marek Vasut wrote:
On 7/16/22 15:02, Angus Ainslie wrote:
Hi Michal,
I recently rebased my librem5 tree onto the latest u-boot-imx
On 2022-07-16 11:37, Marek Vasut wrote:
On 7/16/22 15:02, Angus Ainslie wrote:
Hi Michal,
I recently rebased my librem5 tree onto the latest u-boot-imx branch
and the dwc3 host mode stopped working.
I bisected it down to this commit:
142d50fbce7c364a74f5e8204dba491b9f066e6c usb: dwc3: Add
On 2022-07-16 06:02, Angus Ainslie wrote:
Hi Michal,
I recently rebased my librem5 tree onto the latest u-boot-imx branch
and the dwc3 host mode stopped working.
Further debugging indicates that the "U-Boot XHCI Host Controller" is
detected but downstream USB 2 hubs and storage d
Hi Michal,
I recently rebased my librem5 tree onto the latest u-boot-imx branch and
the dwc3 host mode stopped working.
I bisected it down to this commit:
142d50fbce7c364a74f5e8204dba491b9f066e6c usb: dwc3: Add support for
usb3-phy PHY configuration
Reverting that commit allows usb host mo
On 2022-07-14 10:24, Marek Vasut wrote:
On 7/14/22 17:11, Angus Ainslie wrote:
Thanks, the patches will go in via next USB PR.
Great, Thanks
Also, thanks for reminding me of the missed patches.
Adding the SPL_USB_DWC3_GENERIC symbol broke some ti builds. This
should fix the builds but untested on HW.
Signed-off-by: Angus Ainslie
---
configs/am43xx_evm_defconfig | 2 ++
configs/am43xx_evm_usbhost_boot_defconfig | 2 ++
configs/am43xx_hs_evm_defconfig | 2
Suppress warnings when building the SPL without USB_DWC3_GENERIC
Signed-off-by: Angus Ainslie
---
drivers/usb/dwc3/Kconfig | 7 +++
drivers/usb/dwc3/Makefile | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
index
Changes since v3:
Rebased onto usb/master.
Changes since v2:
Add a second patch to deal with CI failures due to the new options.
Changes since v1:
Updated Kconfig depends
Angus Ainslie (2):
usb: dwc3: add a SPL_USB_DWC3_GENERIC option for the dwc3 driver
configs: get rid of build
On 2022-07-14 07:54, Marek Vasut wrote:
On 7/14/22 16:52, Angus Ainslie wrote:
On 2022-07-14 07:31, Marek Vasut wrote:
On 7/14/22 16:21, Angus Ainslie wrote:
Hi,
Hi,
Are there any problems with these patches ?
I missed them, sigh ... sorry.
Can you rebase them on usb/master and resend
On 2022-07-14 07:31, Marek Vasut wrote:
On 7/14/22 16:21, Angus Ainslie wrote:
Hi,
Hi,
Are there any problems with these patches ?
I missed them, sigh ... sorry.
Can you rebase them on usb/master and resend, so I can pick them up?
Sure, could you remind me how to run the CI tests again.
Hi,
Are there any problems with these patches ?
Thanks
Angus
On 2022-05-30 10:15, Angus Ainslie wrote:
Changes since v2:
Add a second patch to deal with CI failures due to the new options.
Changes since v1:
Updated Kconfig depends
Angus Ainslie (2):
usb: dwc3: add a SPL_USB_DWC3_GENERIC
Hi Stefano,
On 2022-06-30 12:09, Stefano Babic wrote:
Hi Angus,
On 30.06.22 19:30, Angus Ainslie wrote:
Hi All,
Are there any remaining issues with this patch ?
Rather yes, it was supposed that issues with dwc3 was already fixed,
maybe another patch is missing - can you check this
main bus.
Angus Ainslie then asked why this patch was needed as he had submitted
the original support for the imx8mq. Looking into the issue it turned
out
that Angus patch basically let the driver use the `port` subnodes,
which
are there to define the connection to a type C connector, as DWC3
Did this fix the CI issues now ?
On 2022-05-30 10:15, Angus Ainslie wrote:
Changes since v2:
Add a second patch to deal with CI failures due to the new options.
Changes since v1:
Updated Kconfig depends
Angus Ainslie (2):
usb: dwc3: add a SPL_USB_DWC3_GENERIC option for the dwc3 driver
functions
Changes since v1:
Merged patches into a monolithic board patch
Using DM drivers for devices in u-boot
Added USB storage support for uSD rootfs
Dropped many SPL_BUILD guarded define's
Fixed documentation index
Signed-off-by: Angus Ainslie
Co-developed-by: Sebastian Krzyszkowiak
Signe
Changes since v2:
Add a second patch to deal with CI failures due to the new options.
Changes since v1:
Updated Kconfig depends
Angus Ainslie (2):
usb: dwc3: add a SPL_USB_DWC3_GENERIC option for the dwc3 driver
configs: get rid of build warnings due to SPL_USB_DWC3_GENERIC
configs
Adding the SPL_USB_DWC3_GENERIC symbol broke some ti builds. This
should fix the builds but untested on HW.
Signed-off-by: Angus Ainslie
---
configs/am43xx_evm_defconfig | 2 ++
configs/am43xx_evm_usbhost_boot_defconfig | 2 ++
configs/am43xx_hs_evm_defconfig | 2
Suppress warnings when building the SPL without USB_DWC3_GENERIC
Signed-off-by: Angus Ainslie
---
drivers/usb/dwc3/Kconfig | 7 +++
drivers/usb/dwc3/Makefile | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
index
On 2022-05-24 08:10, Tom Rini wrote:
On Tue, May 24, 2022 at 07:15:01AM -0700, Angus Ainslie wrote:
Hi Stefano,
On 2022-05-23 02:36, Stefano Babic wrote:
> On 06.05.22 14:44, Angus Ainslie wrote:
> > Initial commit of Librem5 u-boot and SPL
> >
> > Signed-off-by:
Hi Stefano,
On 2022-05-23 02:36, Stefano Babic wrote:
On 06.05.22 14:44, Angus Ainslie wrote:
Initial commit of Librem5 u-boot and SPL
Signed-off-by: Angus Ainslie
Co-developed-by: Sebastian Krzyszkowiak
Signed-off-by: Sebastian Krzyszkowiak
---
Hi Angus,
with "configs: get r
Adding the SPL_USB_DWC3_GENERIC symbol broke some ti builds. This
should fix the builds but untested on HW.
Signed-off-by: Angus Ainslie
---
configs/am43xx_evm_defconfig | 2 ++
configs/am43xx_evm_usbhost_boot_defconfig | 2 ++
configs/am43xx_hs_evm_defconfig | 2
On 2022-05-20 05:31, Stefano Babic wrote:
On 20.05.22 12:21, Marek Vasut wrote:
On 5/20/22 11:08, Stefano Babic wrote:
Hi Marek,
don't you mind if I apply to my u-booz-imx this (that really belongs
to your competence area) ?
It fixes warnings for the librem5, and it is a pity if I cannot me
Initial commit of Librem5 u-boot and SPL
Signed-off-by: Angus Ainslie
Co-developed-by: Sebastian Krzyszkowiak
Signed-off-by: Sebastian Krzyszkowiak
---
All of the pre-requisite patches for this board are now upstream or in review.
Changes since v4:
Include imx8mq-u-boot.dtsi instead of
Initial commit of Librem5 u-boot and SPL
Signed-off-by: Angus Ainslie
Co-developed-by: Sebastian Krzyszkowiak
Signed-off-by: Sebastian Krzyszkowiak
---
All of the pre-requisite patches for this board are now upstream or in review.
Changes since v3:
Dropped unused MMCROOT
Rebased on u-boot
Suppress warnings when building the SPL without USB_DWC3_GENERIC
Signed-off-by: Angus Ainslie
---
Changes since v1:
Updated Kconfig depends
drivers/usb/dwc3/Kconfig | 7 +++
drivers/usb/dwc3/Makefile | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/dwc3
On 2022-04-22 02:15, Stefano Babic wrote:
Hi Angus,
On 20.04.22 20:13, Angus Ainslie wrote:
Initial commit of Librem5 u-boot and SPL
[snip]
After merging a patch on dwc3, build reports some warnings (functions
defined and not used). Could you fix them ?
This patch should silence the
Suppress warnings when building the SPL without USB_DWC3_GENERIC
Signed-off-by: Angus Ainslie
---
drivers/usb/dwc3/Kconfig | 7 +++
drivers/usb/dwc3/Makefile | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
index
Hi
On 2022-01-17 06:11, Angus Ainslie wrote:
When CONFIG_DM_USB is not defined then usb_gadget_initialize is just a
call
to board_usb_init. Calling board_usb_init twice causes the USB to fail
so
make sure the second invocation is not compiled in when CONFIG_DM_USB
is
not defined.
Signed-off
Hi Jagan,
[snip]
On 2022-01-20 06:39, Jagan Teki wrote:
Okay, I'm merging v3. let me know if you have any questions?
I didn't see this go in yet. Should it be in u-boot master ?
Thanks
Angus
Thanks,
Jagan.
Hi Stefano,
On 2022-04-11 09:21, Stefano Babic wrote:
Hi Angus,
build is not started after merging your board. It is checked that
symbols (CONFIG_) defined in Kbuild are not sert in header file, that
is
include/configs/librem5.h. I can recognize several of them, like
CONFIG_SYS_MALLOC_F_LEN, CO
Initial commit of Librem5 u-boot and SPL
Signed-off-by: Angus Ainslie
Co-developed-by: Sebastian Krzyszkowiak
Signed-off-by: Sebastian Krzyszkowiak
---
All of the pre-requisite patches for this board are now upstream or in review.
Changes since v2:
Cleanup Kconfig symbols used in librem5.h
Hi Alban,
On 2022-04-19 01:07, Alban Bedel wrote:
The binding of iMX8MQ USB controller doesn't use child nodes like the
other devices supported in this driver. To support it split the child
nodes parsing to its own function and add a field to the platform data
to indicate that we should just use
On 2022-03-27 13:26, Simon Glass wrote:
At present if devres is enabled in U-Boot proper it is enabled in SPL.
We don't normally want it there, so disable it.
Signed-off-by: Simon Glass
Tested-by: Angus Ainslie
---
drivers/core/Makefile| 2 +-
drivers/core/device.c
Please ignore. I introduced some unused variables. v7 sent.
Angus
On 2022-03-29 06:52, Angus Ainslie wrote:
This is a DM clock driver for the imx8mq based on the linux kernel
driver and the u-boot imx8mm clock driver.
It also removes some code duplication in the imx8m[nmp] clock drivers
Re-factor the imx8m[nmpq] rate tables into the common pll1416x clock
driver.
43cdaa1567ad3 ("clk: imx8mm: Move 1443X/1416X PLL clock structure to common
place")
Signed-off-by: Angus Ainslie
Tested-by: Adam Ford #imx8mm-beacon
---
drivers/clk/imx/clk-imx8
) DRAM
Signed-off-by: Angus Ainslie
Acked-by: Sean Anderson
---
drivers/clk/imx/Kconfig | 18 ++
drivers/clk/imx/Makefile | 2 +
drivers/clk/imx/clk-imx8mq.c | 550 +++
3 files changed, 570 insertions(+)
create mode 100644 drivers/clk/imx/clk-imx8mq.c
Sync the clock ids with the mainline kernel
077de6e1c9f ("clk: imx8mq: add PLL monitor output")
Signed-off-by: Angus Ainslie
Reviewed-by: Marek Vasut
---
include/dt-bindings/clock/imx8mq-clock.h | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/
/
Angus Ainslie (3):
dt-bindings: imx8mq-clock: add mainline definitions
clk: imx8mq: Add a clock driver for the imx8mq
clk: imx8m: reduce rate table duplication
drivers/clk/imx/Kconfig | 18 +
drivers/clk/imx/Makefile | 2 +
drivers/clk/imx/clk-imx8mm.c
Re-factor the imx8m[nmpq] rate tables into the common pll1416x clock
driver.
43cdaa1567ad3 ("clk: imx8mm: Move 1443X/1416X PLL clock structure to common
place")
Signed-off-by: Angus Ainslie
Tested-by: Adam Ford #imx8mm-beacon
---
drivers/clk/imx/clk-imx8
) DRAM
Signed-off-by: Angus Ainslie
Acked-by: Sean Anderson
---
drivers/clk/imx/Kconfig | 18 ++
drivers/clk/imx/Makefile | 2 +
drivers/clk/imx/clk-imx8mq.c | 552 +++
3 files changed, 572 insertions(+)
create mode 100644 drivers/clk/imx/clk-imx8mq.c
Sync the clock ids with the mainline kernel
077de6e1c9f ("clk: imx8mq: add PLL monitor output")
Signed-off-by: Angus Ainslie
Reviewed-by: Marek Vasut
---
include/dt-bindings/clock/imx8mq-clock.h | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/
common clk-imx8m
Changes since v1:
More verbose clock driver description
Added forgotten dt-bindings
Synced PLL frequencies with mainline kernel
[1]
https://patchwork.ozlabs.org/project/uboot/patch/20220320203446.740178-2-sean...@gmail.com/
Angus Ainslie (3):
dt-bindings: imx8mq-clock: add
Hi Heiko,
On 2022-03-24 01:28, Heiko Thiery wrote:
Hi Angus,
could you include the UART clocks?
Sure I can add the UART clocks.
We've also found an issue with devfreq using the current setup so it
might be a few days before I send an update.
Angus
On 2022-03-22 06:49, Adam Ford wrote:
On Tue, Mar 22, 2022 at 8:02 AM Angus Ainslie wrote:
Re-factor the imx8m[nmpq] rate tables into the common pll1416x clock
driver.
43cdaa1567ad3 ("clk: imx8mm: Move 1443X/1416X PLL clock structure to
common place")
I did a clk dump before t
Re-factor the imx8m[nmpq] rate tables into the common pll1416x clock
driver.
43cdaa1567ad3 ("clk: imx8mm: Move 1443X/1416X PLL clock structure to common
place")
Signed-off-by: Angus Ainslie
---
drivers/clk/imx/clk-imx8mm.c | 60 +++-
drivers/clk/imx/cl
) DRAM
Signed-off-by: Angus Ainslie
Acked-by: Sean Anderson
---
drivers/clk/imx/Kconfig | 18 ++
drivers/clk/imx/Makefile | 2 +
drivers/clk/imx/clk-imx8mq.c | 487 +++
3 files changed, 507 insertions(+)
create mode 100644 drivers/clk/imx/clk-imx8mq.c
Sync the clock ids with the mainline kernel
077de6e1c9f ("clk: imx8mq: add PLL monitor output")
Signed-off-by: Angus Ainslie
Reviewed-by: Marek Vasut
---
include/dt-bindings/clock/imx8mq-clock.h | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/
description
Added forgotten dt-bindings
Synced PLL frequencies with mainline kernel
[1]
https://patchwork.ozlabs.org/project/uboot/patch/20220320203446.740178-2-sean...@gmail.com/
Angus Ainslie (3):
dt-bindings: imx8mq-clock: add mainline definitions
clk: imx8mq: Add a clock driver for the imx8mq
On 2022-03-21 06:50, Heiko Thiery wrote:
Hi Angus,
[snip]
> So I'm not sure if the ipg clock is the right one for the boards that
> has different clock for ipg and per.
So I only looked at imx6qdl.dtsi where the clocks are different
clocks = <&clks IMX6QDL_CLK_UART_IPG>,
<&clks IMX
On 2022-03-19 07:15, Angus Ainslie wrote:
Hi Simon,
On 2022-03-18 15:41, Simon Glass wrote:
Hi Angus,
On Tue, 1 Mar 2022 at 07:58, Simon Glass wrote:
On Mon, 28 Feb 2022 at 13:33, Angus Ainslie wrote:
>
> Add a CONFIG_SPL_DEVRES option
>
> Signed-off-by: Angus Ainslie
>
On 2022-03-18 12:06, Heiko Thiery wrote:
Hi Angus,
Am Do., 17. März 2022 um 14:19 Uhr schrieb Angus Ainslie
:
Hi Heiko,
On 2022-03-17 05:41, Heiko Thiery wrote:
> With the clock driver enabled for the imx8mq, it was noticed that the
> frequency used to calculate the baud rate is
Hi Simon,
On 2022-03-18 15:41, Simon Glass wrote:
Hi Angus,
On Tue, 1 Mar 2022 at 07:58, Simon Glass wrote:
On Mon, 28 Feb 2022 at 13:33, Angus Ainslie wrote:
>
> Add a CONFIG_SPL_DEVRES option
>
> Signed-off-by: Angus Ainslie
> ---
>
> Changes since v1:
>
> Ins
Hi Heiko,
On 2022-03-17 05:41, Heiko Thiery wrote:
With the clock driver enabled for the imx8mq, it was noticed that the
frequency used to calculate the baud rate is always taken from the root
clock of UART1. This can cause problems if UART1 is not used as console
and the settings are different
Hi Heiko,
On 2022-03-16 08:55, Heiko Thiery wrote:
Hi Angus,
[snip]
> > But then something went wrong when probing uart3 ... the baudrate
> > switched for the uart2 (console) and the serial output became broken.
> > Later when the kernel starts the output becomes correct again. So the
> > kern
On 2022-03-16 07:02, Heiko Thiery wrote:
Hi Angus,
[snip]
>
> Meanwhile I figured out what the problem is with the 'No serial driver
> found'. In the used dtb there are 'assigned-clocks' and
> 'assigned-clock-parents' set in the uart nodes. When removing this the
> serial will work. I have to
On 2022-03-16 05:26, Heiko Thiery wrote:
Hi,
Am Mi., 16. März 2022 um 08:14 Uhr schrieb Heiko Thiery
:
Hi Angus,
Am Di., 15. März 2022 um 16:46 Uhr schrieb Angus Ainslie
:
>
> Hi Heiko,
>
> On 2022-03-15 08:35, Heiko Thiery wrote:
>
> Hi Angus and all,
>
>
>
>
On 2022-03-15 08:46, Angus Ainslie wrote:
Hi Heiko,
On 2022-03-15 08:35, Heiko Thiery wrote:
Hi Angus and all,
Am Di., 15. März 2022 um 14:09 Uhr schrieb Angus Ainslie
:
This is a DM clock driver based off the imx8mm u-boot driver and
the linux
kernel driver.
All of
Hi Heiko,
On 2022-03-15 08:35, Heiko Thiery wrote:
Hi Angus and all,
Am Di., 15. März 2022 um 14:09 Uhr schrieb Angus Ainslie :
This is a DM clock driver based off the imx8mm u-boot driver and
the linux
kernel driver.
All of the PLLs and clocks are initialized so the
All of the imx8m[nmpq] use the same clk_ops functions so move them
to a common file.
Signed-off-by: Angus Ainslie
Reviewed-by: Marek Vasut
---
drivers/clk/imx/Makefile | 8 +--
drivers/clk/imx/clk-imx8m.c | 108 +++
drivers/clk/imx/clk-imx8m.h | 12
Re-factor the imx8m[nmpq] rate tables into the common pll1416x clock
driver.
43cdaa1567ad3 ("clk: imx8mm: Move 1443X/1416X PLL clock structure to common
place")
Signed-off-by: Angus Ainslie
---
drivers/clk/imx/clk-imx8mm.c | 60 +++-
drivers/clk/imx/cl
) DRAM
Signed-off-by: Angus Ainslie
---
drivers/clk/imx/Kconfig | 16 +
drivers/clk/imx/Makefile | 2 +
drivers/clk/imx/clk-imx8mq.c | 575 +++
3 files changed, 593 insertions(+)
create mode 100644 drivers/clk/imx/clk-imx8mq.c
diff --git a/drivers/clk
Sync the clock ids with the mainline kernel
077de6e1c9f ("clk: imx8mq: add PLL monitor output")
Signed-off-by: Angus Ainslie
Reviewed-by: Marek Vasut
---
include/dt-bindings/clock/imx8mq-clock.h | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/
:
Added kernel commit IDs
Re-factored rate table code to remove duplication
Remove duplicate code by creating a common clk-imx8m
Changes since v1:
More verbose clock driver description
Added forgotten dt-bindings
Synced PLL frequencies with mainline kernel
Angus Ainslie (4):
dt-bindings: imx8mq
On 2022-03-14 11:57, Marek Vasut wrote:
On 3/14/22 19:22, Angus Ainslie wrote:
Re-factor the imx8m[nmpq] rate tables into the common pll1416x clock
driver.
43cdaa1567ad3 ("clk: imx8mm: Move 1443X/1416X PLL clock structure to
common place")
Signed-off-by: Angus Ainslie
All of the imx8m[nmpq] use the same clk_ops functions so move them
to a common file.
Signed-off-by: Angus Ainslie
---
drivers/clk/imx/Makefile | 8 +--
drivers/clk/imx/clk-imx8m.c | 108 +++
drivers/clk/imx/clk-imx8m.h | 12
drivers/clk/imx/clk
) DRAM
Signed-off-by: Angus Ainslie
---
drivers/clk/imx/Kconfig | 16 +
drivers/clk/imx/Makefile | 2 +
drivers/clk/imx/clk-imx8mq.c | 575 +++
3 files changed, 593 insertions(+)
create mode 100644 drivers/clk/imx/clk-imx8mq.c
diff --git a/drivers/clk
Re-factor the imx8m[nmpq] rate tables into the common pll1416x clock
driver.
43cdaa1567ad3 ("clk: imx8mm: Move 1443X/1416X PLL clock structure to common
place")
Signed-off-by: Angus Ainslie
---
drivers/clk/imx/clk-imx8mm.c | 60 +++-
drivers/clk/imx/cl
Sync the clock ids with the mainline kernel
077de6e1c9f ("clk: imx8mq: add PLL monitor output")
Signed-off-by: Angus Ainslie
---
include/dt-bindings/clock/imx8mq-clock.h | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/include/dt-bindings/cl
by creating a common clk-imx8m
Changes since v1:
More verbose clock driver description
Added forgotten dt-bindings
Synced PLL frequencies with mainline kernel
Angus Ainslie (4):
dt-bindings: imx8mq-clock: add mainline definitions
clk: imx8mq: Add a clock driver for the imx8mq
clk: imx8m
On 2022-03-11 11:19, Marek Vasut wrote:
On 3/11/22 19:41, Angus Ainslie wrote:
On 2022-03-11 10:05, Marek Vasut wrote:
On 3/11/22 18:02, Angus Ainslie wrote:
On 2022-03-11 08:57, Marek Vasut wrote:
On 3/11/22 17:35, Angus Ainslie wrote:
All of the PLLs and clocks are initialized so the
On 2022-03-11 10:05, Marek Vasut wrote:
On 3/11/22 18:02, Angus Ainslie wrote:
On 2022-03-11 08:57, Marek Vasut wrote:
On 3/11/22 17:35, Angus Ainslie wrote:
All of the PLLs and clocks are initialized so the subsystems below
are
functional and tested.
1) USB host and peripheral
2) ECSPI
3
Initial commit of Librem5 phone u-boot and SPL
Using this u-boot the phone can boot from eMMC or USB via SDP.
USB host is also active so the kernel can be loaded from USB storage
or one of the boot methods above.
Signed-off-by: Angus Ainslie
Co-developed-by: Sebastian Krzyszkowiak
Signed-off
On 2022-03-11 08:57, Marek Vasut wrote:
On 3/11/22 17:35, Angus Ainslie wrote:
This is a DM clock drvier based off the imx8mm u-boot driver and the
linux
kernel driver.
s@drvier@driver@
Thanks
All of the PLLs and clocks are initialized so the subsystems below are
functional and tested.
1
) DRAM
The PLL rate tables are from the kernel
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=43cdaa1567ad3931fbde438853947d45238cc040
Signed-off-by: Angus Ainslie
---
drivers/clk/imx/Kconfig | 16 +
drivers/clk/imx/Makefile | 2 +
drivers/clk/imx/clk
This is a DM clock driver for the imx8mq based on the linux kernel
driver and the u-boot imx8mm clock driver.
Changes since v1:
More verbose clock driver description
Added forgotten dt-bindings
Synced PLL frequencies with mainline kernel
Angus Ainslie (2):
dt-bindings: imx8mq-clock: add
Sync the clock ids with the mainline kernel
Signed-off-by: Angus Ainslie
---
include/dt-bindings/clock/imx8mq-clock.h | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/include/dt-bindings/clock/imx8mq-clock.h
b/include/dt-bindings/clock/imx8mq-clock.h
index
On 2022-03-11 02:18, Marek Vasut wrote:
On 3/11/22 01:53, Angus Ainslie wrote:
Based off the imx8mm u-boot driver and the linux kernel driver
What does this patch do again ? (it is impossible to tell from the
one-line commit message above unless you have it back-to-back with
Subject).
Also
Based off the imx8mm u-boot driver and the linux kernel driver
Signed-off-by: Angus Ainslie
---
drivers/clk/imx/Kconfig | 16 +
drivers/clk/imx/Makefile | 2 +
drivers/clk/imx/clk-imx8mq.c | 593 +++
3 files changed, 611 insertions(+)
create mode
Add a CONFIG_SPL_DEVRES option
Signed-off-by: Angus Ainslie
---
Changes since v1:
Instead of gaurding the source add an SPL_DEVRES option
drivers/core/Kconfig | 13 +
drivers/core/Makefile | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/drivers/core
Hi Simon,
On 2022-02-19 14:12, Simon Glass wrote:
On Wed, 2 Feb 2022 at 16:16, Angus Ainslie wrote:
Put guards around the devres code so that it isn't compiled during the
SPL.
Signed-off-by: Angus Ainslie
---
drivers/core/devres.c | 4 +++-
1 file changed, 3 insertions(+), 1 del
On 2022-02-15 08:45, Marek Vasut wrote:
On 2/15/22 15:55, Angus Ainslie wrote:
On 2022-02-15 00:01, Marek Vasut wrote:
On 2/15/22 01:51, Angus Ainslie wrote:
On 2022-02-14 16:25, Marek Vasut wrote:
On 2/14/22 21:51, Angus Ainslie wrote:
Enable the clocks for spi buses 1 through 3
Signed
On 2022-02-15 00:01, Marek Vasut wrote:
On 2/15/22 01:51, Angus Ainslie wrote:
On 2022-02-14 16:25, Marek Vasut wrote:
On 2/14/22 21:51, Angus Ainslie wrote:
Enable the clocks for spi buses 1 through 3
Signed-off-by: Angus Ainslie
---
Changes since v1:
added MXC_CSPI_CLK to
Hi Marek,
On 2022-02-14 16:25, Marek Vasut wrote:
On 2/14/22 21:51, Angus Ainslie wrote:
Enable the clocks for spi buses 1 through 3
Signed-off-by: Angus Ainslie
---
Changes since v1:
added MXC_CSPI_CLK to ECSPI1_CLK_ROOT mapping
arch/arm/include/asm/arch-imx8m/imx-regs.h | 9
Enable the clocks for spi buses 1 through 3
Signed-off-by: Angus Ainslie
---
Changes since v1:
added MXC_CSPI_CLK to ECSPI1_CLK_ROOT mapping
arch/arm/include/asm/arch-imx8m/imx-regs.h | 9 +
arch/arm/mach-imx/imx8m/clock_imx8mq.c | 40 ++
2 files changed, 49
The port/hub leaf nodes don't contain the phy definitions in some dts
files so check the parents.
Signed-off-by: Angus Ainslie
---
drivers/phy/phy-uclass.c | 20 ++--
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/drivers/phy/phy-uclass.c b/drivers/ph
Put guards around the devres code so that it isn't compiled during the SPL.
Signed-off-by: Angus Ainslie
---
drivers/core/devres.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/core/devres.c b/drivers/core/devres.c
index 313ddc7089..92a237c64c 100644
ells = <1>;
#size-cells = <0>;
mass-storage@1 {
compatible = "usb424,4041";
reg = <1>;
};
};
};
Signed-off-by: Angus Ainslie
---
drivers/usb/dwc3/dwc3-generic.c | 25 +++
If u-boot doesn't stop the core when it's finished with it then
linux can't find it.
Signed-off-by: Angus Ainslie
---
drivers/usb/dwc3/core.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index ce1c0e88c2..b592a487
dwc3 driver fixes to work better with the linux kernel.
Angus Ainslie (2):
usb: dwc3: dwc3-generic: check the parent nodes
usb: dwc3: core: stop the core when it's removed
drivers/usb/dwc3/core.c | 9 +
drivers/usb/dwc3/dwc3-generic.c | 25 -
2
SION (Software Input On Field) - force the select mode input path
Signed-off-by: Angus Ainslie
---
arch/arm/include/asm/mach-imx/iomux-v3.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/asm/mach-imx/iomux-v3.h
b/arch/arm/include/asm/mach-imx/iomux-v3.h
index 9330a32fe9
1 - 100 of 181 matches
Mail list logo