On 17.8.2018 20:03, Simon Glass wrote:
> Hi Michael,
>
> On 17 August 2018 at 07:22, Michal Simek wrote:
>> On 17.8.2018 14:49, Simon Glass wrote:
>>> On 10 August 2018 at 02:45, Rajan Vaja wrote:
All Linux firmware drivers are put under "/firmware" node
and it has support to populate
Disable BOARD_LATE_INIT via Kconfig.
Signed-off-by: Michal Simek
---
This is correct resolution of BOARD_LATE_INIT for xilinx boards where we
want to disable late init for mini u-boot configurations.
I have took Kconfig fragment description from Ramon.
---
arch/arm/Kconfig
Hi Marek,
On Fri, Aug 17, 2018 at 6:27 PM, Marek Vasut wrote:
> On 08/17/2018 03:51 AM, Bin Meng wrote:
>> Hi Marek,
>>
>> On Thu, Aug 16, 2018 at 7:47 PM, Marek Vasut wrote:
>>> On 08/15/2018 01:25 PM, Tom Rini wrote:
On Wed, Aug 15, 2018 at 06:19:25PM +0800, Bin Meng wrote:
> Hi Marek
On 08/20/2018 04:42 AM, Tom Rini wrote:
> On Sat, Aug 18, 2018 at 08:18:25PM +0300, Ramon Fried wrote:
>
>> This converts the remaining board defined
>> CONFIG_BOARD_LATE_INIT to Kconfig.
>>
>> Signed-off-by: Ramon Fried
>> ---
>> Changes in v2:
>> * Removed config from Kconfig as it already exis
On 08/20/2018 09:18 AM, Bin Meng wrote:
> Hi Marek,
>
> On Fri, Aug 17, 2018 at 6:27 PM, Marek Vasut wrote:
>> On 08/17/2018 03:51 AM, Bin Meng wrote:
>>> Hi Marek,
>>>
>>> On Thu, Aug 16, 2018 at 7:47 PM, Marek Vasut wrote:
On 08/15/2018 01:25 PM, Tom Rini wrote:
> On Wed, Aug 15, 2018
On 20.8.2018 10:02, Marek Vasut wrote:
> On 08/20/2018 04:42 AM, Tom Rini wrote:
>> On Sat, Aug 18, 2018 at 08:18:25PM +0300, Ramon Fried wrote:
>>
>>> This converts the remaining board defined
>>> CONFIG_BOARD_LATE_INIT to Kconfig.
>>>
>>> Signed-off-by: Ramon Fried
>>> ---
>>> Changes in v2:
>>>
On 16/08/2018 10:15, Beniamino Galvani wrote:
> On Mon, Aug 06, 2018 at 02:49:19PM +0200, Neil Armstrong wrote:
>> The Amlogic Meson SoCs embeds a specific Power Domain dedicated to the
>> Video Processing Unit.
>> This patch implements support for this power domain in preparation of the
>> future
On 14/08/2018 15:07, Beniamino Galvani wrote:
> The reset is already handled by the designware driver using
> information from device tree.
>
> Signed-off-by: Beniamino Galvani
> ---
> board/amlogic/nanopi-k2/nanopi-k2.c | 6 --
> board/amlogic/odroid-c2/odroid-c2.c | 6 --
> 2 files cha
Hi Beniamino,
On 14/08/2018 15:07, Beniamino Galvani wrote:
> Clean up board files by moving the duplicate environment
> initialization to arch code.
>
> Signed-off-by: Beniamino Galvani
> ---
> arch/arm/include/asm/arch-meson/sm.h | 1 +
> arch/arm/mach-meson/sm.c | 27 +
Hi Boris,
Boris Brezillon wrote on Thu, 16 Aug 2018
18:05:26 +0200:
> On Thu, 16 Aug 2018 17:30:25 +0200
> Miquel Raynal wrote:
>
> > mtdparts_init() is called from various source files. It is declared in
> > include/jffs2/load_kernel.h while it has nothing to do with jffs2
> > anymore.
> >
>
Hi,
As requested while reviewing
452bc121027d ("fdt: fix fdtdec_setup_memory_banksize()")
heres a patch set converting fdtdec_setup_memory_banksize() to use livetree.
v2:
* Added test code for the new function ofnode_by_prop_value()
* The patch "fdt: fdtdec_setup_memory_banksize() use livetree":
Adds ofnode_by_prop_value() to search for nodes with a given property
and value, an ofnode version of fdt_node_offset_by_prop_value().
Signed-off-by: Jens Wiklander
---
drivers/core/of_access.c | 27 +++
drivers/core/ofnode.c| 14 ++
include/dm/of_access.h
Test ofnode_by_prop_value()
Signed-off-by: Jens Wiklander
---
test/dm/ofnode.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/test/dm/ofnode.c b/test/dm/ofnode.c
index 8db1f9857f7d..907d1ddbdb6f 100644
--- a/test/dm/ofnode.c
+++ b/test/dm/ofnode.c
@@ -15,3 +15,3
Converts fdtdec_setup_memory_banksize() to use ofnode functions instead.
Reviewed-by: Simon Glass
Signed-off-by: Jens Wiklander
---
lib/fdtdec.c | 46 +-
1 file changed, 21 insertions(+), 25 deletions(-)
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index
On Mon, Aug 13, 2018 at 11:04:15PM +0530, Jagan Teki wrote:
> A20 OLinuXino Micro eMMC board has emmc with mmc2 slot
> so use proper dts, sun7i-a20-olinuxino-micro-emmc.dts
>
> Cc: Stefan Mavrodiev
> Cc: Hans de Goede
> Signed-off-by: Jagan Teki
Acked-by: Maxime Ripard
Maxime
--
Maxime Rip
On Sun, Aug 19, 2018 at 07:27:02PM +0530, Jagan Teki wrote:
> Add Allwinner sun6i SPI driver for A31, H3/H5 an A64.
>
> Tested-by: Fahad Sadah
> Signed-off-by: Jagan Teki
This has nothing to do in this serie.
Maxime
--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kerne
On Tue, Aug 14, 2018 at 11:21:16AM +0200, Christian Gmeiner wrote:
> env_save_ptr(..) macro handles CMD_SAVEENV already.
>
> Signed-off-by: Christian Gmeiner
> Reviewed-by: Simon Glass
> ---
> env/fat.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/env/fat.c b/env/fat.c
> index 7f
On Tue, Aug 07, 2018 at 07:28:11AM -0500, Adam Ford wrote:
> Two boards include a reference to ti_omap3_common.h which
> points the UART driver to OMAP34XX_UARTx so the extra define
> should be unnecessary.
>
> Signed-off-by: Adam Ford
> ---
> include/configs/omap3_evm.h | 1 -
> include/co
On Sun, Aug 19, 2018 at 07:26:19PM +0530, Jagan Teki wrote:
> Missing request ops from respective uclass driver
> generating "synchronous abort" in Allwinner platform,
> may be in arm. So add default request ops and give a
> chance to uclass driver to think whether they really
> need request or not
On Sun, Aug 19, 2018 at 07:26:31PM +0530, Jagan Teki wrote:
> Now clock and reset drivers are available for respective
> SoC's so use clk and reset ops on musb driver.
>
> Signed-off-by: Jagan Teki
> ---
> drivers/usb/musb-new/sunxi.c | 82 +++-
> 1 file changed,
On Sun, Aug 19, 2018 at 07:26:35PM +0530, Jagan Teki wrote:
> Implement AHB bus MMC clocks for all Allwinner SoC
> clock drivers via clock map descriptor table.
>
> Cc: Jaehoon Chung
> Signed-off-by: Jagan Teki
That should be merged in the clock driver patches.
Maxime
--
Maxime Ripard, Bootl
On Sun, Aug 19, 2018 at 07:26:37PM +0530, Jagan Teki wrote:
> Implement AHB bus MMC resets for all Allwinner SoC
> clock drivers via reset map descriptor table.
>
> Cc: Jaehoon Chung
> Signed-off-by: Jagan Teki
That should be merged in the reset driver patches.
Maxime
--
Maxime Ripard, Bootl
On 08/20/2018 10:11 AM, Michal Simek wrote:
> On 20.8.2018 10:02, Marek Vasut wrote:
>> On 08/20/2018 04:42 AM, Tom Rini wrote:
>>> On Sat, Aug 18, 2018 at 08:18:25PM +0300, Ramon Fried wrote:
>>>
This converts the remaining board defined
CONFIG_BOARD_LATE_INIT to Kconfig.
Signe
On Sun, Aug 19, 2018 at 07:26:36PM +0530, Jagan Teki wrote:
> Implement direct MMC clocks for all Allwinner SoC
> clock drivers via clock map descriptor table.
>
> This includes adding ccu_clk_set_rate function pointer,
> which indeed support CLK set_rate API, so update clock
> handling in sunxi_m
On Sun, Aug 19, 2018 at 07:26:38PM +0530, Jagan Teki wrote:
> Reset is an optional for some controllers with some families
> of CPU's with same SoC where the common IP driver can handle
> to drive the entire SoC families. optional reset get by name
> is useful for those drivers to make common way o
On Sun, Aug 19, 2018 at 07:26:41PM +0530, Jagan Teki wrote:
> Currently the enabled MMC controllers on Pine H64 do not have bus-width
> set, which make them fall back to 1-bit mode and become quite slow.
>
> Fix this by add the corresponding bus-width properties.
>
> Same commit is there in maili
On Sun, Aug 19, 2018 at 07:26:43PM +0530, Jagan Teki wrote:
> - debug("mmc %d, cmd %d(0x%08x), arg 0x%08x\n", priv->mmc_no,
> + debug("mmc cmd %d(0x%08x), arg 0x%08x\n",
> cmd->cmdidx, cmdval | cmd->cmdidx, cmd->cmdarg);
Why is priv->mmc_no removed?
Maxime
--
Maxime Ripard,
On Mon, Aug 20, 2018 at 5:05 PM, Maxime Ripard
wrote:
> On Sun, Aug 19, 2018 at 07:26:41PM +0530, Jagan Teki wrote:
>> Currently the enabled MMC controllers on Pine H64 do not have bus-width
>> set, which make them fall back to 1-bit mode and become quite slow.
>>
>> Fix this by add the correspond
On Mon, Aug 20, 2018 at 4:48 PM, Maxime Ripard
wrote:
> On Sun, Aug 19, 2018 at 07:27:02PM +0530, Jagan Teki wrote:
>> Add Allwinner sun6i SPI driver for A31, H3/H5 an A64.
>>
>> Tested-by: Fahad Sadah
>> Signed-off-by: Jagan Teki
>
> This has nothing to do in this serie.
Driver require CLK, RE
On Mon, Aug 20, 2018 at 4:40 PM, Maxime Ripard
wrote:
> On Mon, Aug 13, 2018 at 11:04:15PM +0530, Jagan Teki wrote:
>> A20 OLinuXino Micro eMMC board has emmc with mmc2 slot
>> so use proper dts, sun7i-a20-olinuxino-micro-emmc.dts
>>
>> Cc: Stefan Mavrodiev
>> Cc: Hans de Goede
>> Signed-off-by:
On Sun, Aug 19, 2018 at 07:26:44PM +0530, Jagan Teki wrote:
> Usually eMMC is default mmc device for fastboot.
>
> By enabling DM_MMC, the mmc devices are probed as per
> DT status not with respect to MMC_SUNXI_SLOT_EXTRA in
> U-Boot proper.
>
> Allwinner SoC has maximum of 4 mmc controllers star
On Sun, Aug 19, 2018 at 07:26:46PM +0530, Jagan Teki wrote:
> Setting fat device, partition using CONFIG_ENV_FAT_DEVICE_AND_PART
> via Kconfig option is difficult to maintain since Allwinner
> support more than one mmc controllers with SD and eMMC.
>
> So, add dynamic function to get the device ba
On Sat, Aug 18, 2018 at 8:08 PM Jagan Teki wrote:
>
> On Sat, Aug 18, 2018 at 11:35 PM, Nuno Gonçalves wrote:
> > With the basic defconfig + CMD_USB_MASS_STORAGE, I don't get the driver to
> > load:
> >
> > Controller uninitialized
> > g_dnl_register: failed!, error: -6
> > g_dnl_register failed
On 08/20/2018 02:00 AM, Eugeniu Rosca wrote:
> Booting R-Car H3-Salvator-X (CONFIG_UBSAN=y) consistently results in:
>
> =
> UBSAN: Undefined behaviour in drivers/pinctrl/renesas/pfc.c:402:40
> left shift of 1 by 31 places cannot
On 08/20/2018 02:00 AM, Eugeniu Rosca wrote:
> Running "tftp" on R-Car H3 Salvator-X with CONFIG_UBSAN=y results in:
>
[...]
>
> =
> UBSAN: Undefined behaviour in drivers/net/ravb.c:205:20
> left shift of 12 by 28 places cannot be
From: Chee Hong Ang
Allow platform vendors to handle SError interrupt exceptions from
ARMv8 PSCI exception vectors by overriding this weak function
'plat_error_handler'.
Signed-off-by: Chee Hong Ang
---
arch/arm/cpu/armv8/psci.S | 26 ++
1 file changed, 26 insertions(+)
From: "Ang, Chee Hong"
This patchset allow PSCI exception vectors to handle all external abort and
SError exception from all exception levels. This will allow EL3 to handle
asynchronous abort exceptions such as ECC DBE (Double Bit Error) taken from
OS running at lower exception level.
Chee Hong
On Fri, Aug 17, 2018 at 10:57 AM, Neil Stainton wrote:
> New Stack Pointer is: 9ef92ea0
> Relocation Offset is: 18795000
> Relocating to 9ff95000, new gd at 9ef92ec0, sp at 9ef92ea0
> data abort
> pc : [<87800c5c>] lr : [<9ff9570c>]
> sp : 9ef92ea0 ip : 0030 fp : 000
The iommu-map property in the fsl-mc node is updated by
valid stream-ids by u-boot. This patch is to fixup this
property for LS208x and LS1088.
Signed-off-by: Nipun Gupta
---
This patch fixes iommu-map property added for fsl-mc in kernel patch series:
https://patchwork.codeaurora.org/patch/56943
From: Chee Hong Ang
Kconfig option to allow all External Abort and SError exception
taken to EL3.
Signed-off-by: Chee Hong Ang
---
arch/arm/cpu/armv8/Kconfig | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig
index c8bebab..ff4279
From: Chee Hong Ang
Allow EL3 to handle all the External Abort and SError interrupt
exception occur in all exception levels.
Signed-off-by: Chee Hong Ang
---
arch/arm/include/asm/macro.h | 4
arch/arm/include/asm/system.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/arch/arm/inc
On Mon, Aug 20, 2018 at 08:42:07AM +0200, Michal Simek wrote:
> On 19.8.2018 21:14, Tom Rini wrote:
> > On Thu, Jul 19, 2018 at 08:45:45AM +0200, Michal Simek wrote:
> >
> >> There is no reason to have the same Kconfig options for different SoCs
> >> separately. The patch is merging them together
On Mon, Aug 20, 2018 at 10:02:29AM +0200, Marek Vasut wrote:
> On 08/20/2018 04:42 AM, Tom Rini wrote:
> > On Sat, Aug 18, 2018 at 08:18:25PM +0300, Ramon Fried wrote:
> >
> >> This converts the remaining board defined
> >> CONFIG_BOARD_LATE_INIT to Kconfig.
> >>
> >> Signed-off-by: Ramon Fried
>
variables buf from board_mmc_init, and ret from misc_init_r
were unused on the functions, so remove it.
Signed-off-by: Jagan Teki
---
board/sunxi/board.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 857d5ff010..d1d7f9f400 100644
--- a/board
Commit 61dccf73d302 (dts: mvebu: a80x0: Enable SD/eMMC interfaces) added
a redundant DT node for SD card slot. Drop it.
Cc: Konstantin Porotchkin
Signed-off-by: Baruch Siach
---
arch/arm/dts/armada-8040-mcbin.dts | 8
1 file changed, 8 deletions(-)
diff --git a/arch/arm/dts/armada-804
On 08/20/2018 03:43 AM, Bin Meng wrote:
On Fri, Aug 17, 2018 at 8:49 PM, Simon Glass wrote:
Hi,
On 9 August 2018 at 23:45, Bin Meng wrote:
Hi Alex,
On Wed, Aug 8, 2018 at 1:16 AM, Alexander Graf wrote:
Am 07.08.2018 um 18:12 schrieb Simon Glass :
Hi Alex,
On 11 June 2018 at 23:48, Al
On 08/17/2018 02:49 PM, Simon Glass wrote:
Hi,
On 9 August 2018 at 23:45, Bin Meng wrote:
Hi Alex,
On Wed, Aug 8, 2018 at 1:16 AM, Alexander Graf wrote:
Am 07.08.2018 um 18:12 schrieb Simon Glass :
Hi Alex,
On 11 June 2018 at 23:48, Alexander Graf wrote:
Some times gcc may generate da
On Mon, Aug 20, 2018 at 05:45:47PM +0530, Jagan Teki wrote:
> variables buf from board_mmc_init, and ret from misc_init_r
> were unused on the functions, so remove it.
>
> Signed-off-by: Jagan Teki
Acked-by: Maxime Ripard
Maxime
--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Li
Hi!
On Sun, Aug 05, 2018 at 02:55:35AM +0800, Icenowy Zheng wrote:
> The Pine A64 Plus/non-Plus model detection code is now built on all
> 64-bit ARM SoCs, even if the code cannot be triggered when H5/H6 is in
> use.
>
> Disable them when the SoC is not A64 by use #ifdef to wrap them.
>
> On GCC
We left -fdata-sections disabled for x86_64 before because we encountered
random bugs that were at that time inexplicable.
Turns out this really was just side effects of missing .bss* statements
in the linker scripts. With those fixed, we can enable data sections for all
targets.
Signed-off-by: A
While trying to fix efi_loader problems that could only be resolved by enabling
individual function and data sections (commit 7e21fbca26d18 "efi_loader: Rename
sections to allow for implicit data") some cases where .bss was included in
the linker scripts slipped through.
This lead to random breaka
When we build with -fdata-sections we may end up with bss subsections. Our
linker script explicitly lists only a single consecutive bss section though.
Adapt the statement to also include subsections.
This fixes booting efi-x86_app_defconfig.
Signed-off-by: Alexander Graf
---
arch/x86/cpu/u-bo
When we build with -fdata-sections we may end up with bss subsections. Our
linker script explicitly lists only a single consecutive bss section though.
Adapt the statement to also include subsections.
Signed-off-by: Alexander Graf
---
arch/riscv/cpu/ax25/u-boot.lds | 2 +-
1 file changed, 1 ins
On Mon, Aug 20, 2018 at 5:54 PM, Maxime Ripard
wrote:
> On Mon, Aug 20, 2018 at 05:45:47PM +0530, Jagan Teki wrote:
>> variables buf from board_mmc_init, and ret from misc_init_r
>> were unused on the functions, so remove it.
>>
>> Signed-off-by: Jagan Teki
>
> Acked-by: Maxime Ripard
Applied t
Hi Tom,
Please pull this PR.
thanks,
Jagan.
The following changes since commit f05ebbf47a9dc863ff4bb084649ecb34d728b5f2:
bcm968380gerg: Add MAINTAINERS file (2018-08-09 11:48:39 -0400)
are available in the Git repository at:
git://git.denx.de/u-boot-sunxi.git master
for you to fetch cha
On Mon, Aug 20, 2018 at 6:21 AM Tom Rini wrote:
>
> On Tue, Aug 07, 2018 at 07:28:11AM -0500, Adam Ford wrote:
>
> > Two boards include a reference to ti_omap3_common.h which
> > points the UART driver to OMAP34XX_UARTx so the extra define
> > should be unnecessary.
> >
> > Signed-off-by: Adam For
Hi Tom,
On Sun, Aug 19, 2018 at 09:51:32PM -0400, Tom Rini wrote:
> On Mon, Aug 20, 2018 at 02:00:25AM +0200, Eugeniu Rosca wrote:
[..]
> > To enable UBSAN, two prerequisites must be met from Kconfig perspective:
> > - ARCH has to select CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL
> > - defconfig has to
Hi Tom,
On Sun, Aug 19, 2018 at 09:51:42PM -0400, Tom Rini wrote:
> On Mon, Aug 20, 2018 at 02:00:27AM +0200, Eugeniu Rosca wrote:
[..]
> > diff --git a/arch/arm/include/asm/armv8/mmu.h
> > b/arch/arm/include/asm/armv8/mmu.h
> > index 62d00d15c26d..b2ce13db0d2b 100644
> > --- a/arch/arm/include/a
These patches add a hex output of the spl image for Stratix10
devices, and remove the sfp mkimage output for Stratix10 devices.
In Stratix10, the spl image is added to the initial FPGA configuration
bitstream. A hex file is needed to do this.
Dalon Westergreen (2):
spl: socfpga: only gen5 devi
Stratix10 requires a hex image of the spl for boot. The hex
image is added to the FPGA configuration image and loaded to
the processor memory by the configuration engine.
Signed-off-by: Dalon Westergreen
---
scripts/Makefile.spl | 10 ++
1 file changed, 10 insertions(+)
diff --git a/sc
Only the Cyclone5/Arria5 and Arria10 devices require the sfp
formated image for booting. This path ensures that the file is
only generated for those devices.
Signed-off-by: Dalon Westergreen
---
scripts/Makefile.spl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/Ma
On 17 August 2018 at 08:38, Yannick Fertré wrote:
>
> Manage a bridge insert between the display controller & a panel.
>
> Signed-off-by: Yannick Fertré
> ---
> drivers/video/stm32/stm32_ltdc.c | 143
> ++-
> 1 file changed, 82 insertions(+), 61 deletions(-)
On 17 August 2018 at 08:38, Yannick Fertré wrote:
> Adding new DCS commands which are specified in the
> DCS 1.3 spec related to CABC.
>
> Signed-off-by: Yannick Fertré
> ---
> include/mipi_display.h | 8
> 1 file changed, 8 insertions(+)
Reviewed-by: Simon Glass
_
On Mon, Aug 20, 2018 at 05:09:54PM +0530, Jagan Teki wrote:
> On Mon, Aug 20, 2018 at 5:05 PM, Maxime Ripard
> wrote:
> > On Sun, Aug 19, 2018 at 07:26:41PM +0530, Jagan Teki wrote:
> >> Currently the enabled MMC controllers on Pine H64 do not have bus-width
> >> set, which make them fall back to
1;5202;0c
On Mon, Aug 20, 2018 at 05:12:20PM +0530, Jagan Teki wrote:
> On Mon, Aug 20, 2018 at 4:48 PM, Maxime Ripard
> wrote:
> > On Sun, Aug 19, 2018 at 07:27:02PM +0530, Jagan Teki wrote:
> >> Add Allwinner sun6i SPI driver for A31, H3/H5 an A64.
> >>
> >> Tested-by: Fahad Sadah
> >> Signed-o
This code now is regarded as dead one and hence shall be removed.
Signed-off-by: Lukasz Majewski
---
configs/display5_factory_defconfig | 2 +-
include/configs/display5.h | 22 --
2 files changed, 1 insertion(+), 23 deletions(-)
diff --git a/configs/display5_facto
This is a patch series originally written by Maxime Ripard,
https://lists.denx.de/pipermail/u-boot/2016-November/272138.html
titled:
[U-Boot] [PATCH RESEND 0/9] sunxi: chip: Enable the DIP auto-detection
and reworked to include support for the EEPROMs on the PDAs connected
to the sama xplained b
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
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/Make
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 +
dri
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 ch
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-bindin
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..755ac08 100644
--
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/Make
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/sama5d27_som1_ek_mmc_defconf
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-bi
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 10064
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
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 file
This adds the support for PDA detection as common code for
Atmel boards.
Using the one wire interface over GPIO , an EEPROM memory is read
and compared to preprogrammed values for PDA screens TM4300, TM7000
and TM7000B.
Once the PDA is detected, an environment variable is set accordingly.
Signed-o
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 --git
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 ch
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/sama5d2_ptc_ek_mmc_defconfig
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/boar
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-uclass.
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 +
config
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/sandbox_defco
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/sama5d2_xplained_mmc_defconf
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/sama5d27_so
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/boar
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..4cd6db
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/arm
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 1006
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(+)
di
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/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/sama5d2_xplained_mmc_defconfig | 1 +
configs/sama5d2_xplained_spiflash_defconfig | 1 +
2 files
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 10064
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/boar
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/sama5d3_xplained_mmc_defconf
1 - 100 of 158 matches
Mail list logo