Re: [U-Boot] [PATCH] rockchip: firefly-rk3399: enable rk3399 pinctrl in defconfig

2017-05-18 Thread Alex Hixon
Hi Kever, Ahh, yup! You're totally right! I didn't see Heiko's patch earlier. My mistake. Cheers, Alex On 18 May 2017 12:38 PM, "Kever Yang" wrote: > Hi Alex, > > > Thanks for your patch, but this patch is just the same with the one from > Heiko[0], right? > > > Thanks, > > - Kever > > [0] ht

[U-Boot] [PATCH v3 40/72] dm: i2c: Convert uclass to livetree

2017-05-18 Thread Simon Glass
Update the i2c uclass to support a live device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/i2c/i2c-uclass.c | 28 +--- include/i2c.h| 3 +-- 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/drivers/i2

[U-Boot] [PATCH v3 43/72] sandbox: pmic: Convert pmic emulator to support livetree

2017-05-18 Thread Simon Glass
Update this driver to support a live device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/power/pmic/i2c_pmic_emul.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/power/pmic/i2c_pmic_emul.c b/drivers/power/pmic/i2c_pmi

[U-Boot] [PATCH v3 36/72] fdt: Rename a few functions in fdt_support

2017-05-18 Thread Simon Glass
These two functions have an of_ prefix which conflicts with naming used in of_addr. Rename them: fdt_read_number fdt_support_bus_default_count_cells Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arm/cpu/armv8/fsl-layerscape/fdt.c| 4 ++-- arch/arm/mach

[U-Boot] [PATCH v3 47/72] dm: adc: Convert uclass to livetree

2017-05-18 Thread Simon Glass
Update the adc uclass to support a live device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/adc/adc-uclass.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/adc/adc-uclass.c b/drivers/adc/adc-uclass.c index 3e28

[U-Boot] [PATCH v3 37/72] dm: Add more livetree helpers and definitions

2017-05-18 Thread Simon Glass
Add some definitions and helpers for livetree in the main of.h header file. These include: - reading multi-cell integers - default number of address/size cells - functions for comparing names Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/core/ofnode.c | 4 ++-

[U-Boot] [PATCH v3 50/72] clk: Modify xlate() method for livetree

2017-05-18 Thread Simon Glass
Update the xlate() method to use ofnode_phandle_args instead of the fdtdec variant. This will allow drivers to support a live device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/clk/at91/pmc.c| 2 +- drivers/clk/at91/pmc.h| 2 +- drivers/clk/clk-

[U-Boot] [PATCH v3 30/72] dm: gpio: sandbox: Use dev_read...() functions to access DT

2017-05-18 Thread Simon Glass
Use the new dev_read...() functions to access the device tree, so that a live tree can be used. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/gpio/sandbox.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpio/sandbox.c b/dr

[U-Boot] [PATCH v3 61/72] dm: pci: Update uclass to support livetree

2017-05-18 Thread Simon Glass
Update the PCI uclass to support livetree. This mostly involves fixing the address decoding from the device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/pci/pci-uclass.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-)

[U-Boot] [PATCH v3 65/72] dm: sandbox: i2c: Drop fdtdec.h header

2017-05-18 Thread Simon Glass
This is not needed in this driver. Drop it. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/i2c/sandbox_i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/sandbox_i2c.c b/drivers/i2c/sandbox_i2c.c index 4696a1ae62..f5978fda29 100644 --- a/driver

[U-Boot] [PATCH v3 25/72] dm: test: Show the test filename when running

2017-05-18 Thread Simon Glass
Show the filename of the test being run. Skip the path and show just the base name. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None include/test/test.h | 2 ++ test/dm/test-main.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/test/test.h

[U-Boot] [PATCH v3 19/72] dm: core: Add a way to find a device by ofnode

2017-05-18 Thread Simon Glass
Add a function which looks up a device by its node (either in live tree or flat tree). Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/core/uclass.c| 37 + include/dm/uclass-internal.h | 18 ++ include/d

[U-Boot] [PATCH v3 33/72] cros_ec: Convert to support live tree

2017-05-18 Thread Simon Glass
Convert this driver to support the live device tree and remove the old fdtdec support. The keyboard is not yet converted. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/misc/cros_ec.c | 33 ++--- drivers/misc/cros_ec_sandbox.

[U-Boot] [PATCH v3 69/72] dm: sandbox: sysreset: Convert driver to livetree

2017-05-18 Thread Simon Glass
Update this driver to support a live device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/sysreset/sysreset_sandbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/sysreset/sysreset_sandbox.c b/drivers/sysreset/sysreset_sand

[U-Boot] [PATCH v3 35/72] test: Update 'make test' to run more tests

2017-05-18 Thread Simon Glass
The standard sandbox board cannot run the of-platdata test since it needs SPL. Also, we should test the flat tree version of sandbox. Add these tests to the default test script. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None test/run | 8 +++- 1 file changed, 7 ins

[U-Boot] [PATCH v3 64/72] dm: spi: Convert uclass to livetree

2017-05-18 Thread Simon Glass
Update the SPI uclass to support a live device tree. Also adjust spi_slave_ofdata_to_platdata() to accept a device instead of a blob and offset. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/spi/spi-uclass.c | 31 ++- include/spi.h

[U-Boot] [PATCH v3 32/72] cros_ec: Fix debug() statement in ec_command_inptr()

2017-05-18 Thread Simon Glass
This prints out the wrong pointers. Fix it. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/misc/cros_ec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/misc/cros_ec.c b/drivers/misc/cros_ec.c index 3d449b2a55..e2027ea5d2 100644 --

[U-Boot] [PATCH v3 72/72] sandbox: Move to use live tree

2017-05-18 Thread Simon Glass
This updates sandbox to use a live device tree. This means that after relocation (from board_init_r() onwards) it no-longer uses flat device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Rewrite based on testing and refining the v1 series - Convert various subsystems

[U-Boot] [PATCH v3 58/72] sandbox: phy: Update driver for livetree

2017-05-18 Thread Simon Glass
Update the sandbox phy driver to support livetree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/phy/sandbox-phy.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/phy/sandbox-phy.c b/drivers/phy/sandbox-phy.c index 9ad820c24c..867c

[U-Boot] [PATCH v3 62/72] dm: Update the I2C eeprom driver for livetree

2017-05-18 Thread Simon Glass
Update this driver so that it works with livetree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/misc/i2c_eeprom_emul.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/misc/i2c_eeprom_emul.c b/drivers/misc/i2c_eeprom_emul.c in

[U-Boot] [PATCH v3 48/72] dm: usb: Convert uclass to livetree

2017-05-18 Thread Simon Glass
Update the usb uclass to support a live device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/usb/host/usb-uclass.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/usb/host/usb-uclass.c b/drivers/usb/host/usb-uclass.c in

[U-Boot] [PATCH v3 27/72] dm: core: Run tests with both livetree and flat tree

2017-05-18 Thread Simon Glass
Some tests require either livetree or flat tree. Add flags to allow the tests to specify this. Adjust the test runner to run with livetree (if supported) and then flat tree. Some video tests are quite slow and running on flat tree adds little extra test value, so run these on livetree only. Signe

[U-Boot] [PATCH v3 54/72] dm: test: Disable the fdt_offset test with livetree

2017-05-18 Thread Simon Glass
We cannot run this test with livetree since it uses device tree offsets. Mark it as flat tree only. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None test/dm/test-fdt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/dm/test-fdt.c b/test/dm/test-

[U-Boot] [PATCH v3 59/72] dm: power-domain: Update uclass to support livetree

2017-05-18 Thread Simon Glass
Update the power domain uclass to support livetree. Fix the xlate() method which has no callers. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/power/domain/power-domain-uclass.c | 19 --- include/power-domain-uclass.h | 2 +- 2 fil

[U-Boot] [PATCH v3 57/72] dm: phy: Update uclass to support livetree

2017-05-18 Thread Simon Glass
Update the phy uclass to support livetree. Fix the xlate() method which has no callers. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/phy/phy-uclass.c | 21 + include/generic-phy.h| 3 +-- 2 files changed, 10 insertions(+), 14 deletions

[U-Boot] [PATCH v3 46/72] dm: mmc: Convert uclass to livetree

2017-05-18 Thread Simon Glass
Update the mmc uclass to support a live device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/mmc/mmc-uclass.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c index 91f6fc5753..994d2

[U-Boot] [PATCH v3 49/72] sandbox: usb: Convert emulators to livetree

2017-05-18 Thread Simon Glass
Update the sandbox flash and hub USB emulators to support a live device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/usb/emul/sandbox_flash.c | 4 +--- drivers/usb/emul/sandbox_hub.c | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git

[U-Boot] [PATCH v3 60/72] dm: reset: Update uclass to support livetree

2017-05-18 Thread Simon Glass
Update the reset domain uclass to support livetree. Fix the xlate() method which has no callers. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/reset/reset-uclass.c | 21 ++--- include/reset-uclass.h | 4 ++-- 2 files changed, 12 insertion

[U-Boot] [PATCH v3 31/72] dm: gpio: Add live tree support

2017-05-18 Thread Simon Glass
Add support for requesting GPIOs with a live device tree. This involves adjusting the function signature for the legacy function gpio_request_by_name_nodev(), so fix up all callers. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None board/qualcomm/dragonboard410c/dragonboa

[U-Boot] [PATCH v3 52/72] dm: clk: fixed: Update to support livetree

2017-05-18 Thread Simon Glass
Update the fixed-rate clock driver to support a live device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/clk/clk_fixed_rate.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk_fixed_rate.c b/drivers/clk/clk_fixed_ra

[U-Boot] [PATCH v3 67/72] dm: spi-flash: Convert uclass to livetree

2017-05-18 Thread Simon Glass
Update the SPI flash uclass to support a live device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/mtd/spi/spi_flash.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c ind

[U-Boot] [PATCH v3 66/72] dm: sandbox: i2c_rtc: Drop fdtdec.h header

2017-05-18 Thread Simon Glass
This is not needed in this driver. Drop it. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/rtc/i2c_rtc_emul.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/i2c_rtc_emul.c b/drivers/rtc/i2c_rtc_emul.c index 20827fdff1..0e06c97367 100644 --- a/dri

[U-Boot] [PATCH v3 51/72] dm: clk: Update uclass to support livetree

2017-05-18 Thread Simon Glass
Update the clk uclass to support a live device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/clk/clk-uclass.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c index

[U-Boot] [PATCH v3 71/72] dm: gpio: power: Convert pm8916 drivers to livetree

2017-05-18 Thread Simon Glass
This PMIC driver (power and GPIO) is used by the sandbox SPMI tests. Update the drivers to support a live device tree so that the tests pass. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/gpio/pm8916_gpio.c | 8 +++- drivers/power/pmic/pm8916.c | 2 +- 2 f

[U-Boot] [PATCH v3 63/72] cros_ec: Update the cros_ec keyboard driver to livetree

2017-05-18 Thread Simon Glass
Update this driver and key_matrix to support a live device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/input/cros_ec_keyb.c | 24 drivers/input/key_matrix.c | 19 +-- drivers/input/tegra-kbc.c| 3 +-- incl

[U-Boot] [PATCH v4 0/5] Add Intel Arria 10 SoC FPGA driver

2017-05-18 Thread tien . fong . chee
From: Tien Fong Chee This is the 4th version of patchset to adds support for Intel Arria 10 SoC FPGA driver. This version mainly resolved comments from Ley Foon and Dinh in [v3]. This series is working on top of u-boot-socfpga-next branch http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=shortlog

[U-Boot] [PATCH v4 1/5] arm: socfpga: Remove unused passing parameter of socfpga_bridges_reset

2017-05-18 Thread tien . fong . chee
From: Tien Fong Chee Remove parameter from socfpga_bridges_reset(), and keeping this function for single purpose which is just triggering reset on bridges. socfpga_reset_deassert_bridges_handoff() can be called for releasing reset on any bridges based on the bridge setting defined in fdt. Signed

[U-Boot] [PATCH v4 2/5] arm: socfpga: Restructure FPGA driver in the preparation to support A10.

2017-05-18 Thread tien . fong . chee
From: Tien Fong Chee Move FPGA driver which is Gen5 specific code into Gen5 driver file and keeping common FPGA driver er intact. All the changes are still keeping in driver/fpga/ and no functional change. Subsequent patch would move FPGA manager driver from arch/arm into driver/fpga/ . Signed-o

[U-Boot] [PATCH v4 3/5] arm: socfpga: Enable FPGA driver on SPL

2017-05-18 Thread tien . fong . chee
From: Tien Fong Chee Enable FPGA driver build for SPL. FPGA driver is needed for SPL to configure and getting DDR up before loading U-boot into DDR and booting from there. Signed-off-by: Tien Fong Chee --- drivers/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/Makefile b/

[U-Boot] [PATCH v4 5/5] arm: socfpga: Add FPGA driver support for Arria 10

2017-05-18 Thread tien . fong . chee
From: Tien Fong Chee Add FPGA driver support for Arria 10. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/include/mach/fpga_manager.h | 2 + .../include/mach/fpga_manager_arria10.h| 100 + drivers/fpga/Makefile | 1 + drivers/fpga/socf

[U-Boot] [PATCH v4 4/5] arm: socfpga: Move FPGA manager driver to FPGA driver

2017-05-18 Thread tien . fong . chee
From: Tien Fong Chee Move FPGA manager driver which is Gen5 specific code from arch/arm/ into FPGA driver at driver/fpga/. No functional change. Signed-off-by: Tien Fong Chee --- arch/arm/mach-socfpga/Makefile | 1 - arch/arm/mach-socfpga/fpga_manager.c | 78

Re: [U-Boot] [PATCH 2/2] drivers: net: fsl-mc: Include MAC addr fixup in DPL

2017-05-18 Thread Bogdan Purcareata
> -Original Message- > From: york sun > Sent: Friday, May 19, 2017 12:04 AM > To: Bogdan Purcareata ; Prabhakar Kushwaha > ; u-boot@lists.denx.de > Cc: Heinz Wrobel > Subject: Re: [PATCH 2/2] drivers: net: fsl-mc: Include MAC addr fixup in > DPL > > On 05/18/2017 04:19 AM, Bogdan Purcarea

Re: [U-Boot] [PATCH v2 2/3] x86: baytrail: Add fsp-header verification for secure boot fsp

2017-05-18 Thread Anatolij Gustschin
Hi Bin, On Tue, 16 May 2017 22:39:23 +0800 Bin Meng bmeng...@gmail.com wrote: > Hi Anatolij, > > On Tue, May 16, 2017 at 3:55 PM, Anatolij Gustschin wrote: > > From: Markus Valentin > > > > Introduce a new Kconfig variable for secure boot on baytrail based > > platforms. If this variable is se

Re: [U-Boot] [PATCH v2 1/3] x86: congatec: add secureboot enabled defconfig for conga-qeval20-qa3-e3845

2017-05-18 Thread Anatolij Gustschin
Hi Bin, On Tue, 16 May 2017 22:39:17 +0800 Bin Meng bmeng...@gmail.com wrote: > Hi Anatolij, > > On Tue, May 16, 2017 at 3:55 PM, Anatolij Gustschin wrote: > > From: Markus Valentin > > > > Can you add a simple sentence for this commit? yes, will do in next version. ... > > +CONFIG_BAYTRA

Re: [U-Boot] [PATCH 2/4] dts: socfpga: Add trigger-address property to QSPI device

2017-05-18 Thread Marek Vasut
On 05/18/2017 08:26 PM, Rush, Jason A. wrote: > Add the 'cdns,trigger-address' property to the cadence QSPI device > node for Altera SoC devices. > > Signed-off-by: Jason A. Rush +CC Dinh, is that address correct ? I think there was some discussion. Jason, I'd rather prefer if you sent this as

<    1   2   3