Re: [PATCH 03/16] dh_imx6: Switch to full DM-aware

2020-06-29 Thread Ludwig Zenz
On 25/06/20 2:52 PM, Tom Rini wrote: > On Thu, Jun 25, 2020 at 02:52:58PM +0000, Ludwig Zenz wrote: >> On 22/06/20 9:38 AM, Tom Rini wrote: >> > On Mon, Jun 22, 2020 at 09:38:36AM +, Ludwig Zenz wrote: >> > >> >> On 6/13/20 3:55 PM, Jagan Teki wrote: &g

AW: [PATCH 03/16] dh_imx6: Switch to full DM-aware

2020-07-10 Thread Ludwig Zenz
On 7/8/20 3:07 PM, Jagan Teki wrote: > On Mon, Jun 22, 2020 at 3:09 PM 'Ludwig Zenz' via Amarula Linux > wrote: > > > > On 6/13/20 3:55 PM, Jagan Teki wrote: > > > Enable DM_SPI/DM_SPI_FLASH with a related config option. > > > > > > Bu

RE: [PATCH 03/16] dh_imx6: Switch to full DM-aware

2020-06-22 Thread Ludwig Zenz
We need a single binary for the i.MX6 q/d/dl/s variants of our system on module. I think this patch breaks the board support for our module. regards, Ludwig Zenz > Cc: Ludwig Zenz > Cc: Andreas Geisreiter > Signed-off-by: Jagan Teki > --- > configs/dh_imx6_defconfig | 3 +++ >

AW: [PATCH 03/16] dh_imx6: Switch to full DM-aware

2020-06-25 Thread Ludwig Zenz
On 22/06/20 9:38 AM, Tom Rini wrote: > On Mon, Jun 22, 2020 at 09:38:36AM +0000, Ludwig Zenz wrote: > >> On 6/13/20 3:55 PM, Jagan Teki wrote: >> > Enable DM_SPI/DM_SPI_FLASH with a related config option. >> > >> > Build fine, but not tested. >> >

Re: [U-Boot] [PATCH 3/3] ARM: imx6: DHCOM i.MX6 PDK: ddr init for 32bit bus and 4GBit chips

2018-10-11 Thread Ludwig Zenz
Hello Marek, >> From: Ludwig Zenz >> >> Support 1GIB + 2GIB DDR3 with 64bit bus width and 512MIB + 1GIB with 32bit >> bus width >> >> Signed-off-by: Ludwig Zenz >> --- >> board/dhelectronics/dh_imx6/dh_imx6_spl.c | 191 >> +++

Re: [U-Boot] [PATCH 62/93] arm: Remove dh_imx6 board

2018-11-20 Thread Ludwig Zenz
used. Regards, Ludwig Zenz Signed-off-by: Simon Glass --- arch/arm/mach-imx/mx6/Kconfig | 2 - board/dhelectronics/dh_imx6/Kconfig | 12 - board/dhelectronics/dh_imx6/MAINTAINERS | 7 - board/dhelectronics/dh_imx6/Makefile | 9 - board/dhelectronics/dh

Re: [U-Boot] [PATCH] ARM: imx: dh-imx6: Enable DM GPIO

2019-06-24 Thread Ludwig Zenz
Marek Vasut Thursday 20th June 2019 22:56: > Enable DM support for regulators and fixed regulator driver and > convert USB Vbus control over to the regulators defined in DT. > > Signed-off-by: Marek Vasut > Cc: Ludwig Zenz > Cc: Stefano Babic > --- > board/dhelect

Re: [U-Boot] [PATCH] usb: ehci-mx6: Fix bus enumeration for DM case

2019-06-24 Thread Ludwig Zenz
v->seq number 0 . Add this bind workaround into EHCI iMX6 driver > as well. > > Signed-off-by: Marek Vasut > Cc: Abel Vesa > Cc: Adam Ford > Cc: Fabio Estevam > Cc: Ludwig Zenz > Cc: Peng Fan > Cc: Stefano Babic > Cc: Vagrant Cascadian > --- > driver

Re: [U-Boot] [PATCH V2] ARM: imx: dh-imx6: Enable DM regulator

2019-06-24 Thread Ludwig Zenz
Marek Vasut Friday 21st June 2019 0:51: > Enable DM support for regulators and fixed regulator driver and > convert USB Vbus control over to the regulators defined in DT. > > Signed-off-by: Marek Vasut > Cc: Ludwig Zenz > Cc: Stefano Babic > --- > V2: Fix subject,

[U-Boot] [PATCH] ARM: imx6: DHCOM i.MX6 PDK: enable pad pull ups of SS lines of spi used for boot

2019-07-01 Thread Ludwig Zenz
It turned out that after a reset the boot process from the spi bootflash is disturbed by other spi slave devices connected to DHCOM SPI1, which uses the same spi interface with a different SS line. Therefore the pad pull ups are enabled. Signed-off-by: Ludwig Zenz --- board/dhelectronics

[U-Boot] [PATCH 1/2] ARM: imx6: DHCOM i.MX6 PDK: use Kconfig for inclusion of DDR calibration

2019-04-12 Thread Ludwig Zenz
mends determining Write Leveling calibration parameters for all boards, regardless of topology used.' That is why write level calibration is also done. Signed-off-by: Ludwig Zenz --- board/dhelectronics/dh_imx6/dh_imx6_spl.c | 32 +-- 1 file changed, 26 insert

[U-Boot] [PATCH 2/2] ARM: imx6: update 1GB DDR3 calibration for DHCOM i.MX6qd PDK

2019-04-12 Thread Ludwig Zenz
Signed-off-by: Ludwig Zenz --- board/dhelectronics/dh_imx6/dh_imx6_spl.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/board/dhelectronics/dh_imx6/dh_imx6_spl.c b/board/dhelectronics/dh_imx6/dh_imx6_spl.c index bbd2dc26828..2939389de39 100644

[U-Boot] [PATCH v2 2/2] ARM: imx6: update 1GB DDR3 calibration for DHCOM i.MX6qd PDK

2019-04-15 Thread Ludwig Zenz
The existing calibration values were found to be incorrect in comparison to newly determined values. The new values were generated with the help of 5 boards. They have been determined with the NXP Utility 'DDR Stress Test (2.9.0)'. Signed-off-by: Ludwig Zenz --- board/dhelectroni

[U-Boot] [PATCH v2 1/2] ARM: imx6: DHCOM i.MX6 PDK: use Kconfig for inclusion of DDR calibration

2019-04-15 Thread Ludwig Zenz
From: Ludwig Zenz The four x16 DDR3 are wired in T-topology. From NXP AN4467: 'Although not required, T-Topologies may also benefit from performing Write Leveling as there are package delays on both the processor and DDR devices that can be de-skewed by performing Write Leveling. Ther

[U-Boot] [PATCH 1/3] ARM: dts: dh-imx6: Refactor DT with som and board level defs for use with imx6 duallite

2019-07-02 Thread Ludwig Zenz
ncluded by imx6q-dhcom-pdk2.dts. Signed-off-by Ludwig Zenz --- arch/arm/dts/imx6q-dhcom-pdk2.dts | 143 + arch/arm/dts/imx6qdl-dhcom-pdk2.dtsi | 140 .../{imx6q-dhcom-som.dtsi => imx6qdl-dhcom.dtsi} | 1 - 3 files

[U-Boot] [PATCH 2/3] ARM: dts: imx: dh-imx6: Add DHCOM iMX6 Duallite PDK2 device tree

2019-07-02 Thread Ludwig Zenz
This device tree adds support for DHCOM iMX6 duallite and solo deriviates. Signed-off-by: Ludwig Zenz --- arch/arm/dts/Makefile | 5 +++-- arch/arm/dts/imx6dl-dhcom-pdk2.dts | 16 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 arch/arm/dts

[U-Boot] [PATCH 3/3] ARM: imx6: DHCOM i.MX6 PDK: config SPL to load U-Boot fitImage with mulitple DTs

2019-07-02 Thread Ludwig Zenz
Configure fitImage for U-Boot with a device tree for imx6 quad/dual and duallite/solo. This enables to support the imx6 derivates quad/dual/duallite/solo with a single binary. Signed-off-by: Ludwig Zenz --- board/dhelectronics/dh_imx6/dh_imx6.c | 15 +++ configs/dh_imx6_defconfig

[U-Boot] [PATCH v3 2/3] ARM: dts: imx: dh-imx6: Add DHCOM iMX6 Duallite PDK2 device tree

2019-07-02 Thread Ludwig Zenz
This device tree adds support for DHCOM iMX6 duallite and solo deriviates. Signed-off-by: Ludwig Zenz --- Changes in v3: - include of imx6qdl-dhcom.dtsi is done in imx6qdl-dhcom-pdk2.dtsi, remove it here Changes in v2: - include common pdk2 code from imx6qdl-dhcom-pdk2.dtsi

[U-Boot] [PATCH v3 3/3] ARM: imx6: DHCOM i.MX6 PDK: config SPL to load U-Boot fitImage with mulitple DTs

2019-07-02 Thread Ludwig Zenz
Configure fitImage for U-Boot with a device tree for imx6 quad/dual and duallite/solo. This enables to support the imx6 derivates quad/dual/duallite/solo with a single binary. Signed-off-by: Ludwig Zenz --- Changes in v3: - No change Changes in v2: - remove CONFIG_SPL_LOAD_FIT

[U-Boot] [PATCH v3 1/3] ARM: dts: dh-imx6: Refactor DT with som and board level defs for use with imx6 duallite

2019-07-02 Thread Ludwig Zenz
ncluded by imx6q-dhcom-pdk2.dts. Signed-off-by Ludwig Zenz --- Changes in v3: - move imx6qdl-dhcom.dtsi include from imx6q-dhcom-pdk2.dts to imx6qdl-dhcom-pdk2.dtsi - fix copyright lines Changes in v2: - introduce board level file imx6qdl-dhcom-pdk2.dtsi - rename i

[U-Boot] [PATCH] ARCH: imx: Call sata_remove() not on imx6 duallite/solo boards

2019-07-02 Thread Ludwig Zenz
recessary as they are usually not pin-compatible and therefore a different board with its own configuration. Signed-off-by: Ludwig Zenz --- arch/arm/mach-imx/cpu.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index

[U-Boot] [PATCH] ARM: imx6: DHCOM i.MX6 PDK: Switch to DM for I2C

2019-07-03 Thread Ludwig Zenz
This patch enables DM I2C for DHCOM i.MX6 PDK2 boards and removes non DM I2C code. Tested with DHCOM i.MX6dl and DHCOM i.MX6q. Signed-off-by: Ludwig Zenz --- board/dhelectronics/dh_imx6/dh_imx6.c | 105 ++ configs/dh_imx6_defconfig | 7 +++ include

Re: [U-Boot] [PATCH] ARM: imx6: DHCOM i.MX6 PDK: Switch to DM for I2C

2019-07-04 Thread Ludwig Zenz
Marek Vasut Wednesday 3rd July 2019 14:06: > > On 7/3/19 10:20 AM, Ludwig Zenz wrote: > [...] > > > static int setup_dhcom_mac_from_fuse(void) > > { > > + struct udevice *dev; > > unsigned char enetaddr[6]; > > int ret;

[U-Boot] [PATCH v2] ARM: imx6: DHCOM i.MX6 PDK: Switch to DM for I2C

2019-07-05 Thread Ludwig Zenz
This patch enables DM I2C for DHCOM i.MX6 PDK2 boards and removes non DM I2C code. The only I2C EEPROM with ethaddr (MAC) is defined in the device tree. Use UCLASS_I2C_EEPROM to find and read the ethaddr. Tested with DHCOM i.MX6dl and DHCOM i.MX6q. Signed-off-by: Ludwig Zenz --- Changes in v2

Re: [U-Boot] [PATCH] ARM: imx6: DHCOM i.MX6 PDK: Switch to DM for I2C

2019-07-05 Thread Ludwig Zenz
On 7/4/19 5:20 PM, Marek Vasut wrote: > On 7/4/19 9:09 AM, Ludwig Zenz wrote: > > Marek Vasut Wednesday 3rd July 2019 14:06: > >> > >> On 7/3/19 10:20 AM, Ludwig Zenz wrote: > >> [...] > >> > >>> static int setup_dhcom_mac_from_fuse(voi

Re: [U-Boot] [PATCH v2] ARM: imx6: DHCOM i.MX6 PDK: Switch to DM for I2C

2019-07-08 Thread Ludwig Zenz
On 7/5/19 14:24 PM, Marek Vasut wrote: > > On 7/5/19 12:46 PM, Ludwig Zenz wrote: > [...] > > > static int setup_dhcom_mac_from_fuse(void) > > { > > + struct udevice *dev; > > unsigned char enetaddr[6]; > > int ret; > > > > @@ -

Re: [U-Boot] [PATCH v2] ARM: imx6: DHCOM i.MX6 PDK: Switch to DM for I2C

2019-07-08 Thread Ludwig Zenz
On 7/8/19 14:50 Marek Vasut wrote: > On 7/8/19 10:21 AM, Ludwig Zenz wrote: > > On 7/5/19 14:24 PM, Marek Vasut wrote: > >> > >> On 7/5/19 12:46 PM, Ludwig Zenz wrote: > >> [...] > >> > >>> static int setup_dhcom_mac_from_fuse(void) &g

[U-Boot] [PATCH v3] ARM: imx6: DHCOM i.MX6 PDK: Switch to DM for I2C

2019-07-08 Thread Ludwig Zenz
: Ludwig Zenz --- Changes in v3: - determine eeprom ofnode by fixed hardware path Changes in v2: - Remove default i2c bus from dh_imx6_defconfig - Remove CONFIG_SYS_I2C_MXC_I2Cx from dh_imx6_defconfig - Disable CONFIG_SPL_I2C_SUPPORT (SPL does not need I2C