[U-Boot] [PATCH] clk: at91: clk-h32mx: replace dm_warn with dev_dbg

2018-05-09 Thread Eugen Hristev
dm_warn is too noisy, replace with dev_dbg for less noise. Based on original work by Wenyou Yang Signed-off-by: Eugen Hristev <eugen.hris...@microchip.com> --- drivers/clk/at91/clk-h32mx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/at91/clk-h32mx.c b/d

[U-Boot] [PATCH] fs: ext4: fix crash on ext4ls

2018-05-09 Thread Eugen Hristev
ave a crash with data abort. I added initialization and a check for dirname being NULL. Fixes: "fa9ca8a" fs/ext4/ext4fs.c: Free dirnode in error path of ext4fs_ls Cc: Stefan Brüns <stefan.bru...@rwth-aachen.de> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Eugen Hristev <

[U-Boot] [PATCH 3/3] configs: at91sam9x5ek: updated mtdparts variable in bootargs

2018-05-09 Thread Eugen Hristev
on original work by Wenyou Yang Signed-off-by: Eugen Hristev <eugen.hris...@microchip.com> --- configs/at91sam9x5ek_dataflash_defconfig | 2 +- configs/at91sam9x5ek_nandflash_defconfig | 2 +- configs/at91sam9x5ek_spiflash_defconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)

[U-Boot] [PATCH 1/3] configs: at91: sama5_common: Adjust CONFIG_ENV_OFFSET to match block alignment

2018-05-09 Thread Eugen Hristev
icolas.fe...@microchip.com> [eugen.hris...@microchip.com: rework on latest version of u-boot] Signed-off-by: Eugen Hristev <eugen.hris...@microchip.com> --- include/configs/at91-sama5_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/at91-sama5_common.h b/in

[U-Boot] [PATCH] configs: sama5d2_xplained: enable ext4 command support

2018-05-09 Thread Eugen Hristev
To support loading the zImage + DTB from the rootfs ext4 partitions, enable the ext4 command support. Based on original work by Wenyou Yang Signed-off-by: Eugen Hristev <eugen.hris...@microchip.com> --- configs/sama5d2_xplained_mmc_defconfig | 1 + c

[U-Boot] [PATCH 2/3] configs: at91: Adjust CONFIG_ENV_OFFSET to match sama5 address

2018-05-09 Thread Eugen Hristev
ed-off-by: Nicolas Ferre <nicolas.fe...@microchip.com> [eugen.hris...@microchip.com: rework on latest version of u-boot] Signed-off-by: Eugen Hristev <eugen.hris...@microchip.com> --- include/configs/at91sam9260ek.h| 2 +- include/configs/at91sam9261ek.h| 2 +- include/configs/at91

[U-Boot] [PATCH 0/3] Adjust at91 boards config offset for all boards

2018-05-09 Thread Eugen Hristev
the boards will be aligned with the same flash memory map linked above. Thanks! Eugen Hristev (1): configs: at91sam9x5ek: updated mtdparts variable in bootargs Nicolas Ferre (2): configs: at91: sama5_common: Adjust CONFIG_ENV_OFFSET to match block alignment configs: at91: Adjust CONFIG_ENV_OFFSE

[U-Boot] [PATCH v2 1/2] fs: ext4: fix crash on ext4ls

2018-05-09 Thread Eugen Hristev
ave a crash with data abort. I added initialization and a check for dirname being NULL. Fixes: "fa9ca8a" fs/ext4/ext4fs.c: Free dirnode in error path of ext4fs_ls Cc: Stefan Brüns <stefan.bru...@rwth-aachen.de> Cc: Tom Rini <tr...@konsulko.com> Signed-off-by: Eugen Hristev <

[U-Boot] [PATCH v2 2/2] test: fs: fs-test: Modified test 1 to do a ls to a nonexistent dir

2018-05-09 Thread Eugen Hristev
Added a simple ls to a nonexistent directory for test 1. In case the driver is broken for a nonexistent directory, U-boot might crash. Here is an example failed output: => # Test Case 1 - ls => ext4ls host 0:0 4096 . 4096 .. 16384 lost+found 4096 SUBDIR

[U-Boot] [PATCH 1/2] configs: sama5d2_xplained: set default FAT env location to SD-Card

2018-05-11 Thread Eugen Hristev
, to align with our demo layout. Signed-off-by: Eugen Hristev <eugen.hris...@microchip.com> --- configs/sama5d2_xplained_mmc_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/sama5d2_xplained_mmc_defconfig b/configs/sama5d2_xplained_mmc_defconfig index 066fdb3..b5233a6

[U-Boot] [PATCH 2/2] configs: sama5d2_xplained: fix bootcmd/args for spi+emmc demo

2018-05-11 Thread Eugen Hristev
mmon: Move CONFIG_BOOTARGS to Kconfig Signed-off-by: Eugen Hristev <eugen.hris...@microchip.com> --- configs/sama5d2_xplained_spiflash_defconfig | 2 +- include/configs/sama5d2_xplained.h | 9 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/configs/sama5d2_xplained_sp

[U-Boot] [PATCH] clk: at91: utmi: add timeout for utmi lock

2018-08-03 Thread Eugen Hristev
rent media if needed, or investigate. Signed-off-by: Eugen Hristev --- drivers/clk/at91/clk-utmi.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/clk/at91/clk-utmi.c b/drivers/clk/at91/clk-utmi.c index 0b56261..e850609 100644 --- a/drivers/clk/at91/clk-ut

Re: [U-Boot] [PATCH 04/20] W1-EEPROM: Add an W1-EEPROM uclass for 1 wire EEPROMs

2018-07-30 Thread Eugen Hristev
On 20.07.2018 17:28, Maxime Ripard wrote: Hi Eugen, Thanks for giving those patches another shot. On Thu, Jul 19, 2018 at 12:57:52PM +0300, Eugen Hristev wrote: From: Maxime Ripard We might want to access data stored onto one wire EEPROMs. Create a framework to provide a consistent API

[U-Boot] [PATCH v2 01/30] w1: Add 1-Wire uclass

2018-08-09 Thread Eugen Hristev
From: Maxime Ripard We might want to use 1-Wire devices connected on boards such as EEPROMs in U-Boot. Provide a framework to be able to do that. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: reworked] Signed-off-by: Eugen Hristev --- drivers/Kconfig| 2 + drivers

[U-Boot] [PATCH 1/2] ARM: dts: Makefile: fix build for at91family

2018-08-09 Thread Eugen Hristev
For at91family, makefile was building unwanted DTBs Moved them under specific target configuration. Signed-off-by: Eugen Hristev --- arch/arm/dts/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index ebfa227

[U-Boot] [PATCH 2/2] at91: fix devicetree warnings

2018-08-09 Thread Eugen Hristev
report failed builds for most of at91 boards. Thus, fixing it. Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-vinco.dts | 2 ++ arch/arm/dts/at91sam9260.dtsi| 3 --- arch/arm/dts/at91sam9261.dtsi| 3 --- arch/arm/dts/at91sam9263.dtsi| 3 --- arch/arm/dts/at91sam9g45.dtsi| 9 ---

[U-Boot] [PATCH v2 00/30] Add support for 1wire protocol and 1wire eeproms

2018-08-09 Thread Eugen Hristev
. - modified the probe mechanism for the bus, when trying to get the bus use a different get function that will also probe the driver, regardless of present aliases in DT. - added bindings for ds24xxx driver and eep_sandbox, because they are referenced from devicetree now. Eugen Hristev (26): dt-bindings

[U-Boot] [PATCH v2 03/30] dt-bindings: W1: w1-gpio: added bindings for w1-gpio

2018-08-09 Thread Eugen Hristev
Added bindings specification for bitbanged gpio driver for Dallas one wire protocol Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/w1/w1-gpio.txt | 40 + 1 file changed, 40 insertions(+) create mode 04 doc/device-tree-bindings/w1 create mode

[U-Boot] [PATCH v2 02/30] w1: Add 1-Wire gpio driver

2018-08-09 Thread Eugen Hristev
From: Maxime Ripard Add a bus driver for bitbanging a 1-Wire bus over a GPIO. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: addressed review comments] Signed-off-by: Eugen Hristev --- drivers/w1/Kconfig | 7 +++ drivers/w1/Makefile | 2 + drivers/w1/w1-gpio.c | 158

[U-Boot] [PATCH v2 06/30] W1-EEPROM: add support for Maxim DS24 eeprom families

2018-08-09 Thread Eugen Hristev
From: Maxime Ripard Add a driver that supports Maxim 1 wire EEPROMs families DS24B33 and DS2431. Can be extended for other families as well. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: reworked driver] Signed-off-by: Eugen Hristev --- drivers/w1-eeprom/Kconfig | 6

[U-Boot] [PATCH v2 05/30] w1: identify devices with w1-eeprom uclass

2018-08-09 Thread Eugen Hristev
When a new device is discovered, this may be a w1 eeprom device. Attempt to find the proper node and driver from the w1-eeprom subsystem. Signed-off-by: Eugen Hristev --- drivers/w1/w1-uclass.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/w1/w1-uclass.c b/drivers/w1/w1

[U-Boot] [PATCH v2 17/30] configs: sama5d2_ptc_ek: add onewire and eeprom drivers

2018-08-09 Thread Eugen Hristev
SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev --- configs

[U-Boot] [PATCH v2 23/30] configs: sama5d2_xplained: add fdt overlay support

2018-08-09 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d2_xplained_mmc_defconfig | 1 + configs/sama5d2_xplained_spiflash_defconfig | 1 + 2 files

[U-Boot] [PATCH v2 30/30] ARM: dts: at91: sama5d2_ptc: add onewire connector for LCD eeprom

2018-08-09 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d2_ptc_ek.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/dts/at91-sama5d2_ptc_ek.dts b/arch/arm/dts/at91-sama5d2_ptc_ek.dts index ab5ab21..068a117

[U-Boot] [PATCH v2 24/30] configs: sama5d3_xplained: add fdt overlay support

2018-08-09 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d3_xplained_mmc_defconfig | 1 + configs/sama5d3_xplained_nandflash_defconfig | 1 + 2

[U-Boot] [PATCH v2 19/30] board: sama5d2_xplained: add pda detect call at init time

2018-08-09 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- board/atmel/sama5d2_xplained/sama5d2_xplained.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d2_xplained/sama5d2_xplained.c b

[U-Boot] [PATCH v2 18/30] board: atmel: add support for pda detection

2018-08-09 Thread Eugen Hristev
-off-by: Eugen Hristev --- board/atmel/common/board.c | 55 ++ 1 file changed, 55 insertions(+) diff --git a/board/atmel/common/board.c b/board/atmel/common/board.c index 650eb22..b9cf54c 100644 --- a/board/atmel/common/board.c +++ b/board/atmel/common

[U-Boot] [PATCH v2 22/30] board: sama5d2_ptc_ek: add pda detect call at init time

2018-08-09 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/Kconfig | 1 + board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c | 10 ++ 2 files changed, 11 insertions(+) diff

[U-Boot] [PATCH v2 28/30] ARM: dts: at91: sama5d3_xplained: add onewire connector for LCD eeprom

2018-08-09 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d3_xplained.dts | 17 + arch/arm/dts/sama5d3.dtsi | 5 + 2 files changed, 22 insertions(+) diff --git a/arch/arm/dts/at91-sama5d3_xplained.dts b/arch

[U-Boot] [PATCH v2 15/30] configs: sama5d3_xplained: add onewire and eeprom drivers

2018-08-09 Thread Eugen Hristev
SAMA5D3 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev --- configs

[U-Boot] [PATCH v2 27/30] ARM: dts: at91: sama5d2_xplained: add onewire connector for LCD eeprom

2018-08-09 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d2_xplained.dts | 17 + arch/arm/dts/sama5d2.dtsi | 5 + 2 files changed, 22 insertions(+) diff --git a/arch/arm/dts/at91-sama5d2_xplained.dts b/arch

[U-Boot] [PATCH v2 08/30] W1-EEPROM: add sandbox driver

2018-08-09 Thread Eugen Hristev
Add a sandbox driver for a one wire EEPROM memory Signed-off-by: Eugen Hristev --- drivers/w1-eeprom/Kconfig | 6 drivers/w1-eeprom/Makefile | 1 + drivers/w1-eeprom/eep_sandbox.c | 61 + include/w1.h| 1 + 4 files

[U-Boot] [PATCH v2 10/30] w1: add command for onewire protocol

2018-08-09 Thread Eugen Hristev
Add basic command for bus information and read for onewire bus using Dallas 1-Wire protocol. Signed-off-by: Eugen Hristev --- cmd/Kconfig | 7 cmd/Makefile | 1 + cmd/w1.c | 121 +++ 3 files changed, 129 insertions(+) create

[U-Boot] [PATCH v2 26/30] configs: sama5d27_som1_ek: add fdt overlay support

2018-08-09 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d27_som1_ek_mmc_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs

[U-Boot] [PATCH v2 29/30] ARM: dts: at91: sama5d27_som1_ek: add onewire connector for LCD eeprom

2018-08-09 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d27_som1_ek.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/dts/at91-sama5d27_som1_ek.dts b/arch/arm/dts/at91-sama5d27_som1_ek.dts index 5e62d4a

[U-Boot] [PATCH v2 14/30] configs: sama5d2_xplained: add onewire and eeprom drivers

2018-08-09 Thread Eugen Hristev
SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev --- configs

[U-Boot] [PATCH v2 04/30] W1-EEPROM: Add an W1-EEPROM uclass for 1 wire EEPROMs

2018-08-09 Thread Eugen Hristev
From: Maxime Ripard We might want to access data stored onto one wire EEPROMs. Create a framework to provide a consistent API. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: reworked patch] Signed-off-by: Eugen Hristev --- drivers/Kconfig | 2 + drivers

[U-Boot] [PATCH v2 11/30] pinctrl: sandbox: add gpio onewire w1 group

2018-08-09 Thread Eugen Hristev
Add onewire "w1" groups and pin function for onewire GPIOs in sandbox. Signed-off-by: Eugen Hristev --- drivers/pinctrl/pinctrl-sandbox.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pinctrl/pinctrl-sandbox.c b/drivers/pinctrl/pinctrl-sandbox.c index 468fa2a..755a

[U-Boot] [PATCH v2 16/30] configs: sama5d27_som1_ek: add onewire and eeprom drivers

2018-08-09 Thread Eugen Hristev
SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev --- configs

[U-Boot] [PATCH v2 20/30] board: sama5d3_xplained: add pda detect call at init time

2018-08-09 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/Kconfig | 1 + board/atmel/sama5d3_xplained/sama5d3_xplained.c | 10 ++ 2 files changed, 11 insertions

[U-Boot] [PATCH v2 09/30] dt-bindings: w1-eeprom: eep_sandbox: create bindings

2018-08-09 Thread Eugen Hristev
Bindings for sandbox onewire eeprom driver Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/w1-eeprom/eep_sandbox.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 doc/device-tree-bindings/w1-eeprom/eep_sandbox.txt diff --git a/doc/device-tree

[U-Boot] [PATCH v2 13/30] configs: sandbox: add onewire w1 and sandbox eeprom

2018-08-09 Thread Eugen Hristev
To be able to test Dallas onewire protocol and one wire eeproms driver and subsystem, add in sandbox defconfig the drivers' config. Signed-off-by: Eugen Hristev --- configs/sandbox_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/sandbox_defconfig b/configs

[U-Boot] [PATCH v2 07/30] dt-bindings: w1-eeprom: ds24xxx: create bindings

2018-08-09 Thread Eugen Hristev
Bindings for Maxim's ds24 onewire EEPROM families driver Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/w1-eeprom/ds24xxx.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 04 doc/device-tree-bindings/w1-eeprom create mode 100644 doc/device-tree

[U-Boot] [PATCH v2 25/30] configs: sama5d2_ptc_ek: add fdt overlay support

2018-08-09 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d2_ptc_ek_mmc_defconfig | 1 + configs/sama5d2_ptc_ek_nandflash_defconfig | 1 + 2 files

[U-Boot] [PATCH v2 21/30] board: sama5d27_som1_ek: add pda detect call at init time

2018-08-09 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c b

[U-Boot] [PATCH v2 12/30] sandbox: DTS: w1: add node for one wire interface on GPIO

2018-08-09 Thread Eugen Hristev
Add a node for the one wire uclass and one wire gpio driver in sandbox. Signed-off-by: Eugen Hristev --- arch/sandbox/dts/sandbox.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 0ea2452..2be836d

[U-Boot] [PATCH v3 01/34] w1: Add 1-Wire uclass

2018-08-20 Thread Eugen Hristev
From: Maxime Ripard We might want to use 1-Wire devices connected on boards such as EEPROMs in U-Boot. Provide a framework to be able to do that. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: reworked] Signed-off-by: Eugen Hristev --- drivers/Kconfig| 2 + drivers

[U-Boot] [PATCH v3 08/34] W1-EEPROM: add sandbox driver

2018-08-20 Thread Eugen Hristev
Add a sandbox driver for a one wire EEPROM memory Signed-off-by: Eugen Hristev --- drivers/w1-eeprom/Kconfig | 6 drivers/w1-eeprom/Makefile | 1 + drivers/w1-eeprom/eep_sandbox.c | 61 + include/w1.h| 1 + 4 files

[U-Boot] [PATCH v3 09/34] dt-bindings: w1-eeprom: eep_sandbox: create bindings

2018-08-20 Thread Eugen Hristev
Bindings for sandbox onewire eeprom driver Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/w1-eeprom/eep_sandbox.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 doc/device-tree-bindings/w1-eeprom/eep_sandbox.txt diff --git a/doc/device-tree

[U-Boot] [PATCH v3 11/34] pinctrl: sandbox: add gpio onewire w1 group

2018-08-20 Thread Eugen Hristev
Add onewire "w1" groups and pin function for onewire GPIOs in sandbox. Signed-off-by: Eugen Hristev --- drivers/pinctrl/pinctrl-sandbox.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pinctrl/pinctrl-sandbox.c b/drivers/pinctrl/pinctrl-sandbox.c index 468fa2a..755a

[U-Boot] [PATCH v3 06/34] W1-EEPROM: add support for Maxim DS24 eeprom families

2018-08-20 Thread Eugen Hristev
From: Maxime Ripard Add a driver that supports Maxim 1 wire EEPROMs families DS24B33 and DS2431. Can be extended for other families as well. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: reworked driver] Signed-off-by: Eugen Hristev --- drivers/w1-eeprom/Kconfig | 6

[U-Boot] [PATCH v3 04/34] W1-EEPROM: Add an W1-EEPROM uclass for 1 wire EEPROMs

2018-08-20 Thread Eugen Hristev
From: Maxime Ripard We might want to access data stored onto one wire EEPROMs. Create a framework to provide a consistent API. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: reworked patch] Signed-off-by: Eugen Hristev --- drivers/Kconfig | 2 + drivers

[U-Boot] [PATCH v3 16/34] configs: sama5d27_som1_ek: add onewire and eeprom drivers

2018-08-20 Thread Eugen Hristev
SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev --- configs

[U-Boot] [PATCH v3 07/34] dt-bindings: w1-eeprom: ds24xxx: create bindings

2018-08-20 Thread Eugen Hristev
Bindings for Maxim's ds24 onewire EEPROM families driver Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/w1-eeprom/ds24xxx.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 04 doc/device-tree-bindings/w1-eeprom create mode 100644 doc/device-tree

[U-Boot] [PATCH v3 03/34] dt-bindings: W1: w1-gpio: added bindings for w1-gpio

2018-08-20 Thread Eugen Hristev
Added bindings specification for bitbanged gpio driver for Dallas one wire protocol Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/w1/w1-gpio.txt | 40 + 1 file changed, 40 insertions(+) create mode 04 doc/device-tree-bindings/w1 create mode

[U-Boot] [PATCH v3 10/34] w1: add command for onewire protocol

2018-08-20 Thread Eugen Hristev
Add basic command for bus information and read for onewire bus using Dallas 1-Wire protocol. Signed-off-by: Eugen Hristev --- cmd/Kconfig | 7 cmd/Makefile | 1 + cmd/w1.c | 126 +++ 3 files changed, 134 insertions(+) create

[U-Boot] [PATCH v3 19/34] board: atmel: add support for pda detection

2018-08-20 Thread Eugen Hristev
-off-by: Eugen Hristev --- board/atmel/common/board.c | 55 ++ 1 file changed, 55 insertions(+) diff --git a/board/atmel/common/board.c b/board/atmel/common/board.c index 650eb22..b9cf54c 100644 --- a/board/atmel/common/board.c +++ b/board/atmel/common

[U-Boot] [PATCH v3 26/34] configs: sama5d3_xplained: add fdt overlay support

2018-08-20 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d3_xplained_mmc_defconfig | 1 + configs/sama5d3_xplained_nandflash_defconfig | 1 + 2

[U-Boot] [PATCH v3 23/34] board: sama5d2_ptc_ek: add pda detect call at init time

2018-08-20 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/Kconfig | 1 + board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c | 10 ++ 2 files changed, 11 insertions(+) diff

[U-Boot] [PATCH v3 17/34] configs: sama5d2_ptc_ek: add onewire and eeprom drivers

2018-08-20 Thread Eugen Hristev
SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev --- configs

[U-Boot] [PATCH v3 27/34] configs: sama5d2_ptc_ek: add fdt overlay support

2018-08-20 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d2_ptc_ek_mmc_defconfig | 1 + configs/sama5d2_ptc_ek_nandflash_defconfig | 1 + 2 files

[U-Boot] [PATCH v3 22/34] board: sama5d27_som1_ek: add pda detect call at init time

2018-08-20 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c b

[U-Boot] [PATCH v3 05/34] w1: identify devices with w1-eeprom uclass

2018-08-20 Thread Eugen Hristev
When a new device is discovered, this may be a w1 eeprom device. Attempt to find the proper node and driver from the w1-eeprom subsystem. Signed-off-by: Eugen Hristev --- drivers/w1/w1-uclass.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/w1/w1-uclass.c b/drivers/w1/w1

[U-Boot] [PATCH v3 28/34] configs: sama5d27_som1_ek: add fdt overlay support

2018-08-20 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d27_som1_ek_mmc_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs

[U-Boot] [PATCH v3 13/34] configs: sandbox: add onewire w1 and sandbox eeprom

2018-08-20 Thread Eugen Hristev
To be able to test Dallas onewire protocol and one wire eeproms driver and subsystem, add in sandbox defconfig the drivers' config. Signed-off-by: Eugen Hristev --- configs/sandbox_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/sandbox_defconfig b/configs

[U-Boot] [PATCH v3 14/34] configs: sama5d2_xplained: add onewire and eeprom drivers

2018-08-20 Thread Eugen Hristev
SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev --- configs

[U-Boot] [PATCH v3 29/34] configs: sama5d4_xplained: add fdt overlay support

2018-08-20 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d4_xplained_mmc_defconfig | 1 + configs/sama5d4_xplained_nandflash_defconfig | 1

[U-Boot] [PATCH v3 32/34] ARM: dts: at91: sama5d27_som1_ek: add onewire connector for LCD eeprom

2018-08-20 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d27_som1_ek.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/dts/at91-sama5d27_som1_ek.dts b/arch/arm/dts/at91-sama5d27_som1_ek.dts index 5e62d4a

[U-Boot] [PATCH v3 20/34] board: sama5d2_xplained: add pda detect call at init time

2018-08-20 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- board/atmel/sama5d2_xplained/sama5d2_xplained.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d2_xplained/sama5d2_xplained.c b

[U-Boot] [PATCH v3 34/34] ARM: dts: at91: sama5d4_xplained: add onewire connector for LCD eeprom

2018-08-20 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d4_xplained.dts | 16 arch/arm/dts/sama5d4.dtsi | 5 + 2 files changed, 21 insertions(+) diff --git a/arch/arm/dts/at91-sama5d4_xplained.dts b/arch/arm

[U-Boot] [PATCH v3 31/34] ARM: dts: at91: sama5d3_xplained: add onewire connector for LCD eeprom

2018-08-20 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d3_xplained.dts | 17 + arch/arm/dts/sama5d3.dtsi | 5 + 2 files changed, 22 insertions(+) diff --git a/arch/arm/dts/at91-sama5d3_xplained.dts b/arch

[U-Boot] [PATCH v3 30/34] ARM: dts: at91: sama5d2_xplained: add onewire connector for LCD eeprom

2018-08-20 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d2_xplained.dts | 17 + arch/arm/dts/sama5d2.dtsi | 5 + 2 files changed, 22 insertions(+) diff --git a/arch/arm/dts/at91-sama5d2_xplained.dts b/arch

[U-Boot] [PATCH v3 25/34] configs: sama5d2_xplained: add fdt overlay support

2018-08-20 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d2_xplained_mmc_defconfig | 1 + configs/sama5d2_xplained_spiflash_defconfig | 1 + 2 files

[U-Boot] [PATCH v3 33/34] ARM: dts: at91: sama5d2_ptc: add onewire connector for LCD eeprom

2018-08-20 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d2_ptc_ek.dts | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/dts/at91-sama5d2_ptc_ek.dts b/arch/arm/dts/at91-sama5d2_ptc_ek.dts index ab5ab21..068a117

[U-Boot] [PATCH v3 21/34] board: sama5d3_xplained: add pda detect call at init time

2018-08-20 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/Kconfig | 1 + board/atmel/sama5d3_xplained/sama5d3_xplained.c | 10 ++ 2 files changed, 11 insertions

[U-Boot] [PATCH v3 12/34] sandbox: DTS: w1: add node for one wire interface on GPIO

2018-08-20 Thread Eugen Hristev
Add a node for the one wire uclass and one wire gpio driver in sandbox. Signed-off-by: Eugen Hristev --- arch/sandbox/dts/sandbox.dts | 20 1 file changed, 20 insertions(+) diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 0ea2452..2be836d

[U-Boot] [PATCH v3 24/34] board: sama5d4_xplained: add pda detect call at init time

2018-08-20 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- board/atmel/sama5d4_xplained/sama5d4_xplained.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d4_xplained/sama5d4_xplained.c b

[U-Boot] [PATCH v3 18/34] configs: sama5d4_xplained: add onewire and eeprom drivers

2018-08-20 Thread Eugen Hristev
SAMA5D4 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev --- configs

[U-Boot] [PATCH v3 15/34] configs: sama5d3_xplained: add onewire and eeprom drivers

2018-08-20 Thread Eugen Hristev
SAMA5D3 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev --- configs

[U-Boot] [PATCH v3 00/34] Add support for 1wire protocol and 1wire eeproms

2018-08-20 Thread Eugen Hristev
in device tree. - modified the probe mechanism for the bus, when trying to get the bus use a different get function that will also probe the driver, regardless of present aliases in DT. - added bindings for ds24xxx driver and eep_sandbox, because they are referenced from devicetree now. Eugen Hristev (30

[U-Boot] [PATCH v3 02/34] w1: Add 1-Wire gpio driver

2018-08-20 Thread Eugen Hristev
From: Maxime Ripard Add a bus driver for bitbanging a 1-Wire bus over a GPIO. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: fixed some issues] Signed-off-by: Eugen Hristev --- drivers/w1/Kconfig | 7 ++ drivers/w1/Makefile | 2 + drivers/w1/w1-gpio.c | 176

[U-Boot] [PATCH 00/20] Add support for 1wire protocol and 1wire eeproms

2018-07-19 Thread Eugen Hristev
is updated to include a onewire node. This is done in patch: [PATCH 20/20] ARM: dts: at91: sama5d3_xplained: add onewire connector Eugen Hristev (16): dt-bindings: W1: w1-gpio: added bindings for w1-gpio W1-EEPROM: add sandbox driver w1: add command for onewire protocol pinctrl: sandbox

[U-Boot] [PATCH 04/20] W1-EEPROM: Add an W1-EEPROM uclass for 1 wire EEPROMs

2018-07-19 Thread Eugen Hristev
From: Maxime Ripard We might want to access data stored onto one wire EEPROMs. Create a framework to provide a consistent API. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: reworked patch] Signed-off-by: Eugen Hristev --- drivers/Kconfig | 2 ++ drivers

[U-Boot] [PATCH 07/20] w1: add command for onewire protocol

2018-07-19 Thread Eugen Hristev
Add basic command for bus information and read for onewire bus using Dallas 1-Wire protocol. Signed-off-by: Eugen Hristev --- cmd/Kconfig | 7 cmd/Makefile | 1 + cmd/w1.c | 121 +++ 3 files changed, 129 insertions(+) create

[U-Boot] [PATCH 08/20] pinctrl: sandbox: add gpio onewire w1 group

2018-07-19 Thread Eugen Hristev
Add onewire "w1" groups and pin function for onewire GPIOs in sandbox. Signed-off-by: Eugen Hristev --- drivers/pinctrl/pinctrl-sandbox.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pinctrl/pinctrl-sandbox.c b/drivers/pinctrl/pinctrl-sandbox.c index 468fa2a..755a

[U-Boot] [PATCH 20/20] ARM: dts: at91: sama5d3_xplained: add onewire connector for LCD eeprom

2018-07-19 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d3_xplained.dts | 12 arch/arm/dts/sama5d3.dtsi | 6 ++ 2 files changed, 18 insertions(+) diff --git a/arch/arm/dts/at91-sama5d3_xplained.dts b/arch/arm

[U-Boot] [PATCH 18/20] configs: sama5d3_xplained: add fdt overlay support

2018-07-19 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d3_xplained_mmc_defconfig | 1 + configs/sama5d3_xplained_nandflash_defconfig | 1 + 2

[U-Boot] [PATCH 06/20] W1-EEPROM: add sandbox driver

2018-07-19 Thread Eugen Hristev
Add a sandbox driver for a one wire EEPROM memory Signed-off-by: Eugen Hristev --- drivers/w1-eeprom/Kconfig | 6 + drivers/w1-eeprom/Makefile | 1 + drivers/w1-eeprom/eep_sandbox.c | 57 + include/w1.h| 1 + 4 files

[U-Boot] [PATCH 17/20] configs: sama5d2_xplained: add fdt overlay support

2018-07-19 Thread Eugen Hristev
Add commands for fdt overlay merging. This is required for the boot scripts that detect PDAs and apply specific overlays to the DTB passed on to kernel. Signed-off-by: Eugen Hristev --- configs/sama5d2_xplained_mmc_defconfig | 1 + configs/sama5d2_xplained_spiflash_defconfig | 1 + 2 files

[U-Boot] [PATCH 01/20] w1: Add 1-Wire uclass

2018-07-19 Thread Eugen Hristev
From: Maxime Ripard We might want to use 1-Wire devices connected on boards such as EEPROMs in U-Boot. Provide a framework to be able to do that. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: fixed small issues and rebased] Signed-off-by: Eugen Hristev --- drivers/Kconfig

[U-Boot] [PATCH 10/20] configs: sandbox: add onewire w1 and sandbox eeprom

2018-07-19 Thread Eugen Hristev
To be able to test Dallas onewire protocol and one wire eeproms driver and subsystem, add in sandbox defconfig the drivers' config. Signed-off-by: Eugen Hristev --- configs/sandbox_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/sandbox_defconfig b/configs

[U-Boot] [PATCH 16/20] board: sama5d3_xplained: add pda detect call at init time

2018-07-19 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/Kconfig | 1 + board/atmel/sama5d3_xplained/sama5d3_xplained.c | 10 ++ 2 files changed, 11 insertions

[U-Boot] [PATCH 09/20] sandbox: DTS: w1: add node for one wire interface on GPIO

2018-07-19 Thread Eugen Hristev
Add a node for the one wire uclass and one wire gpio driver in sandbox. Signed-off-by: Eugen Hristev --- arch/sandbox/dts/sandbox.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 0ea2452..70bc244 100644

[U-Boot] [PATCH 02/20] w1: Add 1-Wire gpio driver

2018-07-19 Thread Eugen Hristev
From: Maxime Ripard Add a bus driver for bitbanging a 1-Wire bus over a GPIO. Signed-off-by: Maxime Ripard [eugen.hris...@microchip.com: addressed review comments] Signed-off-by: Eugen Hristev --- drivers/w1/Kconfig | 7 +++ drivers/w1/Makefile | 2 + drivers/w1/w1-gpio.c | 158

[U-Boot] [PATCH 03/20] dt-bindings: W1: w1-gpio: added bindings for w1-gpio

2018-07-19 Thread Eugen Hristev
Added bindings specification for bitbanged gpio driver for Dallas one wire protocol Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/w1/w1-gpio.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 04 doc/device-tree-bindings/w1 create mode 100644 doc

[U-Boot] [PATCH 11/20] w1: enumerate sandbox driver if configured

2018-07-19 Thread Eugen Hristev
Add a sandbox eeprom on the bus as a device, if sandbox driver is configured. Signed-off-by: Eugen Hristev --- drivers/w1/w1-uclass.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/w1/w1-uclass.c b/drivers/w1/w1-uclass.c index cfddda3..e58c1ca 100644 --- a/drivers/w1/w1

[U-Boot] [PATCH 12/20] configs: sama5d2_xplained: add onewire and eeprom drivers

2018-07-19 Thread Eugen Hristev
SAMA5D2 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev --- configs

[U-Boot] [PATCH 15/20] board: sama5d2_xplained: add pda detect call at init time

2018-07-19 Thread Eugen Hristev
Call the PDA detection mechanism at boot time so we can have the pda environment variable ready for use. Signed-off-by: Eugen Hristev --- board/atmel/sama5d2_xplained/sama5d2_xplained.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/atmel/sama5d2_xplained/sama5d2_xplained.c b

[U-Boot] [PATCH 13/20] configs: sama5d3_xplained: add onewire and eeprom drivers

2018-07-19 Thread Eugen Hristev
SAMA5D3 SoC can have extra clip boards (PDAs) connected, which have an EEPROM memory for identification. A special GPIO can be used to read this memory over 1wire protocol. Enabling one wire and eeprom drivers for this memory. Signed-off-by: Eugen Hristev --- configs

[U-Boot] [PATCH 19/20] ARM: dts: at91: sama5d2_xplained: add onewire connector for LCD eeprom

2018-07-19 Thread Eugen Hristev
Add onewire node in device tree for TM series LCDs Signed-off-by: Eugen Hristev --- arch/arm/dts/at91-sama5d2_xplained.dts | 12 arch/arm/dts/sama5d2.dtsi | 6 ++ 2 files changed, 18 insertions(+) diff --git a/arch/arm/dts/at91-sama5d2_xplained.dts b/arch/arm

  1   2   3   4   5   6   7   >