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
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
-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
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
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
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 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 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 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
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
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
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
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
mmon: Move CONFIG_BOOTARGS to Kconfig
Signed-off-by: Eugen Hristev
---
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_spiflash_defconfig
, to align with our demo layout.
Signed-off-by: Eugen Hristev
---
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 100644
--- a/configs
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
262144
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
Cc: Tom Rini
Signed-off-by: Eugen Hristev
---
Changes in v2:
- Added test case in test/fs/fs-test.sh in a d
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
---
configs/sama5d2_xplained_mmc_defconfig | 1 +
configs/sama5d2_xplained_spiflash_defconfig | 1 +
2 files changed, 2
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
Cc: Tom Rini
Signed-off-by: Eugen Hristev
---
Hello,
Regarding this fix, I am not sure if we actually
dm_warn is too noisy, replace with dev_dbg for less noise.
Based on original work by Wenyou Yang
Signed-off-by: Eugen Hristev
---
drivers/clk/at91/clk-h32mx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/at91/clk-h32mx.c b/drivers/clk/at91/clk-h32mx.c
index
original work by Wenyou Yang
Signed-off-by: Eugen Hristev
---
configs/at91sam9x5ek_dataflash_defconfig | 2 +-
configs/at91sam9x5ek_nandflash_defconfig | 2 +-
configs/at91sam9x5ek_spiflash_defconfig | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configs
version of u-boot]
Signed-off-by: Eugen Hristev
---
include/configs/at91-sama5_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/at91-sama5_common.h
b/include/configs/at91-sama5_common.h
index 5af7d1d..30c6cd4 100644
--- a/include/configs/at91-sama5_common.h
...@microchip.com: rework on latest version of u-boot]
Signed-off-by: Eugen Hristev
---
include/configs/at91sam9260ek.h| 2 +-
include/configs/at91sam9261ek.h| 2 +-
include/configs/at91sam9263ek.h| 2 +-
include/configs/at91sam9m10g45ek.h | 2 +-
include/configs/at91sam9n12ek.h| 2
ds 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
From: Ludovic Desroches
Remove SYS_USE_NANDFLASH, SYS_USE_MMC as they are deprecated and
unused.
The board configurations already use CONFIG_SD_BOOT and
CONFIG_NAND_BOOT respectively.
Signed-off-by: Ludovic Desroches
[eugen.hris...@microchip.com: rework on latest u-boot]
Signed-off-by: Eugen
According to the REVB schematic, fix the USB vbus power enable pin.
Based on original work by Wenyou Yang
Signed-off-by: Eugen Hristev
---
board/atmel/sama5d27_som1_ek/sama5d27_som1_ek.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/atmel/sama5d27_som1_ek
original work by Wenyou Yang
Signed-off-by: Eugen Hristev
---
configs/sama5d36ek_cmp_nandflash_defconfig | 2 +-
configs/sama5d36ek_cmp_spiflash_defconfig| 2 +-
configs/sama5d3_xplained_nandflash_defconfig | 2 +-
configs/sama5d3xek_nandflash_defconfig | 2 +-
configs
To fix the issue of write the rootfs.ubi, adjust the smc timings
configuration of the nand controller.
Based on original work by Wenyou Yang
Signed-off-by: Eugen Hristev
---
board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
From: Ludovic Desroches
When a pin is muxed to a peripheral or as a GPIO, the only
configuration that can be set is the pullup. It is too restrictive
so this patch allows to give a full configuration.
Signed-off-by: Ludovic Desroches
---
arch/arm/mach-at91/include/mach/atmel_pio4.h| 16 +++
From: Ludovic Desroches
Macros for drive strength configuration were missing.
Signed-off-by: Ludovic Desroches
---
arch/arm/mach-at91/include/mach/atmel_pio4.h | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-at91/include/mach/atmel_pio4.h
b/arch/arm/mach-at91/include/mac
These patches are originally created by Ludovic Desroches.
For the Sama5d2_ptc_ek board, we need to set nand PIO drive strength.
Created macros for drive strength configuration.
The drive strength has to be set to medium for the NAND data lines.
With a low drive, we can get some data corruption.
From: Ludovic Desroches
The drive strength has to be set to medium for the NAND data lines.
With a low drive, we can get some data corruption.
Signed-off-by: Ludovic Desroches
---
board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
601 - 634 of 634 matches
Mail list logo