Re: [linux-sunxi] [PATCH] sunxi: Add arm64 FEL support

2020-12-21 Thread Priit Laes
so that other payloads can be > transferred via FEL as well. > > Tested on A64, H5 and H6. For A64 (on Olimex A64-Olinuxino): Tested-by: Priit Laes Also writing down the command to run as it was not that obvious: $ sunxi-fel spl sunxi-spl.bin \ write 0x4a00 u-boot

[PATCH] imx: imx8: Update README with somewhat correct firmware versions

2021-03-08 Thread Priit Laes
From: Priit Laes Current setup instructions for i.MX8QM MEK board include somewhat conflicting instructions, so here's an attempt to fix it. After trying both sets of firmwares, I can conclude that both of them fail to work: - no boot at all with imx-sc-firmware-0.7 / firmware-im

Re: [linux-sunxi] [PATCH] sunxi: Add arm64 FEL support

2020-11-19 Thread Priit Laes
On Thu, Nov 19, 2020 at 10:54:42AM +, Andre Przywara wrote: > So far we did not support the BootROM based FEL USB debug mode on the > 64-bit builds for Allwinner SoCs: The BootROM is using AArch32, but the > SPL runs in AArch64. > Returning back to AArch32 was not working as expected, since the

Re: [U-Boot] [linux-sunxi] [PATCH v2 2/5] sunxi: add USB EHCI driver

2014-07-16 Thread Priit Laes
Ühel kenal päeval, T, 15.07.2014 kell 23:56, kirjutas Roman Byshko: > Signed-off-by: Roman Byshko > --- > drivers/usb/host/Makefile | 1 + > drivers/usb/host/ehci-sunxi.c | 212 > ++ > 2 files changed, 213 insertions(+) > create mode 100644 drivers/

Re: [U-Boot] [linux-sunxi] [PATCH v3 0/9] Stop AXP from crashing when enabling LDO3

2018-11-27 Thread Priit Laes
On Wed, Nov 21, 2018 at 08:05:24PM +0200, Priit Laes wrote: > This is a resend/v2 of a "Stop AXP from crashing when enabling LDO3" series, > posted by Olliver Schinagl in March 2017. Unfortunately it never got past > initial discussion [1], but most Olimex Lime2 boards are s

Re: [U-Boot] [PATCH v3 0/9] Stop AXP from crashing when enabling LDO3

2018-11-28 Thread Priit Laes
On Wed, Nov 28, 2018 at 08:23:37PM +0800, Andy Yan wrote: > Hi : > Andy Yan 于2018年11月28日周三 下午7:10写道: > > > Hi: > > Priit Laes 于2018年11月22日周四 上午2:06写道: > > > >> This is a resend/v2 of a "Stop AXP from crashing when enabling LDO3" > >>

Re: [U-Boot] [PATCH] Revert "sunxi: board: Print error after power initialization fails"

2018-12-18 Thread Priit Laes
; > Signed-off-by: Karl Palsson Tested-By: Priit Laes Tested with A20 Olinuxino Lime2 (where original works too) and H2+ OrangePi Zero V1.1 (where the original patch caused breakage). > --- > > Ideally, this should get into 2019.01, so that this release is not > broken on those

Re: [U-Boot] [linux-sunxi] [PATCH] Revert "sunxi: board: Print error after power initialization fails"

2018-12-18 Thread Priit Laes
On Tue, Dec 18, 2018 at 09:17:27PM +0100, Michael Nazzareno Trimarchi wrote: > Hi Karl > > On Tue, Dec 18, 2018 at 7:12 PM Karl Palsson wrote: > > > > > > Jagan Teki wrote: > > > It's 4 days before, "U-Boot] sunxi: regression in dram init for > > > h3 board" > > > > > > 7 days is not 4-days :) >

[U-Boot] CONFIG_DM_USB breakage on sunxi boards with musb?

2018-12-18 Thread Priit Laes
Heya! I ran into following error when trying to fel-boot A20 OLinuxino Lime2 eMMC board with latest u-boot: [snip] U-Boot 2019.01-rc2-5-gbf60dae9dd (Dec 19 2018 - 09:47:08 +0200) Allwinner Technology CPU: Allwinner A20 (SUN7I) Model: Olimex A20-OLinuXino-LIME2-eMMC I2C: ready DRAM: 1 G

Re: [U-Boot] [linux-sunxi] [PATCH] Revert "sunxi: board: Print error after power initialization fails"

2018-12-19 Thread Priit Laes
On Wed, Dec 19, 2018 at 01:45:29AM +, André Przywara wrote: > On 19/12/2018 00:51, André Przywara wrote: > > On 18/12/2018 12:06, Jagan Teki wrote: > >> On Tue, Dec 18, 2018 at 4:09 PM wrote: > >>> > >>> From: Karl Palsson > >>> > >>> This reverts commit a8011eb84dfac5187cebf00ed8bc981bdb5c1f

Re: [U-Boot] [linux-sunxi] CONFIG_DM_USB breakage on sunxi boards with musb?

2018-12-19 Thread Priit Laes
On Wed, Dec 19, 2018 at 01:26:18PM +0530, Jagan Teki wrote: > On Wed, Dec 19, 2018 at 1:23 PM Priit Laes wrote: > > > > Heya! > > > > I ran into following error when trying to fel-boot > > A20 OLinuxino Lime2 eMMC board with latest u-boot: > > > > [s

[U-Boot] [PATCH 1/3] videomodes: Allow EDID timings where hsync/vsync pulse is 0

2018-12-19 Thread Priit Laes
From: Priit Laes Current EDID detailed timing parser errors out when either horizontal or vertical pulse sync width is 0, thus not allowing a display with EDID listed below work properly. Of-course, this is somewhat quirky HDMI display with following anti-features: - HPD pin is not usable

[U-Boot] [PATCH 3/3] sunxi: display: Implement fallback to ddc probe when hpd fails

2018-12-19 Thread Priit Laes
From: Priit Laes There are HDMI displays where hpd pin is not connected, thus we cannot get it to work unless we specifically set the resolution. Rework the display probing, so hotplug detect failure causes fallback to probing ddc for EDID data. Signed-off-by: Priit Laes --- drivers/video

[U-Boot] [PATCH 2/3] sunxi: display: Move DDC PLL setup to HDMI init

2018-12-19 Thread Priit Laes
From: Priit Laes Move PLL initialization code to single place so we won't call it every time we query for EDID data. Signed-off-by: Priit Laes --- drivers/video/sunxi/sunxi_display.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/video/

Re: [U-Boot] [linux-sunxi] CONFIG_DM_USB breakage on sunxi boards with musb?

2018-12-19 Thread Priit Laes
On Wed, Dec 19, 2018 at 01:14:22PM +0100, Jean-Jacques Hiblot wrote: > > On 19/12/2018 12:37, Priit Laes wrote: > > On Wed, Dec 19, 2018 at 01:26:18PM +0530, Jagan Teki wrote: > > > On Wed, Dec 19, 2018 at 1:23 PM Priit Laes wrote: > > > > Heya! > > >

Re: [U-Boot] [linux-sunxi] CONFIG_DM_USB breakage on sunxi boards with musb?

2018-12-20 Thread Priit Laes
On Thu, Dec 20, 2018 at 04:50:01PM +0100, Jean-Jacques Hiblot wrote: > > On 19/12/2018 18:15, Priit Laes wrote: > > On Wed, Dec 19, 2018 at 01:14:22PM +0100, Jean-Jacques Hiblot wrote: > > > On 19/12/2018 12:37, Priit Laes wrote: > > > > On Wed, Dec 19, 2018 at 0

Re: [U-Boot] [linux-sunxi] [PATCH] Add NFC register definitions for Allwinner A20 SoC

2018-12-26 Thread Priit Laes
On Wed, Dec 26, 2018 at 02:37:26PM +0300, Nikolai Zhubr wrote: > And while at it, why not finally add the DT register definitions for > Allwinner A20 NFC. I'm certainly not the author of these, and they have been > around for many years already. Its quite unlikely they will suddenly change, > or va

Re: [U-Boot] [linux-sunxi] [PATCH] Revert "sunxi: board: Print error after power initialization fails"

2018-12-29 Thread Priit Laes
ly unintended change the patch just moved the error > >> message around, so reverting this is not a real loss. > > > >Better mark this as TODO somewhere, may be some one look it later. > > > >> > >> This reverts commit a8011

Re: [U-Boot] [PATCH] mmc: sunxi: Fix mmc clocks for DM_MMC

2019-01-09 Thread Priit Laes
rt > DM_MMC and eventually this will drop once CLK support is in Mainline. Tested-by: Priit Laes on Gemei G9 A10 Tablet > > Fixes: 3c92cca3cda0 ("ARM: dts: sun4i: Update A10 dts(i) files from > Linux-v4.18-rc3") > Signed-off-by: Jagan Tek

[U-Boot] [PATCH] arm: sunxi: Enable SPL/SPI boot for Olinuxino Lime2-eMMC boards

2019-01-10 Thread Priit Laes
From: Priit Laes Starting from revision K the Olimex-Lime2-eMMC boards include eMMC 5.x chip. Unfortunately, the internal brom in the A20 cannot reliably initialize those chips resulting in random boot failures on those boards. To overcome this, all the latest Lime2-eMMC boards are populated

Re: [U-Boot] [PATCH 0/7] mmc: sunxi: Enable DM_MMC

2019-01-14 Thread Priit Laes
On Fri, Jan 11, 2019 at 11:34:07PM +0530, Jagan Teki wrote: > I thought of waiting this till CLK framework gets Mainline, > but migration deadline for DM_MMC and BLK seems expiring in > next release. So instead of doing so huddle and make some last > minute changes, I have managed to add CLK, Re

Re: [U-Boot] [linux-sunxi] Re: [PATCH 0/7] mmc: sunxi: Enable DM_MMC

2019-01-14 Thread Priit Laes
On Mon, Jan 14, 2019 at 03:40:37PM +0530, Jagan Teki wrote: > On Mon, Jan 14, 2019 at 3:05 PM Priit Laes wrote: > > > > On Fri, Jan 11, 2019 at 11:34:07PM +0530, Jagan Teki wrote: > > > I thought of waiting this till CLK framework gets Mainline, > > > but migr

Re: [U-Boot] [linux-sunxi] Re: [PATCH 0/7] mmc: sunxi: Enable DM_MMC

2019-01-14 Thread Priit Laes
On Mon, Jan 14, 2019 at 04:00:44PM +0530, Jagan Teki wrote: > On Mon 14 Jan, 2019, 3:53 PM Priit Laes > > On Mon, Jan 14, 2019 at 03:40:37PM +0530, Jagan Teki wrote: > > > On Mon, Jan 14, 2019 at 3:05 PM Priit Laes wrote: > > > > > > > > On Fri, Ja

Re: [U-Boot] [linux-sunxi] Re: [PATCH 0/7] mmc: sunxi: Enable DM_MMC

2019-01-14 Thread Priit Laes
On Mon, Jan 14, 2019 at 10:39:37AM +, Priit Laes wrote: > On Mon, Jan 14, 2019 at 04:00:44PM +0530, Jagan Teki wrote: > > On Mon 14 Jan, 2019, 3:53 PM Priit Laes > > > > On Mon, Jan 14, 2019 at 03:40:37PM +0530, Jagan Teki wrote: > > > > On Mon, Jan 14,

[U-Boot] [PATCH 1/3] videomodes: Relax EDID validation checks for hsync/vsync pulse width

2019-01-17 Thread Priit Laes
From: Priit Laes Current EDID detailed timing parser errors out when either horizontal or vertical pulse sync width is 0, thus not allowing a display with EDID listed below work properly. Same EDID works ok within Linux although it warns about these two fields being 0. Therefore relax the

[U-Boot] [RESEND] videomodes: Relax EDID validation checks for hsync/vsync pulse width

2019-01-18 Thread Priit Laes
From: Priit Laes Current EDID detailed timing parser errors out when either horizontal or vertical pulse sync width is 0, thus not allowing a display with EDID listed below work properly. EDID below works ok within Linux although it warns about these two fields being 0. Therefore relax the

Re: [U-Boot] [linux-sunxi] [PATCH 0/9] sunxi: enable DM_MMC

2019-01-20 Thread Priit Laes
On Sat, Jan 19, 2019 at 01:30:46AM +, Andre Przywara wrote: > This series enables the Allwinner MMC driver to drive all SoCs with its > DM_MMC variant. We use the gates clock and reset support from the new > clock driver, but keep the actual mod clock in its somewhat hackish > state. Properly s

Re: [U-Boot] [linux-sunxi] [PATCH 0/9] sunxi: enable DM_MMC

2019-01-21 Thread Priit Laes
On Mon, Jan 21, 2019 at 12:54:52AM +, André Przywara wrote: > On 20/01/2019 19:51, Priit Laes wrote: > > Hi, > > > On Sat, Jan 19, 2019 at 01:30:46AM +, Andre Przywara wrote: > >> This series enables the Allwinner MMC driver to drive all SoCs with its >

Re: [U-Boot] [linux-sunxi] [PATCH 0/9] sunxi: enable DM_MMC

2019-01-21 Thread Priit Laes
On Mon, Jan 21, 2019 at 08:51:10AM +, Andre Przywara wrote: > Hi, > > > > >>> Testing with A10 Gemei G9 Tablet, FEL mode is broken: > >>> > >>> a) With usb-boot via fel: > >>> > >>> I get following error/warning: > >>> Loading Environment from FAT... Card did not respond to voltage sele

[U-Boot] [PATCH 0/5] sunxi: doc: Add fastboot example + misc cleanups

2018-10-23 Thread Priit Laes
While writing a sample fastboot usage tutorial for sunxi, I also found bunch of discrepancies in the existing docs. Series also includes one simple constification patch that has been sitting in my tree for ages. Priit Laes (5): sunxi: Fix typos of spelling Allwinner sunxi: docs: Unify the

[U-Boot] [PATCH 2/5] sunxi: docs: Unify the formatting style and add some paragraph breaks

2018-10-23 Thread Priit Laes
Signed-off-by: Priit Laes --- board/sunxi/README.nand| 18 +- board/sunxi/README.sunxi64 | 23 --- 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/board/sunxi/README.nand b/board/sunxi/README.nand index a5d4ff0..77a8c7d 100644 --- a/board

[U-Boot] [PATCH 1/5] sunxi: Fix typos of spelling Allwinner

2018-10-23 Thread Priit Laes
Signed-off-by: Priit Laes --- arch/arm/mach-sunxi/dram_sun4i.c | 2 +- arch/arm/mach-sunxi/p2wi.c | 2 +- board/sunxi/README.sunxi64 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-sunxi/dram_sun4i.c b/arch/arm/mach-sunxi/dram_sun4i.c index

[U-Boot] [PATCH 4/5] sunxi: display: Mark sunxi_rgb2yuv_coef array as const

2018-10-23 Thread Priit Laes
sunxi_rgb2yuv_coef is readonly and never modified. Signed-off-by: Priit Laes --- drivers/video/sunxi/sunxi_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/sunxi/sunxi_display.c b/drivers/video/sunxi/sunxi_display.c index 5c8f88c..6dd9bec 100644 --- a

[U-Boot] [PATCH 5/5] sunxi: doc: Add basic fastboot example

2018-10-23 Thread Priit Laes
From: Priit Laes Signed-off-by: Priit Laes --- board/sunxi/README.fastboot | 98 ++- 1 file changed, 98 insertions(+) create mode 100644 board/sunxi/README.fastboot diff --git a/board/sunxi/README.fastboot b/board/sunxi/README.fastboot new file mode 100644

[U-Boot] [PATCH 3/5] sunxi: docs: Mention CONFIG_NAND requirement

2018-10-23 Thread Priit Laes
Signed-off-by: Priit Laes --- board/sunxi/README.nand | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/sunxi/README.nand b/board/sunxi/README.nand index 77a8c7d..dac603c 100644 --- a/board/sunxi/README.nand +++ b/board/sunxi/README.nand @@ -20,9 +20,9 @@ pages. In

Re: [U-Boot] [PATCH 5/5] sunxi: doc: Add basic fastboot example

2018-10-24 Thread Priit Laes
On Tue, Oct 23, 2018 at 08:20:32PM +0300, Priit Laes wrote: > From: Priit Laes > > Signed-off-by: Priit Laes > --- > board/sunxi/README.fastboot | 98 ++- > 1 file changed, 98 insertions(+) > create mode 100644 board/sunxi/README.fastb

Re: [U-Boot] [linux-sunxi] Re: [PATCH 5/5] sunxi: doc: Add basic fastboot example

2018-10-24 Thread Priit Laes
On Wed, Oct 24, 2018 at 05:34:12PM +0100, Maxime Ripard wrote: > On Tue, Oct 23, 2018 at 08:20:32PM +0300, Priit Laes wrote: > > From: Priit Laes > > > > Signed-off-by: Priit Laes > > I don't have a particular objection to the documentation itself, > excep

[U-Boot] [PATCH v3 0/9] Stop AXP from crashing when enabling LDO3

2018-11-21 Thread Priit Laes
y: Olliver Schinagl Signed-off-by: Priit Laes [0] https://groups.google.com/forum/m/#!topic/linux-sunxi/EDvEsbHHqQI [1] https://lists.denx.de/pipermail/u-boot/2017-March/282789.html -- Changes since v2: - Collected Acked-by tags, patches 1,3-5 are now ripe for picking. - Olliver fixed wrong code

[U-Boot] [PATCH v3 1/9] sunxi: board: Print error after power initialization fails

2018-11-21 Thread Priit Laes
. This patch moves the DRAM init after the power failure check. Signed-off-by: Olliver Schinagl Signed-off-by: Priit Laes Acked-by: Maxime Ripard --- board/sunxi/board.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/board/sunxi/board.c b/board/sunxi

[U-Boot] [PATCH v3 6/9] power: axp209: Add support for voltage rate control on LDO3

2018-11-21 Thread Priit Laes
reporting overcurrent condition as it normally should do in this case. Signed-off-by: Olliver Schinagl Signed-off-by: Priit Laes --- drivers/power/Kconfig | 34 ++ drivers/power/axp209.c | 24 include/axp209.h | 21 ++

[U-Boot] [PATCH v3 8/9] arm: sunxi: Reduce inrush current on Olimex OLinuXino-A20-Lime2

2018-11-21 Thread Priit Laes
slope the AXP209 supports. Signed-off-by: Olliver Schinagl Signed-off-by: Priit Laes --- configs/A20-OLinuXino-Lime2_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig index fa58a6d..0c04ae6 100644 --- a

[U-Boot] [PATCH v3 2/9] sunxi: pmic_bus: Decrease boot time by not writing duplicate data

2018-11-21 Thread Priit Laes
: Priit Laes -- Changes since v2: - Fix code for pmic_bus_setbits --- arch/arm/mach-sunxi/pmic_bus.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-sunxi/pmic_bus.c b/arch/arm/mach-sunxi/pmic_bus.c index 5d91d7e..dea42de 100644 --- a/arch/arm/mach-sunxi/pmic_bus.c +++ b/arch

[U-Boot] [PATCH v3 5/9] power: axp209: Reduce magic values by adding defines for LDO[234]

2018-11-21 Thread Priit Laes
From: Olliver Schinagl The AXP209 has a few 'magisc-ish' values that are better served with clear defines. Signed-off-by: Olliver Schinagl Signed-off-by: Priit Laes Acked-by: Maxime Ripard --- drivers/power/axp209.c | 14 +++--- include/axp209.h | 13

[U-Boot] [PATCH v3 3/9] power: axp209: Use BIT() macro

2018-11-21 Thread Priit Laes
From: Olliver Schinagl Use the standard BIT() macro for bitfield definitions in headers. Signed-off-by: Olliver Schinagl Signed-off-by: Priit Laes Acked-by: Maxime Ripard --- include/axp209.h | 34 ++ 1 file changed, 18 insertions(+), 16 deletions(-) diff

[U-Boot] [PATCH v3 7/9] power: axp209: Limit inrush current for broken boards

2018-11-21 Thread Priit Laes
er enabling the output power at 0.7 V, but this did not work. Signed-off-by: Olliver Schinagl Signed-off-by: Priit Laes --- drivers/power/Kconfig | 9 + drivers/power/axp209.c | 23 +++ 2 files changed, 32 insertions(+) diff --git a/drivers/power/Kconfig b/driver

[U-Boot] [PATCH v3 4/9] power: axp209: Define the chip version mask

2018-11-21 Thread Priit Laes
From: Olliver Schinagl Use a define for the chip version mask on the axp209. Signed-off-by: Olliver Schinagl Signed-off-by: Priit Laes Acked-by: Maxime Ripard --- drivers/power/axp209.c | 5 + include/axp209.h | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a

[U-Boot] [PATCH v3 9/9] arm: sunxi: Reduce inrush current on Olimex OLinuXino-A20-Lime2-eMMC

2018-11-21 Thread Priit Laes
From: Priit Laes The lime2 features a too large capacitor on the LDO3 output, which causes the PMIC to shutdown when enabling power. To be able to still boot up however, we must gradually enable power on LDO3 for this board. We do this by enabling both the inrush quirk and the maximum slope the

Re: [U-Boot] [PATCH v3 0/9] Stop AXP from crashing when enabling LDO3

2018-11-21 Thread Priit Laes
On Wed, Nov 21, 2018 at 08:05:24PM +0200, Priit Laes wrote: > This is a resend/v2 of a "Stop AXP from crashing when enabling LDO3" series, > posted by Olliver Schinagl in March 2017. Unfortunately it never got past > initial discussion [1], but most Olimex Lime2 boards are s

Re: [U-Boot] [linux-sunxi] Re: [PATCH v3 0/9] Stop AXP from crashing when enabling LDO3

2018-11-21 Thread Priit Laes
On Wed, Nov 21, 2018 at 03:58:18PM -0500, Stefan Monnier wrote: > > When powering up an AXP209, the default value for LDO3 output is > > enabled. This works fine. However if for whatever reason, LDO3 is > > disabled, for example by OS during reboot and u-boot enables LDO3 > > again, the PMIC shut

Re: [U-Boot] [linux-sunxi] Re: [PATCH v3 0/9] Stop AXP from crashing when enabling LDO3

2018-11-22 Thread Priit Laes
On Thu, Nov 22, 2018 at 03:07:46PM +0100, Olliver Schinagl wrote: > On 21-11-18 19:13, Priit Laes wrote: > > On Wed, Nov 21, 2018 at 08:05:24PM +0200, Priit Laes wrote: > >> This is a resend/v2 of a "Stop AXP from crashing when enabling LDO3" > >> series, >

[U-Boot] [PATCH] sunxi: Add Gemei G9 (Allwinner A10/sun4i) tablet

2015-01-19 Thread Priit Laes
MicroUSB host port and 3.5mm headphone jack. More details are available at: http://linux-sunxi.org/Gemei_G9 Signed-off-by: Priit Laes --- board/sunxi/MAINTAINERS | 5 + configs/sunxi_Gemei_G9_defconfig | 20 2 files changed, 25 insertions(+) create mode 100644

Re: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: Add Gemei G9 (Allwinner A10/sun4i) tablet

2015-01-23 Thread Priit Laes
On Thu, 2015-01-22 at 09:47 +0200, Siarhei Siamashka wrote: > On Tue, 20 Jan 2015 15:43:31 +0100 > Hans de Goede wrote: > > > Hi, [...] > > We have already talked with plaes on IRC yesterday, just now > bringing it here. I have finally updated the > http://linux-sunxi.org/LCD page to add LVDS

[U-Boot] [PATCH 1/2] sunxi: Display: Add some comments about unimplemented LVDS features

2017-03-24 Thread Priit Laes
Following LVDS features might be supported (according to BSP), but are unimplemented due to lack of proper hardware: - dual channel LVDS - choosing between NS or JEIDA mode - cross-polarity support Add at least some comments about them. Signed-off-by: Priit Laes --- drivers/video

[U-Boot] [PATCH 2/2] sunxi: Display: Mark sunxi_rgb2yuv_coef array as const

2017-03-24 Thread Priit Laes
sunxi_rgb2yuv_coef is readonly and never modified. Signed-off-by: Priit Laes --- drivers/video/sunxi_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/sunxi_display.c b/drivers/video/sunxi_display.c index bcd33dd..a12c4c3 100644 --- a/drivers/video

Re: [U-Boot] [linux-sunxi] [PATCH 1/3] net: phy: realtek: Use the BIT() macro

2016-11-10 Thread Priit Laes
On Tue, 2016-11-08 at 17:38 +0100, Olliver Schinagl wrote: > The BIT macro is the preferred method to set bits. > This patch adds the bit macro and converts bit invocations. > > Signed-off-by: Olliver Schinagl > --- >  drivers/net/phy/realtek.c | 5 +++-- >  1 file changed, 3 insertions(+), 2 dele

[U-Boot] [PATCH] spl: sunxi: Fix build error with CONFIG_SPL_SPI_SUNXI

2017-01-03 Thread Priit Laes
Fix typo introduced in ebc4ef61d76fc182773fe225151adc9b913c62eb Signed-off-by: Priit Laes --- drivers/mtd/spi/sunxi_spi_spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi/sunxi_spi_spl.c b/drivers/mtd/spi/sunxi_spi_spl.c index e70064c..a24c115 100644 --- a

Re: [U-Boot] [linux-sunxi] [PATCH 2/2] sunxi: OrangePi Zero: defconfig: enable SPI flash

2017-01-14 Thread Priit Laes
oot proper into there. This will let > a board boot without an SD card inserted. > The flash chip can be written with a version of the sunxi-fel tool. Thanks, I had this one in my queue :) > > Signed-off-by: Andre Przywara Tested-by: Priit Laes > --- >  configs/orangepi_zero_d

[U-Boot] [RFC PATCH] fastboot: Implement fetching uboot env variables via fastboot getvar

2019-07-09 Thread Priit Laes
From: Priit Laes Add u-boot specific getvar "extension" to fetch u-boot environment variables via `fastboot getvar uboot:var`. This makes it possible to gather certain data (like mac addresses) in an automated way during initial fastboot flashing for inventory purposes: $ fastb

Re: [U-Boot] [PATCH 1/3] videomodes: Allow EDID timings where hsync/vsync pulse is 0

2019-02-14 Thread Priit Laes
On Thu, Feb 14, 2019 at 10:42:51PM +0530, Jagan Teki wrote: > Hi Anatolij, > > On Wed, Dec 19, 2018 at 6:36 PM Priit Laes wrote: > > > > From: Priit Laes > > > > Current EDID detailed timing parser errors out when either > > horizontal or vertical pulse s

[U-Boot] [RFC PATCH] fastboot: Implement fetching uboot env variables via fastboot getvar

2019-03-07 Thread Priit Laes
From: Priit Laes Add u-boot specific getvar "extension" to fetch u-boot environment variables via `fastboot getvar uboot:var`. This makes it possible to gather certain data (like mac addresses) in an automated way during initial fastboot flashing for inventory purposes: $ fastb