[PATCH] arm64: dts: meson-gx: add back dmc register range until canvas driver is available

2020-04-16 Thread Neil Armstrong
The Linux VPU bindings have changed and dropped the dmc register range. Add it back in the meson-gx-u-boot.dtsi file until a proper canvas driver is available. Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-gx-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm

Re: [PATCH] arm64: dts: meson-gx: add back dmc register range until canvas driver is available

2020-04-16 Thread Neil Armstrong
On 16/04/2020 10:42, Neil Armstrong wrote: > The Linux VPU bindings have changed and dropped the dmc register range. > > Add it back in the meson-gx-u-boot.dtsi file until a proper canvas driver > is available. > > Signed-off-by: Neil Armstrong > --- > arch/arm/dts/

Re: [PATCH 00/10] meson: enable USB Gadget support fot GXL/GXM SoCs

2020-04-17 Thread Neil Armstrong
On 30/03/2020 11:27, Neil Armstrong wrote: > Thit patchset adds support for OTG Gadget mode on the GXL/GXM SoCs. > > It adds a new API generic_phy_get_by_node() to get the PHY by it's node. > > It enabled Gadget and USB Mass Storage for libretech-cc, libretech-ac, >

[PULL u-boot] Please pull u-boot-amlogic-20200417

2020-04-17 Thread Neil Armstrong
son boards - fix SMBIOS info on Odroid-C2 - Fix video output on GXBB/GXL/GXM boards - add USB gadget support for GXL/GXM boards Heinrich Schuchardt (2): arm: meson: imply DM_RNG configs: correct SMBIOS information for ODROI

Re: [PULL u-boot] Please pull u-boot-amlogic-20200417

2020-04-17 Thread Neil Armstrong
On 17/04/2020 17:04, Tom Rini wrote: > On Fri, Apr 17, 2020 at 11:53:51AM +0200, Neil Armstrong wrote: > >> Hi Tom, >> >> This PR enables RNG on meson boards for UEFI, fixes the SMBIOS information >> for ODROID-C2, >> fixes HDMI Video Output broken on GXBB/G

[PATCH 0/5] arm: khadas-vim: enable support for SPI NOR Flash

2020-04-20 Thread Neil Armstrong
This serie enables support of the on-board SPI NOR Flash found on the Khadas VIM2, VIM3 and VIM3L board. Neil Armstrong (5): arm64: dts: meson: sync dt and bindings from v5.7-rc1 arm: dts: meson-gxm-khadas-vim2-u-boot: enable SPI NOR flash configs: khadas-vim2: enable support for SPI NOR

[PATCH 2/5] arm: dts: meson-gxm-khadas-vim2-u-boot: enable SPI NOR flash

2020-04-20 Thread Neil Armstrong
Activate the on-board SPI NOR Flash by enabling the SPI controller and disabling the DS eMMC pin in the VIM2 u-boot.dtsi file. Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/meson

[PATCH 5/5] configs: khadas-vim3: enable support for SPI NOR flash

2020-04-20 Thread Neil Armstrong
Enable the necessary configs to make usage of the SPI NOR Flash. Signed-off-by: Neil Armstrong --- configs/khadas-vim3_defconfig | 9 + configs/khadas-vim3l_defconfig | 9 + 2 files changed, 18 insertions(+) diff --git a/configs/khadas-vim3_defconfig b/configs/khadas

[PATCH 1/5] arm64: dts: meson: sync dt and bindings from v5.7-rc1

2020-04-20 Thread Neil Armstrong
Sync the device tree and dt-bindings from Linux v5.7-rc1 8f3d9f354286 ("Linux 5.7-rc1"). Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-axg-s400.dts | 6 +- arch/arm/dts/meson-g12-common.dtsi | 136 +-- arch/arm/dts/meson-g12.dtsi

[PATCH 3/5] configs: khadas-vim2: enable support for SPI NOR flash

2020-04-20 Thread Neil Armstrong
Add the necessary configs to use the SPI NOR flash. Signed-off-by: Neil Armstrong --- configs/khadas-vim2_defconfig | 8 1 file changed, 8 insertions(+) diff --git a/configs/khadas-vim2_defconfig b/configs/khadas-vim2_defconfig index a533566410..5633f6da9c 100644 --- a/configs/khadas

[PATCH 4/5] arm: dts: meson-khadas-vim3: enable SPI NOR flash

2020-04-20 Thread Neil Armstrong
Enable the SPI flash controller and reduce the usable eMMC data pins to 4 to permit using the on-board SPI NOR Flash. Signed-off-by: Neil Armstrong --- .../meson-g12b-a311d-khadas-vim3-u-boot.dtsi | 7 +++ arch/arm/dts/meson-khadas-vim3-u-boot.dtsi| 21 +++ .../dts

[PATCH] clk: meson: g12a: add missing SD_EMMC_A controller gates

2020-04-20 Thread Neil Armstrong
Add missing SD_EMMC_A controller gates needed for probe of the A controller, otherwise leading to a freeze of the SoC after b3d69aa596. Fixes: b3d69aa596 ("clk: meson: reset mmc clock on probe") Signed-off-by: Neil Armstrong --- drivers/clk/meson/g12a.c | 2 ++ 1 file changed, 2

[PATCH] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-20 Thread Neil Armstrong
Power on/off the PHYs to enable power to the USB ports, fixing USB support on Khadas VIM3/VIM3L boards. Signed-off-by: Neil Armstrong --- drivers/usb/dwc3/dwc3-meson-g12a.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/usb/dwc3/dwc3-meson-g12a.c b/drivers/usb

Re: [PATCH] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-20 Thread Neil Armstrong
On 20/04/2020 15:47, Marek Vasut wrote: > On 4/20/20 3:46 PM, Neil Armstrong wrote: >> Power on/off the PHYs to enable power to the USB ports, fixing USB support >> on Khadas VIM3/VIM3L boards. >> >> Signed-off-by: Neil Armstrong >> --- >>

Re: [PATCH] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-20 Thread Neil Armstrong
On 20/04/2020 15:52, Marek Vasut wrote: > On 4/20/20 3:49 PM, Neil Armstrong wrote: >> On 20/04/2020 15:47, Marek Vasut wrote: >>> On 4/20/20 3:46 PM, Neil Armstrong wrote: >>>> Power on/off the PHYs to enable power to the USB ports, fixing USB support &g

Re: [PATCH] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-20 Thread Neil Armstrong
On 20/04/2020 16:03, Marek Vasut wrote: > On 4/20/20 3:56 PM, Neil Armstrong wrote: >> On 20/04/2020 15:52, Marek Vasut wrote: >>> On 4/20/20 3:49 PM, Neil Armstrong wrote: >>>> On 20/04/2020 15:47, Marek Vasut wrote: >>>>> On 4/20/20 3:46 PM, Neil Arm

Re: [PATCH] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-20 Thread Neil Armstrong
On 20/04/2020 16:10, Marek Vasut wrote: > On 4/20/20 4:07 PM, Neil Armstrong wrote: > [...] > >>>>>>> Doesn't checkpatch complain about this extra space before semicolon ? >>>>>> >>>>>> Nop, even in --strict >>>>&

[PULL u-boot] Please pull u-boot-amlogic-20200420

2020-04-20 Thread Neil Armstrong
ect SMBIOS information for ODROID-C2 Neil Armstrong (12): ARM: dts: add missing meson-gxl-s805x-libretech-ac-u-boot.dtsi file arm64: dts: meson-gx: add back dmc register range until canvas driver is available generic-phy: add generic_phy_get_by_node() phy: meson-gxl-usb: ad

Re: [PATCH] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-21 Thread Neil Armstrong
On 20/04/2020 17:40, Marek Vasut wrote: > On 4/20/20 4:47 PM, Neil Armstrong wrote: >> On 20/04/2020 16:10, Marek Vasut wrote: >>> On 4/20/20 4:07 PM, Neil Armstrong wrote: >>> [...] >>> >>>>>>>>> Doesn't checkpatch complain abou

[PATCH v2] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-21 Thread Neil Armstrong
mining it's type and functionnalities. This is why we need to loop over the array to power on all the DT provided PHYs. Signed-off-by: Neil Armstrong --- Changes since v1: - removed extra space before semicolon - added clarification in commit message drivers/usb/dwc3/dwc3-meson-g12a.c | 16 +++

Re: [PATCH] clk: meson: g12a: add missing SD_EMMC_A controller gates

2020-04-21 Thread Neil Armstrong
On 20/04/2020 15:46, Neil Armstrong wrote: > Add missing SD_EMMC_A controller gates needed for probe of the A > controller, otherwise leading to a freeze of the SoC after b3d69aa596. > > Fixes: b3d69aa596 ("clk: meson: reset mmc clock on probe") > Signed-off-by: Neil Ar

Re: [PATCH v2] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-24 Thread Neil Armstrong
On 21/04/2020 10:17, Neil Armstrong via groups.io wrote: > Power on/off the PHYs to enable power to the USB ports, fixing USB support > on Khadas VIM3/VIM3L boards. > > The G12A USB complex has at least 2 USB2 PHYs, but one is muxed between the > DWC2 and DWC3 controller an

Re: [PATCH] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-24 Thread Neil Armstrong
On 20/04/2020 15:46, Neil Armstrong via groups.io wrote: > Power on/off the PHYs to enable power to the USB ports, fixing USB support > on Khadas VIM3/VIM3L boards. > > Signed-off-by: Neil Armstrong > --- > drivers/usb/dwc3/dwc3-meson-g12a.c | 16 >

Re: [PATCH 0/5] arm: khadas-vim: enable support for SPI NOR Flash

2020-04-24 Thread Neil Armstrong
On 20/04/2020 15:44, Neil Armstrong via groups.io wrote: > This serie enables support of the on-board SPI NOR Flash found on the > Khadas VIM2, VIM3 and VIM3L board. > > Neil Armstrong (5): > arm64: dts: meson: sync dt and bindings from v5.7-rc1 > arm: dts: meson-gxm-

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

2020-04-24 Thread Neil Armstrong
On 18/08/2019 15:42, Beniamino Galvani wrote: > This adds support for the USB PHY found on Amlogic GXBB SoCs. > > Signed-off-by: Beniamino Galvani > --- > drivers/phy/Kconfig | 8 ++ > drivers/phy/Makefile | 1 + > drivers/phy/meson-gxbb-usb2.c | 235 ++

Re: [PATCH v2] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-24 Thread Neil Armstrong
On 24/04/2020 09:41, Marek Vasut wrote: > On 4/24/20 9:18 AM, Neil Armstrong wrote: >> On 21/04/2020 10:17, Neil Armstrong via groups.io wrote: >>> Power on/off the PHYs to enable power to the USB ports, fixing USB support >>> on Khadas VIM3/VIM3L boards. >>> &

[PULL u-boot] Please pull u-boot-amlogic-20200428

2020-04-28 Thread Neil Armstrong
: add GXBB PHY driver Neil Armstrong (7): clk: meson: g12a: add missing SD_EMMC_A controller gates arm64: dts: meson: sync dt and bindings from v5.7-rc1 arm: dts: meson-gxm-khadas-vim2-u-boot: enable SPI NOR flash configs: khadas-vim2: enable support for SPI NOR flash a

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

[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

[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

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 0/8] amlogic: add SEI610 support

2019-10-11 Thread Neil Armstrong
reuse 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

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

[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 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..1b252

[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

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): &

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

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

2019-10-18 Thread Neil Armstrong
rdata size 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:

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

2019-10-24 Thread Neil Armstrong
> 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

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

[PATCH 0/2] board: amlogic: move boards doc into doc/board/amlogic

2020-06-11 Thread Neil Armstrong
As asked by Tom, this moves all the Amlogic board documentation into doc/board/amlogic into RsT and proper index with feature matrix. Neil Armstrong (2): board: amlogic: move boards doc into doc/board/amlogic board: amlogic: add board doc files to MAINTAINERS MAINTAINERS

[PATCH 2/2] board: amlogic: add board doc files to MAINTAINERS

2020-06-11 Thread Neil Armstrong
Add the recently added reStructuredText board documentation in the appropriate MAINTAINERS files. Signed-off-by: Neil Armstrong --- MAINTAINERS | 1 + board/amlogic/p200/MAINTAINERS | 3 +++ board/amlogic/p201/MAINTAINERS | 1 + board/amlogic/p212/MAINTAINERS | 4

[PATCH 1/2] board: amlogic: move boards doc into doc/board/amlogic

2020-06-11 Thread Neil Armstrong
Move the natural text Amlogic board README files to doc/board/amlogic into reStructuredText and : - add reStructuredText markup for bash code - fix secondary titles markup - move board support into global support matrix Signed-off-by: Neil Armstrong --- doc/board/amlogic/index.rst

Re: [PATCH 1/2] board: amlogic: move boards doc into doc/board/amlogic

2020-06-15 Thread Neil Armstrong
Hi, On 12/06/2020 12:55, Heinrich Schuchardt wrote: > On 6/11/20 3:28 PM, Neil Armstrong wrote: >> Move the natural text Amlogic board README files to doc/board/amlogic >> into reStructuredText and : >> - add reStructuredText markup for bash code >> - fix secondary ti

Re: [PATCH 1/2] board: amlogic: move boards doc into doc/board/amlogic

2020-06-16 Thread Neil Armstrong
Hi, On 16/06/2020 06:35, Anand Moon wrote: > Hi Neil, > > On Thu, 11 Jun 2020 at 19:20, Neil Armstrong wrote: >> >> Move the natural text Amlogic board README files to doc/board/amlogic >> into reStructuredText and : >> - add reStructuredText markup for ba

[PULL u-boot] Please pull u-boot-amlogic-20200618

2020-06-18 Thread Neil Armstrong
nges up to 9c55f5d11260c5aa0f91d8cb32aa0ad00910659d: board: amlogic: add board doc files to MAINTAINERS (2020-06-18 10:24:13 +0200) - move amlogic board documentation into doc/board in RsT format ---- Neil

[PATCH] board: amlogic: Add Odroid-N2 board support

2020-06-18 Thread Neil Armstrong
From: Pascal Vizeli Add a proper Odroid-N2 board support to handle the Ethernet MAC address stored in the in-SoC eFuses. Signed-off-by: Pascal Vizeli Signed-off-by: Neil Armstrong --- board/amlogic/odroid-n2/MAINTAINERS | 7 + board/amlogic/odroid-n2/Makefile| 6 board/amlogic

Re: [PATCH] board: amlogic: Add Odroid-N2 board support

2020-06-22 Thread Neil Armstrong
Hi, On 21/06/2020 19:23, Anand Moon wrote: > Hi Neil, > > On Thu, 18 Jun 2020 at 20:11, Neil Armstrong wrote: >> >> From: Pascal Vizeli >> >> Add a proper Odroid-N2 board support to handle the Ethernet MAC >> address stored in the in-SoC eFuses. >>

[PATCH] serial: meson: handle RX errors

2020-07-21 Thread Neil Armstrong
and drops any erroneous RX byte on pending and getc callbacks to avoid returning true to pending when an error byte is in the FIFO. Fixes: bfcef28ae4 ("arm: add initial support for Amlogic Meson and ODROID-C2") Signed-off-by: Neil Armstrong --- drivers/serial/seria

Re: [PATCH v2 2/8] dm: button: add a driver for button driven by gpio

2020-07-21 Thread Neil Armstrong
On 17/07/2020 14:22, Philippe Reynes wrote: > Add a simple driver which allows use of buttons attached to GPIOs. > > Reviewed-by: Simon Glass > Signed-off-by: Philippe Reynes > --- > Changelog: > v2: > - remove useless default in Kconfig > - re-order include > - fix condition in button_gpio_remo

Re: [PATCH] configs: odroid-c2: enable HDMI output

2020-07-23 Thread Neil Armstrong
G_MESON_SERIAL=y > CONFIG_USB=y > CONFIG_DM_USB=y > CONFIG_USB_DWC2=y > +CONFIG_USB_KEYBOARD=y > +CONFIG_DM_VIDEO=y > +# CONFIG_VIDEO_BPP8 is not set > +# CONFIG_VIDEO_BPP16 is not set > +CONFIG_SYS_WHITE_ON_BLACK=y > +CONFIG_VIDEO_MESON=y > +CONFIG_VIDEO_DT_SIMPLEFB=y > CONFIG_OF_LIBFDT_OVERLAY=y > CONFIG_SMBIOS_MANUFACTURER="Hardkernel Co., Ltd." > With the new subject: Reviewed-by: Neil Armstrong Thanks, Neil

Re: [PATCH] serial: meson: handle RX errors

2020-07-23 Thread Neil Armstrong
On 21/07/2020 13:41, Neil Armstrong wrote: > This checks and handles RX errors on the Amlogic UART controller > after experiencing errors on the Khadas VIM3 & VIM3L when UART AO A > lines are not connected. > > When the RX line is not connected, the first byte is erroneous and

Re: [PATCH v2] configs: odroid-c2: update for HDMI output, ADC & USB keyboard

2020-07-23 Thread Neil Armstrong
On 23/07/2020 10:06, Anand Moon wrote: > Enable options to permit HDMI output on Odroid-C2 GXBB boards. > Enable VPU Power Domain. > Enable ADC and USB_KERBOARD. > > Reviewed-by: Neil Armstrong > Signed-off-by: Anand Moon > --- > Changes: > --fix the subje

[PULL u-boot] Please pull u-boot-amlogic-20200727

2020-07-27 Thread Neil Armstrong
ADC for Odroid-C2 Anand Moon (1): configs: odroid-c2: update for HDMI output, ADC & USB keyboard Neil Armstrong (1): serial: meson: handle RX errors configs/odroid-c2_defconfig | 11 +++ drivers/serial/serial_meson.c | 43

Re: [Patchv4 2/3] arm: dts: Add mmc alias to avoid warning

2020-01-22 Thread Neil Armstrong
Hi, On 22/01/2020 13:06, Anand Moon wrote: > Add missing mmc alias to dts nodes to avoid > below debug warning. > > mmc_bind: alias ret=-2, devnum=-1 > mmc_bind: alias ret=-2, devnum=-1 > > Signed-off-by: Anand Moon > --- > arch/arm/dts/meson-axg-s400.dts | 2 ++ > arch/arm/dts

Re: [Patchv4 3/3] arm: dts: Add cd-gpio for eMMC

2020-01-22 Thread Neil Armstrong
Hi, On 22/01/2020 13:06, Anand Moon wrote: > Add cd-gpio property for eMMC node. > > Signed-off-by: Anand Moon > --- > New patch in this series > --- > arch/arm/dts/meson-g12b-odroid-n2.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/dts/meson-g12b-odroid-n2.dts > b/arch

Re: [Patchv4 1/3] mmc: meson-gx: Fix clk phase tuning for MMC

2020-01-31 Thread Neil Armstrong
Le 22/01/2020 à 13:06, Anand Moon a écrit : > As per mainline line kernel fix the clk tunig phase for > mmc, set Core=180, Tx=180, Rx=0 clk phase for mmc initialization. > As per S905X and S922X datasheet set the default values > for clk tuning. Please add you also add AXG/G12 setup. > > Sign

Re: [PATCHv6 3/5] arm: dts: gx: Move common nodes to the -u-boot.dtsi

2020-02-09 Thread Neil Armstrong
Hi, Le 09/02/2020 à 12:05, Anand Moon a écrit : > Move u-boot specific common nodes in the dts files to > meson-gx-u-boot.dtsi. This allows us to keep the basic > dts[i] files up-to-date with the ones in kernel, > but at the same time allowing the u-boot to add its own > properties to the existing

Re: [PATCHv6 4/5] arm: dts: g12: Move common nodes to the -u-boot.dtsi

2020-02-09 Thread Neil Armstrong
Hi, Le 09/02/2020 à 12:05, Anand Moon a écrit : > Move u-boot specific common nodes in the dts files to > meson-g12-common-u-boot.dtsi. This allows us to keep the basic > dts[i] files up-to-date with the ones in kernel, > but at the same time allowing the u-boot to add its own > properties to the

Re: [PATCHv6 5/5] arm: dts: s400: Move common nodes to the -u-boot.dtsi

2020-02-09 Thread Neil Armstrong
Hi, Le 09/02/2020 à 12:05, Anand Moon a écrit : > Move u-boot specific common nodes in the dts files to > meson-axg-s400-u-boot.dtsi. This allows us to keep the basic > dts[i] files up-to-date with the ones in kernel, > but at the same time allowing the u-boot to add its own > properties to the ex

Re: [PATCHv6 2/5] mmc: meson-gx: Use proper compatible string as per the dts

2020-02-09 Thread Neil Armstrong
r mmc driver. > > Suggested-by: Neil Armstrong > Signed-off-by: Anand Moon > --- > No changes. > --- > arch/arm/include/asm/arch-meson/sd_emmc.h | 7 > drivers/mmc/meson_gx_mmc.c| 46 +-- > 2 files changed, 41 insertions(+), 12 deletions(-)

Re: [PATCHv6 1/5] mmc: meson-gx: Fix clk phase tuning for MMC

2020-02-09 Thread Neil Armstrong
Hi, Le 09/02/2020 à 12:05, Anand Moon a écrit : > As per mainline line kernel fix the clk tuning phase for mmc, > set Core=180, Tx=0, Rx=0 clk phase for mmc initialization. > As per S905, S905X, AGX and S922X datasheet set the default > values for clk tuning. > > Signed-off-by: Anand Moon > ---

Re: [PATCHv6 3/5] arm: dts: gx: Move common nodes to the -u-boot.dtsi

2020-02-10 Thread Neil Armstrong
On 09/02/2020 18:25, Anand Moon wrote: > Hi Neil, > > Thanks for your review. > > On Sun, 9 Feb 2020 at 18:28, Neil Armstrong wrote: >> >> Hi, >> >> Le 09/02/2020 à 12:05, Anand Moon a écrit : >>> Move u-boot specific common nodes in the dts file

Re: [PATCHv6 2/5] mmc: meson-gx: Use proper compatible string as per the dts

2020-02-10 Thread Neil Armstrong
On 09/02/2020 18:23, Anand Moon wrote: > Hi Neil > > Thanks for your review comments. > > On Sun, 9 Feb 2020 at 18:31, Neil Armstrong wrote: >> >> Hi, >> >> Le 09/02/2020 à 12:05, Anand Moon a écrit : >>> Use proper compatible string as per the dt

Re: [PATCHv6 1/5] mmc: meson-gx: Fix clk phase tuning for MMC

2020-02-10 Thread Neil Armstrong
On 09/02/2020 18:22, Anand Moon wrote: > Hi Neil, > > Thanks for you review comments. > > On Sun, 9 Feb 2020 at 18:38, Neil Armstrong wrote: >> >> Hi, >> >> Le 09/02/2020 à 12:05, Anand Moon a écrit : >>> As per mainline line kernel fix the clk tu

[PATCH 1/4] ARM: dts: sync amlogic G12A/SM1 DT from Linux 5.9-rc1

2020-09-18 Thread Neil Armstrong
This imports the G12A & SM1 SoC and boards DT changes from the Linux commit 9123e3a74ec7 ("Linux 5.9-rc1"). Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-g12-common.dtsi| 55 --- arch/arm/dts/meson-g12b-odroid-n2.dts | 136 +- arch

[PATCH 0/4] amlogic: vim3: add support for dynamic PCIe enable

2020-09-18 Thread Neil Armstrong
single controller can use it. This serie adds a VIM3 specific board support and adds this dynamic switching right before booting Linux. Neil Armstrong (4): ARM: dts: sync amlogic G12A/SM1 DT from Linux 5.9-rc1 board: amlogic: add a vim3 specific board support configs: vim3: use the vim3

[PATCH 4/4] board: amlogic: vim3: add support for dynamic PCIe enable

2020-09-18 Thread Neil Armstrong
single controller can use it. This adds this dynamic switching right before booting Linux. Signed-off-by: Neil Armstrong --- board/amlogic/vim3/vim3.c | 116 + configs/khadas-vim3_defconfig | 3 + configs/khadas-vim3l_defconfig | 3 + 3 files changed

[PATCH 2/4] board: amlogic: add a vim3 specific board support

2020-09-18 Thread Neil Armstrong
The VIM3 will need a specific code to enable PCIe if enabled in the MCU, thus add a specific board support for VIM3 & VIM3L. Signed-off-by: Neil Armstrong --- board/amlogic/vim3/MAINTAINERS | 9 + board/amlogic/vim3/Makefile| 6 ++ board/amlogic/vim3/vim3.c

[PATCH 3/4] configs: vim3: use the vim3 board support

2020-09-18 Thread Neil Armstrong
Use the newly added VIM3 board support instead of the generic W400. Signed-off-by: Neil Armstrong --- configs/khadas-vim3_defconfig | 2 +- configs/khadas-vim3l_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/khadas-vim3_defconfig b/configs/khadas

[PATCH v2 2/4] board: amlogic: add a vim3 specific board support

2020-09-21 Thread Neil Armstrong
The VIM3 will need a specific code to enable PCIe if enabled in the MCU, thus add a specific board support for VIM3 & VIM3L. Signed-off-by: Neil Armstrong Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman --- board/amlogic/vim3/MAINTAINERS | 9 + board/amlogic/vim3/Makefile

[PATCH v2 0/4] amlogic: vim3: add support for dynamic PCIe enable

2020-09-21 Thread Neil Armstrong
single controller can use it. This serie adds a VIM3 specific board support and adds this dynamic switching right before booting Linux. Changes since v1: - add missing khadas-mcu.h - add documentation to switch pcie on/off Neil Armstrong (4): ARM: dts: sync amlogic G12A/SM1 DT from Linux 5.9

[PATCH v2 1/4] ARM: dts: sync amlogic G12A/SM1 DT from Linux 5.9-rc1

2020-09-21 Thread Neil Armstrong
This imports the G12A & SM1 SoC and boards DT changes from the Linux commit 9123e3a74ec7 ("Linux 5.9-rc1"). Signed-off-by: Neil Armstrong Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman --- arch/arm/dts/meson-g12-common.dtsi| 55 --- arch/arm/dts/meson-g12b

[PATCH v2 3/4] configs: vim3: use the vim3 board support

2020-09-21 Thread Neil Armstrong
Use the newly added VIM3 board support instead of the generic W400. Signed-off-by: Neil Armstrong Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman --- configs/khadas-vim3_defconfig | 2 +- configs/khadas-vim3l_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH v2 4/4] board: amlogic: vim3: add support for dynamic PCIe enable

2020-09-21 Thread Neil Armstrong
single controller can use it. This adds this dynamic switching right before booting Linux and the configuration steps in the boards documentation. Signed-off-by: Neil Armstrong Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman --- board/amlogic/vim3/khadas-mcu.h| 81

[PATCH] rng: meson: make core clock optional

2020-09-25 Thread Neil Armstrong
Khadas VIM3, which uses the common meson-g12-common.dtsi like the Odroid-C4 & Odroid-N2 in Scott's report, along with the RNG cmd. Cc: Heinrich Schuchardt Reported-by: Scott K Logan Fixes: bc40eb278b ("drivers/rng: add Amlogic hardware RNG driver") Signed-off-by: Neil Armstr

Re: [PATCH] rng: meson: make core clock optional

2020-09-28 Thread Neil Armstrong
On 25/09/2020 09:19, Neil Armstrong wrote: > This fixes HWRNG support on Amlogic GXL, GXM, G12A, G12B & SM1 > based boards dues to the lack of the core clock in the device tree. > > It was reported breaking EFI boot in the Linux EFI stub, because the > EFI_RNG_PROTOCOL didn&

Re: [PATCH] board: s400: generate unique mac address from SoC serial

2020-09-28 Thread Neil Armstrong
On 10/09/2020 10:50, Neil Armstrong wrote: > Enable unique mac address generation from SoC serial on S400 board. > > Signed-off-by: Neil Armstrong > --- > board/amlogic/s400/s400.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/board/amlogic/s400/s400.c b/b

Re: [PATCH v2 0/4] amlogic: vim3: add support for dynamic PCIe enable

2020-09-28 Thread Neil Armstrong
On 21/09/2020 09:34, Neil Armstrong wrote: > The VIM3 on-board MCU can mux the PCIe/USB3.0 shared differential > lines using a FUSB340TMX USB 3.1 SuperSpeed Data Switch between > an USB3.0 Type A connector and a M.2 Key M slot. > The PHY driving these differential lines is shared b

Re: [PATCH 0/8] ARM: mach-meson: update & rework USB for GXL, GXM & AXG

2020-09-28 Thread Neil Armstrong
On 10/09/2020 10:48, Neil Armstrong wrote: > This serie follows the recent work under Linux to rework and update support of > the USB complex in the Amlogic GXL, GXM & AXG SoCs. > > This rework follows the clean implementation for the G12A & following SoCs to > suppo

[PULL u-boot] Please pull u-boot-amlogic-20200928

2020-09-28 Thread Neil Armstrong
core clock optional (2020-09-28 09:38:11 +0200) - fix RNG driver probe & linux EFI KASLR boot on GXL, GXM, G12A, G12B & SM1 based boards ---- Neil Armstrong (1):

[PATCH 1/2] pinctrl: meson-axg-pmx: fix gpio request

2020-10-02 Thread Neil Armstrong
The AXG pmx driver gpio request offset needs the pin base to have the correct pin number. Signed-off-by: Neil Armstrong --- drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c b

[PATCH 2/2] pinctrl: meson-axg: add missing GPIOA_18

2020-10-02 Thread Neil Armstrong
Add the missing GPIOA_18 from the missing EE gpio list. Signed-off-by: Neil Armstrong --- drivers/pinctrl/meson/pinctrl-meson-axg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/meson/pinctrl-meson-axg.c b/drivers/pinctrl/meson/pinctrl-meson-axg.c index 8f23c8cef1

[PATCH] pwm: Add driver for Amlogic Meson PWM controller

2020-10-02 Thread Neil Armstrong
rivers/pwm/pwm-meson.c @@ -0,0 +1,528 @@ +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause +/* + * Copyright (C) 2020 BayLibre, SAS. + * Author: Neil Armstrong + * Copyright (C) 2014 Amlogic, Inc. + * + * This PWM is only a set of Gates, Dividers and Counters: + * PWM output is achieved by ca

[PATCH 1/2] video: dw-mipi-dsi: driver-specific configuration of phy timings

2020-10-02 Thread Neil Armstrong
to phy_ops and call this from the dphy_timing function to retrieve the necessary values for the specific mode. This is based on the Linux commit [1] and adapted to the U-Boot driver. Signed-off-by: Neil Armstrong [1] 25ed8aeb9c39 ("drm/bridge/synopsys: dsi: driver-specific configuration of

[PATCH 2/2] video: dw-mipi-dsi: permit configuring the escape clock rate

2020-10-02 Thread Neil Armstrong
The Amlogic D-PHY in the Amlogic AXG SoC Family does support a frequency higher than 10MHz for the TX Escape Clock, thus make the target rate configurable. This is based on the Linux commit [1] and adapted to the U-Boot driver. Signed-off-by: Neil Armstrong [1] a328ca7e4af3 ("drm/bridg

Re: [PATCH 1/2] pinctrl: meson-axg-pmx: fix gpio request

2020-10-05 Thread Neil Armstrong
On 02/10/2020 11:05, Neil Armstrong wrote: > The AXG pmx driver gpio request offset needs the pin base to have the > correct pin number. > > Signed-off-by: Neil Armstrong > --- > drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c | 5 - > 1 file changed, 4 insertions(+), 1

Re: [PATCH] pwm: Add driver for Amlogic Meson PWM controller

2020-10-05 Thread Neil Armstrong
On 02/10/2020 11:09, Neil Armstrong via groups.io wrote: > This adds the driver for the PWM controller found in the Amlogic SoCs. > > This PWM is only a set of Gates, Dividers and Counters: > PWM output is achieved by calculating a clock that permits calculating > two periods (low

[PULL u-boot] Please pull u-boot-amlogic-20201005

2020-10-05 Thread Neil Armstrong
- Add Amlogic PWM driver Neil Armstrong (16): board: s400: generate unique mac address from SoC serial ARM: dts: sync amlogic AXG/GXL/GXM DT from Linux 5.8-rc1 usb: dwc3: add Amlogic GXL & GXL DWC3 Glue ARM:

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: [PATCH 0/2] amlogic: add Khadas VIM3L support

2019-12-20 Thread Neil Armstrong
2 +++ > 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: [PATCH 5/5] arm64: dts: meson: add libretech-pc support

2019-12-20 Thread Neil Armstrong
Hi, On 20/12/2019 04:05, Chen-Yu Tsai wrote: > On Fri, Dec 20, 2019 at 2:37 AM Jerome Brunet wrote: >> >> Add support for the Amlogic based libretech-pc platform. >> This platform comes with 2 variant, based on the s905d or s912 SoC. >> >> Signed-off-by: Jerome Brunet >> --- >> arch/arm/dts/Mak

<    2   3   4   5   6   7   8   9   10   11   >