[U-Boot] [PATCH] board/lx2160a: Add init_func_vid() definition

2019-02-03 Thread Priyanka Jain
Add init_func_vid() which calls adjust_vdd() This ensures adjust_vdd() is called via init_sequence_f[] Signed-off-by: Priyanka Jain --- board/freescale/lx2160a/lx2160a.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/board/freescale/lx2160a/lx2160a.c

Re: [U-Boot] [PATCH 1/3] configs: am65x_evm_r5: Enable GPT support

2019-02-03 Thread Lokesh Vutla
On 02/02/19 2:34 AM, Andrew F. Davis wrote: > The second loader stages may be stored on GPT partitions, > enable support for this here. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh ___ U-Boot mailing list

Re: [U-Boot] [PATCH 3/3] armv7R: K3: am654: Fix order of debug elements in x509 template

2019-02-03 Thread Lokesh Vutla
On 02/02/19 2:34 AM, Andrew F. Davis wrote: > The first element in the debug section is expected to be debugUID. > ROM will not parse this correctly when out of order, fix this here. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh

Re: [U-Boot] [PATCH 2/3] am65x_evm: Allow bootm to load larger kernels

2019-02-03 Thread Lokesh Vutla
On 02/02/19 2:34 AM, Andrew F. Davis wrote: > Bootm will fail to load kernels over 8MB, this is not enough > for our 64bit kernel images. Increase this to 64MB. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > include/configs/am65x_evm.h | 2

[U-Boot] [PATCH v2 5/5] configs: am65x_evm_a53: enable networking

2019-02-03 Thread Keerthy
From: Grygorii Strashko Enable TI K3 AM65x CPSW NUSS driver. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- Changes in v2: Added Tom's Reviewed-by configs/am65x_evm_a53_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git

[U-Boot] [PATCH v2 4/5] arm64: dts: k3-am654-base-board: add mcu cpsw nuss pinmux and phy defs

2019-02-03 Thread Keerthy
From: Grygorii Strashko Add mcu cpsw nuss pinmux and phy defs required by cpsw. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- Changes in v2: Added Tom's Reviewed-by arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 59 1 file

[U-Boot] [PATCH v3 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-02-03 Thread Keerthy
From: Grygorii Strashko Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW NUSS). It has two ports and provides Ethernet packet communication for the device and can be configured as an Ethernet switch. CPSW NUSS features: the Reduced Gigabit Media Independent Interface

Re: [U-Boot] [PATCH v2 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-02-03 Thread Keerthy
On 04/02/19 9:34 AM, Keerthy wrote: > Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW > NUSS). It has two ports and provides Ethernet packet communication for the > device and can be configured as an Ethernet switch. CPSW NUSS features: the > Reduced Gigabit Media

[U-Boot] [PATCH v2 2/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-02-03 Thread Keerthy
Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW NUSS). It has two ports and provides Ethernet packet communication for the device and can be configured as an Ethernet switch. CPSW NUSS features: the Reduced Gigabit Media Independent Interface (RGMII), Reduced Media

[U-Boot] [PATCH v2 0/5] net: ethernet: ti: Introduce am654 gigabit eth switch subsystem driver

2019-02-03 Thread Keerthy
Add new driver for the TI AM65x SoC Gigabit Ethernet Switch subsystem (CPSW NUSS). It has two ports and provides Ethernet packet communication for the device and can be configured as an Ethernet switch. CPSW NUSS features: the Reduced Gigabit Media Independent Interface (RGMII), Reduced Media

[U-Boot] [PATCH v2 1/5] driver: net: ti: cpsw-mdio: use phys_addr_t for mdio_base addr

2019-02-03 Thread Keerthy
From: Grygorii Strashko Use phys_addr_t for mdio_base address to avoid build warnings on arm64. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- Changes in v2: Added Tom's Reviewed-by drivers/net/ti/cpsw_mdio.c | 2 +- drivers/net/ti/cpsw_mdio.h |

[U-Boot] [PATCH v2 3/5] arm64: dts: ti: k3-am65: add mcu cpsw node

2019-02-03 Thread Keerthy
From: Grygorii Strashko Add mcu cpsw and its components along with scm_conf node to have ethernet functional. Signed-off-by: Grygorii Strashko Signed-off-by: Keerthy Reviewed-by: Tom Rini --- Changes in v2: Added Tom's Reviewed-by arch/arm/dts/k3-am65.dtsi|

[U-Boot] [PATCH 6/8] rockchip: spi: add optimised receive-only implementation

2019-02-03 Thread Philipp Tomsich
For the RK3399-Q7 we recommend storing SPL and u-boot.itb in the on-module 32MBit (and sometimes even larger, if requested as part of a configure-to-order configuration) SPI-NOR flash that is clocked for a bitrate of 49.5MBit/s and connected in a single-IO configuration (the RK3399 only supports

[U-Boot] [PATCH 7/8] rockchip: spi: add driver-data and a 'rxonly_manages_fifo' flag

2019-02-03 Thread Philipp Tomsich
The SPI controller's documentation (I only had access to the RK3399, RK3368 and PX30 TRMs) specifies that, when operating in master-mode, the controller will stop the SCLK to avoid RXFIFO overruns and TXFIFO underruns. Looks like my worries that we'd need to support DMA-330 (aka PL330) to make

[U-Boot] [PATCH 4/8] rockchip: spi: consistently use false/true with rkspi_enable_chip

2019-02-03 Thread Philipp Tomsich
While rkspi_enable_chip is called with true/false everywhere else in the file, one call site uses '0' to denot 'false'. This change this one parameter to 'false' and effects consistency. Signed-off-by: Philipp Tomsich --- drivers/spi/rk_spi.c | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH 3/8] rockchip: spi: fix off-by-one in chunk size computation

2019-02-03 Thread Philipp Tomsich
The maximum transfer length (in a single transaction) for the Rockchip SPI controller is 64Kframes (i.e. 0x1 frames) of 8bit or 16bit frames and is encoded as (num_frames - 1) in CTRLR1. The existing code subtracted the "minus 1" twice for a maximum transfer length of 0x (64K - 1) frames.

[U-Boot] [PATCH 0/8] rockchip: Improve SPI-NOR read performance for the RK3399-Q7

2019-02-03 Thread Philipp Tomsich
The SPI-NOR driver has traditionally been slow enough to impact boot-time from SPI-NOR (which is the recommended storage for u-boot.itb on the RK3399-Q7): transfer for the ~890KB exceeded 0.8s even though the SPI-NOR bitrate was configured to 49.5MBit/s. This series provides some urgently needed

[U-Boot] [PATCH 8/8] rockchip: spi: make optimised receive-handler unaligned-safe

2019-02-03 Thread Philipp Tomsich
To support unaligned output buffers (i.e. 'in' in the terminology of the SPI framework), this change splits each 16bit FIFO element after reading and writes them to memory in two 8bit transactions. With this change, we can now always use the optimised mode for receive-only transcations

[U-Boot] [PATCH 5/8] rockchip: spi: only wait for completion, if transmitting

2019-02-03 Thread Philipp Tomsich
The logic in the main transmit loop took a bit of reading the TRM to fully understand (due to silent assumptions based in internal logic): the "wait until idle" at the end of each iteration through the loop is required for the transmit-path as each clearing of the ENA register (to update

[U-Boot] [PATCH 2/8] rockchip: spi: remove unused code and fields in priv

2019-02-03 Thread Philipp Tomsich
Even though the priv-structure and the claim-bus function contain logic for 16bit frames and for unidirectional transfer modes, neither of these is used anywhere in the driver. This removes the unused (as in "has no effect") logic and fields. Signed-off-by: Philipp Tomsich ---

[U-Boot] [PATCH 1/8] rockchip: spi: add debug message for delay in CS toggle

2019-02-03 Thread Philipp Tomsich
In analysing delays introduced for large SPI reads, the absence of any indication when a delay was inserted (to ensure the CS toggling is observed by devices) became apparent. Add an additional debug-only debug message to record the insertion and duration of any delay (note that the debug-message

Re: [U-Boot] [PATCH] rockchip: rk3399-puma: support Gigadevice SPI-NOR flash

2019-02-03 Thread klaus . goger
On 2019-02-03 15:59, Philipp Tomsich wrote: Over the last quarter, a part of our production has used NOR flash from Gigadevice in addition to the Winbond parts that we typically source. This requires the SPI_FLASH_GIGADEVICE config to be set. Enable SPI_FLASH_GIGADEVICE in the board's default

[U-Boot] [PATCH] rockchip: rk3399-puma: support Gigadevice SPI-NOR flash

2019-02-03 Thread Philipp Tomsich
Over the last quarter, a part of our production has used NOR flash from Gigadevice in addition to the Winbond parts that we typically source. This requires the SPI_FLASH_GIGADEVICE config to be set. Enable SPI_FLASH_GIGADEVICE in the board's default defconfig. Signed-off-by: Philipp Tomsich

[U-Boot] [PATCH 1/3] arm: mvebu: mcbin: dts: fix PCIe reset polarity

2019-02-03 Thread Baruch Siach
The PCIe slot PERST signal is active low. Fix the gpio signal description in the dts. This happened to work because the pcie_dw_mvebu driver sets the reset gpio level to 1 (high) to release the reset. The following commit will fix that. Signed-off-by: Baruch Siach ---

[U-Boot] [PATCH 3/3] arm: mvebu: cf gt-8k: dts: add PCIe slot reset support

2019-02-03 Thread Baruch Siach
Describe the mini-PCIe slot gpio reset signal. This enables PCIe devices on Clearfog GT-8K. Signed-off-by: Baruch Siach --- arch/arm/dts/armada-8040-clearfog-gt-8k.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/armada-8040-clearfog-gt-8k.dts

[U-Boot] [PATCH 2/3] pcie: designware: mvebu: fix reset release polarity

2019-02-03 Thread Baruch Siach
The dm_gpio_set_value() routine sets signal logical level, with GPIO_ACTIVE_LOW/HIGH value taken into account. Reset active value is 1 (asserted), while reset inactive value is 0 (de-asserted). Fix the reset toggle code to set the correct reset logic value. Reported-by: Sven Auhagen