://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
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
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
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
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
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.
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
(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
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
-m5.rst
F:doc/board/amlogic/radxa-zero.rst
Reviewed-by: 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
..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,
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
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
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
/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-
_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
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"
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
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
gic,meson-rng",
+ .data = (ulong)&meson_rng_priv,
+ },
+ {
+ .compatible = "amlogic,meson-s4-rng",
+ .data = (ulong)&meson_rng_priv_s4,
},
{},
};
Reviewed-by: 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
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
---
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/
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
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
p;meson_clk_ops,
+ .probe = meson_clk_probe,
+};
Reviewed-by: Neil Armstrong
uot;amlogic,meson-a1-uart" },
{ }
};
Reviewed-by: 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
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
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
>
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
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
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
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
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
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
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
_SARADC_MESON=y
CONFIG_BUTTON=y
---
base-commit: 14a21f1a80afc58d52dc72e35f27d3a47d36c082
change-id: 20231026-fix-saveenv-eb5484622282
Best regards,
Reviewed-by: 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
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
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
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
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
("usb_phy", A1_SYS_CLK_EN0, 27,
CLKID_SYS
),
Reviewed-by: 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
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
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
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")
>
>
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
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
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
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
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
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
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
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
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
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
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
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
/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
+++ 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
/u-boot.bin.sd.bin of=$DEV conv=fsync,notrunc bs=1 count=440
Reviewed-by: 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
12 skip=1 seek=1
+$ dd if=fip/u-boot.gxbb of=$DEV conv=fsync,notrunc bs=1 count=440
Reviewed-by: 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 (
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
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
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
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
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
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
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
eviewed-by: Neil Armstrong
I'll apply it for next u-boot release,
Thanks,
Neil
/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
Q
+#if CONFIG_IS_ENABLED(MMC_PWRSEQ)
/**
* mmc_pwrseq_get_power() - get a power device from device tree
*
Reviewed-by: 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
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
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
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 =
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
*/
+
+#endif
Reviewed-by: 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
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
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
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
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
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
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
_ADC_CLK_CTR, 8,
-ENOENT
),
Reviewed-by: Neil Armstrong
B_GADGET=y
+CONFIG_USB_GADGET=y
CONFIG_WDT=y
Reviewed-by: 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
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 +
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
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
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
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
reg = <0x0 0x0 0x0 0x800>;
+ };
+};
+
+&uart_AO_B {
+ status = "okay";
+};
Reviewed-by: Neil Armstrong
0xc4301000
#define GICC_BASE 0xc4302000
Reviewed-by: Neil Armstrong
1 - 100 of 1715 matches
Mail list logo