[PATCH 0/2] ARM: meson: Add initial support for BPI-CM4 module with BPI-CM4IO baseboard

2023-03-07 Thread Neil Armstrong
://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf [2] https://lore.kernel.org/all/20230303-topic-amlogic-upstream-bpi-cm4-v2-0-2ecfde76f...@linaro.org/ [3] https://git.kernel.org/amlogic/c/0262f2736978b1763363224698f47112a148dab0 Signed-off-by: Neil Armstrong --- Neil Armstrong (2

[PATCH 1/2] ARM: dts: import initial DT for BPI-CM4 module with BPI-CM4IO baseboard

2023-03-07 Thread Neil Armstrong
CM4 baseboard and other derivatives baseboards, but proper DT should be written for other baseboards. [1] https://git.kernel.org/amlogic/c/0262f2736978b1763363224698f47112a148dab0 [2] https://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf Signed-off-by: Neil Armstrong --- arch/arm/dts

[PATCH 2/2] ARM: meson: Add initial support for BPI-CM4 module with BPI-CM4IO baseboard

2023-03-07 Thread Neil Armstrong
fine on the Raspberry CM4 baseboard and other derivatives baseboards, but proper DT should be written for other baseboards. [1] https://datasheets.raspberrypi.com/cm4io/cm4io-datasheet.pdf Signed-off-by: Neil Armstrong --- .../dts/meson-g12b-bananapi-cm4-cm4io-u-boot.dtsi | 6 ++ board

Re: [PATCH 0/2] ARM: meson: Add initial support for BPI-CM4 module with BPI-CM4IO baseboard

2023-03-14 Thread Neil Armstrong
Hi, On Tue, 07 Mar 2023 09:20:23 +0100, Neil Armstrong wrote: > Add support for both the BananaPi BPI-CM4 module and the BananaPi > baseboard which is compatible with the RaspberryPi CM4IO baseboard. > > The BananaPi BPI-CM4 module follows the CM4 specifications at [1], > but wit

Re: [PATCH] ARM: meson: odroid-go-ultra: setup PMIC regulators are board init

2023-03-14 Thread Neil Armstrong
Hi, On Fri, 10 Feb 2023 11:25:07 +0100, Neil Armstrong wrote: > The Odroid Go Ultra has 2 chained PMICs RK818 and RK818, and needs > an adjustment on the BUCK and LDO values. > > Add the initial regulators values in -u-boot.dtsi & run the initial > regulator setup in a new od

Re: [PATCH 30/33] doc: boards: amlogic: add documentation for BananaPi CM4IO

2023-03-20 Thread Neil Armstrong
On 20/03/2023 12:46, Christian Hewitt wrote: Add build instructions for the BananaPi BPI-CM4IO carrier board with BPI-CM4 module. Signed-off-by: Christian Hewitt --- board/amlogic/u200/MAINTAINERS | 1 - board/amlogic/w400/MAINTAINERS | 2 + doc/board/amlogic/bananapi-cm4io.

Re: [PATCH 30/33] doc: boards: amlogic: add documentation for BananaPi CM4IO

2023-03-20 Thread neil . armstrong
On 20/03/2023 13:23, Christian Hewitt wrote: On 20 Mar 2023, at 4:13 pm, Neil Armstrong wrote: On 20/03/2023 12:46, Christian Hewitt wrote: Add build instructions for the BananaPi BPI-CM4IO carrier board with BPI-CM4 module. Signed-off-by: Christian Hewitt --- board/amlogic/u200

[GIT PULL] Please pull u-boot-amlogic-20230131

2023-03-22 Thread Neil Armstrong
(2023-03-14 09:03:16 +0100) - odroid-go-ultra: setup PMIC regulators at board init Neil Armstrong (1): ARM: meson: odroid-go-ultra: setup PMIC regulators are board

Re: [PATCH 00/33] doc: board: amlogic: spring clean-up of Amlogic docs

2023-03-22 Thread Neil Armstrong
Hi, On Mon, 20 Mar 2023 11:45:36 +, Christian Hewitt wrote: > Amlogic documentation spans U-Boot support from 2015-current resulting > in older content being harder to follow. And due to many international > contributors the docs also contain grammar quirks. > > This series reworks all board

Re: [PATCH 01/13] docs: boards: amlogic: add bananapi-m5 to u200 maintainer file

2023-03-23 Thread Neil Armstrong
-m5.rst F:doc/board/amlogic/radxa-zero.rst Reviewed-by: Neil Armstrong

Re: [PATCH 04/13] docs: boards: amlogic: add documentation for BananaPi M2-Pro

2023-03-23 Thread Neil Armstrong
On 23/03/2023 07:54, Christian Hewitt wrote: Add build docs for the BPI-M2-PRO board. Signed-off-by: Christian Hewitt --- board/amlogic/u200/MAINTAINERS | 2 + doc/board/amlogic/bananapi-m2pro.rst | 142 +++ doc/board/amlogic/index.rst | 1 + 3 fi

Re: [PATCH 02/13] ARM: dts: add support for BananaPi M2-Pro

2023-03-23 Thread Neil Armstrong
..4a1aeda565 --- /dev/null +++ b/arch/arm/dts/meson-sm1-bananapi-m2-pro-u-boot.dtsi @@ -0,0 +1,14 @@ + +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2021 BayLibre, SAS + * Author: Neil Armstrong + */ + +#include "meson-sm1-u-boot.dtsi" + +ðmac { + snps,

Re: [PATCH 03/13] boards: add BananaPi M2-Pro defconfig

2023-03-23 Thread Neil Armstrong
NFIG_SPLASH_SCREEN=y +CONFIG_SPLASH_SCREEN_ALIGN=y +CONFIG_VIDEO_BMP_RLE8=y +CONFIG_BMP_16BPP=y +CONFIG_BMP_24BPP=y +CONFIG_BMP_32BPP=y +CONFIG_OF_LIBFDT_OVERLAY=y Reviewed-by: Neil Armstrong

Re: [PATCH 05/13] ARM: dts: add support for BananaPi M2S

2023-03-23 Thread Neil Armstrong
quot;default"; +}; diff --git a/arch/arm/dts/meson-g12b-bananapi-u-boot.dtsi b/arch/arm/dts/meson-g12b-bananapi-u-boot.dtsi new file mode 100644 index 00..236f2468dc --- /dev/null +++ b/arch/arm/dts/meson-g12b-bananapi-u-boot.dtsi @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: (GPL-2.0+ O

Re: [PATCH 06/13] boards: add BananaPi M2S defconfig

2023-03-23 Thread Neil Armstrong
DEO_BPP16 is not set +CONFIG_SYS_WHITE_ON_BLACK=y +CONFIG_VIDEO_MESON=y +CONFIG_VIDEO_DT_SIMPLEFB=y +CONFIG_SPLASH_SCREEN=y +CONFIG_SPLASH_SCREEN_ALIGN=y +CONFIG_VIDEO_BMP_RLE8=y +CONFIG_BMP_16BPP=y +CONFIG_BMP_24BPP=y +CONFIG_BMP_32BPP=y +CONFIG_OF_LIBFDT_OVERLAY=y Reviewed-by: Neil Armstrong

Re: [PATCH 08/13] ARM: dts: add support for Radxa Zero2

2023-03-23 Thread Neil Armstrong
/meson-g12b-radxa-zero2-u-boot.dtsi @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 BayLibre, SAS. + * Author: Neil Armstrong + */ + +#include "meson-g12-common-u-boot.dtsi" diff --git a/arch/arm/dts/meson-g12b-radxa-zero2.dts b/arch/arm/dts/meson-

Re: [PATCH 09/13] boards: amlogic: add Radxa Zero2 defconfig

2023-03-23 Thread Neil Armstrong
_VIDEO_DT_SIMPLEFB=y +CONFIG_SPLASH_SCREEN=y +CONFIG_SPLASH_SCREEN_ALIGN=y +CONFIG_VIDEO_BMP_RLE8=y +CONFIG_BMP_16BPP=y +CONFIG_BMP_24BPP=y +CONFIG_BMP_32BPP=y +CONFIG_OF_LIBFDT_OVERLAY=y Reviewed-by: Neil Armstrong

Re: [PATCH 11/13] ARM: dts: add support for WeTek Hub and WeTek Play2

2023-03-23 Thread Neil Armstrong
mode 100644 index 00..58733017ed --- /dev/null +++ b/arch/arm/dts/meson-gxbb-wetek-hub.dts @@ -0,0 +1,58 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016 BayLibre, Inc. + * Author: Neil Armstrong + */ + +/dts-v1/; + +#include "meson-gxbb-wetek.dtsi"

Re: [PATCH 12/13] boards: amlogic: add WeTek Hub and WeTek Play2 defconfig

2023-03-23 Thread Neil Armstrong
On 23/03/2023 08:04, Christian Hewitt wrote: On 23 Mar 2023, at 10:54 am, Christian Hewitt via groups.io wrote: Add configurations for the WeTek Hub and WeTek Play2 boards along with files for the wetek-gxbb board family to ensure the ethernet MAC is correctly discovered. Set myself as the

Re: [PATCH v2 1/1] drivers: rng: add support for Meson S4

2023-10-12 Thread neil . armstrong
Hi, On 10/10/2023 13:13, Alexey Romanov wrote: For some Amlogic SOC's, mechanism to obtain random number has been changed. For example, S4 now uses status bit waiting algo. Signed-off-by: Alexey Romanov --- drivers/rng/meson-rng.c | 72 - 1 file chang

Re: [PATCH v3 1/1] drivers: rng: add support for Meson S4

2023-10-12 Thread neil . armstrong
gic,meson-rng", + .data = (ulong)&meson_rng_priv, + }, + { + .compatible = "amlogic,meson-s4-rng", + .data = (ulong)&meson_rng_priv_s4, }, {}, }; Reviewed-by: Neil Armstrong

Re: [PATCH v3 0/8] Add SM uclass and Meson SM driver

2023-10-12 Thread neil . armstrong
Hi, On 21/09/2023 10:13, Alexey Romanov wrote: Hello! At the moment, there is no single general approach to using secure monitor in U-Boot, there is only the smc_call() function, over which everyone builds their own add-ons. This patchset is designed to solve this problem by adding a new uclass

Re: [PATCH v1] drivers: don't compile Secure Monitor UCLASS unconditionally

2023-10-15 Thread Neil Armstrong
Le 13/10/2023 à 15:04, Alexey Romanov a écrit : It makes no sense to compile Secure Monitor unconditionally. For example, this break the SPL build on boards with a small allowed SPL image size. Fixes: 126fbbefd89e ("drivers: introduce Secure Monitor uclass") Signed-off-by: Alexey Romanov ---

Re: [PATCH v3 0/1] hwrng: meson - add support for S4

2023-10-15 Thread neil . armstrong
From: Neil Armstrong Hi, On Thu, 12 Oct 2023 10:58:24 +0300, Alexey Romanov wrote: > This patch adds support for Meson S4 series > hardware number generator using new algo. > > V2: > > - Sync with Linux version. > > [...] Thanks, Applied to https://source.denx.de/

Re: [PATCH v2 0/2] Meson A1: add HW RNG and AO Secure nodes

2023-10-15 Thread neil . armstrong
From: Neil Armstrong Hi, On Tue, 10 Oct 2023 13:06:15 +0300, Alexey Romanov wrote: > This patchest adds HW RNG and AO Secure definition > in device tree for Amlogic A1-series. > > V2: > > - Rebased over latest amlogic U-Boot branch. > > [...] Thanks, Applied to https

[GIT PULL] Please pull u-boot-amlogic-20231015

2023-10-15 Thread Neil Armstrong
Hi Tom, A set of changes mostly concerning Amlogic A1 & S4 SoCs for USB, Secure Monitor and RNG bringup. The CI job is at https://source.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/18138 Thanks, Neil The following changes since commit 997bef3c6d22d12c7fd092fb831bf94d114c9f6f: Merge

Re: [PATCH v4 4/8] clk: amlogic: Move driver and ops structs

2023-10-18 Thread Neil Armstrong
p;meson_clk_ops, + .probe = meson_clk_probe, +}; Reviewed-by: Neil Armstrong

Re: [PATCH v1 1/2] serial: amlogic: Add UART compatible for A1 board

2023-10-18 Thread Neil Armstrong
uot;amlogic,meson-a1-uart" }, { } }; Reviewed-by: Neil Armstrong

Re: [PATCH v1 2/2] arm: meson-a1: dts: Sync DT with Linux

2023-10-18 Thread Neil Armstrong
interrupts = ; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + clocks = <&clkc_periphs CLKID_USB_CTRL>, + <&clkc_periphs CLKID_USB_BUS>, +<&clkc_periphs CLKID_USB_CTRL_IN>; + clock-names = "usb_ctrl", "usb_bus", "xtal_usb_ctrl"; + resets = <&reset RESET_USBCTRL>; + reset-name = "usb_ctrl"; + + dr_mode = "otg"; + + phys = <&usb2_phy1>; + phy-names = "usb2-phy1"; + + dwc3: usb@ff40 { + compatible = "snps,dwc3"; + reg = <0x0 0xff40 0x0 0x10>; + interrupts = ; + dr_mode = "host"; + snps,dis_u2_susphy_quirk; + snps,quirk-frame-length-adjustment = <0x20>; + snps,parkmode-disable-ss-quirk; + }; + + dwc2: usb@ff50 { + compatible = "amlogic,meson-a1-usb", "snps,dwc2"; + reg = <0x0 0xff50 0x0 0x4>; + interrupts = ; + phys = <&usb2_phy1>; + phy-names = "usb2-phy"; + clocks = <&clkc_periphs CLKID_USB_PHY>; + clock-names = "otg"; + dr_mode = "peripheral"; + g-rx-fifo-size = <192>; + g-np-tx-fifo-size = <128>; + g-tx-fifo-size = <128 128 16 16 16>; + }; }; gic: interrupt-controller@ff901000 { Reviewed-by: Neil Armstrong

Re: [PATCH] phy: meson-g12a-usb2: fix ret check on power_domain_get

2023-10-18 Thread neil . armstrong
ret; } - if (ret != -ENODEV) { + if (ret != -ENODEV && ret != -ENOENT) { ret = power_domain_on(&priv->pwrdm); if (ret < 0) { pr_err("failed to enable power domain\n"); Reviewed-by: Neil Armstrong

Re: [PATCH] phy: meson-g12a-usb2: fix ret check on power_domain_get

2023-10-18 Thread Neil Armstrong
Hi, On Tue, 17 Oct 2023 20:57:25 +0200, Guillaume La Roque wrote: > Patch which add A1 SoC support create a regression on khadas vim3/vim3l > boards when we try to use fastboot command: > > => fastboot usb 0 > failed to get power domain > failed to get power domain > No USB device found >

Re: [PATCH v1 0/2] arm: dts: meson-a1 Sync DT with Linux

2023-10-18 Thread Neil Armstrong
Hi, On Wed, 18 Oct 2023 00:32:09 +0300, Igor Prusov wrote: > This series syncs Device Tree for Amlogic A1 with Linux. Currently > DTS in Linix has different compatible string for serial devices, which > is not recognized by serial_meson driver, so new compatible is added to > driver as well. Addit

[GIT PULL] Please pull u-boot-amlogic-20231023

2023-10-23 Thread Neil Armstrong
Hi Tom, An important fix for USB Gadget on G12/SM1 boards and a welcome DT sync for the Amlogic A1 DT. The CI job is at https://source.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/18256 Thanks, Neil The following changes since commit e65b5d35c9116485366bb08138043d51220551da: Merge b

[PATCH 0/4] ARM: meson: Add boot over DFU RAM as an USB boot step

2023-10-23 Thread Neil Armstrong
write a fitImage or legacy U-Boot image, then with the detach command boot will continue trying to boot the uploaded image. Signed-off-by: Neil Armstrong --- Neil Armstrong (4): ARM: meson: enable FIT with LEGACY_IMAGE_FORMAT on all configs configs: meson64: declare addr o

[PATCH 1/4] ARM: meson: enable FIT with LEGACY_IMAGE_FORMAT on all configs

2023-10-23 Thread Neil Armstrong
Allow all boards to boot with a fitImage, but keep support for Legacy image format for now. Signed-off-by: Neil Armstrong --- configs/bananapi-cm4-cm4io_defconfig | 4 configs/bananapi-m2-pro_defconfig | 4 configs/bananapi-m2s_defconfig| 4 configs

[PATCH 2/4] configs: meson64: declare addr out of EXTRA_ENV_SETTINGS

2023-10-23 Thread Neil Armstrong
In order to reuse addresses for DFU RAM, define them separately, it's cleaner and will be easier to override. Signed-off-by: Neil Armstrong --- include/configs/meson64.h | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/include/configs/meson6

[PATCH 3/4] configs: meson64: add alternate USB DFU boot target

2023-10-23 Thread Neil Armstrong
write a fitImage or legacy U-Boot image, then with the detach command boot will continue trying to boot the uploaded image. Signed-off-by: Neil Armstrong --- include/configs/meson64.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/include/configs/meson64.h b/in

[PATCH 4/4] ARM: meson: enable USB DFU + RAM on Amlogic boards with USB Gadget

2023-10-23 Thread Neil Armstrong
Enable DFU as an alternate USB boot method when script wasn't uploaded, this fixes USB full boot on G12/SM1 boards. Signed-off-by: Neil Armstrong --- configs/ad401_defconfig| 2 ++ configs/bananapi-cm4-cm4io_defconfig | 2 ++ configs/bananapi-m2-pro_defconfig

Re: [PATCH] configs: khadas-vim3*_android: fix environment saving

2023-10-26 Thread Neil Armstrong
_SARADC_MESON=y CONFIG_BUTTON=y --- base-commit: 14a21f1a80afc58d52dc72e35f27d3a47d36c082 change-id: 20231026-fix-saveenv-eb5484622282 Best regards, Reviewed-by: Neil Armstrong

Re: [PATCH] configs: khadas-vim3*_android: fix environment saving

2023-10-26 Thread Neil Armstrong
Hi, On Thu, 26 Oct 2023 15:41:31 +0200, Mattijs Korpershoek wrote: > The environment is used to configure some additional boot features such as: > * extra boot arguments > * enable AVB (Android Verified Boot) verification > > Right now, we cannot store it in eMMC: > > Loading Environment from

Re: [PATCH 0/4] ARM: meson: Add boot over DFU RAM as an USB boot step

2023-10-26 Thread Neil Armstrong
Hi, On Mon, 23 Oct 2023 14:41:33 +0200, Neil Armstrong wrote: > Add boot over DFU RAM as an alternate to running script at > a fixed address like done today. > > The main culprit is that it's not possible to do that > on G12A/SM1 platforms due to changes in the USB boot prot

Re: [PATCH v2 0/2] ARM: amlogic: Add A1 SPIFC support

2023-10-26 Thread Neil Armstrong
Hi, On Wed, 25 Oct 2023 01:51:38 +0300, Igor Prusov wrote: > A1 family boards have new version of SPIFC controller, that is > incompatible with meson_spifc driver. This series ports A1 SPIFC driver > from Linux and enables it for ad401 board. > > Changes in V2: > - more details in Kconfig help m

[GIT PULL] Please pull u-boot-amlogic-20231027

2023-10-27 Thread Neil Armstrong
ershoek (1): configs: khadas-vim3*_android: fix environment saving Neil Armstrong (4): ARM: meson: enable FIT with LEGACY_IMAGE_FORMAT on all configs configs: meson64: declare addr out of EXTRA_ENV_SETTINGS configs: meson64: add alternate USB DFU boot target ARM: meson: enab

Re: [PATCH] MAINTAINERS: update Qualcomm maintainer

2023-10-31 Thread Neil Armstrong
On 31/10/2023 16:19, Caleb Connolly wrote: As Ramon has been inactive for some time now, add myself and Neil Armstrong to maintain Qualcomm efforts going forwards. Signed-off-by: Caleb Connolly --- I greatly appreciate the work done by Ramon Fried in keeping Qualcomm support alive in U-Boot

Re: [PATCH v1 1/2] clk: a1: add new clocks for USB stack

2023-11-02 Thread neil . armstrong
("usb_phy", A1_SYS_CLK_EN0, 27, CLKID_SYS ), Reviewed-by: Neil Armstrong

Re: [PATCH v1 2/2] drivers: sm: bind child sm devices in the device tree

2023-11-02 Thread neil . armstrong
) = { .id = UCLASS_SM, .of_match = meson_sm_ids, .probe = meson_sm_probe, + .bind = dm_scan_fdt_dev, .priv_auto = sizeof(struct meson_sm_priv), .ops = &sm_ops, }; Reviewed-by: Neil Armstrong

[PATCH] ARM: configs: libretech-ac: enable USB_DFU like in meson64.h

2023-11-02 Thread Neil Armstrong
USB_DFU was added in meson64.h but is missing in libretech-ac.h, fix this to enable DFU RAM boot for libretech-ac. Fixes 4aa027b3f8 ("configs: meson64: add alternate USB DFU boot target") Signed-off-by: Neil Armstrong --- include/configs/libretech-ac.h | 1 + 1 file changed, 1

Re: [PATCH v1 0/2] Meson A1: fix USB and NAND stack

2023-11-06 Thread Neil Armstrong
Hi, On Wed, 01 Nov 2023 17:04:55 +0300, Alexey Romanov wrote: > After a recent sync device tree with the Linux Kernel, > some drivers broke. These patchset will fix that. > > Alexey Romanov (1): > clk: a1: add new clocks for USB stack > > Dmitry Rokosov (1): > drivers: sm: bind child sm devi

Re: [PATCH] ARM: configs: libretech-ac: enable USB_DFU like in meson64.h

2023-11-06 Thread Neil Armstrong
Hi, On Thu, 02 Nov 2023 14:49:58 +0100, Neil Armstrong wrote: > USB_DFU was added in meson64.h but is missing in libretech-ac.h, > fix this to enable DFU RAM boot for libretech-ac. > > Fixes 4aa027b3f8 ("configs: meson64: add alternate USB DFU boot target") > >

[GIT PULL] Please pull u-boot-amlogic-20231106

2023-11-06 Thread Neil Armstrong
the device tree - add missing A1 clocks for USB stack Alexey Romanov (1): clk: a1: add new clocks for USB stack Dmitry Rokosov (1): drivers: sm: bind child sm devices in the device tree Neil Armstrong (1): AR

Re: [PATCH v1 1/2] drivers: firmware: introduce Meson Secure Monitor driver

2023-08-22 Thread neil . armstrong
On 21/08/2023 21:11, Simon Glass wrote: Hi Neil, On Mon, 21 Aug 2023 at 03:16, neil.armstr...@linaro.org wrote: Hi, On 16/07/2023 01:40, Simon Glass wrote: Hi, On Thu, 13 Jul 2023 at 23:30, AKASHI Takahiro wrote: On Tue, Jul 11, 2023 at 01:13:29PM -0600, Simon Glass wrote: +AKASHI Taka

Re: [PATCH v2 0/1] meson: Demonstration of using binman to produce the image

2023-08-31 Thread neil . armstrong
On 31/08/2023 05:37, Simon Glass wrote: Hi Ferass, On Wed, 30 Aug 2023 at 11:53, Ferass El Hafidi wrote: Hi Simon, So I wonder how best to move this forward so that we can build things using binman and everything works? It's still not ready yet, but I'm working on porting U-Boot SPL to so

Re: [PATCH] cmd: pxe: add alias devicetree-overlay for fdtoverlays

2022-09-20 Thread Neil Armstrong
Hi, On 19/09/2022 20:50, Edoardo Tomelleri wrote: This adds keyword devicetree-overlay as an alias for fdtoverlays in extlinux (sysboot) and pxe to better follow the Boot Loader Specification, improves documentation around them by adding an example for both fdtoverlays and devicetree-overlay and

Re: [PATCH v2] cmd: pxe: add alias devicetree-overlay for fdtoverlays

2022-09-21 Thread Neil Armstrong
ecification`: https://systemd.io/BOOT_LOADER_SPECIFICATION/ .. sectionauthor:: (C) Copyright 2014 Red Hat Inc. .. sectionauthor:: Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. Thanks for updating the doc and link to the spec ! Reviewed-by: Neil Armstrong

Re: [PATCH] arm: amlogic: add setbrg op to serial device

2022-09-22 Thread Neil Armstrong
Hi, Sorry for the delay... On 18/09/2022 18:17, Edoardo Tomelleri wrote: Implement setbrg in amlogic/meson serial device with driver model similar to how the meson_uart.c driver does it in Linux. Also configure (probe) the serial device with the new reg5 register. Signed-off-by: Edoardo Tomell

Re: [PATCH] arm: amlogic: add setbrg op to serial device

2022-09-23 Thread neil . armstrong
Hi, On 22/09/2022 20:51, Edoardo Tomelleri wrote: Hello, Il giorno gio 22 set 2022 alle ore 18:51 Neil Armstrong ha scritto: Hi, Sorry for the delay... No problem, don't worry Looks good ! If someone can test it ? otherwise I'll take it for next release. ...does it count if I

Re: [PATCH] arm: amlogic: add setbrg op to serial device

2022-09-23 Thread Neil Armstrong
On 23/09/2022 10:23, Neil Armstrong via groups.io wrote: Hi, On 22/09/2022 20:51, Edoardo Tomelleri wrote: Hello, Il giorno gio 22 set 2022 alle ore 18:51 Neil Armstrong ha scritto: Hi, Sorry for the delay... No problem, don't worry Looks good ! If someone can test it ? otherwise

Re: [PATCH] arm: amlogic: add setbrg op to serial device

2022-09-23 Thread Neil Armstrong
Hi, On Sun, 18 Sep 2022 18:17:01 +0200, Edoardo Tomelleri wrote: > Implement setbrg in amlogic/meson serial device with driver model > similar to how the meson_uart.c driver does it in Linux. Also > configure (probe) the serial device with the new reg5 register. > > Thanks, Applied to https://s

[GIT PULL] Please pull u-boot-amlogic-20220809

2022-08-09 Thread Neil Armstrong
on on boot flow Jerome Brunet (1): ARM: meson: fixup error on efuse commands return Neil Armstrong (1): doc: board: amlogic: add documentation on boot flow arch/arm/mach-meson/sm.c| 9 +-- doc/board/amlogic/boot-flow.rst | 134

[PATCH] MAINTAINERS: Update email of Neil Armstrong

2022-08-16 Thread Neil Armstrong
From: Neil Armstrong My professional e-mail will change and the BayLibre one will bounce after mid-september of 2022. This updates the MAINTAINERS files and adds an entry in the .mailmap file. Signed-off-by: Neil Armstrong --- .mailmap| 1 + MAINTAINERS

Re: [PATCH] MAINTAINERS: Update email of Neil Armstrong

2022-08-19 Thread Neil Armstrong
Hi Tom, On 16/08/2022 11:58, Neil Armstrong wrote: From: Neil Armstrong My professional e-mail will change and the BayLibre one will bounce after mid-september of 2022. This updates the MAINTAINERS files and adds an entry in the .mailmap file. Signed-off-by: Neil Armstrong --- [..] Can

Re: [PATCH v2 05/14] docs: boards: amlogic: add documentation for BananaPi M2-Pro

2023-03-23 Thread Neil Armstrong
/board/amlogic/index.rst @@ -86,6 +86,7 @@ Board Documentation :maxdepth: 1 bananapi-cm4io + bananapi-m2pro bananapi-m5 beelink-gskingx beelink-gtking Reviewed-by: Neil Armstrong

Re: [PATCH v2 08/14] docs: boards: amlogic: add documentation for BananaPi M2S

2023-03-23 Thread Neil Armstrong
+++ b/doc/board/amlogic/index.rst @@ -87,6 +87,7 @@ Board Documentation bananapi-cm4io bananapi-m2pro + bananapi-m2s bananapi-m5 beelink-gskingx beelink-gtking Reviewed-by: Neil Armstrong

Re: [PATCH v2 11/14] doc: boards: amlogic: add documentation for Radxa Zero2

2023-03-23 Thread Neil Armstrong
/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=1 count=440 Reviewed-by: Neil Armstrong

Re: [PATCH v2 13/14] boards: amlogic: add WeTek Hub and WeTek Play2 defconfig

2023-03-23 Thread Neil Armstrong
H_SCREEN=y +CONFIG_SPLASH_SCREEN_ALIGN=y +CONFIG_VIDEO_BMP_RLE8=y +CONFIG_BMP_16BPP=y +CONFIG_BMP_24BPP=y +CONFIG_BMP_32BPP=y +CONFIG_OF_LIBFDT_OVERLAY=y Reviewed-by: Neil Armstrong

Re: [PATCH v2 14/14] doc: boards: amlogic: add documentation for WeTek Hub and WeTek Play2

2023-03-23 Thread Neil Armstrong
12 skip=1 seek=1 +$ dd if=fip/u-boot.gxbb of=$DEV conv=fsync,notrunc bs=1 count=440 Reviewed-by: Neil Armstrong

Re: (subset) [PATCH v2 00/14] boards: amlogic: add BananaPi/Radxa/WeTek boards

2023-03-23 Thread Neil Armstrong
Hi, On Thu, 23 Mar 2023 14:31:28 +, Christian Hewitt wrote: > This series adds support for the following boards which are > tested and booting fine with 2023.04-rc4: > > - BananaPi M2-Pro (S905X3) > - BananaPi M2S (A311D or S922X) > - Radxa Zero2 (A311D) > - WeTek Hub (S905) > - WeTek Play2 (

Re: [PATCH] boards: amlogic: switch LibreTech-CC v2 and WeTek Core2 to EE powerdomain

2023-03-27 Thread Neil Armstrong
CONFIG_PINCTRL=y CONFIG_PINCTRL_MESON_GXL=y CONFIG_POWER_DOMAIN=y -CONFIG_MESON_GX_VPU_POWER_DOMAIN=y +CONFIG_MESON_EE_POWER_DOMAIN=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y CONFIG_DEBUG_UART_ANNOUNCE=y Reviewed-by: Neil Armstrong

Re: [PATCH v2 1/1] RFC: Move Odroid-C2 to use binman to produce the image

2023-04-03 Thread Neil Armstrong
Hi Simon ! On 01/04/2023 20:54, Simon Glass wrote: This shows how binman can be used to replace the long and complicated instructions with an automated build. It is still complicated to read but users don't have to worry about the details. It needs some tidying up and only supports Odroid-C2 at

Re: [PATCHv8 1/3] ARM: dts: add support for Beelink GT1 Ultimate

2023-04-05 Thread Neil Armstrong
Hi, On Tue, 28 Mar 2023 04:11:52 +0800, Karl Chan wrote: > Import the device-tree from linux-amlogic/for-next (Linux 6.3-rc1). > > Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic (u-boot-amlogic) [1/3] ARM: dts: add support for Beelink GT1 Ultimate https://so

Re: [PATCHv8 2/3] boards: amlogic: add Beelink GT1 Ultimate defconfig

2023-04-05 Thread Neil Armstrong
Hi, On Tue, 28 Mar 2023 04:13:14 +0800, Karl Chan wrote: > Add configuration for the Beelink GT1 Ultimate board. > > Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic (u-boot-amlogic) [2/3] boards: amlogic: add Beelink GT1 Ultimate defconfig https://source.denx

Re: [PATCHv8 3/3] doc: boards: amlogic: add documentation for Beelink GT1 Ultimate

2023-04-05 Thread Neil Armstrong
Hi, On Tue, 28 Mar 2023 04:15:15 +0800, Karl Chan wrote: > Add build instructions for the Beelink GT1 Ultimate board. > > Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-amlogic (u-boot-amlogic) [3/3] doc: boards: amlogic: add documentation for Beelink GT1 Ultimate h

Re: [PATCH v2 1/1] RFC: Move Odroid-C2 to use binman to produce the image

2023-04-06 Thread neil . armstrong
On 05/04/2023 20:38, Simon Glass wrote: Hi Neil, On Mon, 3 Apr 2023 at 19:31, Neil Armstrong wrote: Hi Simon ! On 01/04/2023 20:54, Simon Glass wrote: This shows how binman can be used to replace the long and complicated instructions with an automated build. It is still complicated to read

[GIT PULL] Please pull uu-boot-amlogic-20230417

2023-04-17 Thread Neil Armstrong
k Hub and WeTek Play2 boards: amlogic: switch LibreTech-CC v2 and WeTek Core2 to EE powerdomain Karl Chan (3): ARM: dts: add support for Beelink GT1 Ultimate boards: amlogic: add Beelink GT1 Ultimate defconfig doc: boards: amlogic: add documentation for Beelink GT1 Ultimate

Re: [PATCH v3 0/8] Add SM uclass and Meson SM driver

2023-09-28 Thread neil . armstrong
eviewed-by: Neil Armstrong I'll apply it for next u-boot release, Thanks, Neil

Re: [PATCH v2 0/2] clk: amlogic: a1: Add Amlogic A1 clock driver

2023-09-28 Thread Neil Armstrong
/a1.c create mode 100644 include/dt-bindings/clock/amlogic,a1-peripherals-clkc.h create mode 100644 include/dt-bindings/clock/amlogic,a1-pll-clkc.h Reviewed-by: Neil Armstrong I'll apply it for next u-boot release, Thanks, Neil

Re: [PATCH] mmc: Add SPL_MMC_PWRSEQ to fix link issue when building SPL

2023-09-28 Thread Neil Armstrong
Q +#if CONFIG_IS_ENABLED(MMC_PWRSEQ) /** * mmc_pwrseq_get_power() - get a power device from device tree * Reviewed-by: Neil Armstrong

Re: [RFT PATCH 0/2] mmc: meson-gx: improve MMC reliabilty

2023-09-28 Thread Neil Armstrong
Hi, On 15/09/2023 18:01, Jerome Brunet wrote: Amlogic MMC on the GX (and later) SoCs has been problematic for years, especially with u-boot. Linux has been fairly stable for a few years. It is using a fixed phase setting with Core = 180, Tx = 0 and Rx = 0 (the latter cannot be set starting from

Re: [PATCH v3 0/8] Add SM uclass and Meson SM driver

2023-09-28 Thread Neil Armstrong
Hi, On Thu, 21 Sep 2023 11:13:33 +0300, Alexey Romanov wrote: > At the moment, there is no single general approach to using > secure monitor in U-Boot, there is only the smc_call() function, > over which everyone builds their own add-ons. This patchset > is designed to solve this problem by adding

Re: [PATCH v2 0/2] clk: amlogic: a1: Add Amlogic A1 clock driver

2023-09-28 Thread Neil Armstrong
Hi, On Mon, 25 Sep 2023 18:52:07 +0300, Igor Prusov wrote: > This series adds dt-bindings and driver implementation for Amlogic A1 > PLL and Peripherals clock controllers. > > V1: > https://lore.kernel.org/all/20230917101308.1250-1-ivpru...@salutedevices.com/ > > V1 -> V2: > - Add more verbose

Re: [RFT PATCH 0/2] mmc: meson-gx: improve MMC reliabilty

2023-09-28 Thread neil . armstrong
From: Neil Armstrong Hi, On Fri, 15 Sep 2023 18:01:28 +0200, Jerome Brunet wrote: > Amlogic MMC on the GX (and later) SoCs has been problematic for years, > especially with u-boot. > > Linux has been fairly stable for a few years. It is using a fixed phase > setting with Core =

Re: [PATCH v1 8/8] arch: a1: introduce USB initialization functionality

2023-10-03 Thread neil . armstrong
Hi, On 02/10/2023 18:58, Alexey Romanov wrote: This is entrypoint for USB stack initialization. Function board_usb_init will be called from cmd/fastboot.c code. This should not be needed anymore, using DM_USB_GADGET should work, look how it was changed for G12A/SM1 and GXL/AXG: https://lore.ke

Re: [PATCH v1 1/8] dt-bindings: reset: add Meson A1 reset bindings

2023-10-03 Thread neil . armstrong
*/ + +#endif Reviewed-by: Neil Armstrong

Re: [PATCH v1 2/8] reset: add support for Amlogic A1 family

2023-10-03 Thread neil . armstrong
(struct udevice *dev) { struct meson_reset_priv *priv = dev_get_priv(dev); + priv->drvdata = (struct meson_reset_drvdata *)dev_get_driver_data(dev); return regmap_init_mem(dev_ofnode(dev), &priv->regmap); } Reviewed-by: Neil Armstrong

Re: [PATCH v1 3/8] phy: get rid of raw hex values

2023-10-03 Thread neil . armstrong
RL_R13, 0x78000); + regmap_write(priv->regmap, PHY_CTRL_R13, + PHY_CTRL_R13_UPDATE_PMA_SIGNALS | + FIELD_PREP(PHY_CTRL_R13_MIN_COUNT_FOR_SYNC_DET, 7)); return 0; } Reviewed-by: Neil Armstrong

Re: [PATCH v1 4/8] phy: move clk enable/disable in init/exit

2023-10-03 Thread neil . armstrong
if (ret && ret != -ENOSYS && ret != -ENOTSUPP) { - pr_err("failed to enable PHY clock\n"); - clk_free(&priv->clk); - return ret; - } #endif return 0; Reviewed-by: Neil Armstrong

Re: [PATCH v1 5/8] phy: support Amlogic A1 family

2023-10-03 Thread neil . armstrong
On 02/10/2023 18:58, Alexey Romanov wrote: Setting G12A and A1 is similar, so we can use G12A phy driver with little changes. Signed-off-by: Alexey Romanov --- drivers/phy/Kconfig | 2 +- drivers/phy/meson-g12a-usb2.c | 77 --- 2 files changed, 64

Re: [PATCH v1 6/8] a1: clk: Add missing CLKID_USB_PHY_IN gate

2023-10-03 Thread neil . armstrong
quot;usb_phy_in", A1_SYS_OSCIN_CTRL, 2, + EXTERNAL_XTAL + ), [CLKID_SARADC] = CLK_GATE("saradc", A1_SAR_ADC_CLK_CTR, 8, -ENOENT ), Reviewed-by: Neil Armstrong

Re: [PATCH v1 7/8] dwc3: add support for Amlogic A1 family

2023-10-03 Thread neil . armstrong
dwc3_meson_g12a_ids[] = { - { .compatible = "amlogic,meson-g12a-usb-ctrl" }, + { + .compatible = "amlogic,meson-g12a-usb-ctrl", + .data = (ulong)&meson_g12a_drvdata, + }, + { + .compatible = "amlogic,meson-a1-usb-ctrl", + .data = (ulong)&meson_a1_drvdata, + }, { } }; Reviewed-by: Neil Armstrong

Re: [PATCH v2 5/8] phy: support Amlogic A1 family

2023-10-03 Thread neil . armstrong
y" }, + { + .compatible = "amlogic,g12a-usb2-phy", + .data = (ulong)MESON_SOC_G12A, + }, + { + .compatible = "amlogic,a1-usb2-phy", + .data = (ulong)MESON_SOC_A1, + }, { } }; Reviewed-by: Neil Armstrong

Re: [PATCH v2 6/8] a1: clk: Add missing USB_PHY_IN and USB_PHY gates

2023-10-03 Thread neil . armstrong
_ADC_CLK_CTR, 8, -ENOENT ), Reviewed-by: Neil Armstrong

Re: [PATCH v2 8/8] ad401: enable USB stack

2023-10-03 Thread neil . armstrong
B_GADGET=y +CONFIG_USB_GADGET=y CONFIG_WDT=y Reviewed-by: Neil Armstrong

Re: [PATCH v1 2/2] ARM: amlogic: ad401: enable SPIFC

2023-10-04 Thread Neil Armstrong
..9a88e20a6a 100644 --- a/configs/ad401_defconfig +++ b/configs/ad401_defconfig @@ -51,4 +51,5 @@ CONFIG_DEBUG_UART_SKIP_INIT=y CONFIG_MESON_SERIAL=y CONFIG_SPI=y CONFIG_DM_SPI=y +CONFIG_MESON_SPIFC_A1=y CONFIG_WDT=y Reviewed-by: Neil Armstrong

Re: [PATCH v3 6/8] drivers: introduce Meson Secure Monitor driver

2023-10-04 Thread neil . armstrong
Hi, On 21/09/2023 10:13, Alexey Romanov wrote: This patch adds an implementation of the Meson Secure Monitor driver based on UCLASS_SM. Signed-off-by: Alexey Romanov Reviewed-by: Simon Glass --- MAINTAINERS | 1 + drivers/sm/Kconfig| 7 ++ drivers/sm/Makefile | 1 +

Re: [PATCH v2 0/8] Support USB for Meson A1

2023-10-04 Thread neil . armstrong
On 03/10/2023 13:28, Alexey Romanov wrote: Hello! This patchset adds USB stack support for Amlogic A1 SoC's series. Made reset / phy / dwc3 drivers more flexible and added support for A1 board. V2: - Made power domain for PHY optional. - Add missing CLKID_USB_PHY gate. - Drop patch with USB st

Re: [PATCH v1] drivers: sm: fix build warning

2023-10-05 Thread neil . armstrong
On 05/10/2023 10:19, Alexey Romanov wrote: This fixes following warning during u-boot build: WARNING: unmet direct dependencies detected for MESON_SM Depends on [n]: SM [=n] Selected by [y]: - MESON64_COMMON [=y] && ARM [=y] && ARCH_MESON [=y] Fixes: 9849712e7655 ("drivers: introduce Me

Re: [PATCH v3 0/8] Support USB for Meson A1

2023-10-05 Thread neil . armstrong
From: Neil Armstrong Hi, On Thu, 5 Oct 2023 11:54:21 +0300, Alexey Romanov wrote: > This patchset adds USB stack support for Amlogic A1 SoC's > series. Made reset / phy / dwc3 drivers more flexible and > added support for A1 board. > > V2: > > - Made power domain

Re: [RFC PATCH v1 1/5] ARM: dts: Add Amlogic Meson A1 DT from Linux 6.3-rc7

2023-05-04 Thread Neil Armstrong
efine GPIOF_6 43 +#define GPIOF_744 +#define GPIOF_845 +#define GPIOF_946 +#define GPIOF_10 47 +#define GPIOF_11 48 +#define GPIOF_12 49 +#define GPIOA_050 +#define GPIOA_151 +#define GPIOA_252 +#define GPIOA_353 +#define GPIOA_454 +#define GPIOA_555 +#define GPIOA_656 +#define GPIOA_757 +#define GPIOA_858 +#define GPIOA_959 +#define GPIOA_10 60 +#define GPIOA_11 61 + +#endif /* _DT_BINDINGS_MESON_A1_GPIO_H */ Reviewed-by: Neil Armstrong

Re: [RFC PATCH v1 2/5] ARM: dts: sync meson-a1-ad401 from Linux 6.3-rc7

2023-05-04 Thread Neil Armstrong
reg = <0x0 0x0 0x0 0x800>; + }; +}; + +&uart_AO_B { + status = "okay"; +}; Reviewed-by: Neil Armstrong

Re: [RFC PATCH v1 3/5] ARM: meson: add A1 support

2023-05-04 Thread Neil Armstrong
0xc4301000 #define GICC_BASE 0xc4302000 Reviewed-by: Neil Armstrong

  1   2   3   4   5   6   7   8   9   10   >