Re: [PATCH v2] arm: apple: t602x: Add missing MMIO regions to memmap

2023-12-01 Thread Eric Curtin
ntrolled by a device in an > unmapped region. > Add a map covering this region as well as another MMIO region in the > range 0x4'' - 0x5''. The added regions cover all MMIO > annotated in Apple's device tree in this range. > > Signed-off-by: J

Re: [NEW FEATURE] RFC: Add Intel GMBUS support

2023-09-22 Thread Eric Schikschneit
. The Intel doc "intel-os-gfx-prm-vol10-display.pdf" does not show confidential or NDA so I believe this is a public document that we can use to implement the needed features. Google Drive with referenced data: https://drive.google.com/drive/folders/1OpXT7Faks2sfIKBIv-JmhEYeLzFYwvmF

[NEW FEATURE] RFC: Add Intel GMBUS support

2023-09-22 Thread Eric Schikschneit
that I will be working from, and I am asking for community collaboration with this. I have hardware available for testing as needed, and some details can be provided upon request. Eric Schikschneit Senior Embedded Linux Engineer III  ​   NovaTech, LLC 13555 W. 107th Street | Lenexa, LS 66215​ O

Re: [PATCH 5/8] mx6memcal: Remove SPL_USB_HOST

2022-06-12 Thread Eric Nelson
Thanks Tom. On 6/12/22 17:02, Tom Rini wrote: As this particular platform is intended to be loaded and run a specific set of routines in SPL, we do not need the ability to further use the USB as a host device in SPL. Disable this support. Cc: Eric Nelson Signed-off-by: Tom Rini --- Please

Re: [PATCH 07/18] mx6memcal: Disable USB GADGET in SPL

2021-05-25 Thread Eric Nelson
Hi Tom, On 5/25/21 9:45 AM, Tom Rini wrote: > On Tue, May 25, 2021 at 09:19:30AM -0700, Eric Nelson wrote: >> Hi Tom, >> >> On 5/25/21 8:47 AM, Tom Rini wrote: >>> On Tue, May 25, 2021 at 07:10:29AM -0700, Eric Nelson wrote: >>> >>>> Since the

Re: [PATCH 07/18] mx6memcal: Disable USB GADGET in SPL

2021-05-25 Thread Eric Nelson
Hi Tom, On 5/25/21 8:47 AM, Tom Rini wrote: > On Tue, May 25, 2021 at 07:10:29AM -0700, Eric Nelson wrote: > >> Since the proper U-Boot doesn't do anything at the moment, I don't think >> this hurts much. >> >> My usage of mx6memcal generally ends after SP

Re: [PATCH 07/18] mx6memcal: Disable USB GADGET in SPL

2021-05-25 Thread Eric Nelson
Since the proper U-Boot doesn't do anything at the moment, I don't think this hurts much. My usage of mx6memcal generally ends after SPL spits out calibration values, and I suspect the same is true for other users, so Acked-by: Eric Nelson On 5/22/21 5:47 AM, Tom Rini wrote: >

Re: [PATCH v2 13/14] blkcache: Extend blkcache_init to cover CONFIG_NEEDS_MANUAL_RELOC

2020-07-15 Thread Eric Nelson
llo Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- v2 updates: - add reviewed-by tag Reviewed-by: Eric Nelson

Re: [PATCH 2/8] mx6memcal: Finish migration to defconfig options

2020-06-02 Thread Eric Nelson
Reviewed by: Eric Nelson On 5/26/20 12:06 PM, Tom Rini wrote: The config header for this platform uses '#undef' in a number of cases. All of the MMC related ones were already handled correctly in the defconfig file. In the case of CONFIG_CMD_FUSE, the command was being built and e

Re: [PATCH v3] riscv: add Kconfig entries for the F and D ISA extensions support

2020-02-05 Thread Eric Lin
Hi Bin, Bin Meng 於 2020年2月4日 週二 下午11:50寫道: > > On Thu, Jun 6, 2019 at 5:06 PM Eric Lin wrote: > > > > This patch adds Kconfig entries for the F (Single-Precision) > > and D (Double-Precision) floating point instruction-set extensions. > > > > Signed-off-by:

[PATCH] common: blk: fix comment about blkcache_read return value

2020-01-22 Thread Eric Nelson
The blkcache_read() routine returns 1 (true) to indicate that a block was found in the cache and returned, or 0 if not. Signed-off-by: Eric Nelson --- include/blk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/blk.h b/include/blk.h index 65db69f5d9..6f541bb2ba

Re: [PATCH] common: add blkcache init

2020-01-22 Thread Eric Nelson
s looks good to me. Reviewed-by: Eric Nelson

Re: [U-Boot] [PATCH] ARM: mx6: pmu: Expose PMU LDO configuration interface

2019-11-26 Thread Eric Nelson
Hi Marek, On 11/26/19 1:35 AM, Marek Vasut wrote: Make the PMU LDO configuration interface available to board code, so that board code can reconfigure the internal LDOs of the SoC. Signed-off-by: Marek Vasut Cc: Eric Nelson Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/include/asm

Re: [U-Boot] [PATCH 3/4] ARM: mx6: ddr: Configure all SDQS pullups using loop

2019-11-26 Thread Eric Nelson
Hi Marek, On 11/26/19 1:34 AM, Marek Vasut wrote: Instead of explicitly setting up each SDQS register, use a loop. No functional change. Signed-off-by: Marek Vasut Cc: Eric Nelson Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/mach-imx/mx6/ddr.c | 27 --- 1

Re: [U-Boot] [PATCH 4/4] ARM: mx6: ddr: Add support for iMX6SX

2019-11-26 Thread Eric Nelson
Hi Marek, On 11/26/19 1:34 AM, Marek Vasut wrote: This patch adds support for iMX6SX MMDC into the DDR calibration code. The only difference between MX6DQ and MX6SX is that the SX has 2 SDQS registers, while the DQ has 8. Signed-off-by: Marek Vasut Cc: Eric Nelson Cc: Fabio Estevam Cc

Re: [U-Boot] [PATCH 2/4] ARM: mx6: ddr: Factor out SDQS configuration code

2019-11-26 Thread Eric Nelson
Hi Marek, On 11/26/19 1:34 AM, Marek Vasut wrote: Pull out the code turning SDQS pullups on and off into a separate function, since it is replicated in two places in the code and it is the single place in the entire function which is SoC dependent. Signed-off-by: Marek Vasut Cc: Eric Nelson

Re: [U-Boot] [PATCH 1/4] ARM: mx6: ddr: Make debug prints work with tiny printf

2019-11-26 Thread Eric Nelson
SPL. Signed-off-by: Marek Vasut Cc: Eric Nelson Cc: Fabio Estevam Cc: Stefano Babic --- arch/arm/mach-imx/mx6/ddr.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/mach-imx/mx6/ddr.c b/arch/arm/mach-imx/mx6/ddr.c index 84b9236249

Re: [U-Boot] [PATCH 2/5] common: add blkcache init

2019-11-25 Thread Eric Nelson
Hi Angelo, On 11/25/19 2:59 AM, Angelo Dureghello wrote: Hi Eric, On Sun, Nov 24, 2019 at 5:00 PM Eric Nelson wrote: Hi Angelo, On 11/23/19 3:47 PM, Angelo Dureghello wrote: From: Angelo Durgehello On m68k, block_cache list is relocated, but next and prev list pointers are not adjusted

Re: [U-Boot] [PATCH 2/5] common: add blkcache init

2019-11-25 Thread Eric Nelson
Hi Angelo, On 11/25/19 2:59 AM, Angelo Dureghello wrote: Hi Eric, On Sun, Nov 24, 2019 at 5:00 PM Eric Nelson wrote: Hi Angelo, On 11/23/19 3:47 PM, Angelo Dureghello wrote: From: Angelo Durgehello On m68k, block_cache list is relocated, but next and prev list pointers are not adjusted

Re: [U-Boot] [PATCH 2/5] common: add blkcache init

2019-11-24 Thread Eric Nelson
Hi Angelo, On 11/23/19 3:47 PM, Angelo Dureghello wrote: From: Angelo Durgehello On m68k, block_cache list is relocated, but next and prev list pointers are not adjusted to the relocated struct list_head address, so the first iteration over the block_cache list hangs. This patch initializes t

[U-Boot] [PATCH] Add validation for icache/dcache arguments - arguments different from off/on/flush are currently silently ignored.

2019-07-13 Thread eric . perie
From: Eric Perie Signed-off-by: Eric Perie --- cmd/cache.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cmd/cache.c b/cmd/cache.c index 233f428054..2c687173a8 100644 --- a/cmd/cache.c +++ b/cmd/cache.c @@ -22,7 +22,7 @@ void __weak invalidate_icache_all(void

Re: [U-Boot] Want a Das U-Boot project logo

2019-07-09 Thread Eric S. Raymond
Peter Robinson : > > Interested? > > It already has this one > https://gitlab.denx.de/u-boot/u-boot/blob/master/tools/logos/u-boot_logo.svg Hm. Doesn't show up on the home page. I did check. Very well then, good luck and good hunting. -- http://www.cat

[U-Boot] Want a Das U-Boot project logo

2019-07-09 Thread Eric S. Raymond
of Inkscape or the GIMP, and design a logo for Das U-boot. I have in mind something themed around a periscope or periscope reticle. Interested? -- http://www.catb.org/~esr/";>Eric S. Raymond The kind of charity you can force out of people nourishes about as much as the k

[U-Boot] [PATCH v3] riscv: add Kconfig entries for the F and D ISA extensions support

2019-06-06 Thread Eric Lin
This patch adds Kconfig entries for the F (Single-Precision) and D (Double-Precision) floating point instruction-set extensions. Signed-off-by: Eric Lin --- Changes for v2: - Grammatical correction in commit message "adds" - Fixed the config name to indicate both F and D Chan

Re: [U-Boot] [PATCH v2] riscv: add Kconfig entries for the F and D ISA extensions support

2019-06-05 Thread Eric Lin
Hi Bin > > Hi Eric, > > On Tue, Jun 4, 2019 at 1:51 PM Eric Lin wrote: > > > > This patch adds Kconfig entries for the F (Single-Precision) > > and D (Double-Precision) floating point instruction-set extensions. > > > > Signed-of

[U-Boot] [PATCH v2] riscv: add Kconfig entries for the F and D ISA extensions support

2019-06-03 Thread Eric Lin
This patch adds Kconfig entries for the F (Single-Precision) and D (Double-Precision) floating point instruction-set extensions. Signed-off-by: Eric Lin --- Changes for v2: - Grammatical correction in commit message "adds" - Fixed the config name to indicate both F and

[U-Boot] Fwd: [PATCH] riscv: add Kconfig entries for the F and D ISA extensions support

2019-05-24 Thread Eric Lin
Hi Bin Bin Meng 於 2019年5月22日 週三 下午5:25寫道: > > Hi Eric, > > On Wed, May 22, 2019 at 4:23 PM wrote: > > > > Hi Bin, > > > > > -Original Message- > > > From: Bin Meng [mailto:bmeng...@gmail.com] > > > Sent: Tuesday, May 21, 2019

[U-Boot] Fwd: [PATCH] riscv: add Kconfig entries for the F and D ISA extensions support

2019-05-24 Thread Eric Lin
Hi Bin Bin Meng 於 2019年5月22日 週三 下午5:25寫道: > > Hi Eric, > > On Wed, May 22, 2019 at 4:23 PM wrote: > > > > Hi Bin, > > > > > -Original Message- > > > From: Bin Meng [mailto:bmeng...@gmail.com] > > > Sent: Tuesday, May 21, 2019

Re: [U-Boot] [PATCH] riscv: add Kconfig entries for the F and D ISA extensions support

2019-05-24 Thread Eric Lin
Hi Bin Bin Meng 於 2019年5月22日 週三 下午5:25寫道: > > Hi Eric, > > On Wed, May 22, 2019 at 4:23 PM wrote: > > > > Hi Bin, > > > > > -Original Message- > > > From: Bin Meng [mailto:bmeng...@gmail.com] > > > Sent: Tuesday, May 21, 2019

[U-Boot] [PATCH] riscv: add Kconfig entries for the F and D ISA extensions support

2019-05-21 Thread Eric Lin
This patch add Kconfig entries for the F (Single-Precision) and D (Double-Precision) floating point instruction-set extensions. Signed-off-by: Eric Lin --- arch/riscv/Kconfig | 8 arch/riscv/Makefile | 12 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a

[U-Boot] sun50i: Allwinner A64: Add LVDS video support - question about how to proceed

2019-04-24 Thread Kamps, John-Eric
yes did someone can give me a hint where I can find something about it? Thanks a lot Kind regards John-Eric Kamps ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH] imx: iomux-v3: fix IOMUX_PADS for single-CPU variant

2018-07-17 Thread Eric Nelson
When compiling for a single CPU variant (e.g. MX6Q or MX6DL), the IOMUX constants are named MX6_PAD_blah, not MX6Q_PAD_blah. Fix the macros IOMUX_PADS and SETUP_IOMUX_PAD to reflect this. Signed-off-by: Eric Nelson --- arch/arm/include/asm/mach-imx/iomux-v3.h | 4 ++-- 1 file changed, 2

Re: [U-Boot] [PATCH] ARM: mx6: ddr: Add write leveling correction code

2018-03-30 Thread Eric Nelson
correct_mpwldectr_result(&mmdc1->mpwldectrl0); + correct_mpwldectr_result(&mmdc1->mpwldectrl1); + } + /* * User should issue MRS command to exit write leveling mode * through Load Mode Register command Otherwise, Reviewed-by: Eric Nelson ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [RFC PATCH] SPL: allow fall-back to SDP boot

2018-01-20 Thread Eric Nelson
When SDP is enabled, allow it to be invoked as a fall-back to allow re-programming a board with a full U-Boot loaded over USB. Signed-off-by: Eric Nelson --- Since SDP loading is triggered through BOOT_DEVICE_BOARD, I'm not sure if this should be specific to SDP. common/spl/spl.c

[U-Boot] [PATCH] mx6memcal: fix comment in board header file

2018-01-18 Thread Eric Nelson
The board header file included a reference to the starting point from nitrogen6x.h, but since so much changed, the file bears little resemblance to that file. Signed-off-by: Eric Nelson --- include/configs/mx6memcal.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a

[U-Boot] [PATCH 2/2] mx6memcal: enable SDP support

2018-01-18 Thread Eric Nelson
mtest"). Signed-off-by: Eric Nelson --- board/freescale/mx6memcal/spl.c | 1 - configs/mx6memcal_defconfig | 10 ++ include/configs/mx6memcal.h | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/board/freescale/mx6memcal/spl.c b/board/freescale/mx6memcal/spl.c ind

[U-Boot] [PATCH 1/2] mx6memcal: launder through savedefconfig

2018-01-18 Thread Eric Nelson
This patch just changes the order of configuration items in mx6memcal_defconfig to match the Kconfig layout, making it easier to track changes made using menuconfig. Signed-off-by: Eric Nelson --- configs/mx6memcal_defconfig | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff

[U-Boot] [PATCH V2] imx: mx7dsabresd: include BLK for MMC/eMMC support of driver model

2017-10-11 Thread Eric Nelson
Commit 6fbbcfd introduced device-tree support for MMC devices on the mx7sabresd boards and didn't include BLK, which requires BLK. Commit 8ae5bb3 did the same for secure boot. Fix both by allowing blk-uclass (BLK) support. Tested-by: Fabio Estevam Signed-off-by: Eric Nelson --- V2 inc

Re: [U-Boot] [PATCH] imx: mx7dsabresd: include BLK for MMC/eMMC support of driver model

2017-10-11 Thread Eric Nelson
Hi Tom, On 10/11/2017 01:51 PM, Tom Rini wrote: On Wed, Oct 11, 2017 at 05:50:04PM -0300, Fabio Estevam wrote: Hi Eric, That was the fix I was waiting for, thanks! On Wed, Oct 11, 2017 at 5:29 PM, Eric Nelson wrote: Please add a commit log and explain that this fixes a regression. Change

Re: [U-Boot] [PATCH] imx: mx7dsabresd: include BLK for MMC/eMMC support of driver model

2017-10-11 Thread Eric Nelson
Hi Fabio, On 10/11/2017 01:50 PM, Fabio Estevam wrote: Hi Eric, That was the fix I was waiting for, thanks! Glad to hear it. On Wed, Oct 11, 2017 at 5:29 PM, Eric Nelson wrote: Please add a commit log and explain that this fixes a regression. Okay. If you insist ;) Change-Id

[U-Boot] [PATCH] imx: mx7dsabresd: include BLK for MMC/eMMC support of driver model

2017-10-11 Thread Eric Nelson
Change-Id: I1bdfffe782a61a4c688f1bb56e85448024cd497b Signed-off-by: Eric Nelson --- configs/mx7dsabresd_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/mx7dsabresd_defconfig b/configs/mx7dsabresd_defconfig index 795c4f2..144fb50 100644 --- a/configs/mx7dsabresd_defconfig

Re: [U-Boot] [PATCH V2] imx: mx7: Add support for USB and normal boot modes

2017-10-02 Thread Eric Nelson
Hi Stefano, On 10/02/2017 06:21 AM, Stefano Babic wrote: On 31/08/2017 00:13, Eric Nelson wrote: This adds support for two additional boot modes on the i.MX7D SoC, which is most useful when doing U-Boot development on this chip. 1. "bmode usb" can be used to force the ROM boot loade

Re: [U-Boot] [PATCH v3 2/2] imx_common: detect USB serial downloader reliably

2017-09-13 Thread Eric Nelson
gt; IMX6_BMODE_SHIFT) { /* EIM: See 8.5.1, Table 8-9 */ Reviewed-by: Eric Nelson ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v3 1/2] imx: add macro to detect whether USB PHY is active

2017-09-13 Thread Eric Nelson
receiver block power down */ + +#define is_usbotg_phy_active(void) (!(readl(USB_PHY0_BASE_ADDR + USBPHY_PWD) & \ + USBPHY_PWD_RXPWDRX)) Otherwise, Reviewed-by: Eric Nelson ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v3 1/2] imx: add macro to detect whether USB PHY is active

2017-09-13 Thread Eric Nelson
Hi Stefan, On 09/13/2017 12:47 PM, Stefan Agner wrote: On 2017-09-13 02:19, Stefano Babic wrote: Hi Eric, Stefan, On 13/09/2017 02:30, Eric Nelson wrote: Hi Stefan, I hate to be fussy about this, but I don't think I saw a reply to my earlier comment about the term "USB PH

Re: [U-Boot] [PATCH v3 1/2] imx: add macro to detect whether USB PHY is active

2017-09-12 Thread Eric Nelson
.h @@ -6,3 +6,10 @@ */ #include + +#define USBPHY_PWD 0x + +#define USBPHY_PWD_RXPWDRX (1 << 20) /* receiver block power down */ + +#define is_usbphy_active(void) (!(readl(USB_PHY0_BASE_ADDR + USBPHY_PWD) & \ +

Re: [U-Boot] [PATCH v2 2/2] imx_common: detect USB serial downloader reliably

2017-09-08 Thread Eric Nelson
Hi Stefan, On 09/08/2017 05:35 PM, Fabio Estevam wrote: On Fri, Sep 8, 2017 at 8:35 PM, Stefan Agner wrote: + /* +* The above method does not detect that the boot ROM used +* serial downloader in case the boot ROM descided to use the Typo: decided You know you're o

Re: [U-Boot] [PATCH v2 2/2] imx_common: detect USB serial downloader reliably

2017-09-08 Thread Eric Nelson
Hi Stefan, On 09/08/2017 05:16 PM, Stefan Agner wrote: On 2017-09-08 16:41, Eric Nelson wrote: On 09/08/2017 04:35 PM, Stefan Agner wrote: From: Stefan Agner Nit: should be "did not initialize" instead of "initialized". Sorry, don't get that. Below I write &

Re: [U-Boot] [PATCH v2 2/2] imx_common: detect USB serial downloader reliably

2017-09-08 Thread Eric Nelson
Hi Stefan, On 09/08/2017 04:35 PM, Stefan Agner wrote: From: Stefan Agner The current mechanism using SCR/GPR registers work well when the serial downloader boot mode has been selected explicitly (either via boot mode pins or using bmode command). However, in case the system entered boot ROM d

Re: [U-Boot] [PATCH v2 1/2] imx: add macro to detect whether USB PHY is active

2017-09-08 Thread Eric Nelson
Hi Stefan, On 09/08/2017 04:35 PM, Stefan Agner wrote: From: Stefan Agner This macro allows to detect whether the USB PHY is active. This is helpful to detect if the boot ROM has previously started the USB serial downloader. The idea is taken from the mfgtool support in the NXP U-Boot: http:/

Re: [U-Boot] video: ipu_common: fix build error

2017-09-07 Thread Eric Nelson
On 09/06/2017 11:01 PM, Lothar Waßmann wrote: On Wed, 6 Sep 2017 10:34:33 -0700 Eric Nelson wrote: On 09/05/2017 06:16 PM, Peng Fan wrote: On Mon, Sep 04, 2017 at 07:48:56PM -0700, Eric Nelson wrote: Hi Peng, Can you tell that I'm hunting a bug in an old version? I'm seein

Re: [U-Boot] [PATCH] ipu_common: Let the MX6 IPU clock be calculated in run-time

2017-09-06 Thread Eric Nelson
is done in build-time currently. Remove the CONFIG_IPUV3_CLK option and let the IPU clock frequency be configured in run-time on mx6. Reported-by: Eric Nelson Signed-off-by: Fabio Estevam --- Changes since v1: - Improve the mx6 detection logic (Troy) drivers/video/ipu_common.c

Re: [U-Boot] [U-Boot,2/3] imx: mx6: correct IPU clock

2017-09-06 Thread Eric Nelson
Thanks Ye (and Peng). On 09/06/2017 02:37 AM, Ye Li wrote: On 9/5/2017 6:33 PM, Eric Nelson wrote: Hi Peng, Pardon the reference to an old update, but do you have a description of the symptoms that brought about this patch? On 03/09/2016 01:07 AM, Peng Fan wrote: The CONFIG_IPUV3_CLK should

Re: [U-Boot] video: ipu_common: fix build error

2017-09-06 Thread Eric Nelson
Thanks Peng. On 09/05/2017 06:16 PM, Peng Fan wrote: On Mon, Sep 04, 2017 at 07:48:56PM -0700, Eric Nelson wrote: Hi Peng, Can you tell that I'm hunting a bug in an old version? I'm seeing a **very** intermittent regression between U-Boot versions 2015.07 and 2016.05 and happen

Re: [U-Boot] video: ipu_common: fix build error

2017-09-05 Thread Eric Nelson
Hi Fabio, On 09/05/2017 06:33 AM, Fabio Estevam wrote: Hi Eric, On Mon, Sep 4, 2017 at 11:49 PM, Eric Nelson wrote: Hi Peng, Can you tell that I'm hunting a bug in an old version? I'm seeing a **very** intermittent regression between U-Boot versions 2015.07 and 2016.05 and happen

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-05 Thread Eric Nelson
ode is hit in SPL? ... A comment to that effect is probably in order though. Please advise, Eric ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-05 Thread Eric Nelson
Hi Stefan, On 09/04/2017 09:50 PM, Stefan Agner wrote: On 2017-09-04 19:57, Eric Nelson wrote: On 09/04/2017 06:21 PM, Stefan Agner wrote: + +/* + * If ROM fell back to USB recover mode, USBPH0_PWD will be clear to use USB + * If boot from the other mode, USB0_PWD will keep reset value

Re: [U-Boot] [U-Boot,2/3] imx: mx6: correct IPU clock

2017-09-05 Thread Eric Nelson
Hi Stefano, On 09/05/2017 06:30 AM, Stefano Babic wrote: On 05/09/2017 14:56, Fabio Estevam wrote: Hi Eric, On Mon, Sep 4, 2017 at 11:37 PM, Eric Nelson wrote: --- a/include/configs/mx6sabre_common.h +++ b/include/configs/mx6sabre_common.h @@ -225,7 +225,11 @@ #define CONFIG_BMP_16BPP

Re: [U-Boot] video: ipu_common: fix build error

2017-09-05 Thread Eric Nelson
*/ __raw_writel((div / 16) << 16, DI_BS_CLKGEN1(clk->id)); Did we lose a multiply by 16 in this change? - clk->rate = (u64)(clk->parent->rate * 16) / div; + do_div(parent_rate, div); + + clk->rate = parent_rate; return 0; } Please a

Re: [U-Boot] [U-Boot,2/3] imx: mx6: correct IPU clock

2017-09-05 Thread Eric Nelson
#define CONFIG_IMX_VIDEO_SKIP Please advise, Eric ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v1 1/2] imx: add macro to detect whether USB has been initialized

2017-09-04 Thread Eric Nelson
down) unless it was enabled by the Boot ROM. Won't this also be clear if you've run 'usb start' under U-Boot? Please advise, Eric ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] video: ipu_common: fix build error

2017-09-04 Thread Eric Nelson
*/ __raw_writel((div / 16) << 16, DI_BS_CLKGEN1(clk->id)); Did you intend to lose a multiply by 16 here? - clk->rate = (u64)(clk->parent->rate * 16) / div; + do_div(parent_rate, div); + + clk->rate = parent_rate; return 0; } Please a

Re: [U-Boot] [U-Boot,2/3] imx: mx6: correct IPU clock

2017-09-04 Thread Eric Nelson
Hi all, Adding my normal e-mail account to the chain, since the other account isn't registered on the list. On 09/04/2017 07:37 PM, Eric Nelson wrote: Hi Peng, Pardon the reference to an old update, but do you have a description of the symptoms that brought about this patch? On 03/09/20

Re: [U-Boot] [PATCH V2] imx: mx7: Add support for USB and normal boot modes

2017-08-31 Thread Eric Nelson
On 08/31/2017 04:11 PM, Fabio Estevam wrote: Troy, On Thu, Aug 31, 2017 at 7:53 PM, Troy Kisky wrote: On 8/31/2017 2:28 PM, Troy Kisky wrote: Maybe if you change the WDOG pinmux it might work ? Worked for me => mm.l 302c 302c: 0003 ? 0 302c0004: 0001 ? q => bmod usb res

Re: [U-Boot] [PATCH V2] imx: mx7: Add support for USB and normal boot modes

2017-08-31 Thread Eric Nelson
On 08/31/2017 03:53 PM, Troy Kisky wrote: On 8/31/2017 2:28 PM, Troy Kisky wrote: Maybe if you change the WDOG pinmux it might work ? Worked for me => mm.l 302c 302c: 0003 ? 0 302c0004: 0001 ? q => bmod usb resetting ... Hmm... On SABRE-SD or Nitrogen7? ___

Re: [U-Boot] [PATCH V2] imx: mx7: Add support for USB and normal boot modes

2017-08-31 Thread Eric Nelson
Thanks Troy (and Peng), On 08/31/2017 02:28 PM, Troy Kisky wrote: On 8/31/2017 6:56 AM, Fabio Estevam wrote: On Thu, Aug 31, 2017 at 10:35 AM, Fabio Estevam wrote: On Wed, Aug 30, 2017 at 7:13 PM, Eric Nelson wrote: This adds support for two additional boot modes on the i.MX7D SoC, which

[U-Boot] [PATCH v2] imx: imx7d: remove CamelCase from ENET_xMHz macros

2017-08-31 Thread Eric Nelson
Update these macros to use all upper-case to avoid checkpatch warnings: ENET_25MHz, ENET_50MHz, ENET_125MHz, Signed-off-by: Eric Nelson --- V2 fixes a couple of references in mx7/clock.c arch/arm/include/asm/arch-mx7/clock.h | 6 +++--- arch/arm/mach-imx/mx7/clock.c

Re: [U-Boot] [PATCH V2] imx: mx7: Add support for USB and normal boot modes

2017-08-31 Thread Eric Nelson
Hi Fabio, On 08/31/2017 06:56 AM, Fabio Estevam wrote: On Thu, Aug 31, 2017 at 10:35 AM, Fabio Estevam wrote: Hi Eric, On Wed, Aug 30, 2017 at 7:13 PM, Eric Nelson wrote: This adds support for two additional boot modes on the i.MX7D SoC, which is most useful when doing U-Boot development

[U-Boot] [PATCH] imx: imx7d: remove CamelCase from ENET_xMHz macros

2017-08-30 Thread Eric Nelson
Update these macros to use all upper-case to avoid checkpatch warnings: ENET_25MHz, ENET_50MHz, ENET_125MHz, Signed-off-by: Eric Nelson --- arch/arm/include/asm/arch-mx7/clock.h | 6 +++--- arch/arm/mach-imx/mx7/clock.c | 2 +- board/freescale

Re: [U-Boot] [PATCH V2] imx: mx7: Add support for USB and normal boot modes

2017-08-30 Thread Eric Nelson
Sorry for the spam. I resent this by mistake. On 08/30/2017 03:13 PM, Eric Nelson wrote: This adds support for two additional boot modes on the i.MX7D SoC, which is most useful when doing U-Boot development on this chip. 1. "bmode usb" can be used to force the ROM boot loader&

[U-Boot] [PATCH V2] imx: mx7: Add support for USB and normal boot modes

2017-08-30 Thread Eric Nelson
as specified by fuses and BOOT_MODE pins Signed-off-by: Eric Nelson --- V2 adds "normal" mode as suggested by Troy Kisky arch/arm/mach-imx/mx7/soc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c index 87bf105..15be42a 10064

[U-Boot] [PATCH V2] imx: mx7: Add support for USB and normal boot modes

2017-08-30 Thread Eric Nelson
as specified by fuses and BOOT_MODE pins Signed-off-by: Eric Nelson --- V2 adds "normal" mode as suggested by Troy Kisky arch/arm/mach-imx/mx7/soc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/mx7/soc.c b/arch/arm/mach-imx/mx7/soc.c index 87bf105..15be42a 10064

Re: [U-Boot] [PATCH] imx: mx7: Add support for USB boot mode

2017-08-30 Thread Eric Nelson
Hi Troy, On 08/29/2017 11:55 AM, Troy Kisky wrote: On 8/29/2017 7:37 AM, Eric Nelson wrote: Hi Troy, On 08/28/2017 09:42 AM, Troy Kisky wrote: On 8/27/2017 3:04 PM, Eric Nelson wrote: This adds support for USB boot mode on the i.MX7D SoC, which is most useful when doing U-Boot development

Re: [U-Boot] [PATCH] imx: mx7: Add support for USB boot mode

2017-08-29 Thread Eric Nelson
Hi Troy, On 08/28/2017 09:42 AM, Troy Kisky wrote: On 8/27/2017 3:04 PM, Eric Nelson wrote: This adds support for USB boot mode on the i.MX7D SoC, which is most useful when doing U-Boot development on this chip. i.e., it enables you to enter the ROM boot loader's serial download pro

[U-Boot] [PATCH] imx: mx7: Add support for USB boot mode

2017-08-27 Thread Eric Nelson
This adds support for USB boot mode on the i.MX7D SoC, which is most useful when doing U-Boot development on this chip. i.e., it enables you to enter the ROM boot loader's serial download protocol using the command: => bmode usb Signed-off-by: Eric Nelson --- arch/arm/mach-imx/mx7/s

Re: [U-Boot] [PATCH v1 0/7] imx: add USB Serial Download Protocol (SDP) support

2017-08-08 Thread Eric Nelson
Hi Stefan, On 08/07/2017 11:06 AM, Stefan Agner wrote: Hi Eric, On 2017-08-06 08:19, Eric Nelson wrote: Hi Stefan, On 08/04/2017 04:38 PM, Stefan Agner wrote: From: Stefan Agner This series adds NXP's Serial Download Protocol (SDP) support via USB for SPL/U-Boot. It allows to downl

Re: [U-Boot] [PATCH v1 0/7] imx: add USB Serial Download Protocol (SDP) support

2017-08-06 Thread Eric Nelson
as well. Do you have numbers for how much code/data size this adds to SPL? I believe some i.MX users have struggled to stay within the size of internal RAM. Regards, Eric ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [RFC PATCH 1/9] mx6: Add board mx6memcal for use in validating DDR

2017-07-27 Thread Eric Nelson
Hi Fabio, On Fri, Jul 14, 2017 at 12:01 PM, Fabio Estevam wrote: > Hi Eric, > > On Fri, Jul 14, 2017 at 2:58 PM, Eric Nelson wrote: > > > I set this aside because I wasn't able to get the "return to > > RBL" code working and figured I'd try to rev

Re: [U-Boot] [RFC PATCH 1/9] mx6: Add board mx6memcal for use in validating DDR

2017-07-14 Thread Eric Nelson
Hi Fabio, On 07/14/2017 07:18 AM, Fabio Estevam wrote: Hi Eric, On Tue, Nov 1, 2016 at 5:13 PM, Eric Nelson wrote: This is a virtual "board" that uses configuration files and Kconfig to define the memory layout used by a real board during the board bring-up process. It genera

[U-Boot] [PATCH v3 2/3] rockchip: video: Makefile: Add soc specific driver for rk3288 mipi dsi

2017-06-20 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v2: None Changes in v1: None drivers/video/rockchip/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Makefile index 600743c..8005003 100644 --- a/drivers/video/rockchip/Makefile +++ b

[U-Boot] [PATCH v3 3/3] rockchip: video: defconfig: Add mipi dsi support for evb-rk3288

2017-06-20 Thread Eric Gao
Add support for rk3288 mipi dsi. Signed-off-by: Eric Gao Reviewed-by: Simon Glass --- Changes in v2: None Changes in v1: -Make the subject more intelligible. configs/evb-rk3288_defconfig | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configs/evb-rk3288_defconfig

[U-Boot] [PATCH v3 1/3] rockchip: video: mipi: Add rk3288 soc specific driver for mipi dsi

2017-06-20 Thread Eric Gao
Add rk3288 soc specific driver for mipi dsi. Signed-off-by: Eric Gao Reviewed-by: Simon Glass --- Changes in v2: -Cancel the force convert for dev_read_addr return value type. -Change regs type from "void __iomem" to "uintptr_t". Changes in v1: -Change function name from

[U-Boot] [PATCH v3 0/3] Add mipi dsi support for evb-rk3288.

2017-06-20 Thread Eric Gao
Use dev_read_addr to replace devfdt_get_addr. -Make the subject more intelligible. Eric Gao (3): rockchip: video: mipi: Add rk3288 soc specific driver for mipi dsi rockchip: video: Makefile: Add soc specific driver for rk3288 mipi dsi rockchip: video: defconfig: Add mipi dsi support for evb-

[U-Boot] [PATCH v3 3/3] rockchop: video: mipi: Makefile: Add soc specfic driver for rk3399 mipi dsi

2017-06-20 Thread Eric Gao
Add Makefile item for soc specific driver for rk3399 mipi dsi. Signed-off-by: Eric Gao --- Changes in v2: None Changes in v1: None drivers/video/rockchip/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip

[U-Boot] [PATCH v3 2/3] rockchip: video: mipi: Split mipi driver into common and specific parts

2017-06-20 Thread Eric Gao
To compatible with different rockchip soc, we split the mipi dirver into common and soc specific parts, and all the soc share the common functions from common driver part. Signed-off-by: Eric Gao --- Changes in v2: -Use dev_read_addr to replace devfdt_get_addr. Changes in v1: -Delete the

[U-Boot] [PATCH v3 1/3] rockchip: defconfig: Increase max video resolution for mipi panel

2017-06-20 Thread Eric Gao
The mipi panel used on evb-rk3399 has a 1920x1200 resolution. But now the max resolution is 1920x1080. So increase it. Signed-off-by: Eric Gao --- Changes in v2: None Changes in v1: -Add title. configs/evb-rk3399_defconfig | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff

[U-Boot] [PATCH v3 0/3] Split rockchip mipi driver into common and specific parts.

2017-06-20 Thread Eric Gao
This patch series split the rockchip mipi dsi driver into common and specific parts to make it possible that different soc share the most common code. Changes in v2: -Use dev_read_addr to replace devfdt_get_addr. Changes in v1: -Add title. -Delete the unused variable. Eric Gao (3): rockchip

[U-Boot] [PATCH v2] rockchip: video: mipi: Modify format type for debug message

2017-06-20 Thread Eric Gao
Modify format type for debug message. Signed-off-by: Eric Gao --- Changes in v1: -Change the debug message format type because of the change the variable. drivers/video/rockchip/rk_mipi.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/video/rockchip

[U-Boot] [PATCH v4] rockchip: video: mipi: Modify variable type for arm32 compatibility

2017-06-20 Thread Eric Gao
Some address relevant varibable is defined originally as u64. To compatible with arm32, this patch change them to uintptr_t type. Signed-off-by: Eric Gao Reviewed-by: Simon Glass --- Changes in v3: -Cancel the force convert for devfdt_get_addr's return value type. -Change the addr tye

[U-Boot] [PATCH v3] rockchip: video: mipi: Modify variable type for arm32 compatibility

2017-06-19 Thread Eric Gao
Some address relevant varibable is defined originally as u64. To compatible with arm32, this patch change them to uintptr_t type. Signed-off-by: Eric Gao Reviewed-by: Simon Glass --- Changes in v2: -Change the address base variable from "uintptr_t *" to "uintptr_t" Change

[U-Boot] [PATCH v1] rockchip: pwm: fix: pwm dosen't work on rk3288

2017-06-18 Thread Eric Gao
me as RK3399 Signed-off-by: Eric Gao --- arch/arm/include/asm/arch-rockchip/pwm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-rockchip/pwm.h b/arch/arm/include/asm/arch-rockchip/pwm.h index 5d9a178..08ff945 100644 --- a/arch/arm/include/asm

[U-Boot] [PATCH v2 1/3] rockchip: video: mipi: Add rk3288 soc specific driver for mipi dsi

2017-06-18 Thread Eric Gao
Add rk3288 soc specific driver for mipi dsi. Signed-off-by: Eric Gao --- Changes in v1: -Change function name from rk_display_enable to rk_mipi_enable. -Use IS_ERR to judge the return status. -Use dev_read_addr to replace devfdt_get_addr. drivers/video/rockchip/rk3288_mipi.c | 191

[U-Boot] [PATCH v2 2/3] rockchip: video: Makefile: Add soc specific driver for rk3288 mipi dsi

2017-06-18 Thread Eric Gao
Signed-off-by: Eric Gao --- Changes in v1: None drivers/video/rockchip/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Makefile index 600743c..8005003 100644 --- a/drivers/video/rockchip/Makefile +++ b/drivers/video/rockchip

[U-Boot] [PATCH v2 3/3] rockchip: video: defconfig: Add mipi dsi support for evb-rk3288

2017-06-18 Thread Eric Gao
Add support for rk3288 mipi dsi. Signed-off-by: Eric Gao Reviewed-by: Simon Glass --- Changes in v1: -Make the subject more intelligible. configs/evb-rk3288_defconfig | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configs/evb-rk3288_defconfig b/configs/evb

[U-Boot] [PATCH v2 0/3] Add mipi dsi support for evb-rk3288.

2017-06-18 Thread Eric Gao
Changes in v1: -Change function name from rk_display_enable to rk_mipi_enable. -Use IS_ERR to judge the return status. -Use dev_read_addr to replace devfdt_get_addr. -Make the subject more intelligible. Eric Gao (3): rockchip: video: mipi: Add rk3288 soc specific driver for mipi dsi

[U-Boot] [PATCH v2] rockchip: video: mipi: Modify variable type for arm32 compatibility

2017-06-16 Thread Eric Gao
Some address relevant varibable is defined originally as u64. To compatible with arm32, this patch change them to "void __iomem *" type. Signed-off-by: Eric Gao --- Changes in v1: -Change the address base variable to uintptr_t type. drivers/video/rockchip/rk_mipi.c | 12 ++

[U-Boot] [PATCH v1] rockchip: video: mipi: Modify variable type for arm32 compatibility

2017-06-16 Thread Eric Gao
Some address relevant varibable is defined originally as u64. To compatible with arm32, this patch change them to "void __iomem *" type. Signed-off-by: Eric Gao --- Changes in v1: -Change the address base variable to uintptr_t type. drivers/video/rockchip/rk_mipi.c | 12 ++

[U-Boot] [PATCH v2 3/3] rockchop: video: mipi: Makefile: Add soc specfic driver for rk3399 mipi dsi

2017-06-16 Thread Eric Gao
Add Makefile item for soc specific driver for rk3399 mipi dsi. Signed-off-by: Eric Gao --- Changes in v1: None drivers/video/rockchip/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/rockchip/Makefile b/drivers/video/rockchip/Makefile index 872dc0f

[U-Boot] [PATCH v2 2/3] rockchip: video: mipi: Split mipi driver into common and specific parts

2017-06-16 Thread Eric Gao
To compatible with different rockchip soc, we split the mipi dirver into common and soc specific parts, and all the soc share the common functions from common driver part. Signed-off-by: Eric Gao --- Changes in v1: None drivers/video/rockchip/rk3399_mipi.c | 183

[U-Boot] [PATCH v2 1/3] rockchip: defconfig: Increase max video resolution for mipi panel

2017-06-16 Thread Eric Gao
The mipi panel used on evb-rk3399 has a 1920x1200 resolution. But now the max resolution is 1920x1080. So increase it. Signed-off-by: Eric Gao --- Changes in v1: -Add title. configs/evb-rk3399_defconfig | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/configs/evb

  1   2   3   4   5   6   7   8   9   10   >