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
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 <
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(-)
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
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
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
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
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 <
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
, 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
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
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
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
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
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
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 ---
.
- 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
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 623 matches
Mail list logo