Re: [PATCH 0/5] board: amlogic: add Beelink GT-King/Pro support

2020-12-18 Thread Neil Armstrong
On 18/12/2020 09:45, Christian Hewitt wrote: > This patchset adds support for the Beelink GT-King and GT-King Pro boxes > based on the Amlogic S922X (G12B/W400) SoC. Patches are based on the > u-boot-amlogic-next branch in the custodians tree. > > Christian Hewitt (5): > ARM: dts: import Beelink

Re: [PATCH] ARM: dts: meson: switch TFLASH_VDD_EN pin to open drain on Odroid-C4

2020-12-18 Thread Neil Armstrong
ed by using the OPEN_DRAIN flag instead if the > ACTIVE_HIGH, what will leave the pin in input to achieve high state (pin > has the pull-up) and solve the issue. > > Suggested-by: Neil Armstrong > Signed-off-by: Marek Szyprowski > --- > This is a result of the discussion in th

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

2020-12-18 Thread Neil Armstrong
Hi Tom, A (hopefully) last PR for 2020 with an one-liner fixing the Odroid-C4 reset when booting over SDCard, a bug we had in our backlog for a long time ! The CI job is at https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic/pipelines/5613 Thanks, Neil The following changes since commit a

Re: [U-Boot] [PATCH u-boot v2 00/19] Amlogic Meson cleanup for AXG SoC support

2018-11-26 Thread Neil Armstrong
Hi Tom, On 22/11/2018 10:07, Neil Armstrong wrote: > This patchset will refactor the Amlogic Meson SoC support in order to > easily add support for the Amlogic AXg SoC family, and later the G12x SoCs. > > In order : > - Cleanup the mach-meson configs > - Move board support t

Re: [U-Boot] [PATCH u-boot v2 00/19] Amlogic Meson cleanup for AXG SoC support

2018-11-26 Thread Neil Armstrong
Hi Tom, On 26/11/2018 13:58, Tom Rini wrote: > On Mon, Nov 26, 2018 at 09:59:33AM +0100, Neil Armstrong wrote: >> Hi Tom, >> >> On 22/11/2018 10:07, Neil Armstrong wrote: >>> This patchset will refactor the Amlogic Meson SoC support in order to >>> eas

[U-Boot] Please pull u-boot-amlogic-20181126

2018-11-27 Thread Neil Armstrong
clk: meson: silence debug print ARM: meson: rework soc arch file to prepare for new SoC ARM: meson: factorize common code out amlogic's boards Neil Armstrong (10): mmc: meson-gx: Add AXG compatible net: designware: add meson meson gxbb compatible net: design

Re: [U-Boot] [PATCH u-boot v3 1/3] regmap: add regmap_read_poll_timeout() helper

2018-11-27 Thread Neil Armstrong
Hi Simon, On 27/11/2018 02:02, Simon Glass wrote: > Hi Neil, > > On Thu, 22 Nov 2018 at 03:01, Neil Armstrong wrote: >> >> Add the regmap_read_poll_timeout() macro based on the Linux implementation >> to simplify register polling with configurable timeout and sleep.

Re: [U-Boot] [PATCH v3] ARM: meson: Add regmap support for clock driver

2018-11-30 Thread Neil Armstrong
oic Devulder > Acked-by: Neil Armstrong > --- > > Note: this patch needs to be merged *after* the whole > 'u-boot-amlogic-20181126' changes! > > Successfully tested on khadas-vim, khadas-vim2 and libretech-cc (Le > Potato) boards. > > Changes in v3: &

Re: [U-Boot] [PATCH] mtd: sf_probe: add jedec,spi-nor compatible

2018-11-30 Thread Neil Armstrong
14 AM Simon Goldschmidt >>>> wrote: >>>>> On 06.11.2018 10:24, Neil Armstrong wrote: >>>>>> There is no reason not to use the Linux "jedec,spi-nor" binding in >>>>>> u-boot. >>>>>> This patch ad

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

2018-12-03 Thread Neil Armstrong
Hi Tom, I hope it's not too late, It's a single patch from Loic he reposted last week. Thanks, Neil The following changes since commit 952061352acfd24034e6990b6b7d32cded020c0a: drivers: rtc: correctly convert seconds to time structure (2018-12-01 18:03:14 -0500) are available in the Git rep

Re: [U-Boot] [PATCH] pinctrl: meson: Fix GPIO direction registers access

2018-12-05 Thread Neil Armstrong
On 05/12/2018 08:44, Jerome Brunet wrote: > On Mon, 2018-12-03 at 18:00 +, Carlo Caione wrote: >> The macros used to set the direction of the GPIO pins are misused, >> resulting in a wrong behavior when trying to read the GPIO input level >> from U-Boot. >> >> A better macro is also used when s

[U-Boot] [PATCH v2 0/5] spi-flash: switch to "jedec, spi-nor" binding

2018-12-06 Thread Neil Armstrong
r" - remove the "spi-flash" compatible from sf-probe - switch GENERIC_SPI_FLASH to jedec,spi-nor in fdtdec - switches dt bindings examples files to "jedec,spi-nor" Neil Armstrong (5): mtd: sf_probe: add jedec,spi-nor compatible dts: switch spi-flash to jedec,spi-nor comp

[U-Boot] [PATCH v2 3/5] mtd: sf_probe: remove spi-flash compatible

2018-12-06 Thread Neil Armstrong
Now the "spi-flash" compatible has been removed in the DTS files, remove this compatible from sf_probe to finally use the Linux "jedec,spi-nor" compatible. Signed-off-by: Neil Armstrong --- drivers/mtd/spi/sf_probe.c | 1 - 1 file changed, 1 deletion(-) diff --git a/driver

[U-Boot] [PATCH v2 1/5] mtd: sf_probe: add jedec, spi-nor compatible

2018-12-06 Thread Neil Armstrong
ng the non-modified device tree file for Amlogic Meson GX SoC based boards. Signed-off-by: Neil Armstrong --- drivers/mtd/spi/sf_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index 00f8558e70..7a379914d8 100644 --- a/drive

[U-Boot] [PATCH v2 2/5] dts: switch spi-flash to jedec, spi-nor compatible

2018-12-06 Thread Neil Armstrong
t. Signed-off-by: Neil Armstrong --- arch/arc/dts/axs10x_mb.dtsi | 2 +- arch/arc/dts/hsdk.dts | 2 +- arch/arm/dts/am335x-brppt1-spi.dts| 2 +- arch/arm/dts/am437x-idk-evm.dts | 2 +- arch/arm/

[U-Boot] [PATCH v2 4/5] fdtdec: switch GENERIC_SPI_FLASH to jedec, spi-nor

2018-12-06 Thread Neil Armstrong
The x86 code uses "spi-flash" to detect a flash node, switch to "jedec,spi-nor" since the DTS files has been switched already. Signed-off-by: Neil Armstrong --- lib/fdtdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fdtdec.c b/lib/fdtde

[U-Boot] [PATCH v2 5/5] doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor

2018-12-06 Thread Neil Armstrong
Since all DTS files has been switched to "jedec,spi-nor", remove the "spi-flash" compatible from the bindings examples. Signed-off-by: Neil Armstrong --- doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 2 +- doc/device-tree-bindings/spi/spi-atcspi200.txt

Re: [U-Boot] [PATCH v2 4/5] fdtdec: switch GENERIC_SPI_FLASH to jedec, spi-nor

2018-12-06 Thread Neil Armstrong
On 06/12/2018 11:06, Simon Goldschmidt wrote: > On Thu, Dec 6, 2018 at 10:51 AM Neil Armstrong > wrote: >> >> The x86 code uses "spi-flash" to detect a flash node, switch to >> "jedec,spi-nor" since the DTS files has been switched already. >>

Re: [U-Boot] [PATCH] pinctrl: meson: axg: Fix GPIO pin offsets

2018-12-07 Thread Neil Armstrong
Hi, On 07/12/2018 06:14, Kevin Hilman wrote: > Carlo Caione writes: > >> The pin number (first and last) in the bank definition is missing the >> pin base offset shifting. This is causing a miscalculation when >> retrieving the register and pin offsets in the GPIO driver causing the >> 'gpio' co

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

2018-12-07 Thread Neil Armstrong
Hi Tom, Two simple fixes for the pinctrl driver. Thanks, Neil The following changes since commit d452f27b3ea806fd99aee4b73a723318032c1d5c: Prepare v2019.01-rc1 (2018-12-03 23:50:13 -0500) are available in the Git repository at: git://git.denx.de/u-boot-amlogic.git tags/u-boot-amlogic-2018

Re: [U-Boot] [PATCH] test: dm: regmap: Fix the long test delay

2018-12-11 Thread Neil Armstrong
On 10/12/2018 01:11, Simon Glass wrote: > At present one of the regmap tests takes 5 seconds to run since it waits > for a timeout. This should be handled using sandbox_timer_add_offset() > which advances time for test purposes. > > This requires a little change to make the regmap_read_poll_timeou

Re: [U-Boot] policy regarding unused code

2018-12-14 Thread Neil Armstrong
On 11/12/2018 16:46, Jean-Jacques Hiblot wrote: > > On 11/12/2018 16:25, Jean-Jacques Hiblot wrote: >> Hi Tom, >> >> Is there such a policy described somewhere ? >> >> There are quite a pieces of code that are not used/compiled because no >> config enables it. >> >> A random pick among many other

[U-Boot] [PATCH u-boot] arm: dts: s400: Fix status for eMMC and SDIO ports

2018-12-17 Thread Neil Armstrong
Under U-boot, the WiFi SDIO Module should be disabled and the eMMC modules should be enabled, so this patch adds an s400-u-boot.dtsi include file specific for U-Boot that will be included by the build system. Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-axg-s400-u-boot.dtsi | 14

Re: [U-Boot] [U-Boot, u-boot, 2/2] clk: clk_meson: Add mux and div support for reparent and rate setting

2018-08-06 Thread Neil Armstrong
Hi Tom, On 05/08/2018 01:39, Tom Rini wrote: > On Thu, Jul 26, 2018 at 03:54:04PM +0200, Neil Armstrong wrote: > >> This patch adds support for : >> - Rate calculation through muxes and generic dividers >> - Basic gate setting propagation >> - Reparenting for

Re: [U-Boot] [PATCH u-boot 1/2] power: domain: Add the VPU Power Domain driver

2018-08-06 Thread Neil Armstrong
On 02/08/2018 22:36, Simon Glass wrote: > Hi Neil, > > On 26 July 2018 at 07:54, Neil Armstrong wrote: >> The Amlogic Meson SoCs embeds a specific Power Domain dedicated to the >> Video Processing Unit. >> This patch implements support for this power domain in p

[U-Boot] [PATCH v2 u-boot 0/2] Add the VPU Power Domain support

2018-08-06 Thread Neil Armstrong
setup of the VPU and VAPB clocks configured from DT using assigned-clocks entries. Changes since v1: - Fixed "format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int'" in clk_meson.c Neil Armstrong (2): power: domain: Add the

[U-Boot] [PATCH v2 u-boot 1/2] power: domain: Add the VPU Power Domain driver

2018-08-06 Thread Neil Armstrong
setup of the VPU and VAPB clocks configured from DT using assigned-clocks entries. Reviewed-by: Simon Glass Signed-off-by: Neil Armstrong --- drivers/power/domain/Kconfig | 7 ++ drivers/power/domain/Makefile| 1 + drivers/power/domain/meson-gx-pwrc-vpu.c | 198

[U-Boot] [PATCH v2 u-boot 2/2] clk: clk_meson: Add mux and div support for reparent and rate setting

2018-08-06 Thread Neil Armstrong
Processing Unit Power Domain clock setup. Reviewed-by: Simon Glass Signed-off-by: Neil Armstrong --- drivers/clk/clk_meson.c | 533 +++- 1 file changed, 528 insertions(+), 5 deletions(-) diff --git a/drivers/clk/clk_meson.c b/drivers/clk/clk_meson.c

Re: [U-Boot] [PATCH v2 u-boot 1/2] power: domain: Add the VPU Power Domain driver

2018-08-20 Thread Neil Armstrong
On 16/08/2018 10:15, Beniamino Galvani wrote: > On Mon, Aug 06, 2018 at 02:49:19PM +0200, Neil Armstrong wrote: >> The Amlogic Meson SoCs embeds a specific Power Domain dedicated to the >> Video Processing Unit. >> This patch implements support for this power domain in prepara

Re: [U-Boot] [PATCH u-boot 1/3] boards: amlogic: remove ethernet gpio reset code from boards

2018-08-20 Thread Neil Armstrong
/* Reset PHY on GPIOZ_14 */ > - clrbits_le32(GX_GPIO_EN(3), BIT(14)); > - clrbits_le32(GX_GPIO_OUT(3), BIT(14)); > - mdelay(10); > - setbits_le32(GX_GPIO_OUT(3), BIT(14)); > - > if (!eth_env_get_enetaddr("ethaddr", mac_addr)) { >

Re: [U-Boot] [PATCH u-boot 2/3] boards: amlogic: use common function for environment initialization

2018-08-20 Thread Neil Armstrong
Hi Beniamino, On 14/08/2018 15:07, Beniamino Galvani wrote: > Clean up board files by moving the duplicate environment > initialization to arch code. > > Signed-off-by: Beniamino Galvani > --- > arch/arm/include/asm/arch-meson/sm.h | 1 + > arch/arm/mach-meson/sm.c | 27 +

Re: [U-Boot] [PATCH] amlogic: board p212: Fix Ethernet PHY init

2018-09-03 Thread Neil Armstrong
HY_INTERFACE_MODE_RMII, > MESON_GXL_USE_INTERNAL_RMII_PHY); > > if (!eth_env_get_enetaddr("ethaddr", mac_addr)) { > len = meson_sm_read_efuse(EFUSE_MAC_OFFSET, > Acked-by: Neil Armstrong Please resend with my Acked-by tag ! Thanks for fixing this...

[U-Boot] [PATCH u-boot] ARM64: meson: Sync DT with Linux 4.17

2018-06-05 Thread Neil Armstrong
Synchronize the Linux Device Tree for Amlogic Meson GX boards from Linux 4.17.0 This will enable USB on Amlogic Meson GXL Boards like Khadas VIM, P212 or LibreTech-CC. Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-gx.dtsi| 40 +-- arch/arm/dts/meson-gxbb

[U-Boot] [PATCH u-boot 0/5] Amlogic Meson GX Updates for v2018.07

2018-06-14 Thread Neil Armstrong
alvani (2): clk: add Amlogic meson clock driver meson: use the clock driver Neil Armstrong (3): adc: meson-saradc: fix regmap_init_mem call config: meson-gx-common: Enable USB boot configs: Update Meson GX configs arch/arm/include/asm/arch-meson/clock.h | 117 + arch/arm/include

[U-Boot] [PATCH u-boot 1/5] adc: meson-saradc: fix regmap_init_mem call

2018-06-14 Thread Neil Armstrong
The SARADC driver was merged after the following commit : commit d35812368a59 ("regmap: change regmap_init_mem() to take ofnode instead udevice") Thus breaking build, this patch fixes the regmap_init_mem accordingly. Signed-off-by: Neil Armstrong --- drivers/adc/meson-saradc.c | 2

[U-Boot] [PATCH u-boot 4/5] meson: use the clock driver

2018-06-14 Thread Neil Armstrong
From: Beniamino Galvani Use the clk framework to initialize clocks from drivers that need them instead of having hardcoded frequencies and initializations from board code. Signed-off-by: Beniamino Galvani Signed-off-by: Neil Armstrong --- arch/arm/include/asm/arch-meson/gx.h | 10

[U-Boot] [PATCH u-boot 2/5] config: meson-gx-common: Enable USB boot

2018-06-14 Thread Neil Armstrong
Add USB as boot target depending on the configuration. Signed-off-by: Neil Armstrong --- include/configs/meson-gx-common.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/meson-gx-common.h b/include/configs/meson-gx-common.h index 6e61b70..7435f34 100644 --- a

[U-Boot] [PATCH u-boot 3/5] clk: add Amlogic meson clock driver

2018-06-14 Thread Neil Armstrong
From: Beniamino Galvani Introduce a basic clock driver for Amlogic Meson SoCs which supports enabling/disabling clock gates and getting their frequency. Signed-off-by: Beniamino Galvani Signed-off-by: Neil Armstrong --- arch/arm/include/asm/arch-meson/clock.h | 117 ++ arch/arm/mach

[U-Boot] [PATCH u-boot 5/5] configs: Update Meson GX configs

2018-06-14 Thread Neil Armstrong
Enable USB on all Amlogic Meson GXL based board. Enable Regulator support on all boards. Enable ADC support on the LibreTech-CC board. Signed-off-by: Neil Armstrong --- configs/khadas-vim_defconfig | 14 ++ configs/libretech-cc_defconfig | 17 + configs/odroid

[U-Boot] [PATCH u-boot 0/2] Add support for the FriendlyElec NanoPi K2 board

2018-06-25 Thread Neil Armstrong
necessary. Neil Armstrong (1): ARM: dts: sync meson-gxbb-nanopi-k2 from Linux 4.17 Thomas McKahan (1): boards: amlogic: Add FriendlyElec NanoPi K2 board support arch/arm/dts/Makefile | 2 + arch/arm/dts/meson-gxbb-nanopi-k2.dts | 323 ++ arch/arm

[U-Boot] [PATCH u-boot 1/2] ARM: dts: sync meson-gxbb-nanopi-k2 from Linux 4.17

2018-06-25 Thread Neil Armstrong
Get the meson-gxbb-nanopi-k2.dts file from Linux 4.17. Signed-off-by: Neil Armstrong --- arch/arm/dts/Makefile | 1 + arch/arm/dts/meson-gxbb-nanopi-k2.dts | 323 ++ 2 files changed, 324 insertions(+) create mode 100644 arch/arm/dts/meson-gxbb

[U-Boot] [PATCH u-boot 2/2] boards: amlogic: Add FriendlyElec NanoPi K2 board support

2018-06-25 Thread Neil Armstrong
: Thomas McKahan Signed-off-by: Neil Armstrong --- arch/arm/dts/Makefile | 1 + arch/arm/mach-meson/Kconfig | 8 +++ board/amlogic/nanopi-k2/Kconfig | 12 + board/amlogic/nanopi-k2/MAINTAINERS | 6 +++ board/amlogic/nanopi-k2/Makefile| 7 +++ board/amlogic/nanopi-k2

[U-Boot] [PATCH u-boot] boards: amlogic: Fix boards README

2018-06-27 Thread Neil Armstrong
Fix typos and update the supported devices for all Amlogic boards. Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/Kconfig | 2 +- board/amlogic/khadas-vim/README | 8 +++- board/amlogic/libretech-cc/README | 12 +--- board/amlogic/odroid-c2/README| 5

Re: [U-Boot] [PATCH v2 1/2] ARM64: meson: Add 'usb2_phy0' in P212 DT file

2018-07-09 Thread Neil Armstrong
Hi Loic, On 09/07/2018 17:34, Loic Devulder wrote: > Enable power supply for USB Amlogic Meson GXL P212 based boards. > > Signed-off-by: Loic Devulder We like to keep the u-boot and linux DTS synced, this changed was backported on Linux v4.17.5, can you instead precise you backported the last

Re: [U-Boot] [PATCH v2 2/2] configs: Update Meson GX configs

2018-07-09 Thread Neil Armstrong
set > +CONFIG_CMD_ADC=y > CONFIG_CMD_GPIO=y > # CONFIG_CMD_LOADS is not set > CONFIG_CMD_MMC=y > CONFIG_CMD_USB=y > # CONFIG_CMD_SETEXPR is not set > CONFIG_CMD_REGULATOR=y > +CONFIG_ADC=y > +CONFIG_SARADC_MESON=y > CONFIG_OF_CONTROL=y >

Re: [U-Boot] [PATCH 1/1] Fix README for Khadas VIM board

2018-07-10 Thread Neil Armstrong
Hi Loic, On 10/07/2018 15:15, Loic Devulder wrote: > Fix documentation to be able to cross-compile U-Boot on Khadas VIM board. > > Signed-off-by: Loic Devulder > --- > board/amlogic/khadas-vim/README | 32 +--- > 1 file changed, 25 insertions(+), 7 deletions(-) > >

Re: [U-Boot] [[PATCH v3] 1/2] ARM64: meson: Sync DT with Linux 4.17.5

2018-07-10 Thread Neil Armstrong
eson-gxl-s905x-p212.dtsi > +++ b/arch/arm/dts/meson-gxl-s905x-p212.dtsi > @@ -189,3 +189,10 @@ > &usb0 { > status = "okay"; > }; > + > +&usb2_phy0 { > +/* > + * HDMI_5V is also used as supply for the USB V

Re: [U-Boot] [ANN] U-Boot v2018.07 released

2018-07-10 Thread Neil Armstrong
3 (8.7%) > Igor Opaniuk 8197 (6.9%) > Tom Rini 5556 (4.7%) > Miquel Raynal 3987 (3.4%) > Jagan Teki3308 (2.8%) > Alex Kiernan 2702 (2.3%) > Alexander Graf2190 (1.9%) > Neil Armstrong1

Re: [U-Boot] [PATCH v2 1/1] Fix README for Khadas VIM board

2018-07-13 Thread Neil Armstrong
s.bin fip/acs.bin 0 > + > python $FIPDIR/acs_tool.pyc fip/bl2.bin fip/bl2_acs.bin fip/acs.bin 0 > > > $FIPDIR/blx_fix.sh \ > fip/bl2_acs.bin \ > Acked-by: Neil Armstrong ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, u-boot, 2/2] boards: amlogic: Add FriendlyElec NanoPi K2 board support

2018-07-20 Thread Neil Armstrong
Hi Tom, On 20/07/2018 14:35, Tom Rini wrote: > On Mon, Jun 25, 2018 at 04:50:17PM +0200, Neil Armstrong wrote: > >> From: Thomas McKahan >> >> This adds platform code for the FriendlyElec NanoPi K2 board based on a >> Meson GXBB (S905) SoC with the Meson GXBB con

[U-Boot] [PATCH] clk: clk_set_default: accept no-op skip fields

2018-07-26 Thread Neil Armstrong
setting if "0" is passed as clock rate. [1] https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/clock/clock-bindings.txt#L135 Fixes: f4fcba5c5baa "clk: implement clk_set_defaults()" Signed-off-by: Neil Armstrong --- drivers/clk/clk-uclass.c |

[U-Boot] [PATCH u-boot 1/2] power: domain: Add the VPU Power Domain driver

2018-07-26 Thread Neil Armstrong
setup of the VPU and VAPB clocks configured from DT using assigned-clocks entries. Signed-off-by: Neil Armstrong --- drivers/power/domain/Kconfig | 7 ++ drivers/power/domain/Makefile| 1 + drivers/power/domain/meson-gx-pwrc-vpu.c | 198 +++ 3

[U-Boot] [PATCH u-boot 0/2] Add the VPU Power Domain support

2018-07-26 Thread Neil Armstrong
setup of the VPU and VAPB clocks configured from DT using assigned-clocks entries. Neil Armstrong (2): power: domain: Add the VPU Power Domain driver clk: clk_meson: Add mux and div support for reparent and rate setting drivers/clk/clk_meson.c | 533

[U-Boot] [PATCH u-boot 2/2] clk: clk_meson: Add mux and div support for reparent and rate setting

2018-07-26 Thread Neil Armstrong
Processing Unit Power Domain clock setup. Signed-off-by: Neil Armstrong --- drivers/clk/clk_meson.c | 533 +++- 1 file changed, 528 insertions(+), 5 deletions(-) diff --git a/drivers/clk/clk_meson.c b/drivers/clk/clk_meson.c index 3850128..be1cc66

Re: [U-Boot] [PATCH u-boot 00/11] meson: add support for Video Output

2019-01-28 Thread Neil Armstrong
Hi Anatolij, Tom, Could you have a look at patches 2, 3 & 4 ? Is there a more dedicated reviewer for this ? Thanks, Neil On 15/01/2019 17:17, Neil Armstrong wrote: > This patchset adds support for CVBS and/or HDMI output for Amlogic > Meson GX SoCs (GXBB, GXL and GXM) based on the L

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

2019-01-28 Thread Neil Armstrong
Hi Tom, First of all, greetings from BayLibre for the new year (a bit late) ! Here is single patch adding support for pinconf on the amlogic pinctrl driver. Thanks, Neil The following changes since commit 0da90255083681a02b24528f80da9d4062ff634a: Merge branch '2019-01-25-master-imports' (201

Re: [U-Boot] [PATCH v3 0/5] spi-flash: switch to "jedec, spi-nor" binding

2019-01-28 Thread Neil Armstrong
Hi Jagan, Tom, On 15/01/2019 13:59, Neil Armstrong wrote: > There is no reason not to use the Linux "jedec,spi-nor" binding in u-boot. > This patchset : > - adds this compatible into sf_probe and will avoid changing the > device tree files to add a u-boot specific com

Re: [U-Boot] [PATCH u-boot 04/11] video: Add Meson Video Processing Unit Driver

2019-01-29 Thread Neil Armstrong
Hi Anatolij, On 28/01/2019 20:56, Anatolij Gustschin wrote: > On Tue, 15 Jan 2019 17:17:52 +0100 > Neil Armstrong narmstr...@baylibre.com wrote: > >> This adds video output support for Amlogic GXBB/GXL/GXM chips. >> The supported ports are CVBS and HDMI (based on DW_HDMI).

Re: [U-Boot] [PULL u-boot] Please pull u-boot-amlogic-20190128

2019-01-29 Thread Neil Armstrong
Hi, On 29/01/2019 11:14, Anatolij Gustschin wrote: > Hi Neil, > > On Mon, 28 Jan 2019 14:09:13 +0100 > Neil Armstrong narmstr...@baylibre.com wrote: > ... >> >> Adds pinconf support for

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

2019-01-29 Thread Neil Armstrong
Hi Tom, Here is single patch adding support for pinconf on the amlogic pinctrl driver, fixed after a build failure report from Anatolij. This PR replaces u-boot-amlogic-20190128. Thanks, Neil The following changes since commit 0da90255083681a02b24528f80da9d4062ff634a: Merge branch '2019-01-25

[U-Boot] [PATCH u-boot] MAINTAINERS: Add Amlogic entry

2019-01-30 Thread Neil Armstrong
Add entry for Amlogic SoC maintained files and the freshly created mailing-list. Signed-off-by: Neil Armstrong --- MAINTAINERS | 22 ++ 1 file changed, 22 insertions(+) Notice for members of linux-amlogic mailing list, I will stop CC this list and CC the new u-boot-amlo

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

2019-01-31 Thread Neil Armstrong
able video by default Neil Armstrong (3): video: Add Meson Video Processing Unit Driver arm64: dts: meson-gx: Add hdmi_5v regulator as hdmi tx supply configs: meson64: use vidconsole and usbkbd if enabled arch/arm/dts/meson-gx-u-boot.dtsi | 21 + arch/arm/dts/m

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

2019-01-31 Thread Neil Armstrong
ault arm: libretech-cc: enable video by default Neil Armstrong (3): video: Add Meson Video Processing Unit Driver arm64: dts: meson-gx: Add hdmi_5v regulator as hdmi tx supply configs: meson64: use vidconsole and usbkbd if enabled arch/arm/dts/meson-gx-u-boot.

Re: [U-Boot] [PATCH v3 0/5] spi-flash: switch to "jedec, spi-nor" binding

2019-02-07 Thread Neil Armstrong
Le 07/02/2019 13:28, Jagan Teki a écrit : > On Tue, Jan 15, 2019 at 6:29 PM Neil Armstrong > wrote: >> >> There is no reason not to use the Linux "jedec,spi-nor" binding in u-boot. >> This patchset : >> - adds this compatible into sf_probe and will avoi

[U-Boot] [PATCH v4 2/4] x86: dts: switch spi-flash to jedec, spi-nor compatible

2019-02-10 Thread Neil Armstrong
The x86 code and DT uses "spi-flash" to detect a flash node, switch to "jedec,spi-nor" in the DTS files and in fdtdec by switching the GENERIC_SPI_FLASH value to to jedec,spi-nor. Signed-off-by: Neil Armstrong Reviewed-by: Simon Goldschmidt --- arch/x86/dts/bayleybay.dts

[U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding

2019-02-10 Thread Neil Armstrong
s examples files to "jedec,spi-nor" Changes since v3: - collected tags - dropped patch 1 - updated for new boards Changes since v2: - collected tags - extracted x86 dts changed and merged it with the fdtdec change - updated for new boards Neil Armstrong (4): dts: switch spi-flash to jede

[U-Boot] [PATCH v4 4/4] doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor

2019-02-10 Thread Neil Armstrong
Since all DTS files has been switched to "jedec,spi-nor", remove the "spi-flash" compatible from the bindings examples. Signed-off-by: Neil Armstrong Reviewed-by: Simon Goldschmidt Reviewed-by: Rick Chen Reviewed-by: Patrick Delaunay --- doc/device-tree-bindings/pin

[U-Boot] [PATCH v4 3/4] mtd: sf_probe: remove spi-flash compatible

2019-02-10 Thread Neil Armstrong
Now the "spi-flash" compatible has been removed in the DTS files, remove this compatible from sf_probe to finally use the Linux "jedec,spi-nor" compatible. Signed-off-by: Neil Armstrong Reviewed-by: Simon Goldschmidt --- drivers/mtd/spi/sf_probe.c | 1 - 1 file changed,

[U-Boot] [PATCH v4 1/4] dts: switch spi-flash to jedec, spi-nor compatible

2019-02-10 Thread Neil Armstrong
. The x86 dts are switched in a separate commit since it depends on a change in fdtdec. Signed-off-by: Neil Armstrong Acked-by: Stefan Roese Reviewed-by: Simon Goldschmidt Reviewed-by: Evgeniy Paltsev Reviewed-by: Rick Chen Reviewed-by: Patrick Delaunay --- arch/arc/dts/axs1

Re: [U-Boot] [PATCH v4 0/4] spi-flash: switch to "jedec, spi-nor" binding

2019-02-10 Thread Neil Armstrong
,spi-nor in fdtdec >> - switches dt bindings examples files to "jedec,spi-nor" >> >> Changes since v3: >> - collected tags >> - dropped patch 1 >> - updated for new boards >> >> Changes since v2: >> - collected tags >> - extracte

Re: [U-Boot] [PATCH u-boot] arm: dts: s400: Fix status for eMMC and SDIO ports

2018-12-19 Thread Neil Armstrong
On 19/12/2018 15:44, Jerome Brunet wrote: > On Mon, 2018-12-17 at 10:26 +0100, Neil Armstrong wrote: >> Under U-boot, the WiFi SDIO Module should be disabled and the >> eMMC modules should be enabled, so this patch adds an s400-u-boot.dtsi >> include file specific for U-Boot

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

2018-12-19 Thread Neil Armstrong
. Neil Armstrong (1): arm: dts: s400: Fix status for eMMC and SDIO ports arch/arm/dts/meson-axg-s400-u-boot.dtsi | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 arch/arm/dts/meson-axg-s400-u-boot.dtsi

Re: [U-Boot] [PATCH u-boot 0/2] net: designware: add meson meson compatibles

2019-01-03 Thread Neil Armstrong
Hi Joe, On 02/01/2019 22:01, Joe Hershberger wrote: > On Fri, Nov 9, 2018 at 8:21 AM Neil Armstrong wrote: >> >> Add the compatible strings in the Synopsys DWMAC driver for : >> - The Amlogic GXBB (and other GX) SoC >> - The Amlogic AXG (and other GX) SoC >>

Re: [U-Boot] [PATCH u-boot] pinctrl: meson: add pinconf support

2019-01-14 Thread Neil Armstrong
Hi Jerome, On 04/01/2019 15:44, Jerome Brunet wrote: > Adding pinconf support is necessary to enable boot from SPI > without breaking the eMMC. When booting from SPI, the ROM code > leave pull downs on the eMMC pad. > > We need to set pinconf provided in DT to solve this > > Signed-off-by: Jerom

[U-Boot] [PATCH v3 0/5] spi-flash: switch to "jedec, spi-nor" binding

2019-01-15 Thread Neil Armstrong
r" - remove the "spi-flash" compatible from sf-probe - switch GENERIC_SPI_FLASH to jedec,spi-nor in fdtdec - switches dt bindings examples files to "jedec,spi-nor" Changes since v2: - collected tags - extracted x86 dts changed and merged it with the fdtdec change - updated f

[U-Boot] [PATCH v3 1/5] mtd: sf_probe: add jedec, spi-nor compatible

2019-01-15 Thread Neil Armstrong
ng the non-modified device tree file for Amlogic Meson GX SoC based boards. Signed-off-by: Neil Armstrong Reviewed-by: Simon Goldschmidt --- drivers/mtd/spi/sf_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index 00f8558e70..7a37991

[U-Boot] [PATCH v3 2/5] dts: switch spi-flash to jedec, spi-nor compatible

2019-01-15 Thread Neil Armstrong
. The x86 dts are switched in a separate commit since it depends on a change in fdtdec. Signed-off-by: Neil Armstrong Acked-by: Stefan Roese Reviewed-by: Simon Goldschmidt --- arch/arc/dts/axs10x_mb.dtsi | 2 +- arch/arc/dts/hsdk.dts

[U-Boot] [PATCH v3 3/5] x86: dts: switch spi-flash to jedec, spi-nor compatible

2019-01-15 Thread Neil Armstrong
The x86 code and DT uses "spi-flash" to detect a flash node, switch to "jedec,spi-nor" in the DTS files and in fdtdec by switching the GENERIC_SPI_FLASH value to to jedec,spi-nor. Signed-off-by: Neil Armstrong Reviewed-by: Simon Goldschmidt --- arch/x86/dts/bayleybay.dts

[U-Boot] [PATCH v3 5/5] doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor

2019-01-15 Thread Neil Armstrong
Since all DTS files has been switched to "jedec,spi-nor", remove the "spi-flash" compatible from the bindings examples. Signed-off-by: Neil Armstrong Reviewed-by: Simon Goldschmidt --- doc/device-tree-bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 2 +- doc/device-t

[U-Boot] [PATCH v3 4/5] mtd: sf_probe: remove spi-flash compatible

2019-01-15 Thread Neil Armstrong
Now the "spi-flash" compatible has been removed in the DTS files, remove this compatible from sf_probe to finally use the Linux "jedec,spi-nor" compatible. Signed-off-by: Neil Armstrong Reviewed-by: Simon Goldschmidt --- drivers/mtd/spi/sf_probe.c | 1 - 1 file changed,

[U-Boot] [PATCH u-boot 00/11] meson: add support for Video Output

2019-01-15 Thread Neil Armstrong
be probed before relocation arm64: dts: meson-gx: add hhi reg entry to hdmi_tx arm: meson: board-gx: Setup VPU in fdt arm: meson64: enable console mux and console env by default arm: libretech-cc: enable video by default Neil Armstrong (3): video: Add Meson Video Processing Unit Driver

[U-Boot] [PATCH u-boot 01/11] power: domain: meson-gx-pwrc-vpu: add missing depends

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan MESON_GX_VPU_POWER_DOMAIN should depend on POWER_DOMAIN. Signed-off-by: Maxime Jourdan Signed-off-by: Neil Armstrong --- drivers/power/domain/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/domain/Kconfig b/drivers/power/domain

[U-Boot] [PATCH u-boot 03/11] video: dw_hdmi: add support for color conversion

2019-01-15 Thread Neil Armstrong
Signed-off-by: Maxime Jourdan Signed-off-by: Neil Armstrong --- drivers/video/dw_hdmi.c| 253 - include/dw_hdmi.h | 72 +++ include/media_bus_format.h | 156 +++ 3 files changed, 480 insertions(+), 1 deletion(-) create

[U-Boot] [PATCH u-boot 02/11] video: dw_hdmi: support SoC specific read/write ops

2019-01-15 Thread Neil Armstrong
From: Jorge Ramirez-Ortiz Some IPs like the meson VPU have a specific way to write to dw_hdmi registers. Make it configurable. Signed-off-by: Jorge Ramirez-Ortiz [added commit description] Signed-off-by: Maxime Jourdan Signed-off-by: Neil Armstrong --- drivers/video/dw_hdmi.c | 14

[U-Boot] [PATCH u-boot 07/11] arm64: dts: meson-gx: add hhi reg entry to hdmi_tx

2019-01-15 Thread Neil Armstrong
axime Jourdan Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-gx-u-boot.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/meson-gx-u-boot.dtsi b/arch/arm/dts/meson-gx-u-boot.dtsi index 868a573e2a..b84e5edba4 100644 --- a/arch/arm/dts/meson-gx-u-boot.dtsi +++ b/arch/ar

[U-Boot] [PATCH u-boot 08/11] arm: meson: board-gx: Setup VPU in fdt

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan 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: Maxime Jourdan Signed-off-by: Neil

[U-Boot] [PATCH u-boot 06/11] arm64: dts: meson-gx: Add hdmi_5v regulator as hdmi tx supply

2019-01-15 Thread Neil Armstrong
The hdmi_5v regulator must be enabled to provide power to the physical HDMI PHY and enables the HDMI 5V presence loopback for the monitor. Fixes: b409f625a6d5 ("ARM64: dts: meson-gx: Add HDMI_5V regulator on selected boards") Signed-off-by: Neil Armstrong Signed-off-by: Kevin Hilman

[U-Boot] [PATCH u-boot 09/11] configs: meson64: use vidconsole and usbkbd if enabled

2019-01-15 Thread Neil Armstrong
Allows displaying the console via video and using a USB keyboard. Also enables CONFIG_SPLASH_SCREEN if using video. Signed-off-by: Neil Armstrong Signed-off-by: Maxime Jourdan --- include/configs/meson64.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/include

[U-Boot] [PATCH u-boot 05/11] arm64: dts: meson-gx: vpu should be probed before relocation

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan Flag the appropriate nodes with u-boot,dm-pre-reloc Signed-off-by: Maxime Jourdan Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-gx-u-boot.dtsi | 15 +++ arch/arm/dts/meson-gxbb-nanopi-k2-u-boot.dtsi | 7 +++ arch/arm/dts/meson

[U-Boot] [PATCH u-boot 11/11] arm: libretech-cc: enable video by default

2019-01-15 Thread Neil Armstrong
From: Maxime Jourdan libretech-cc being the main device tested with CONFIG_VIDEO_MESON, let's enable it by default. Also enable: - CONFIG_SYS_WHITE_ON_BLACK for prettiness - CONFIG_VIDEO_DT_SIMPLEFB for framebuffer sharing with kernel Signed-off-by: Maxime Jourdan Signed-off-by:

[U-Boot] [PATCH u-boot 10/11] arm: meson64: enable console mux and console env by default

2019-01-15 Thread Neil Armstrong
Jourdan Signed-off-by: Neil Armstrong --- configs/khadas-vim2_defconfig | 2 ++ configs/khadas-vim_defconfig | 2 ++ configs/libretech-cc_defconfig | 2 ++ configs/odroid-c2_defconfig| 2 ++ configs/p212_defconfig | 2 ++ 5 files changed, 10 insertions(+) diff --git a/configs/khadas

Re: [U-Boot] board/amlogic/odroid-c2/README - how to make the instructions more portable?

2019-01-17 Thread Neil Armstrong
Hi Martin, On 17/01/2019 13:22, Martin Husemann wrote: > Hi folks, > > I am trying to get a new u-boot on my Odroid C2 following the instructions > in board/amlogic/odroid-c2/README. > > Unfortunately these tell me to use not only the vendor provided blobs, but > also their tools. This is painfu

[U-Boot] [PATCH] mtd: sf_probe: add jedec,spi-nor compatible

2018-11-06 Thread Neil Armstrong
ng the non-modified device tree file for Amlogic Meson GX SoC based boards. Signed-off-by: Neil Armstrong --- drivers/mtd/spi/sf_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index 94fde2a..bf72aa6 100644 --- a/drivers/mtd/spi/

[U-Boot] [PATCH u-boot] spi: Add Amlogic Meson SPI Flash Controller driver

2018-11-06 Thread Neil Armstrong
The Amlogic Meson SoCs embeds a Flash oriented SPI Controller name SPIFC. This driver, ported from the Linux meson-spi-spifc driver, add support for this controller on the Amlogic Meson GX SoCs in U-Boot. Signed-off-by: Neil Armstrong --- drivers/spi/Kconfig | 8 + drivers/spi/Makefile

[U-Boot] [PATCH u-boot] mmc: meson-gx: Add AXG compatible

2018-11-09 Thread Neil Armstrong
Add the compatible string for the upcoming Amlogic AXG SoC family. Signed-off-by: Neil Armstrong --- drivers/mmc/meson_gx_mmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/meson_gx_mmc.c b/drivers/mmc/meson_gx_mmc.c index 332f1e1..767dfff 100644 --- a/drivers/mmc

[U-Boot] [PATCH u-boot 0/2] net: designware: add meson meson compatibles

2018-11-09 Thread Neil Armstrong
Add the compatible strings in the Synopsys DWMAC driver for : - The Amlogic GXBB (and other GX) SoC - The Amlogic AXG (and other GX) SoC Neil Armstrong (2): net: designware: add meson meson gxbb comptatible net: designware: add meson meson axg compatible drivers/net/designware.c | 2 ++ 1

[U-Boot] [PATCH u-boot 2/2] net: designware: add meson meson axg compatible

2018-11-09 Thread Neil Armstrong
Add the compatible string for the upcoming Amlogic AXG SoC family. Signed-off-by: Neil Armstrong --- drivers/net/designware.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index cdcc03f..4fa26ab 100644 --- a/drivers/net/designware.c

[U-Boot] [PATCH u-boot 1/2] net: designware: add meson meson gxbb compatible

2018-11-09 Thread Neil Armstrong
Add the compatible string for the Amlogic GXBB SoC family. Signed-off-by: Neil Armstrong --- drivers/net/designware.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 19db0a8..cdcc03f 100644 --- a/drivers/net/designware.c +++ b

[U-Boot] [PATCH u-boot 00/19] Amlogic Meson cleanup for AXG SoC support

2018-11-09 Thread Neil Armstrong
sses pinctrl: meson: rework gx pmx function pinctrl: meson: select generic pinctrl pinctrl: meson: add axg support clk: meson: silence debug print ARM: meson: rework soc arch file to prepare for new SoC ARM: meson: factorize common code out amlogic's boards Neil Armstrong (7)

[U-Boot] [PATCH u-boot 01/19] ARM: meson: clean-up platform selection

2018-11-09 Thread Neil Armstrong
: Jerome Brunet Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/Kconfig | 51 ++--- 1 file changed, 20 insertions(+), 31 deletions(-) diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig index cc94344..bc0f6a1 100644 --- a/arch/arm/mach

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