Re: [PATCH 0/2] amlogic: add Khadas VIM3L support

2019-12-20 Thread Neil Armstrong
> 4 files changed, 290 insertions(+) > create mode 100644 arch/arm/dts/meson-sm1-khadas-vim3l.dts > create mode 100644 board/amlogic/w400/README.khadas-vim3l > create mode 100644 configs/khadas-vim3l_defconfig > Reviewed-by: Neil Armstrong Will push for next U-Boot release. Neil

Re: [U-Boot] [PATCH 1/4] mmc: meson-gx: Fix tx phase in the tuning process

2019-12-20 Thread Neil Armstrong
Hi Anand, On 04/12/2019 10:26, Neil Armstrong wrote: > Hi, > > On 27/11/2019 15:42, Anand Moon wrote: >> Hi Neil, >> >> On Wed, 27 Nov 2019 at 18:30, Neil Armstrong wrote: >>> >>> Hi, >>> >>> On 26/11/2019 22:12, Anand Moon wrote: &

Re: [U-Boot] [PATCH 1/4] mmc: meson-gx: Fix tx phase in the tuning process

2019-12-04 Thread Neil Armstrong
Hi, On 27/11/2019 15:42, Anand Moon wrote: > Hi Neil, > > On Wed, 27 Nov 2019 at 18:30, Neil Armstrong wrote: >> >> Hi, >> >> On 26/11/2019 22:12, Anand Moon wrote: >>> odroid n2 eMMC module would failed to boot up, >>> because of TX phase clk

Re: [U-Boot] [PATCH 1/4] mmc: meson-gx: Fix tx phase in the tuning process

2019-11-27 Thread Neil Armstrong
Hi, On 26/11/2019 22:12, Anand Moon wrote: > odroid n2 eMMC module would failed to boot up, > because of TX phase clk failure, fix the typo in > TX phase macro to help tune correct clk freqency. > > Before these changes. > clock is enabled (380953Hz) > clock is enabled (2500Hz) > after

Re: [U-Boot] [PATCH 2/4] configs: meson64: enable GIC support for G12A/G12B

2019-11-27 Thread Neil Armstrong
ESON_AXG) || defined(CONFIG_MESON_G12A)) > #define GICD_BASE0xffc01000 > #define GICC_BASE0xffc02000 > #else /* MESON GXL and GXBB */ > Thanks for spotting this ! Reviewed-by: Neil Armstrong ___

Re: [U-Boot] [PATCH 3/4] board: amlogic: select PWRSEQ for all amlogic platform

2019-11-27 Thread Neil Armstrong
,7 @@ config MESON64_COMMON > select DM_SERIAL > select SYSCON > select REGMAP > + select PWRSEQ > select BOARD_LATE_INIT > imply CMD_DM > > Reviewed-by: Neil Armstrong ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 4/4] board: amlogic: Add missing config option

2019-11-27 Thread Neil Armstrong
Hi, On 26/11/2019 22:12, Anand Moon wrote: > Add missing config option CONFIG_MESON_GXBB and CONFIG_SYS_BOARD, > for odroid-c2 and nanopi k2 board > > Signed-off-by: Anand Moon > --- > configs/nanopi-k2_defconfig | 2 ++ > configs/odroid-c2_defconfig | 2 ++ > 2 files changed, 4 insertions(+)

Re: [U-Boot] [PATCH 23/30] video: meson: Drop unnecessary header includes

2019-10-27 Thread Neil Armstrong
c > +++ b/drivers/video/meson/meson_canvas.c > @@ -6,6 +6,10 @@ > * Author: Neil Armstrong > */ > > +#include > +#include > +#include > + > #include "meson_vpu.h" > > /* DMC Registers */ > diff --git a/drivers/video/meson/meson_pla

Re: [U-Boot] [PATCH] configs: sei610: khadas-vim3 : disable Gadget support for the DWC3

2019-10-24 Thread Neil Armstrong
_USB=y > CONFIG_USB_XHCI_HCD=y > CONFIG_USB_XHCI_DWC3=y > CONFIG_USB_DWC3=y > +# CONFIG_USB_DWC3_GADGET is not set > CONFIG_USB_DWC3_MESON_G12A=y > CONFIG_USB_GADGET=y > CONFIG_USB_GADGET_VENDOR_NUM=0x18d1 > Acked-by: Neil Armstrong ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

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

2019-10-18 Thread Neil Armstrong
configs: sei610: Add config file to fix userdata size Neil Armstrong (16): 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 video: meson: add

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

2019-10-18 Thread Neil Armstrong
On 28/08/2019 10:22, Neil Armstrong wrote: > 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 op

Re: [U-Boot] [PATCH 0/8] amlogic: add SEI610 support

2019-10-18 Thread Neil Armstrong
On 11/10/2019 17:33, Neil Armstrong wrote: > Add support for the customer board SEI610 manufactured by SEI Robotics > with the following specifications: > - Amlogic S905X3 ARM Cortex-A35 quad-core SoC > - 2GB DDR4 SDRAM > - 10/100 Ethernet (Internal PHY) > - 1 x USB 3.0 Host

Re: [U-Boot] [PATCH 6/8] boards: amlogic: add SEI610 support

2019-10-18 Thread Neil Armstrong
On 11/10/2019 17:33, Neil Armstrong wrote: > Add support for the customer board SEI610 manufactured by SEI Robotics > with the following specifications: > - Amlogic S905X3 ARM Cortex-A35 quad-core SoC /\ Cortex-A55, will fix while applying > - 2G

Re: [U-Boot] [PATCH 0/2] amlogic: Add support for the Everything-Else power domain driver

2019-10-18 Thread Neil Armstrong
On 11/10/2019 15:12, Neil Armstrong wrote: > For SM1 support a new Power Domain driver is needed to handle more than > the VPU power domain. > > This Power Domain driver is also used for G12A to also control the Ethernet > Power Domain for example. > > Neil Armstrong (2): &

[U-Boot] [PATCH 3/8] clk: meson-sm1: add compatible

2019-10-11 Thread Neil Armstrong
The SM1 clock controller is almost identical to the G12A and so far the differences don't matter. Signed-off-by: Neil Armstrong --- drivers/clk/meson/g12a.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/meson/g12a.c b/drivers/clk/meson/g12a.c index c03738b6ca..1b2523bbf1

[U-Boot] [PATCH 8/8] configs: sei610: Add config file to fix userdata size

2019-10-11 Thread Neil Armstrong
From: Guillaume La Roque Add separate config file to handle the different eMMC size on the sei610 board. Signed-off-by: Guillaume La Roque Signed-off-by: Neil Armstrong --- board/amlogic/sei610/MAINTAINERS | 1 + configs/sei610_defconfig | 2 +- include/configs/sei610.h

[U-Boot] [PATCH 4/8] ARM: dts: Import SEI610 DT from Linux 5.4-rc2

2019-10-11 Thread Neil Armstrong
Import the Amlogic SM1 DT and the SEI610 board DT from [1] [1] da0c9ea146cb ("Linux 5.4-rc2") Signed-off-by: Neil Armstrong --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/meson-sm1-sei610.dts | 383 arch/arm/dts/meso

[U-Boot] [PATCH 6/8] boards: amlogic: add SEI610 support

2019-10-11 Thread Neil Armstrong
- SDcard - Infrared receiver - SDIO WiFi Module Like it's SEI510 counterpart, the boot flow is designed to boot Android AOSP built for the Yukawa Android device. Signed-off-by: Neil Armstrong --- board/amlogic/sei610/MAINTAINERS | 6 ++ board/amlogic/sei610/Makefile| 6 ++ board/amlogic

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

2019-10-11 Thread Neil Armstrong
Rename meson-g12a-u-boot.dtsi into meson-g12-common-u-boot.dtsi to match the new DT architecture and add meson-sm1-sei610-u-boot.dtsi to handle the U-Boot specific DT for graphics. Signed-off-by: Neil Armstrong --- ...meson-g12a-u-boot.dtsi => meson-g12-common-u-boot.dtsi} | 0 arch/arm/

[U-Boot] [PATCH 2/8] mmc: meson-gx: add support for mmc-pwrseq-emmc

2019-10-11 Thread Neil Armstrong
Add support for mmc-pwrseq-emmc in the meson-gx mmc driver to support enabling the eMMC. Signed-off-by: Neil Armstrong --- drivers/mmc/meson_gx_mmc.c | 51 ++ 1 file changed, 51 insertions(+) diff --git a/drivers/mmc/meson_gx_mmc.c b/drivers/mmc

[U-Boot] [PATCH 7/8] configs: sei510: rework header and fix userdata size

2019-10-11 Thread Neil Armstrong
From: Guillaume La Roque Move android generic config and boot sequence in meson64_android header and fix size of userdata to use all eMMC on SEI510. Signed-off-by: Guillaume La Roque Signed-off-by: Neil Armstrong --- MAINTAINERS | 1 + include/configs

[U-Boot] [PATCH 1/8] ARM: meson: add SM1 SoC id

2019-10-11 Thread Neil Armstrong
Add the missing IDs to detect the SM1 S905X3 SoC. Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/board-info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-meson/board-info.c b/arch/arm/mach-meson/board-info.c index 9571b5a189..0d3b40a249 100644 --- a/arch/arm/mach

[U-Boot] [PATCH 0/8] amlogic: add SEI610 support

2019-10-11 Thread Neil Armstrong
the SEI510 android boot flow into a common flow with custom partitions for each board. Guillaume La Roque (2): configs: sei510: rework header and fix userdata size configs: sei610: Add config file to fix userdata size Neil Armstrong (6): ARM: meson: add SM1 SoC id mmc: meson-gx: add

Re: [U-Boot] [PATCH] MAINTAINERS: Update ARM entry

2019-10-11 Thread Neil Armstrong
-55,7 +54,7 @@ alias arches arch > > alias arcuboot, abrodkin > > -alias armuboot, aaribaud, trini > +alias armuboot, trini > alias at91 uboot, abiessmann > alias davinciti > alias imxuboot, sbabic &

[U-Boot] [PATCH 1/2] power: domain: add Amlogic Everything-Else power domain driver

2019-10-11 Thread Neil Armstrong
Based on the 54ecb8f7028c ("Linux 5.4-rc1") Everything-Else power domain driver for Amlogic SoCs. This driver handles the VPU Power domain and other domains from the Everything-Else part of the SM1 and G12A SoCs. Signed-off-by: Neil Armstrong --- drivers/power/domain/Kconfig

[U-Boot] [PATCH 2/2] configs: sei510: enable everything-else power domain

2019-10-11 Thread Neil Armstrong
The GX VPU Power Domain driver has been replaced by the Everything-Else Power Domain driver for G12A and SM1. Signed-off-by: Neil Armstrong --- configs/sei510_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/sei510_defconfig b/configs/sei510_defconfig index

[U-Boot] [PATCH 0/2] amlogic: Add support for the Everything-Else power domain driver

2019-10-11 Thread Neil Armstrong
For SM1 support a new Power Domain driver is needed to handle more than the VPU power domain. This Power Domain driver is also used for G12A to also control the Ethernet Power Domain for example. Neil Armstrong (2): power: domain: add Amlogic Everything-Else power domain driver configs

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

2019-10-11 Thread Neil Armstrong
On 30/08/2019 14:09, Neil Armstrong wrote: > This patchset adds Amlogic G12A support for HDMI & Composite video output like > the Amlogic GXBB/GXL/GXM, by syncing from the latest Linux VPU DRM driver. > > It also adds VPU/VAPB/HDMI Clock & VPU Power Domain support.

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

[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

[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 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 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

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] [PULL u-boot] Please pull u-boot-amlogic-20190910

2019-09-10 Thread Neil Armstrong
sphy_quirk 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] 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] [PATCH] usb: xhci-dwc3: Add support for dis_u2_susphy_quirk

2019-09-09 Thread Neil Armstrong
oller 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/host/x

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

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 >> conne

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

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] [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 2/2] configs: Add Khadas VIM3 defconfig

2019-09-02 Thread Neil Armstrong
15.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 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

[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

[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 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_vpu.c

[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 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 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 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 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] [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

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

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

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

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

2019-08-19 Thread Neil Armstrong
} > +#endif > + ret = reset_get_bulk(dev, >resets); > + if (!ret) { > + ret = reset_deassert_bulk(>resets); > + if (ret) { > + pr_err("Failed to deassert reset\n"); > + return ret; > + } > + } > + > + return 0; > +} > + > +static int meson_gxbb_usb2_phy_remove(struct udevice *dev) > +{ > + struct phy_meson_gxbb_usb2_priv *priv = dev_get_priv(dev); > + > + return reset_release_bulk(>resets); > +} > + > +static const struct udevice_id meson_gxbb_usb2_phy_ids[] = { > + { .compatible = "amlogic,meson8-usb2-phy" }, > + { .compatible = "amlogic,meson8b-usb2-phy" }, > + { .compatible = "amlogic,meson-gxbb-usb2-phy" }, > + { } > +}; > + > +U_BOOT_DRIVER(meson_gxbb_usb2_phy) = { > + .name = "meson_gxbb_usb2_phy", > + .id = UCLASS_PHY, > + .of_match = meson_gxbb_usb2_phy_ids, > + .probe = meson_gxbb_usb2_phy_probe, > + .remove = meson_gxbb_usb2_phy_remove, > + .ops = _gxbb_usb2_phy_ops, > + .priv_auto_alloc_size = sizeof(struct phy_meson_gxbb_usb2_priv), > +}; > Reviewed-by: Neil Armstrong ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

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

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

2019-08-12 Thread Neil Armstrong
: 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 support

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

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

2019-08-08 Thread Neil Armstrong
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/Kconfig >

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

2019-08-06 Thread Neil Armstrong
il we 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/amlogic/

[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

[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 5/7] boards: meson: add g12a sei510

2019-08-06 Thread Neil Armstrong
-by: 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 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 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 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 4/7] arm: meson: add sm command to retrieve the reboot reason

2019-08-06 Thread Neil Armstrong
specified 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 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] [PULL u-boot] Please pull u-boot-amlogic-20190731

2019-07-31 Thread Neil Armstrong
for 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

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

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
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 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

[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

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

2019-07-29 Thread Neil Armstrong
-by: 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 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 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 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

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] [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

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

2019-07-29 Thread Neil Armstrong
ial - 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/amlogic/sei510/MAINTAINERS b/b

[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

[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

[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 @@

[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 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 2/3] ARM: meson-g12a: Handle 4GiB DRAM size

2019-07-29 Thread Neil Armstrong
to the 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 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 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] 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

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() adding a mode

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 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

[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

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

2019-07-22 Thread Neil Armstrong
to the 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 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 ++

<    5   6   7   8   9   10   11   12   13   14   >