[U-Boot] [PATCH v2 01/22] dm: sound: exynos: Correct codec bus addresses

2018-12-10 Thread Simon Glass
For snow the codec is at address 0x11 on the i2c bus, in 7-bit format. The device tree and code are in 8-bit format (i.e. shifted left one bit). Fix both. Fix pit in a similar way. Signed-off-by: Simon Glass --- Changes in v2: - Add fix for pit and pi also - Fix up tabs in this commit instead

[U-Boot] [PATCH v2 00/22] dm: sound: Convert to driver model

2018-12-10 Thread Simon Glass
The sound subsystem has never been converted to driver model. It is is a little bit complicated since it needs an audio codec, an i2s device and a sound device to bring them together. Sound is the main subsystem holding back removal of CONFIG_DM_I2C_COMPAT. This series takes a stab at doing the

Re: [U-Boot] [PATCH v3 5/7] MSCC: add board support for the Ocelots based evaluation boards

2018-12-10 Thread Daniel Schwierzeck
Am 05.12.18 um 18:10 schrieb Gregory CLEMENT: > Adding the support for 2 boards sharing common code for Ocelot chip: > PCB120 and PCB123 > > Signed-off-by: Gregory CLEMENT > --- > MAINTAINERS | 5 + > arch/mips/dts/mscc,ocelot.dtsi | 152

Re: [U-Boot] [PATCH v3 7/7] MIPS: bootm: Add support for Vcore III linux kernel

2018-12-10 Thread Daniel Schwierzeck
Am 05.12.18 um 18:10 schrieb Gregory CLEMENT: > The kernels built for the Vcore III linux kernel have different > expectation in the way the data were passed. > > Unlike with yamon, the command line is expected to be a single string > passed in argv[1]. An other expectation is that the

[U-Boot] [PATCH v2 05/22] dm: sound: Create a uclass for i2s

2018-12-10 Thread Simon Glass
The i2s bus is commonly used with audio codecs. It provides a way to stream digital data sychronously in both directions. U-Boot only supports audio output, so this uclass is very simple, with a single tx_data() method. Add a uclass and a test for i2s. Signed-off-by: Simon Glass --- Changes in

[U-Boot] [PATCH v2 04/22] dm: sound: Create a uclass for audio codecs

2018-12-10 Thread Simon Glass
An audio codec provides a way to convert digital data to sound and vice versa. Add a simple uclass which just supports setting the parameters for the codec. Signed-off-by: Simon Glass --- Changes in v2: None arch/sandbox/dts/test.dts | 7 - arch/sandbox/include/asm/test.h | 10

[U-Boot] [PATCH v2 11/22] exynos: Add proid_is_exynos542x() for common 542x

2018-12-10 Thread Simon Glass
Add a convenience function for any Exynos 542x chip. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/mach-exynos/clock.c | 10 +- arch/arm/mach-exynos/clock_init_exynos5.c | 2 +- arch/arm/mach-exynos/common_setup.h | 4 ++--

[U-Boot] [PATCH v2 22/22] dm: sound: Use the correct number of channels for sound

2018-12-10 Thread Simon Glass
At present the 'beep' sound generates a waveform for only one channel even if two are being used. This means that the beep is twice the frequency it should be. Correct this by making it a parameter. The fix in a previous commit was correct for sandbox but not for other boards. Fixes: 03f11e87a8

[U-Boot] [PATCH v2 12/22] exynos: Add support for exynos5420 i2s pinmux

2018-12-10 Thread Simon Glass
Allow setting the i2s pinmux correctly on exyno5420 so that i2c can be used on that SoC. Also rename EXYNOS_AUDSS to something consistent with other naming. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/mach-exynos/clock.c | 21 +++--

Re: [U-Boot] [PATCH v4 12/25] mtd: ensure MTD and NOR drivers are compiled with ENV_IS_IN_FLASH

2018-12-10 Thread Tom Rini
On Mon, Dec 10, 2018 at 07:02:45PM +0100, Miquel Raynal wrote: > Hello, > > Miquel Raynal wrote on Sun, 9 Dec 2018 > 19:07:34 +0100: > > > MTD and NOR flash support must be enabled when the environment is in > > NOR. > > > > Signed-off-by: Miquel Raynal > > --- > >

[U-Boot] [PATCH v2 02/22] dm: sound: Create an option to use driver model for sound

2018-12-10 Thread Simon Glass
The U-Boot sound system provides basic support for beeping. At present it does not use driver model, but it needs to be converted. Add an option to enable driver model for sound. For now it is not connected to anything. Future work will add drivers which use this option. It will then be removed

[U-Boot] [PATCH v2 03/22] dm: sound: Rename samsung_i2s_priv to i2s_uc_priv

2018-12-10 Thread Simon Glass
This structure contains information that is likely needed by any i2s driver so it seems useful to attach it to the (forthcoming) i2c uclass. For now, just rename it. Signed-off-by: Simon Glass --- Changes in v2: None drivers/sound/samsung-i2s.c | 4 ++-- drivers/sound/sound-i2s.c | 10

[U-Boot] [PATCH v2 06/22] dm: sandbox: Update sound to use two buffers

2018-12-10 Thread Simon Glass
At present we use a single buffer for sound which means we cannot be playing one sound while queueing up the next. This wouldn't matter except that a long sound (more than a second) has to be created as a single buffer, thus using a lot of memory. To better mimic what real sound drivers do, add

[U-Boot] [PATCH v2 15/22] dm: exynos: sound: Convert to use driver model

2018-12-10 Thread Simon Glass
Update snow's device tree and config to use driver model for sound. Also update the others as best we can. Spring does not appear to have audio support in the kernel. The smdk5250 and smdk5420 boards use a wolfson codec which I cannot test with. So the only boards that is tested and known to work

[U-Boot] [PATCH v2 21/22] dm: sandbox: Allow selection of sample rate and channels

2018-12-10 Thread Simon Glass
At present these parameters are hard-coded in the sdl interface code. Allow them to be specified by the driver instead. Signed-off-by: Simon Glass --- Changes in v2: None arch/sandbox/cpu/sdl.c | 10 +++--- arch/sandbox/include/asm/sdl.h | 6 -- drivers/sound/sandbox.c

Re: [U-Boot] [PATCH v2] rockchip: rk3288-evb: dts: remove 'vmmc' from emmc node

2018-12-10 Thread Tom Rini
On Sat, Dec 08, 2018 at 12:27:42PM +0800, Kever Yang wrote: > Hi Tom, > > > On 12/07/2018 10:13 PM, Tom Rini wrote: > > On Fri, Dec 07, 2018 at 02:24:22PM +0100, Philipp Tomsich wrote: > >> Kever, > >> > >>> On 07.12.2018, at 02:39, Kever Yang wrote: > >>> > >>> Hi Philipp, > >>> > >>> On

Re: [U-Boot] [PATCH v3 3/7] MSCC: add support for Ocelot SoCs

2018-12-10 Thread Daniel Schwierzeck
Am 05.12.18 um 18:10 schrieb Gregory CLEMENT: > This family of SoCs are found in the Microsemi Switches solution and have > already a support in the linux kernel. > > Signed-off-by: Gregory CLEMENT > --- > MAINTAINERS | 7 + > arch/mips/Kconfig

[U-Boot] [PATCH v2 07/22] dm: sound: Create a uclass for sound

2018-12-10 Thread Simon Glass
The sound driver pulls together the audio codec and i2s drivers in order to actually make sounds. It supports setup() and play() methods. The sound_find_codec_i2s() function allows locating the linked codec and i2s devices. They can be referred to from uclass-private data. Add a uclass and a test

Re: [U-Boot] [PATCH 0/7] Remove defines for SPI default speed and mode

2018-12-10 Thread Adam Ford
On Mon, Dec 10, 2018 at 4:54 AM Patrick Delaunay wrote: > > > This patch-set finish (after the last Simmon comment) > and depends on the previous serie named: > "Read default speed and mode values from DT" > > http://patchwork.ozlabs.org/project/uboot/list/?series=76834 > > This patchset remove

Re: [U-Boot] [PATCH v3] pinctrl: mscc: Add gpio and pinctrl driver for MSCC MIPS SoCs (VcoreIII based)

2018-12-10 Thread Daniel Schwierzeck
Am 08.12.18 um 09:59 schrieb Gregory CLEMENT: > This driver supports the pin and gpio controller found in the Ocelot and > Luton SoCs. > > The driver was inspired from the pinctrl driver in Linux, but was > simplified and was modified to allow supporting an other SoCs (Luton). > > For Ocelot

[U-Boot] [PATCH v2 13/22] dm: sound: Move common code out of maxim98095

2018-12-10 Thread Simon Glass
The register-access code is useful for any maxim codec. Move it out into its own file. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to move common code out of maxim98095 drivers/sound/Makefile | 2 +- drivers/sound/max98095.c| 181

Re: [U-Boot] [PATCH v2] gpio: mscc-bitbang-spi: Add a simple gpio driver for bitbgang spi

2018-12-10 Thread Daniel Schwierzeck
Am 08.12.18 um 10:00 schrieb Gregory CLEMENT: > Hi, > > On mar., oct. 09 2018, Gregory CLEMENT wrote: > >> The VCore III SoCs such as the Luton but also the Ocelot can remap an SPI >> flash directly in memory. However, for writing in the flash the >> communication has to be done by

Re: [U-Boot] [RFC PATCH v2 00/11] SF: Migrate to Linux SPI NOR framework

2018-12-10 Thread Miquel Raynal
Hi Vignesh, Vignesh R wrote on Mon, 10 Dec 2018 23:08:38 +0530: > On 10-Dec-18 6:32 PM, Jagan Teki wrote: > > On Thu, Dec 6, 2018 at 11:55 PM Vignesh R wrote: > >> > >> Hi Jagan, > >> > >> On 06-Dec-18 10:44 PM, Jagan Teki wrote: > >>> On Tue, Dec 4, 2018 at 5:56 PM Vignesh R wrote: >

Re: [U-Boot] [PATCH v3 4/7] MSCC: add support for Luton SoCs

2018-12-10 Thread Daniel Schwierzeck
Am 05.12.18 um 18:10 schrieb Gregory CLEMENT: > As the Ocelots SoCs, this family of SoCs are found in the Microsemi > Switches solution. > > Signed-off-by: Gregory CLEMENT > --- > arch/mips/mach-mscc/Kconfig | 13 + > arch/mips/mach-mscc/Makefile | 1 + >

[U-Boot] [PATCH v2 08/22] dm: core: Add a function to read into a unsigned int

2018-12-10 Thread Simon Glass
The current dev_read...() functions use s32 and u32 which are convenient for device tree but not so useful for normal code, which often wants to use normal integers for values. Add a helper which supports returning an unsigned int. Also add signed versions of the unsigned readers. Signed-off-by:

[U-Boot] [PATCH v2 14/22] dm: sound: exynos: Add support for max98090

2018-12-10 Thread Simon Glass
Add support for this new codec which is used by pit. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch with support for max98090 drivers/sound/Kconfig| 8 + drivers/sound/Makefile | 1 + drivers/sound/max98090.c | 377 ++ drivers/sound/max98090.h |

[U-Boot] [PATCH v2 18/22] dm: sound: Complete migration to driver model

2018-12-10 Thread Simon Glass
All users of sound are converted to use driver model. Drop the old code and the CONFIG_DM_SOUND option. Signed-off-by: Simon Glass --- Changes in v2: - Drop CONFIG_DM_SOUND from all defconfig files - Fix up sandbox files to remove old code - Update the rest of the samsung boards - Remove unused

[U-Boot] [PATCH v2 17/22] dm: exynos: Drop CONFIG_DM_I2C_COMPAT

2018-12-10 Thread Simon Glass
This option is not needed anymore for all exynos boards except arndale. Update the config. Signed-off-by: Simon Glass --- Changes in v2: None configs/peach-pi_defconfig | 1 - configs/peach-pit_defconfig | 1 - configs/smdk5250_defconfig | 1 - configs/smdk5420_defconfig | 1 -

Re: [U-Boot] [PATCH v4 12/25] mtd: ensure MTD and NOR drivers are compiled with ENV_IS_IN_FLASH

2018-12-10 Thread Miquel Raynal
Hello, Miquel Raynal wrote on Sun, 9 Dec 2018 19:07:34 +0100: > MTD and NOR flash support must be enabled when the environment is in > NOR. > > Signed-off-by: Miquel Raynal > --- > configs/armadillo-800eva_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

[U-Boot] [GIT PULL] u-boot-mips

2018-12-10 Thread Daniel Schwierzeck
Hi Tom, please pull some fixes for MIPS BCM platforms. Would you accept another pull request from u-boot-mips/next with the BMIPS part of the original series "dma: add channels support"? The changes are isolated to BMIPS platform and it would add a user for the new DMA channel support. The

Re: [U-Boot] [RFC PATCH v2 00/11] SF: Migrate to Linux SPI NOR framework

2018-12-10 Thread Vignesh R
On 10-Dec-18 6:32 PM, Jagan Teki wrote: > On Thu, Dec 6, 2018 at 11:55 PM Vignesh R wrote: >> >> Hi Jagan, >> >> On 06-Dec-18 10:44 PM, Jagan Teki wrote: >>> On Tue, Dec 4, 2018 at 5:56 PM Vignesh R wrote: U-Boot SPI NOR support (sf layer) is quite outdated as it does not

[U-Boot] [PATCH v2 10/22] dm: sound: Add conversion to driver model

2018-12-10 Thread Simon Glass
Move the existing hardware drivers over to use driver model. Signed-off-by: Simon Glass --- Changes in v2: - Correct conversion for pit - Use void * for i2c and sound data arch/arm/dts/exynos5250-smdk5250.dts | 1 + arch/arm/dts/exynos5420-smdk5420.dts | 1 + drivers/sound/Makefile

Re: [U-Boot] [PATCH] bmips: swapping IO space isn't required

2018-12-10 Thread Daniel Schwierzeck
Am 09.12.18 um 10:41 schrieb Álvaro Fernández Rojas: > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/mach-bmips/Kconfig | 10 -- > 1 file changed, 10 deletions(-) > applied to u-boot-mips/fixes, thanks. -- - Daniel signature.asc Description: OpenPGP digital signature

Re: [U-Boot] [PATCH] bmips: bcm6838: fix device tree warning

2018-12-10 Thread Daniel Schwierzeck
Am 10.12.18 um 17:42 schrieb Álvaro Fernández Rojas: > Signed-off-by: Álvaro Fernández Rojas > --- > arch/mips/dts/brcm,bcm6838.dtsi | 2 -- > 1 file changed, 2 deletions(-) > applied to u-boot-mips/fixes, thanks. -- - Daniel signature.asc Description: OpenPGP digital signature

[U-Boot] Regression: dm: i2c: Make i2c_get_chip_for_busnum() fail if the chip is not detected

2018-12-10 Thread Stephen Warren
The following commit: dm: i2c: Make i2c_get_chip_for_busnum() fail if the chip is not detected i2c_get_chip_for_busnum() really should check the presence of the chip on the bus. Most of the users of this function assume that this is done. ... causes a boot failure on NVIDIA

Re: [U-Boot] [PATCH 6/7] doc: android: Add simple guide for A/B updates

2018-12-10 Thread Ruslan Trofymenko
Hi Simon, On Thu, 6 Dec 2018 at 03:31, Simon Glass wrote: > > Hi, > > On Tue, 27 Nov 2018 at 12:57, Ruslan Trofymenko > wrote: > > > > Add a short documentation for A/B enablement and 'android_ab_select' > > command usage. > > > > Signed-off-by: Ruslan Trofymenko > > --- > >

Re: [U-Boot] [PATCH 0/7] Remove defines for SPI default speed and mode

2018-12-10 Thread Adam Ford
On Mon, Dec 10, 2018 at 1:20 PM Simon Goldschmidt wrote: > > Am 10.12.2018 um 16:42 schrieb Adam Ford: > > On Mon, Dec 10, 2018 at 4:54 AM Patrick Delaunay > > wrote: > >> > >> > >> This patch-set finish (after the last Simmon comment) > >> and depends on the previous serie named: > >> "Read

Re: [U-Boot] [PATCH 09/13] serial: Remove DM_FLAG_PRE_RELOC flag in various drivers

2018-12-10 Thread Igor Opaniuk
Hi Bin, This particular commit leads to a constant Poplar board restart (git bisect pointed to it). U-boot is built with the default poplar_config from the latest master (btw, is uses r), and U-boot is used as default BL33 image (setup: vanilla ATF + vanilla OP-TEE(BL32, S-EL1 payload) + U-boot).

[U-Boot] [PATCH v2 09/22] dm: sound: Start i2c IDs from 0

2018-12-10 Thread Simon Glass
The current ID enums start from 1 but there does not seem to be any reason that they cannot start with 0. Adjust the code to avoid the +1 in codec_init(). Signed-off-by: Simon Glass --- Changes in v2: None drivers/sound/max98095.h | 2 +- drivers/sound/sound-i2s.c | 6 ++

[U-Boot] [PATCH v2 19/22] dm: sound: Fix license headers

2018-12-10 Thread Simon Glass
Fix a few files whos license headers were not converted to SPDX. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to fix license headers drivers/sound/max98095.c | 7 ++- drivers/sound/max98095.h | 5 + 2 files changed, 3 insertions(+), 9 deletions(-) diff --git

[U-Boot] [PATCH v2 20/22] dm: sound: max98095: Tidy up error codes

2018-12-10 Thread Simon Glass
Return a valid error code instead of -1. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to tidy up error codes in max98095 drivers/sound/max98095.c | 47 1 file changed, 23 insertions(+), 24 deletions(-) diff --git

[U-Boot] [PATCH v2 16/22] dm: sandbox: sound: Convert to use driver model

2018-12-10 Thread Simon Glass
Update sandbox's device tree and config to use driver model for sound. Use the double buffer for sound output so that we don't need to wait for the sound to complete before returning. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to convert sandbox to use driver model

Re: [U-Boot] [PATCH 0/7] Remove defines for SPI default speed and mode

2018-12-10 Thread Simon Goldschmidt
Am 10.12.2018 um 16:42 schrieb Adam Ford: On Mon, Dec 10, 2018 at 4:54 AM Patrick Delaunay wrote: This patch-set finish (after the last Simmon comment) and depends on the previous serie named: "Read default speed and mode values from DT"

Re: [U-Boot] [PATCH v3 03/11] drivers: spi: cf_spi: convert to driver model

2018-12-10 Thread Angelo Dureghello
Hi Jagan, still sorry for the delay, fixed all the points except 2, ready to send patch v4, please read below. On Tue, Oct 23, 2018 at 04:58:22PM +0530, Jagan Teki wrote: > On Sun, Oct 14, 2018 at 1:00 PM Angelo Dureghello wrote: > > > > Converting to driver model and removes non-dm code. > >

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Ezequiel Garcia
On Mon, 2018-12-10 at 22:00 +0100, Andreas Färber wrote: > Hi Ezequiel, > > Am 10.12.18 um 21:35 schrieb Ezequiel Garcia: > > Please note that I've added Paul's SOB to all the patches > > he authored, to make the authorship chain more clear. > > That's only permitted if Paul agreed to that

Re: [U-Boot] [PATCH v2 06/20] riscv: ax25: Hide the ax25-specific Kconfig option

2018-12-10 Thread Auer, Lukas
On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > There is no need to expose RISCV_NDS to the Kconfig menu as it is > an ax25-specific option. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > arch/riscv/cpu/ax25/Kconfig | 8 +++- > 1 file changed, 3 insertions(+), 5

Re: [U-Boot] [PATCH v2 05/20] timer: Add generic driver for RISC-V privileged architecture defined timer

2018-12-10 Thread Auer, Lukas
Hi Bin, On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > RISC-V privileged architecture v1.10 defines a real-time counter, > exposed as a memory-mapped machine-mode register - mtime. mtime must > run at constant frequency, and the platform must provide a mechanism > for determining the

Re: [U-Boot] [PATCH v2 08/20] riscv: Add a SYSCON driver for SiFive's Core Local Interruptor

2018-12-10 Thread Auer, Lukas
Hi Bin, On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > This adds U-Boot syscon driver for SiFive's Core Local Interruptor > (CLINT). The CLINT block holds memory-mapped control and status > registers associated with software and timer interrupts. > > This driver implements the

Re: [U-Boot] [PATCH v2 13/20] riscv: Add CSR numbers

2018-12-10 Thread Auer, Lukas
Hi Bin, On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > The standard RISC-V ISA sets aside a 12-bit encoding space for up > to 4096 CSRs. This adds all known CSR numbers as defined in the > RISC-V Privileged Architecture Version 1.10. > > Signed-off-by: Bin Meng > --- > > Changes in v2:

Re: [U-Boot] [PATCH 6/7] doc: android: Add simple guide for A/B updates

2018-12-10 Thread Simon Glass
Hi, On Mon, 10 Dec 2018 at 12:11, Ruslan Trofymenko wrote: > > Hi Simon, > > On Thu, 6 Dec 2018 at 03:31, Simon Glass wrote: > > > > Hi, > > > > On Tue, 27 Nov 2018 at 12:57, Ruslan Trofymenko > > wrote: > > > > > > Add a short documentation for A/B enablement and 'android_ab_select' > > >

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Ezequiel Garcia
On Mon, 2018-12-10 at 18:41 -0500, Tom Rini wrote: > On Mon, Dec 10, 2018 at 06:31:29PM -0300, Ezequiel Garcia wrote: > > On Mon, 2018-12-10 at 22:00 +0100, Andreas Färber wrote: > [snip] > > > Further, it would be very helpful - given the history of this patchset - > > > to indicate which

[U-Boot] [PATCH 4/6] mips: Add SPL header

2018-12-10 Thread Ezequiel Garcia
From: Paul Burton Add header with SPL boot mode and type definitions. Cc: Daniel Schwierzeck Signed-off-by: Paul Burton Signed-off-by: Marek Vasut --- arch/mips/include/asm/spl.h | 35 +++ 1 file changed, 35 insertions(+) create mode 100644

Re: [U-Boot] [PATCH 1/7] spi: update management of default speed and mode

2018-12-10 Thread Petr Vorel
Hi Patrick, > On Mon, Dec 10, 2018 at 11:53 AM Patrick Delaunay > wrote: > > The 2 default values for SPI mode and speed are > > only if CONFIG_DM_SPI_FLASH is not defined > > - CONFIG_SF_DEFAULT_SPEED > > - CONFIG_SF_DEFAULT_MODE > > Inverse the logic of the test to remove these two defines.

Re: [U-Boot] [PATCH 1/7] spi: update management of default speed and mode

2018-12-10 Thread Simon Goldschmidt
Am 10.12.2018 um 21:49 schrieb Petr Vorel: Hi Patrick, On Mon, Dec 10, 2018 at 11:53 AM Patrick Delaunay wrote: The 2 default values for SPI mode and speed are only if CONFIG_DM_SPI_FLASH is not defined - CONFIG_SF_DEFAULT_SPEED - CONFIG_SF_DEFAULT_MODE Inverse the logic of the test to

[U-Boot] [PATCH] am3517_evm: Use ttyS2 instead of ttyO2

2018-12-10 Thread Adam Ford
The serial driver in the kernel moved from ttyOx to ttySx a while ago. This patch updates the console parameter to align with the kernel change. Signed-off-by: Adam Ford diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h index 4e7e5209d4..eb50012ff7 100644 ---

Re: [U-Boot] [PATCH 3/7] da850evm: sf: Read default speed and mode values from DT

2018-12-10 Thread Petr Vorel
Hi Patrick, > In case of DT boot, don't read default speed and mode for SPI from > CONFIG_*, instead read from DT node. > Signed-off-by: Patrick Delaunay Reviewed-by: Petr Vorel Kind regards, Petr ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] arm: ls1021a: Add timer_init() in board_init_f for SPL

2018-12-10 Thread York Sun
On 10/16/18 1:23 AM, Alison Wang wrote: > I2C is used to access DDR SPD in the DDR initialization for SPL. In > i2c_write process, get_timer() will be called. In board_init_f for SPL, > timer_init() is not called before. The system counter is not enabled and > the counter frequency is not set to

Re: [U-Boot] [PATCH] armv8: ls1088ardb_pb: Add support for board detection

2018-12-10 Thread York Sun
On 10/12/18 7:04 AM, Pramod Kumar wrote: > ls1088ardb-pb and ls1088ardb both boards are ls1088a based soc, > board type detection is dynamic at boot time > > Signed-off-by: Pramod Kumar > --- This set is applied to fsl-qoriq master, awaiting upstream. Thanks. York

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Paul Burton
Hi Ezequiel, On Mon, Dec 10, 2018 at 06:31:29PM -0300, Ezequiel Garcia wrote: > On Mon, 2018-12-10 at 22:00 +0100, Andreas Färber wrote: > > Am 10.12.18 um 21:35 schrieb Ezequiel Garcia: > > > Please note that I've added Paul's SOB to all the patches > > > he authored, to make the authorship

Re: [U-Boot] ARM: rockchip: rv1108: Fix booting with initramfs

2018-12-10 Thread Philipp Tomsich
+ Heiko > On 10.12.2018, at 01:56, Tom Rini wrote: > > On Mon, Dec 10, 2018 at 01:38:36AM +0100, Philipp Tomsich wrote: >> Tom, >> >> On 10.12.2018, at 01:28, Tom Rini wrote: >>> >>> On Mon, Dec 10, 2018 at 01:01:52AM +0100, Philipp Tomsich wrote: > We move the ramdisk_addr_r to

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Tom Rini
On Mon, Dec 10, 2018 at 06:31:29PM -0300, Ezequiel Garcia wrote: > On Mon, 2018-12-10 at 22:00 +0100, Andreas Färber wrote: [snip] > > Further, it would be very helpful - given the history of this patchset - > > to indicate which toolchain and version you used for building this. > > > > I've

Re: [U-Boot] [PATCH v2 15/20] riscv: Add indirect stringification to csr_xxx ops

2018-12-10 Thread Auer, Lukas
On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > With current csr_xxx ops, we cannot pass a macro to parameter > 'csr', hence we need add another level to allow the parameter > to be a macro itself, aka indirect stringification. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > -

Re: [U-Boot] [PATCH v4 06/10] dm: usb: create a new UCLASS ID for USB gadget devices

2018-12-10 Thread Simon Glass
Hi Jean-Jacques, On Thu, 29 Nov 2018 at 02:54, Jean-Jacques Hiblot wrote: > > UCLASS_USB_DEV_GENERIC was meant for USB devices connected to host > controllers, not gadget devices. > Adding a new UCLASS for gadget devices alone. > > Also move the generic DM code for USB gadgets in a separate file

Re: [U-Boot] [RESEND PATCH v3 16/19] lib: fdtdec: Add function re-setup the fdt more effeciently

2018-12-10 Thread Simon Glass
On Fri, 7 Dec 2018 at 06:51, Jean-Jacques Hiblot wrote: > > In some cases it may be useful to be able to change the fdt we have been > using and use another one instead. For example, the TI platforms uses an > EEPROM to store board information and, based on the type of board, > different dtbs are

Re: [U-Boot] Please pull u-boot-dm

2018-12-10 Thread Simon Glass
Hi, On Tue, 4 Dec 2018 at 21:10, Keerthy wrote: > > > > On Friday 30 November 2018 08:25 PM, Tom Rini wrote: > > On Thu, Nov 29, 2018 at 01:55:14PM -0700, Simon Glass wrote: > > > >> Hi Tom, > >> > >> The following changes since commit > >> e16c888fab5014b022d5781dc534f204460a073b: > >> > >>

Re: [U-Boot] [RFC] fit: include uncompression into fit_image_load

2018-12-10 Thread Simon Glass
Hi Simon, On Tue, 20 Nov 2018 at 14:03, Simon Goldschmidt wrote: > > On Fri, Nov 16, 2018 at 3:05 AM Simon Glass wrote: > > > > Hi, > > > > On 22 October 2018 at 11:55, Simon Goldschmidt > > wrote: > > > On 22.10.2018 19:49, Simon Glass wrote: > > >> > > >> Hi Simon, > > >> > > >> On 19

[U-Boot] [PATCH 2/6] gpio: Add JZ47xx GPIO driver

2018-12-10 Thread Ezequiel Garcia
From: Paul Burton Add primitive GPIO controller driver for the JZ47xx SoC. Cc: Daniel Schwierzeck Signed-off-by: Paul Burton Signed-off-by: Marek Vasut --- drivers/gpio/Kconfig | 7 drivers/gpio/Makefile | 1 + drivers/gpio/gpio-jz47xx.c | 78

[U-Boot] [PATCH 1/6] misc: Add JZ47xx efuse driver

2018-12-10 Thread Ezequiel Garcia
From: Paul Burton Add driver for the efuse block in the JZ47xx SOC. Cc: Daniel Schwierzeck Signed-off-by: Paul Burton Signed-off-by: Marek Vasut --- drivers/misc/Kconfig| 6 +++ drivers/misc/Makefile | 1 + drivers/misc/jz4780_efuse.c | 100

[U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Ezequiel Garcia
As the subject says, this series adds support for CI20. Most of the work was done by Paul Burton, and then by Marek Vasut. I've just rescued the work from the dark wastelands of Mordor, did some cleaning here and there and submitted. Patches 1, 2, and 4 are completely untouched. I've picked them

[U-Boot] [PATCH 3/6] mmc: Add JZ47xx SD/MMC controller driver

2018-12-10 Thread Ezequiel Garcia
From: Paul Burton Add driver for the JZ47xx MSC controller. Cc: Daniel Schwierzeck Signed-off-by: Paul Burton Signed-off-by: Marek Vasut Signed-off-by: Ezequiel Garcia --- drivers/mmc/Kconfig | 6 + drivers/mmc/Makefile | 1 + drivers/mmc/jz_mmc. | 0 drivers/mmc/jz_mmc.c | 491

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Andreas Färber
Hi Ezequiel, Am 10.12.18 um 21:35 schrieb Ezequiel Garcia: > Please note that I've added Paul's SOB to all the patches > he authored, to make the authorship chain more clear. That's only permitted if Paul agreed to that beforehand - did he? Never add other people's Signed-off-by if their patches

Re: [U-Boot] [PATCH 1/6] misc: Add JZ47xx efuse driver

2018-12-10 Thread Marek Vasut
On 12/10/2018 09:35 PM, Ezequiel Garcia wrote: > From: Paul Burton > > Add driver for the efuse block in the JZ47xx SOC. > > Cc: Daniel Schwierzeck > Signed-off-by: Paul Burton > Signed-off-by: Marek Vasut [...] > +static void jz4780_efuse_read_chunk(size_t addr, size_t count, u8 *buf) >

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Marek Vasut
On 12/10/2018 09:35 PM, Ezequiel Garcia wrote: > As the subject says, this series adds support for CI20. > > Most of the work was done by Paul Burton, and then by Marek Vasut. > I've just rescued the work from the dark wastelands of Mordor, > did some cleaning here and there and submitted. > >

Re: [U-Boot] [PATCH 6/7] env: Read default speed and mode values from DT

2018-12-10 Thread Petr Vorel
Hi Patrick, > In case of DT boot, don't read default speed and mode for SPI from > CONFIG_*, instead read from DT node. > Signed-off-by: Patrick Delaunay Reviewed-by: Petr Vorel > --- > env/Kconfig | 4 ++-- > env/sf.c| 5 - > 2 files changed, 6 insertions(+), 3 deletions(-) ... >

Re: [U-Boot] [PATCH][v3] armv8: lx2160a: Add LX2160A SoC Support

2018-12-10 Thread York Sun
On 10/29/18 2:17 AM, Priyanka Jain wrote: > LX2160A Soc is based on Layerscape Chassis Generation 3.2 Architecture. > Features: > 16 ARM v8 Cortex-A72 cores in 8 cluster, CCN508, SEC, > two 64-bit DDR4 memory controller, RGMII, 8 I2C controllers, > 3 serdes modules, USB 3.0, SATA, 4 PL011 SBSA

Re: [U-Boot] [PATCH][v2] armv8:fsl-layerscape: Add support for Chassis 3.2

2018-12-10 Thread York Sun
On 10/29/18 2:11 AM, Priyanka Jain wrote: > NXP layerscape architecture Chassis 3.2 builds upon chassis3 > architecture with changes like DDR Memory map change, > removal of IFC and support of upto 8 I2C controller. > > Patch add README.lsch3_2 and the above changes under > macro

Re: [U-Boot] [PATCH 0/6] Add support for MIPS Creator CI20

2018-12-10 Thread Andreas Färber
Am 10.12.18 um 22:31 schrieb Ezequiel Garcia: > On Mon, 2018-12-10 at 22:00 +0100, Andreas Färber wrote: >> Also this is surely not a v1 patch! Marek had posted CI20 before, so >> this should be v2 (doesn't look like I posted mine as v2, it didn't >> fully build yet) and thus your next iteration

Re: [U-Boot] [PATCH V2 2/2] spl: introduce function prototypes

2018-12-10 Thread Simon Glass
On Sat, 17 Nov 2018 at 02:10, Peng Fan wrote: > > Introduce function prototypes for board_spl_fit_size_align and > board_spl_fit_post_load > > Signed-off-by: Peng Fan > --- > > V2: > New file per Simon's comments > > include/spl.h | 12 > 1 file changed, 12 insertions(+)

Re: [U-Boot] [PATCH] blk: Rework guard around part_init call

2018-12-10 Thread Simon Glass
On Sun, 25 Nov 2018 at 10:37, Tom Rini wrote: > > The function part_init() will only be built when we have both > CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE set. Protect the call to > this function with both of these tests now. > > Cc: Simon Glass > Signed-off-by: Tom Rini > --- >

Re: [U-Boot] CONFIG_CMD_SETEXPR disabled in many defconfigs

2018-12-10 Thread Tom Rini
On Sun, Dec 09, 2018 at 10:15:21AM +0100, Jan Kiszka wrote: > Hi all, > > for some distro script [1], I need setexpr enabled. However, lots of > defconfigs have that disabled, although it is default y in kconfig. I > strongly suspect that this propagated via blind copy, rather than >

Re: [U-Boot] [PATCH] Drivers: USB: MUSB: Remove legacy CONFIG_USB_DA8XX

2018-12-10 Thread Marek Vasut
On 12/10/2018 05:35 PM, Adam Ford wrote: > There don't appear to be any boards enabling CONFIG_USB_DA8XX, > and there is a newer version of the MUSB driver, so let's remove > the legacy version of it. > > Signed-off-by: Adam Ford CCing Jean, I'd like his A-B/R-B. Looks good to me, so I'll pick

Re: [U-Boot] [BUG] ut overlay fails with v2018.03 and later on qemu-arm64_defconfig

2018-12-10 Thread Simon Goldschmidt
Am 10.12.2018 um 21:43 schrieb Tom Rini: On Sat, Dec 08, 2018 at 09:35:06AM +0100, Heinrich Schuchardt wrote: Hello Simon, on qemu-arm_defconfig fails with => ut overlay Running 9 overlay tests Test: fdt_overlay_add_node_by_path test/overlay/cmd_ut_overlay.c:127,

Re: [U-Boot] [PATCH] ls1088a: Move CONFIG_FSL_QSPI to defconfig

2018-12-10 Thread York Sun
On 10/12/18 2:18 AM, Ashish Kumar wrote: > Signed-off-by: Rajat Srivastava > Signed-off-by: Ashish Kumar > --- This set is applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] board/freescale/vid: Add correction for ltc3882 read error.

2018-12-10 Thread York Sun
On 10/10/18 10:11 PM, Priyanka Jain wrote: > Voltage regulator LTC3882 device has 0.5% voltage read error. > So for NXP SoC devices this generally equates to 2mV > > Update set_voltage_to_LTC for below: > 1.Add coorection of upto 2mV in voltage comparison > to take care of voltage read error of

Re: [U-Boot] [PATCH 1/2] configs: igep: Define default mtdids/mtdparts

2018-12-10 Thread Enric Balletbo Serra
+Ladis who might be also interested. Missatge de Boris Brezillon del dia dl., 10 de des. 2018 a les 16:38: > > We are trying to get rid of the weak board_mtdparts_default() function > and we need to make sure igep defconfigs have proper proper > CONFIG_MTD{IDS,PARTS}_DEFAULT before doing that. >

Re: [U-Boot] [PATCH 1/6] misc: Add JZ47xx efuse driver

2018-12-10 Thread Ezequiel Garcia
On Mon, 2018-12-10 at 21:56 +0100, Marek Vasut wrote: > On 12/10/2018 09:35 PM, Ezequiel Garcia wrote: > > From: Paul Burton > > > > Add driver for the efuse block in the JZ47xx SOC. > > > > Cc: Daniel Schwierzeck > > Signed-off-by: Paul Burton > > Signed-off-by: Marek Vasut > > [...] > >

Re: [U-Boot] [PATCH v2 14/20] riscv: Add exception codes for xcause register

2018-12-10 Thread Auer, Lukas
On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > This adds all exception codes in encoding.h. > > Signed-off-by: Bin Meng > --- > > Changes in v2: None > > arch/riscv/include/asm/encoding.h | 15 +++ > 1 file changed, 15 insertions(+) > Reviewed-by: Lukas Auer

Re: [U-Boot] [PATCH 04/19] cpu: Add a RISC-V CPU driver

2018-12-10 Thread Auer, Lukas
Hi Bin, On Fri, 2018-12-07 at 21:59 +0800, Bin Meng wrote: > Hi Lukas, > > On Thu, Nov 15, 2018 at 5:57 AM Auer, Lukas > wrote: > > > > Hi Bin, > > > > On Tue, 2018-11-13 at 00:21 -0800, Bin Meng wrote: > > > This adds a driver for RISC-V CPU. Note the driver will bind > > > a RISC-V timer

Re: [U-Boot] Port old board to Kconfig

2018-12-10 Thread Tom Rini
On Mon, Dec 10, 2018 at 11:13:31AM +1100, Tim Godfrey wrote: > Hello! > > I am working with a VAR-SOM-AM43 dev board from a company called Variscite. > The company doesn't support u-boot builds for this board after the > migration to Kconfig (maintenance happens on a 2014.07 branch), and I would

Re: [U-Boot] [PATCH 2/7] spi: add comment for spi_flash_probe_bus_cs function

2018-12-10 Thread Petr Vorel
Hi Patrick, > On Mon, Dec 10, 2018 at 11:53 AM Patrick Delaunay > wrote: > > Add Kernel style documentation for spi_flash_probe_bus_cs(). > > Signed-off-by: Patrick Delaunay Reviewed-by: Petr Vorel > > --- > > include/spi_flash.h | 14 ++ > > 1 file changed, 14 insertions(+)

Re: [U-Boot] [PATCH 1/4] scsi: ceva: add ls1046a soc support

2018-12-10 Thread York Sun
On 10/11/18 3:38 AM, Peng Ma wrote: > Add ahci compatible support for ls1046a soc. > > Signed-off-by: Peng Ma > --- Please remember to sort defconfig using moveconfig.py in the future. This set is applied to fsl-qoriq master, awaiting upstream. Thanks. York

Re: [U-Boot] [PATCH 1/3] scsi: ceva: add ls1088a soc support

2018-12-10 Thread York Sun
On 10/21/18 7:43 PM, Peng Ma wrote: > Add ahci compatible support for ls1088a soc. > > Signed-off-by: Peng Ma > --- This set is applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Please pull fsl-qoriq master

2018-12-10 Thread York Sun
On 12/10/18 1:22 PM, York Sun wrote: > Tom, > > 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-fsl-qoriq.git

Re: [U-Boot] [PATCH v2 04/20] cpu: Add a RISC-V CPU driver

2018-12-10 Thread Auer, Lukas
On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > This adds a driver for RISC-V CPU. Note the driver will bind > a RISC-V timer driver if "timebase-frequency" property is > present in the device tree. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - pass NULL as the timer device

Re: [U-Boot] [PATCH v2 09/20] riscv: Implement riscv_get_time() API using rdtime instruction

2018-12-10 Thread Auer, Lukas
On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > From: Anup Patel > > This adds an implementation of riscv_get_time() API that is using > rdtime instruction. > > This is the case for S-mode U-Boot, and is useful for processors > that support rdtime in M-mode too. > > Signed-off-by: Anup

Re: [U-Boot] [PATCH v2 16/20] riscv: Do some basic architecture level cpu initialization

2018-12-10 Thread Auer, Lukas
Hi Bin, On Fri, 2018-12-07 at 06:14 -0800, Bin Meng wrote: > Implement arch_cpu_init() to do some basic architecture level cpu > initialization, like FPU enable, etc. > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - use csr_set() to set MSTATUS_FS > - only enabling the cycle, time,

[U-Boot] [PATCH 6/6] mips: jz47xx: Add Creator CI20 platform

2018-12-10 Thread Ezequiel Garcia
From: Paul Burton Add support for the Creator CI20 platform based on the JZ4780 SoC. Cc: Daniel Schwierzeck Signed-off-by: Paul Burton Signed-off-by: Marek Vasut Signed-off-by: Ezequiel Garcia --- arch/mips/dts/Makefile| 1 + arch/mips/dts/ci20.dts| 120 +++

Re: [U-Boot] [PATCH 1/3] scsi: ceva: add ls2080a soc support

2018-12-10 Thread York Sun
On 10/21/18 7:47 PM, Peng Ma wrote: > Add ahci compatible support for ls2080a soc. > > Signed-off-by: Peng Ma > --- This set is applied to fsl-qoriq master, awaiting upstream. Thanks. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 7/7] spi: remove define for SPI default SPEED and MODE

2018-12-10 Thread Petr Vorel
Hi Patrick, > On Mon, Dec 10, 2018 at 11:53 AM Patrick Delaunay > wrote: > > In DM mode, the speed and mode defaults value will be taken from DT, > > so these defines should be never used and can be removed. > > Signed-off-by: Patrick Delaunay Reviewed-by: Petr Vorel > > --- > >

[U-Boot] Please pull fsl-qoriq master

2018-12-10 Thread York Sun
Tom, 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-fsl-qoriq.git tags/fsl-qoriq-for-v2019.01-rc2 for you to fetch changes up to

  1   2   3   >