[U-Boot] [PATCH 1/3] ARM: dts: add support for Odroid-N2

2019-07-22 Thread Neil Armstrong
Import HardKernel Odroid-N2 DT from Linux 5.3-rc1, commit 5f9e832c1370 ("Linus 5.3-rc1") based on an Amlogic G12B S922X SoC. Signed-off-by: Neil Armstrong --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/meson-g12b-odroid-n2.dts | 386 ++

[U-Boot] [PATCH 2/3] ARM: meson-g12a: Handle 4GiB DRAM size

2019-07-22 Thread Neil Armstrong
available physical space, 3.8GiB aligned with the mm_region memory zone size. Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/board-g12a.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-meson/board-g12a.c b/arch/arm/mach-meson/board-g12a.c index

[U-Boot] [PATCH 3/3] board: amlogic: add support for Odroid-N2

2019-07-22 Thread Neil Armstrong
- eMMC, microSD - Infrared receiver The board directory is W400, the name of the Amlogic Reference Design of Amlogic G12B with Gigabit boards, which will be used for similar boards. Signed-off-by: Neil Armstrong --- board/amlogic/w400/MAINTAINERS | 6 ++ board/amlogic/w400/Makefile

Re: [U-Boot] [PATCH 3/3] board: amlogic: add support for Odroid-N2

2019-07-23 Thread Neil Armstrong
Hi Anand, On 22/07/2019 19:08, Anand Moon wrote: > Hi Neil, > > On Mon, 22 Jul 2019 at 16:00, Neil Armstrong wrote: >> >> ODROID-N2 is a single board computer manufactured by Hardkernel Co. Ltd >> with the following specifications: >> >> - Amlogic S922

Re: [U-Boot] [PATCH 1/3] ARM: dts: add support for Odroid-N2

2019-07-23 Thread Neil Armstrong
Hi Anand, On 22/07/2019 19:07, Anand Moon wrote: > Hi Neil, > > On Mon, 22 Jul 2019 at 15:50, Neil Armstrong wrote: >> >> Import HardKernel Odroid-N2 DT from Linux 5.3-rc1, commit 5f9e832c1370 >> ("Linus 5.3-rc1") based on an Amlogic G12B S922X SoC

Re: [U-Boot] [PATCH 1/3] edid: add edid_get_timing_validate() variant to filter out edid modes

2019-07-24 Thread Neil Armstrong
On 04/07/2019 15:52, Neil Armstrong wrote: > The original edid_get_timing() function returns the first valid timing, > but on some plaforms, we could only supports a subset of the listed > monitot's navite timing. > > Let's introduce a edid_get_timing_validate() add

[U-Boot] [PATCH] edid: fix edid_get_timing_validate() mode_valid lookup

2019-07-29 Thread Neil Armstrong
Add a condition to the break in the modes lookup, without this when the first mode is not valid, then edid_get_timing_validate() return an error instead of checking the next modes. Fixes: 1c1ed441b0d1 ("edid: add edid_get_timing_validate() variant to filter out edid modes") Signed-of

[U-Boot] [PATCH 0/3] amlogic: Add support for Odroid-N2

2019-07-29 Thread Neil Armstrong
since v1: - Fix typo in README.odroid-n2 Neil Armstrong (3): ARM: dts: add support for Odroid-N2 ARM: meson-g12a: Handle 4GiB DRAM size board: amlogic: add support for Odroid-N2 arch/arm/dts/Makefile | 3 +- arch/arm/dts/meson-g12b-odroid-n2.dts | 386

[U-Boot] [PATCH 1/3] ARM: dts: add support for Odroid-N2

2019-07-29 Thread Neil Armstrong
Import HardKernel Odroid-N2 DT from Linux 5.3-rc1, commit 5f9e832c1370 ("Linus 5.3-rc1") based on an Amlogic G12B S922X SoC. Signed-off-by: Neil Armstrong --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/meson-g12b-odroid-n2.dts | 386 ++

[U-Boot] [PATCH 2/3] ARM: meson-g12a: Handle 4GiB DRAM size

2019-07-29 Thread Neil Armstrong
available physical space, 3.8GiB aligned with the mm_region memory zone size. Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/board-g12a.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-meson/board-g12a.c b/arch/arm/mach-meson/board-g12a.c index

[U-Boot] [PATCH 3/3] board: amlogic: add support for Odroid-N2

2019-07-29 Thread Neil Armstrong
- eMMC, microSD - Infrared receiver The board directory is W400, the name of the Amlogic Reference Design of Amlogic G12B with Gigabit boards, which will be used for similar boards. Signed-off-by: Neil Armstrong --- board/amlogic/w400/MAINTAINERS | 6 ++ board/amlogic/w400/Makefile

[U-Boot] [PATCH 0/5] amlogic: add support for the SEI Robotic SEI510

2019-07-29 Thread Neil Armstrong
Module The board default behaviour is for booting Android and triggers fastboot on recovery or reboot mode. Jerome Brunet (1): boards: meson: add g12a sei510 Neil Armstrong (4): ARM: dts: Import Amlogic G12A SEI510 DT from Linux 5.3-rc1 configs: meson64: permit redefining ENV_SIZE ARM: meson

[U-Boot] [PATCH 1/5] ARM: dts: Import Amlogic G12A SEI510 DT from Linux 5.3-rc1

2019-07-29 Thread Neil Armstrong
Import Linux 5.2-rc1 sei510 DT from 5f9e832c1370 ("Linus 5.3-rc1") for the meson-g12a-sei510 board. --- arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-g12a-sei510.dts | 502 + 2 files changed, 503 insertions(+) create mode 100644 arch/arm/dts/meson-g12a

[U-Boot] [PATCH 2/5] configs: meson64: permit redefining ENV_SIZE

2019-07-29 Thread Neil Armstrong
Permit redefining ENV_SIZE for board specific configs. --- include/configs/meson64.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/meson64.h b/include/configs/meson64.h index d82a674270..e707a1893f 100644 --- a/include/configs/meson64.h +++ b/include/configs/meson64.h @@ -3

[U-Boot] [PATCH 5/5] configs: sei510: disable PSCI_RESET to support fastboot reboot_flag

2019-07-29 Thread Neil Armstrong
Disable the PSCI_RESET reboot handler to permit handling the reboot flag and calling the PSCI handler with the flag in parameter. --- configs/sei510_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/sei510_defconfig b/configs/sei510_defconfig index 20534bd6b4..6c89d4a381 100644

[U-Boot] [PATCH 3/5] boards: meson: add g12a sei510

2019-07-29 Thread Neil Armstrong
Control", + "serial - read chip unique id to memory address\n" + "sm reboot_reason [name] - get reboot reason and store to to environment\n" + "sm efuse_read- read length bytes from efuse offset to memory address" +); diff --git a/board/a

[U-Boot] [PATCH 4/5] ARM: meson: Add support for fastboot_set_reboot_flag()

2019-07-29 Thread Neil Armstrong
Add support for fastboot_set_reboot_flag() by storing the reboot flag in the common code to be used by the custom PSCI reboot handler. --- arch/arm/mach-meson/board-common.c | 33 ++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/mach-meson/board-common.c b/ar

Re: [U-Boot] [PATCH 0/5] amlogic: add support for the SEI Robotic SEI510

2019-07-29 Thread Neil Armstrong
On 29/07/2019 16:01, Neil Armstrong wrote: > The SEI510 board is based on the Amlogic S905X2 SoC > from the Amlogic G12A SoC family. > > The board has the following specifications : > - Amlogic S905X2 ARM Cortex-A53 quad-core SoC > - XGB DDR4 SDRAM > - 10/100 Ethernet (Inte

[U-Boot] [RESEND PATCH 0/5] amlogic: add support for the SEI Robotic SEI510

2019-07-29 Thread Neil Armstrong
Module The board default behaviour is for booting Android and triggers fastboot on recovery or reboot mode. Jerome Brunet (1): boards: meson: add g12a sei510 Neil Armstrong (4): ARM: dts: Import Amlogic G12A SEI510 DT from Linux 5.3-rc1 configs: meson64: permit redefining ENV_SIZE ARM: meson

[U-Boot] [RESEND PATCH 1/5] ARM: dts: Import Amlogic G12A SEI510 DT from Linux 5.3-rc1

2019-07-29 Thread Neil Armstrong
Import Linux 5.2-rc1 sei510 DT from 5f9e832c1370 ("Linus 5.3-rc1") for the meson-g12a-sei510 board. Signed-off-by: Neil Armstrong --- arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-g12a-sei510.dts | 502 + 2 files changed, 503 insertions(

[U-Boot] [RESEND PATCH 2/5] configs: meson64: permit redefining ENV_SIZE

2019-07-29 Thread Neil Armstrong
Permit redefining ENV_SIZE for board specific configs. Signed-off-by: Neil Armstrong --- include/configs/meson64.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/meson64.h b/include/configs/meson64.h index d82a674270..e707a1893f 100644 --- a/include/configs/meson64.h

[U-Boot] [RESEND PATCH 3/5] boards: meson: add g12a sei510

2019-07-29 Thread Neil Armstrong
: Jerome Brunet Signed-off-by: Guillaume La Roque Signed-off-by: Neil Armstrong --- arch/arm/include/asm/arch-meson/sm.h | 18 arch/arm/mach-meson/sm.c | 155 +++ board/amlogic/sei510/MAINTAINERS | 5 + board/amlogic/sei510/Makefile| 6

[U-Boot] [RESEND PATCH 4/5] ARM: meson: Add support for fastboot_set_reboot_flag()

2019-07-29 Thread Neil Armstrong
Add support for fastboot_set_reboot_flag() by storing the reboot flag in the common code to be used by the custom PSCI reboot handler. Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/board-common.c | 33 ++ 1 file changed, 33 insertions(+) diff --git a/arch

[U-Boot] [RESEND PATCH 5/5] configs: sei510: disable PSCI_RESET to support fastboot reboot_flag

2019-07-29 Thread Neil Armstrong
Disable the PSCI_RESET reboot handler to permit handling the reboot flag and calling the PSCI handler with the flag in parameter. Signed-off-by: Neil Armstrong --- configs/sei510_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/sei510_defconfig b/configs/sei510_defconfig

Re: [U-Boot] [PATCH 1/1] clk: meson: remove duplicate logic

2019-07-31 Thread Neil Armstrong
case CLKID_VPU: > return meson_clk_set_rate_by_id(clk, > meson_mux_get_parent(clk, CLKID_VPU), rate, > -- > 2.20.1 > Acked-by: Neil Armstrong Applied on u-boot-amlogic Thanks, Neil ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 0/3] amlogic: Add support for Odroid-N2

2019-07-31 Thread Neil Armstrong
On 29/07/2019 15:45, Neil Armstrong wrote: > ODROID-N2 is a single board computer manufactured by Hardkernel Co. Ltd > with the following specifications: > > - Amlogic S922X ARM Cortex-A53 dual-core + Cortex-A73 quad-core SoC > - 4GB DDR4 SDRAM > - Gigabit Ethernet >

Re: [U-Boot] [PATCH] ARM: dts: Sync Amlogic G12A with Linux 5.3-rc1

2019-07-31 Thread Neil Armstrong
On 22/07/2019 10:16, Neil Armstrong wrote: > Sync the Amlogic Meson G12A DT and Bindings file with the Linux 5.3-rc1 > from the commit 5f9e832c1370 ("Linus 5.3-rc1"). > > Also remove the meson-g12a-u-boot.dtsi and meson-g12a-u200-u-boot.dtsi, > now conflicting

Re: [U-Boot] [PATCH 0/3] amlogic: Add support for Odroid-N2

2019-07-31 Thread Neil Armstrong
Hi, On 31/07/2019 11:30, Mark Kettenis wrote: >> From: Neil Armstrong >> Date: Wed, 31 Jul 2019 09:18:10 +0200 >> >> On 29/07/2019 15:45, Neil Armstrong wrote: >>> ODROID-N2 is a single board computer manufactured by Hardkernel Co. Ltd >>> with the fo

[U-Boot] [PULL u-boot] Please pull u-boot-amlogic-20190731

2019-07-31 Thread Neil Armstrong
Amlogic G12B based Odroid-N2 - small duplicate logic fix for gxbb clock driver Heinrich Schuchardt (1): clk: meson: remove duplicate logic Neil Armstrong (4): ARM: dts: Sync Amlogic G12A with Linux 5.3-rc1 ARM: dts

[U-Boot] [PATCH v2 0/7] amlogic: add support for the SEI Robotic SEI510

2019-08-06 Thread Neil Armstrong
Module The board default behaviour is for booting Android and triggers fastboot on recovery or reboot mode. Changes since v1: - moved sm and reboot_reason code into separate patches - removed unused sm subcommand Jerome Brunet (1): boards: meson: add g12a sei510 Neil Armstrong (6): ARM: dts

[U-Boot] [PATCH v2 4/7] arm: meson: add sm command to retrieve the reboot reason

2019-08-06 Thread Neil Armstrong
fied environment variable with the reboot reason in human readable format. Signed-off-by: Neil Armstrong --- arch/arm/include/asm/arch-meson/sm.h | 18 ++ arch/arm/mach-meson/sm.c | 87 +++- 2 files changed, 104 insertions(+), 1 deletion(-) diff --git a/a

[U-Boot] [PATCH v2 1/7] ARM: dts: Import Amlogic G12A SEI510 DT from Linux 5.3-rc1

2019-08-06 Thread Neil Armstrong
Import Linux 5.2-rc1 sei510 DT from 5f9e832c1370 ("Linus 5.3-rc1") for the meson-g12a-sei510 board. Signed-off-by: Neil Armstrong --- arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-g12a-sei510.dts | 502 + 2 files changed, 503 insertions(

[U-Boot] [PATCH v2 2/7] configs: meson64: permit redefining ENV_SIZE

2019-08-06 Thread Neil Armstrong
Permit redefining ENV_SIZE for board specific configs. Signed-off-by: Neil Armstrong --- include/configs/meson64.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/meson64.h b/include/configs/meson64.h index 78b1615d5c..f8d3eee292 100644 --- a/include/configs/meson64.h

[U-Boot] [PATCH v2 7/7] configs: sei510: disable PSCI_RESET to support fastboot reboot_flag

2019-08-06 Thread Neil Armstrong
Disable the PSCI_RESET reboot handler to permit handling the reboot flag and calling the PSCI handler with the flag in parameter. Signed-off-by: Neil Armstrong --- configs/sei510_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/sei510_defconfig b/configs/sei510_defconfig

[U-Boot] [PATCH v2 5/7] boards: meson: add g12a sei510

2019-08-06 Thread Neil Armstrong
: Jerome Brunet Signed-off-by: Guillaume La Roque Signed-off-by: Neil Armstrong --- board/amlogic/sei510/MAINTAINERS | 5 ++ board/amlogic/sei510/Makefile| 6 ++ board/amlogic/sei510/README | 123 +++ board/amlogic/sei510/sei510.c| 26 ++ configs

[U-Boot] [PATCH v2 3/7] arm: meson: add sm cmd to retrieve SoC serial

2019-08-06 Thread Neil Armstrong
nd will be extended in further patches. Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/sm.c | 48 1 file changed, 48 insertions(+) diff --git a/arch/arm/mach-meson/sm.c b/arch/arm/mach-meson/sm.c index 05b7f0bdf2..99fa17d9a8 100644 --- a/arch/arm/

[U-Boot] [PATCH v2 6/7] ARM: meson: Add support for fastboot_set_reboot_flag()

2019-08-06 Thread Neil Armstrong
Add support for fastboot_set_reboot_flag() by storing the reboot flag in the common code to be used by the custom PSCI reboot handler. Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/board-common.c | 33 ++ 1 file changed, 33 insertions(+) diff --git a/arch

Re: [U-Boot] [PATCH] board: amlogic: document alternative libretech-cc installation methods

2019-08-06 Thread Neil Armstrong
e have more comments on it by Andreas and others. Thanks, Neil > > Signed-off-by: Daniel Drake > Cc: Neil Armstrong > --- > board/amlogic/p212/README.libretech-cc | 41 +++--- > 1 file changed, 37 insertions(+), 4 deletions(-) > > diff --git a/board/aml

Re: [U-Boot] [PATCH] usb: dwc3: Kconfig: get rid of obsolete mode selection

2019-08-08 Thread Neil Armstrong
XHCI_DWC3=y > CONFIG_USB_DWC3=y > +# CONFIG_USB_DWC3_GADGET is not set > CONFIG_USB_DWC3_MESON_G12A=y > CONFIG_CMD_USB=y > CONFIG_CMD_USB_MASS_STORAGE=y For odroid-n2_defconfig : Acked-by: Neil Armstrong > diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/K

Re: [U-Boot] [PATCH v2 5/7] boards: meson: add g12a sei510

2019-08-12 Thread Neil Armstrong
On 06/08/2019 17:43, Neil Armstrong wrote: > From: Jerome Brunet > > The SEI510 board is based on the Amlogic S905X2 SoC > from the Amlogic G12A SoC family. > > The board has the following specifications : > - Amlogic S905X2 ARM Cortex-A53 quad-core SoC > - XGB DDR4 S

[U-Boot] [PULL u-boot] Please pull u-boot-amlogic-20190812

2019-08-12 Thread Neil Armstrong
rds: meson: add g12a sei510 Neil Armstrong (6): ARM: dts: Import Amlogic G12A SEI510 DT from Linux 5.3-rc1 configs: meson64: permit redefining ENV_SIZE arm: meson: add sm cmd to retrieve SoC serial arm: meson: add sm command to retrieve the reboot reason ARM: meson: Add s

Re: [U-Boot] U-Boot/EBBR plugfest at ELC-EU?

2019-08-13 Thread Neil Armstrong
Hi, On 08/08/2019 13:06, Grant Likely wrote: > > > On 28/06/2019 09:19, Grant Likely wrote: >> Quick poll: who would be interested in a U-Boot/EBBR plugfest event >> collocates with ELC-EU this year (week of 28th Oct)? >> >> In the EBBR meetings we’ve tossed around the idea of an U-Boot/EBBR pl

[U-Boot] [PATCH 0/3] video: add support for EDID timings validation

2019-07-04 Thread Neil Armstrong
example. Neil Armstrong (3): edid: add edid_get_timing_validate() variant to filter out edid modes video: display: use edid_get_timing_validate() variant to filter supported EDID modes video: meson: dw-hdmi: add EDID mode filtering to only select supported modes common/edid.c

[U-Boot] [PATCH 2/3] video: display: use edid_get_timing_validate() variant to filter supported EDID modes

2019-07-04 Thread Neil Armstrong
Introduce a new display op, mode_valid() to be used with the newly introduced edid_get_timing_validate() function, to filter supported monitor timings if handled by the display driver. Signed-off-by: Neil Armstrong --- drivers/video/display-uclass.c | 15 ++- include/display.h

[U-Boot] [PATCH 1/3] edid: add edid_get_timing_validate() variant to filter out edid modes

2019-07-04 Thread Neil Armstrong
e callback returns false, the current timing is discared and the next one is checked. If no valid & supported timings are found, the function would return an error. Signed-off-by: Neil Armstrong --- common/edid.c | 22 +++--- include/edid.h | 22 ++ 2 fil

[U-Boot] [PATCH 3/3] video: meson: dw-hdmi: add EDID mode filtering to only select supported modes

2019-07-04 Thread Neil Armstrong
Add support for the new mode_valid() display op to filter out unsupported display DMT timings. This is useful when connected to 4k displays, since we only support DMT monitors up to 1920x1080, the 4k native timings are discarded to select supported timings. Signed-off-by: Neil Armstrong

[U-Boot] [PATCH] board: amlogic: add mailing-list to MAINTAINERS

2019-07-04 Thread Neil Armstrong
Add missing mailing-list to the amlogic boards MAINTAINERS file. Signed-off-by: Neil Armstrong --- board/amlogic/p200/MAINTAINERS | 1 + board/amlogic/p201/MAINTAINERS | 1 + board/amlogic/p212/MAINTAINERS | 1 + board/amlogic/q200/MAINTAINERS | 1 + board/amlogic/s400/MAINTAINERS | 1 + board

Re: [U-Boot] [PATCH 0/3] amlogic: add unique MAC address generatio

2019-07-04 Thread Neil Armstrong
On 12/06/2019 11:49, Neil Armstrong wrote: > This patchset adds support for generating an unique MAC address per-SoC, > and enables it on the q200 (VIM2) and P212 (libretech-cc, khadas-vim, > libretech-ac) > based boards. > > Neil Armstrong (3): > ARM: meson: sm: Add se

[U-Boot] [PULL u-boot] Please pull u-boot-amlogic-20190704

2019-07-04 Thread Neil Armstrong
16:04:59 +0200) - fix khadas-vim README - add support for unique generated MAC adresses from SoC serial, limited to Amlogic GXL/GXM boards for now Andreas Färber (1): board: amlogic: vim: F

Re: [U-Boot] [PATCH] board: amlogic: add mailing-list to MAINTAINERS

2019-07-05 Thread Neil Armstrong
On 05/07/2019 02:01, Tom Rini wrote: > On Thu, Jul 04, 2019 at 03:59:38PM +0200, Neil Armstrong wrote: > >> Add missing mailing-list to the amlogic boards MAINTAINERS file. >> >> Signed-off-by: Neil Armstrong > > Since you're going on vacation and this makes s

[U-Boot] [PATCH] fastboot: common: fix default fastboot_boot on 64-bit

2019-02-20 Thread Neil Armstrong
ull 64-bit address passed to bootm. Fixes: f73a7df984a9 ("net: fastboot: Merge AOSP UDP fastboot") Cc: Simon Glass Cc: Alex Kiernan Cc: Sam Protsenko Signed-off-by: Neil Armstrong --- drivers/fastboot/fb_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

Re: [U-Boot] [PATCH 1/2] phy: meson: add GXBB PHY driver

2019-08-19 Thread Neil Armstrong
lator\n"); > + return ret; > + } > +#endif > + ret = reset_get_bulk(dev, &priv->resets); > + if (!ret) { > + ret = reset_deassert_bulk(&priv->resets); > + if (ret) { > + pr_err("Failed to

Re: [U-Boot] [PATCH] clk: meson-g12b: add compatible

2019-08-28 Thread Neil Armstrong
Hi Mark, On 27/08/2019 23:06, Mark Kettenis wrote: > The G12B clock controller is almost identical to the G12A and > so far the differences don't matter. Adding the G12B compatible > makes USB work on the Odroid-N2. Indeed I forgot this when syncing with linux DTB, Applying and sending right now

Re: [U-Boot] Enable USB host controller on Odroid-C2

2019-08-28 Thread Neil Armstrong
On 18/08/2019 15:42, Beniamino Galvani wrote: > Hi, > > these two patches enable the USB host controller on Odroid-C2. The > first patch adds a PHY driver; the second one enables the necessary > configuration options and updates the device tree. > > Note that the DWC2 driver currently does not su

Re: [U-Boot] [PATCH] board: amlogic: document alternative libretech-cc installation methods

2019-08-28 Thread Neil Armstrong
Neil > > Signed-off-by: Daniel Drake > Cc: Neil Armstrong > --- > board/amlogic/p212/README.libretech-cc | 41 +++--- > 1 file changed, 37 insertions(+), 4 deletions(-) > > diff --git a/board/amlogic/p212/README.libretech-cc > b/board/amlogic/p212

[U-Boot] [PULL u-boot] Please pull u-boot-amlogic-20190828

2019-08-28 Thread Neil Armstrong
Hi Tom, This PR simply adds a missing compatible enabling the G12B clock controller. The CI jobs passed at https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/568 Thanks, Neil The following changes since commit e4b8dd9b34021241cd05d5cc9d24b4ae34657830: Merge https://gitlab.den

[U-Boot] [PATCH 1/8] power: domain: meson-gx-pwrc: add G12A support

2019-08-30 Thread Neil Armstrong
Add Amlogic G12A support for the gx-pwrc driver, aligned on the Linux v5.2 driver. Signed-off-by: Neil Armstrong --- drivers/power/domain/meson-gx-pwrc-vpu.c | 155 +-- 1 file changed, 145 insertions(+), 10 deletions(-) diff --git a/drivers/power/domain/meson-gx-pwrc-vpu.c

[U-Boot] [PATCH 0/8] arm: meson: add Video support for G12A and SEI510 board

2019-08-30 Thread Neil Armstrong
flashed partition on the SEI510 board. U200 and Odroid-N2 config support will be added later. Neil Armstrong (8): power: domain: meson-gx-pwrc: add G12A support clk: meson: g12a: add support for VPU/HDMI clocks video: meson: remove power domain get video: meson: sync with linux drm-misc tree

[U-Boot] [PATCH 2/8] clk: meson: g12a: add support for VPU/HDMI clocks

2019-08-30 Thread Neil Armstrong
Add necessary clock support to set up clock for the VPU and HDMI support. Signed-off-by: Neil Armstrong --- drivers/clk/meson/g12a.c | 620 +-- 1 file changed, 603 insertions(+), 17 deletions(-) diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson

[U-Boot] [PATCH 7/8] ARM: dts: meson-g12a: add U-Boot specific DT for graphics

2019-08-30 Thread Neil Armstrong
Like the meson-gx support, add the U-Boot specific bits in DT to support graphics on G12A SoCs. Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-g12a-sei510-u-boot.dtsi| 7 + arch/arm/dts/meson-g12a-u-boot.dtsi | 29 +++ arch/arm/dts/meson-g12a-u200-u

[U-Boot] [PATCH 5/8] video: meson: add compatible for Amlogic G12A

2019-08-30 Thread Neil Armstrong
Finally add the Amlogic G12A SoC compatible for the VPU driver. Signed-off-by: Neil Armstrong --- drivers/video/meson/meson_vpu.c | 1 + drivers/video/meson/meson_vpu.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/video/meson/meson_vpu.c b/drivers/video/meson/meson_vpu.c index

[U-Boot] [PATCH 3/8] video: meson: remove power domain get

2019-08-30 Thread Neil Armstrong
Remove getting and enabling the node power domain since it's now handled by the dm core directly. Signed-off-by: Neil Armstrong --- drivers/video/meson/meson_vpu.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/video/meson/meson_vpu.c b/drivers/video/meson/meson_

[U-Boot] [PATCH 8/8] configs: sei510: enable Video Display support

2019-08-30 Thread Neil Armstrong
Add the necessary config options to support BMP display over HDMI, and add a preboot command to load the BMP file from a predefined eMMC partition. Signed-off-by: Neil Armstrong --- configs/sei510_defconfig | 11 +++ include/configs/sei510.h | 12 2 files changed, 23

[U-Boot] [PATCH 6/8] arm: meson: board-g12a: Setup VPU in fdt

2019-08-30 Thread Neil Armstrong
If VIDEO_MESON is enabled, we need to setup the fdt for the framebuffer. Call meson_vpu_rsv_fb() which reserves the framebuffer memory region for EFI, and sets up simple-framebuffer nodes if simplefb support is enabled. Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/board-g12a.c | 5

[U-Boot] [PATCH 4/8] video: meson: sync with linux drm-misc tree

2019-08-30 Thread Neil Armstrong
constants - global clean-up - add macro used to enable HDMI PLL - venc: set the correct macrovision max amplitude value Signed-off-by: Neil Armstrong --- drivers/video/meson/meson_dw_hdmi.c | 61 - drivers/video/meson/meson_plane.c | 47 +++- drivers/video/meson/meson_registe

Re: [U-Boot] [PATCH 1/2] arm: dts: Import and update DT for Khadas VIM3

2019-09-02 Thread Neil Armstrong
Hi Andreas, On 02/09/2019 04:28, Andreas Färber wrote: > In Linux meson-g12-common.dtsi was introduced as well as new g12b nodes > and headers, as dependencies of new meson-g12b-a311d-khadas-vim3.dts. Can you precise the Linux commit ID you sync'ed from ? The best would be to sync from the v2 dt6

Re: [U-Boot] [PATCH 2/2] configs: Add Khadas VIM3 defconfig

2019-09-02 Thread Neil Armstrong
015.01 - both exist, the > above one was not working and the reason I held back the patches. Ok, this patch looks fine, please add : Reviewed-by: Neil Armstrong when you re-spin. Neil > > Regards, > Andreas > ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] arm: dts: Import and update DT for Khadas VIM3

2019-09-02 Thread Neil Armstrong
Hi Andreas On 02/09/2019 14:03, Andreas Färber wrote: > Hi Neil, > > Am 02.09.19 um 12:03 schrieb Neil Armstrong: >> On 02/09/2019 04:28, Andreas Färber wrote: >>> In Linux meson-g12-common.dtsi was introduced as well as new g12b nodes >>> and headers, as dep

Re: [U-Boot] [PATCH 1/2] arm: dts: Import and update DT for Khadas VIM3

2019-09-02 Thread Neil Armstrong
On 02/09/2019 14:45, Andreas Färber wrote: > Hi Neil, > > Am 02.09.19 um 14:10 schrieb Neil Armstrong: >> On 02/09/2019 14:03, Andreas Färber wrote: >>> Am 02.09.19 um 12:03 schrieb Neil Armstrong: >>>> On 02/09/2019 04:28, Andreas Färber wrote: >>>>

Re: [U-Boot] [usb dwc3] xHCI driver -- a hint needed.

2019-09-05 Thread Neil Armstrong
Hi Bin, I've been having the same behavior on the Amlogic S905X SoC with a DWC3 XHCI controller connected to 2 HS-only PHYs and no SS PHY. When a device is connected on the second PHY, I have the same BUG(), but no more when a device is also connected on the first PHY, and no issues at all on th

Re: [U-Boot] [usb dwc3] xHCI driver -- a hint needed.

2019-09-08 Thread Neil Armstrong
Hi Bin, Le 07/09/2019 à 05:44, Bin Meng a écrit : > Hi Neil, > > On Thu, Sep 5, 2019 at 11:48 PM Neil Armstrong > wrote: >> >> Hi Bin, >> >> I've been having the same behavior on the Amlogic S905X SoC with a DWC3 XHCI >> controller >> co

Re: [U-Boot] [usb dwc3] xHCI driver -- a hint needed.

2019-09-09 Thread Neil Armstrong
Hi Bin, On 08/09/2019 14:35, Bin Meng wrote: > Hi Neil, > > On Sun, Sep 8, 2019 at 8:33 PM Neil Armstrong wrote: >> >> Hi Bin, >> >> Le 07/09/2019 à 05:44, Bin Meng a écrit : >>> Hi Neil, >>> >>> On Thu, Sep 5, 2019 at 11:48 PM Neil

[U-Boot] [PATCH] usb: xhci-dwc3: Add support for dis_u2_susphy_quirk

2019-09-09 Thread Neil Armstrong
controller driver support") Signed-off-by: Neil Armstrong --- drivers/usb/host/xhci-dwc3.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/host/xhci-dwc3.c b/drivers/usb/host/xhci-dwc3.c index 9e8cae7ae4..55a1b22cf6 100644 --- a/drivers/usb/host/xhci-dwc3.c +++ b/drivers/usb/h

Re: [U-Boot] [PATCH] usb: xhci-dwc3: Add support for dis_u2_susphy_quirk

2019-09-10 Thread Neil Armstrong
Hi Bin, Marek, On 10/09/2019 03:56, Bin Meng wrote: > On Tue, Sep 10, 2019 at 2:52 AM Neil Armstrong > wrote: >> >> This quirk is necessary for the Amlogic GXL SoCs otherwise the >> Port 2 PHY doesn't get out of suspend and U-Boot resets the board after: >&g

[U-Boot] [PULL u-boot] Please pull u-boot-amlogic-20190910

2019-09-10 Thread Neil Armstrong
irk in the xhci-dwc3 driver to fix boot when a device is plugged only in the OTG capable port for libretech-ac and libretech-cc ---- Neil Armstrong (1): usb: xhci-dwc3: Add support for dis_u2_susphy_quirk drivers/usb/host/xhci-

Re: [U-Boot] [PATCH v2 0/4] amlogic: Add Khadas VIM3 support

2019-10-01 Thread Neil Armstrong
in README > * Mention linux-next tag for DT/header import (Neil) > * Avoid "Unknown" SoC output for A311D, fixing a typo while at it Do you have time to rebase patch 1 on Linux v5.3-rc1 ? Or do you allow me to rebase it myself ? Neil > > Cc: Neil Armstrong > > Andrea

[U-Boot] [PATCH v3 4/4] arm: meson: Recognize A311D SoC

2019-10-09 Thread Neil Armstrong
From: Andreas Färber Values imported from Linux driver, but in correct numeric order. Khadas VIM3 prints: Amlogic Meson G12B (A311D) Revision 29:b (10:2) Cc: Christian Hewitt Signed-off-by: Andreas Färber Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/board-info.c | 1 + 1 file

[U-Boot] [PATCH v3 0/4] amlogic: Add Khadas VIM3 support

2019-10-09 Thread Neil Armstrong
Hi Andreas, This is a resend from v2 with first patch resync'ed on v5.4-rc2. This mini-series adds initial support for Amlogic A311D based Khadas VIM3. v2 fixes an oversight and adds some cleanups. v2 -> v3: * Resync patch 1 on v5.4-rc2 * Removed bad signeoff of Julien Masson in patch 3 v1 ->

[U-Boot] [PATCH v3 3/4] arm: meson: Tidy SoC information output

2019-10-09 Thread Neil Armstrong
From: Andreas Färber Write SoC instead of Soc. The Linux driver is not affected. Fixes: f41d723b9f ("ARM: meson: display Amlogic SoC Information") Signed-off-by: Andreas Färber Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/board-info.c | 2 +- 1 file changed, 1 inser

[U-Boot] [PATCH v3 2/4] configs: Add Khadas VIM3 defconfig

2019-10-09 Thread Neil Armstrong
From: Andreas Färber Derived from odroid-n2_defconfig and README.odroid-n2. Reviewed-by: Neil Armstrong Signed-off-by: Andreas Färber Signed-off-by: Neil Armstrong --- board/amlogic/w400/MAINTAINERS| 1 + board/amlogic/w400/README.khadas-vim3 | 132

Re: [U-Boot] [PATCH 4/8] video: meson: sync with linux drm-misc tree

2019-10-09 Thread Neil Armstrong
Hi Anatolij, Gentle ping, did you have time to review this patchset ? Thanks, Neil On 30/08/2019 14:09, Neil Armstrong wrote: > Synchronize the Amlogic Meson Video driver back with the latest > DRM misc tree, adding G12A platform support, from the latest commit: > 528a25d040bc ("d

Re: [PATCH RFC 07/26] amlogic: drop dt-binding headers

2024-03-11 Thread Neil Armstrong
/meson-aiu.h | 18 --- include/dt-bindings/sound/meson-g12a-toacodec.h| 10 -- include/dt-bindings/sound/meson-g12a-tohdmitx.h| 13 -- 31 files changed, 2212 deletions(-) Reviewed-by: Neil Armstrong

Re: [PATCH RFC 00/26] Drop DT upstream compatible dt-binding headers

2024-03-11 Thread Neil Armstrong
ecome arduous (as is the case with Qualcomm). To: Tom Rini To: Neil Armstrong To: Sumit Garg To: Patrice Chotard To: Patrick Delaunay To: Jagan Teki To: Simon Glass To: Philipp Tomsich To: Kever Yang To: Lukasz Majewski To: Sean Anderson To: Sam Protsenko To: Matthias Brugger To:

Re: [PATCH v2 0/5] Qualcomm DWC3 USB support

2024-03-15 Thread Neil Armstrong
ge.c | 101 drivers/usb/gadget/storage_common.c | 12 +++-- include/usb_mass_storage.h | 1 - 8 files changed, 156 insertions(+), 55 deletions(-) --- base-commit: e03a71b2cefd86ba58df166d4ea820a215ebb655 // Caleb (they/them) LGTM Reviewed-by: Neil Armstrong

Re: [PATCH v2 01/14] mailmap: update Bhupesh's email address

2024-03-15 Thread Neil Armstrong
ilmap @@ -29,8 +29,9 @@ Ashok Reddy Soma Atish Patra Bharat Kumar Gogada Bharat Kumar Gogada Bhargava Sreekantappa Gayathri +Bhupesh Sharma Bin Meng Boris Brezillon Boris Brezillon Christian Kohn Reviewed-by: Neil Armstrong

Re: [PATCH v2 06/14] clk/qcom: sdm845: add gdscs

2024-03-15 Thread Neil Armstrong
, .num_clks = ARRAY_SIZE(sdm845_clks), + .power_domains = sdm845_gdscs, + .num_power_domains = ARRAY_SIZE(sdm845_gdscs), .enable = sdm845_clk_enable, .set_rate = sdm845_clk_set_rate, }; Reviewed-by: Neil Armstrong

Re: [PATCH v2 09/14] serial: msm-geni: support livetree

2024-03-15 Thread Neil Armstrong
.base = CONFIG_VAL(DEBUG_UART_BASE) Reviewed-by: Neil Armstrong

Re: [PATCH v2 13/14] qcom_defconfig: enable livetree

2024-03-15 Thread Neil Armstrong
=y CONFIG_CMD_LOG=y +CONFIG_OF_LIVE=y +# CONFIG_NET is not set +# CONFIG_OFNODE_MULTI_TREE is not set CONFIG_BUTTON_QCOM_PMIC=y CONFIG_CLK=y CONFIG_CLK_QCOM_QCS404=y CONFIG_CLK_QCOM_SDM845=y Reviewed-by: Neil Armstrong

Re: [PATCH v2 14/14] qcom_defconfig: enable USB

2024-03-15 Thread Neil Armstrong
On 15/03/2024 16:10, Caleb Connolly wrote: Enable support for the DWC3 USB controller and required dependencies for Qualcomm boards, specifically the DB845c: * IOMMU / SMMU * USB high-speed PHYs * Mass storage and ACM gadgets I don't see configs for ACM ? Neil Signed-off-by: Caleb Connolly

Re: [PATCH 1/3] ARM: dts: fix Ethernet on WeTek Hub/Play2

2024-03-18 Thread neil . armstrong
si @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 BayLibre, SAS. + * Author: Neil Armstrong + */ + +#include "meson-gx-u-boot.dtsi" + +ðmac { + snps,reset-gpio = <&gpio GPIOZ_14 0>; + snps,reset-delays-us = <0 1

Re: [PATCH 2/3] ARM: board: meson: update efuse MAC reading code

2024-03-18 Thread neil . armstrong
Hi, On 16/03/2024 14:54, Christian Hewitt wrote: Current code used for reading the factory programmed MAC from efuse on p200 boards does not appear to work resulting in a random MAC being generated. Update the p200 board data reusing the function from the VIM3 source. I'm pretty sure this code

Re: [PATCH 3/3] configs: amlogic: set board family to avoid random MAC on WeTek Hub/Play2

2024-03-18 Thread neil . armstrong
Hi, On 16/03/2024 14:54, Christian Hewitt wrote: Add CONFIG_SYS_BOARD="p200" to the Hub/Play2 board configs to ensure the factory programmed MAC is correctly read from efuse. Signed-off-by: Christian Hewitt --- configs/wetek-hub_defconfig | 1 + configs/wetek-play2_defconfig | 1 + 2 fil

[PATCH 0/4] arm: meson: Switch to using upstream DT for GXL, GXM, AXG, G12A, G12B & SM1 SoCs

2024-03-19 Thread Neil Armstrong
/arm/dts directory for these boards. Keep A1 DTs locally since the architecture is still young. CI built & tested at: https://gitlab.com/amlogic-foss/amlogic-u-boot-autotest/-/pipelines/1219273552 Signed-off-by: Neil Armstrong --- Neil Armstrong (4): dts: meson: Switch GXL, GXM &

[PATCH 1/4] dts: meson: Switch GXL, GXM & AXG to using upstream DT

2024-03-19 Thread Neil Armstrong
Enable OF_UPSTREAM to use upstream DT and add amlogic/ prefix to the DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/ including *-u-boot.dtsi files from arch/$(ARCH)/dts/ directory. Cc: Sumit Garg Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/Kconfig

[PATCH 3/4] dts: meson-g12a: Switch to using upstream DT

2024-03-19 Thread Neil Armstrong
Enable OF_UPSTREAM to use upstream DT and add amlogic/ prefix to the DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/ including *-u-boot.dtsi files from arch/$(ARCH)/dts/ directory. Cc: Sumit Garg Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/Kconfig

[PATCH] board: amlogic: fix buffler overflow in serial & usid read

2024-03-19 Thread Neil Armstrong
While meson_sm_read_efuse() doesn't overflow, the string is not zero terminated and env_set() will buffer overflow and add random characters to environment. Signed-off-by: Neil Armstrong --- board/amlogic/jethub-j80/jethub-j80.c | 6 -- board/amlogic/p200/p200.c | 3 ++-

Re: [PATCH] board: amlogic: fix buffler overflow in serial & usid read

2024-03-20 Thread Neil Armstrong
On 20/03/2024 06:28, Dan Carpenter wrote: On Tue, Mar 19, 2024 at 03:53:24PM +0100, Neil Armstrong wrote: While meson_sm_read_efuse() doesn't overflow, the string is not zero terminated and env_set() will buffer overflow and add random characters to environment. In the Linux kernel we

[PATCH v2] board: amlogic: fix buffler overflow in seria, mac & usid read

2024-03-20 Thread Neil Armstrong
While meson_sm_read_efuse() doesn't overflow, the string is not zero terminated and env_set*() will buffer overflow and add random characters to environment. Signed-off-by: Neil Armstrong --- Changes in v2: - Also fix mac_addr - Link to v1: https://lore.kernel.org/r/20240319-u-boot-fix

Re: [PATCH 0/4] arm: meson: Switch to using upstream DT for GXL, GXM, AXG, G12A, G12B & SM1 SoCs

2024-03-22 Thread Neil Armstrong
Hi Viacheslav, On 19/03/2024 15:42, Neil Armstrong wrote: Enable OF_UPSTREAM to use upstream DT and add amlogic/ prefix to the DEFAULT_DEVICE_TREE. And thereby directly build DTB from dts/upstream/src/ including *-u-boot.dtsi files from arch/$(ARCH)/dts/ directory and drop redundant files from

Re: [PATCH v1 0/3] board: amlogic: jethubj100: small updates

2024-03-25 Thread Neil Armstrong
Hi, On Tue, 27 Feb 2024 09:54:03 +0300, Viacheslav Bocharov wrote: > Update JetHub D1/D1+ board support files. > > Viacheslav Bocharov (3): > board: amlogic: jethubj100: fix common config header > board: amlogic: jethubj100: update MAINTAINERS > board: amlogic: jethubj100: update docs > >

<    8   9   10   11   12   13   14   15   16   17   >