On Tue, Sep 18, 2018 at 4:23 PM Tom Rini wrote:
>
> On Mon, Aug 13, 2018 at 09:09:17PM -0500, Adam Ford wrote:
>
> > With DM enabled, this patch enables DM_SERIAL and removes
> > the NS16550 initialization from da850_lowlevel since the driver
> > will take care of that itself.
> >
> > Signed-off-b
With DM enabled, this patch enables DM_SERIAL and removes
the NS16550 initialization from da850_lowlevel since the driver
will take care of that itself.
Signed-off-by: Adam Ford
---
V2: Rebase against Master
Use CONFIG_IS_ENABLED instead of defined so this can be
enabled/disabled in S
On Tue, Sep 18, 2018 at 8:16 AM Bin Meng wrote:
>
> At present the response to ARP request is copied to the transmit
> packet buffer ('net_tx_packet') and sent out. This won't fail on
> most cases, but unfortunately is potentially broken under certain
> circumstances.
>
> For example, considering
From: Rasmus Villemoes
[ commit 9564a8cf422d7b58f6e857e3546d346fa970191e in Linux ]
I tried building using a freshly built Make (4.2.1-69-g8a731d1), but
already the objtool build broke with
orc_dump.c: In function ‘orc_dump’:
orc_dump.c:106:2: error: ‘elf_getshnum’ is deprecated
[-Werror=depre
The escape sequence '\#' does not work for the latest GNU Make from
the git tree.
Replace it with $(pound) as Linux did.
Signed-off-by: Masahiro Yamada
---
scripts/Makefile.lib | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index
I can not build my board with the lastest GNU Make
since it changed the escaping of '#' in function calls.
Change the makefiles portable to both old and new GNU Make version.
Masahiro Yamada (1):
kbuild: fix # escaping in appending U-Boot own DT
Rasmus Villemoes (1):
Kbuild: fix # escapin
On 18.09.18 17:52, Heinrich Schuchardt wrote:
> On 09/19/2018 01:12 AM, Alexander Graf wrote:
>>
>>
>> On 17.09.18 15:44, Heinrich Schuchardt wrote:
>>> On 09/16/2018 07:45 AM, Simon Glass wrote:
Hi Heinrich,
>>>
>>> With https://patchwork.ozlabs.org/patch/965315/ we can see where the
>
On Wed, Sep 19, 2018 at 8:13 AM Simon Glass wrote:
>
> Hi Tom,
>
> I was unable to get signed tags working, but here is a list of changes:
>
Last time I wanted to have a try, but looks there was no enough
documentation to start with. If we can have some detailed instructions
about signed tags, th
On 09/19/2018 01:12 AM, Alexander Graf wrote:
>
>
> On 17.09.18 15:44, Heinrich Schuchardt wrote:
>> On 09/16/2018 07:45 AM, Simon Glass wrote:
>>> Hi Heinrich,
>>>
>>> On 15 September 2018 at 22:02, Heinrich Schuchardt
>>> wrote:
Hello Simon,
in the chat with Alex you indicated
On 09/18/2018 07:23 PM, Stephen Warren wrote:
> On 09/18/2018 11:21 AM, Heinrich Schuchardt wrote:
>> Spawn.exept has a try block without 'except'.
>>
>> If no output is available an OSError may arise. Catch this exception and
>> continue testing.
>>
>> Signed-off-by: Heinrich Schuchardt
>> Review
There are quite a few builds of sandbox now. Add information about these
to the README.
Signed-off-by: Simon Glass
---
board/sandbox/README.sandbox | 24
1 file changed, 24 insertions(+)
diff --git a/board/sandbox/README.sandbox b/board/sandbox/README.sandbox
index b49
Hi Tom,
I was unable to get signed tags working, but here is a list of changes:
- MPC83xx device tree additions (CPU and RAM)
- Fix sandbox build error
- Sync bitrev with Linux
- Various ofnode/DT improvements
The following changes since commit 40e44c8bf516e7071c9b80113473be5757e8c3f3:
Merge
On 17.09.18 15:44, Heinrich Schuchardt wrote:
> On 09/16/2018 07:45 AM, Simon Glass wrote:
>> Hi Heinrich,
>>
>> On 15 September 2018 at 22:02, Heinrich Schuchardt
>> wrote:
>>> Hello Simon,
>>>
>>> in the chat with Alex you indicated that you see a problem with
>>> efi_selftest expecting an in
On Tue, Sep 18, 2018 at 4:07 PM York Sun wrote:
>
> On 09/18/2018 02:50 PM, Jeremy Gebben wrote:
> > The aquantia driver requires both CONFIG_PHY_GIGE and CONFIG_PHYLIB_10G.
> >
> > Signed-off-by: Jeremy Gebben
> > ---
> > configs/T1023RDB_NAND_defconfig | 2 +-
> > configs/
On 09/18/2018 03:22 PM, Jeremy Gebben wrote:
> On Tue, Sep 18, 2018 at 4:07 PM York Sun wrote:
>>
>> On 09/18/2018 02:50 PM, Jeremy Gebben wrote:
>>> The aquantia driver requires both CONFIG_PHY_GIGE and CONFIG_PHYLIB_10G.
>>>
>>> Signed-off-by: Jeremy Gebben
>>> ---
>>> configs/T1023RDB_NAND_de
On 09/18/2018 02:50 PM, Jeremy Gebben wrote:
> The aquantia driver requires both CONFIG_PHY_GIGE and CONFIG_PHYLIB_10G.
>
> Signed-off-by: Jeremy Gebben
> ---
> configs/T1023RDB_NAND_defconfig | 2 +-
> configs/T1023RDB_SDCARD_defconfig| 2 +-
> configs/T
On 18.09.18 10:21, Heinrich Schuchardt wrote:
> Spawn.exept has a try block without 'except'.
>
> If no output is available an OSError may arise. Catch this exception and
> continue testing.
I agree with Stephen that the actual error this is trying to fix is not
obvious from the description. Co
If the phy reports a valid firmware version and doesn't indicate
a fault, skip loading the firmware. This allows the same image
to be used on boards that have firmware storage and those that do not.
Signed-off-by: Jeremy Gebben
---
drivers/net/phy/aquantia.c | 28 ++--
1
Aquantia phys have firmware that can be loaded automatically
from storage directly attached to the phy or via MDIO commands.
Add support for loading firmware from either a file or a
raw location on an MMC device.
Signed-off-by: Jeremy Gebben
---
drivers/net/phy/Kconfig| 24 +++-
drivers/net
The aquantia driver requires both CONFIG_PHY_GIGE and CONFIG_PHYLIB_10G.
Signed-off-by: Jeremy Gebben
---
configs/T1023RDB_NAND_defconfig | 2 +-
configs/T1023RDB_SDCARD_defconfig| 2 +-
configs/T1023RDB_SECURE_BOOT_defconfig | 2 +-
configs
Date: Tue, 18 Sep 2018 15:35:32 -0600
Subject: [PATCH 0/3] net: phy: aquantia: firmware loading
This patch series adds optional support for loading firmware for
Aquantia phys via MDIO commands. Because I'm adding more Kconfig
options for this driver, I've cleaned up the existing defconfigs
that us
On Thu, Aug 09, 2018 at 06:15:12AM -0500, Adam Ford wrote:
> With CONFIG_BLK becoming a requirement, the Davinci MMC driver
> needs to be updated with DM_MMC support. Since SPL is tiny and
> many boards do not support DM in SPL, this retains the backwards
> compatibility for those boards who need
On Tue, Aug 21, 2018 at 10:43:30AM -0500, Adam Ford wrote:
> The OF_CONTROL and OF_PLATDATA are not really useful without DM.
> This patch supports DM_SPL, but it requires manual references
> both Serial and MMC.
>
> Signed-off-by: Adam Ford
>
> diff --git a/board/logicpd/omap3som/omap3logic.c
On Mon, Sep 03, 2018 at 03:47:52AM -0500, Adam Ford wrote:
> When used with a device tree, this will extract the card detect
> and write protect pins from the device tree and configure them
> accordingly. This assumes the GPIO_ACTIVE_LOW/HIGH is supported
> by da8xx_gpio.
>
> Signed-off-by: Adam
On Mon, Sep 03, 2018 at 02:05:41PM -0500, Adam Ford wrote:
> Enabling DM_PMIC, DM_REGULATOR_FIXED, and DM_REGULATOR_GPIO
> gives us the ability to better monitor voltages and enable
> hardware through the device tree. The TL4030 (TPS65950) is
> not yet migrated to DM, so this patch only enables th
On Sun, Aug 19, 2018 at 11:11:02AM -0500, Adam Ford wrote:
> This SOM and kit do not nor have they ever had a twl4030 PMIC.
> This patch removes the references to it.
>
> Signed-off-by: Adam Ford
>
> diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig
> index 41ab3fd373..61
On Mon, Aug 20, 2018 at 08:34:00PM -0500, Adam Ford wrote:
> boot-common.c checks to see if I2C is enabled in SPL, but
> it doens't check for DM_I2C before initializing it. This
> will now only initialize the I2C is the DM_I2C is not enabled
> to avoid initializing it more than once.
>
> Signed-
On Mon, Sep 03, 2018 at 01:56:47PM -0500, Adam Ford wrote:
> The simple pinctrl driver currently available works with the omap3.
> Enabling this will use the device tree to automatically set the
> pin-muxing for various drivers.
>
> Signed-off-by: Adam Ford
>
> diff --git a/configs/omap3_logic_
On Thu, Aug 09, 2018 at 06:15:14AM -0500, Adam Ford wrote:
> With DM_MMC now available, this patch enables DM_MMC for the
> omapl138_lcdk in U-Boot and keeps the older style for SPL.
>
> Signed-off-by: Peter Howard
> Signed-off-by: Adam Ford
>
> diff --git a/board/davinci/da8xxevm/omapl138_lcd
On Mon, Aug 20, 2018 at 08:24:34PM -0500, Adam Ford wrote:
> Platforms with limited resources in SPL may enably OF_PLATDATA,
> this limits some of the library functions and cannot extract data
> from the device tree. This patch adds additional wrappers around
> these functions to only allow them
On Tue, Aug 21, 2018 at 07:16:56AM -0500, Adam Ford wrote:
> The getcd and getwp functions when DM_MMC is enabled are
> assumming the DM_GPIO is enabled. In cases (like SPL) where
> DM_GPIO may not be enabled, wrap these calls in an #ifdef
>
> Signed-off-by: Adam Ford
>
> diff --git a/drivers/
On Fri, Aug 17, 2018 at 09:32:39AM -0500, Adam Ford wrote:
> With the re-sync from Linux 4.18, several entries in
> da850-evm-u-boot.dtsi are no longer necessary, so this patch
> removes them.
>
> Signed-off-by: Adam Ford
>
> diff --git a/arch/arm/dts/da850-evm-u-boot.dtsi
> b/arch/arm/dts/da8
On Sun, Aug 19, 2018 at 08:54:00PM -0500, Adam Ford wrote:
> The driver was developed with references for more than just
> dra7, but never included. At least for omap3, this appears
> to be functional.
>
> Signed-off-by: Adam Ford
>
> diff --git a/drivers/power/regulator/pbias_regulator.c
> b
On Thu, Aug 09, 2018 at 06:15:13AM -0500, Adam Ford wrote:
> With the updated driver available to support DM_MMC, this patch
> enables DM_MMC for da850evm.
>
> Signed-off-by: Adam Ford
>
> diff --git a/board/davinci/da8xxevm/da850evm.c
> b/board/davinci/da8xxevm/da850evm.c
> index 5583b45792..
On Mon, Aug 20, 2018 at 08:24:35PM -0500, Adam Ford wrote:
> Platforms with limited resources in SPL may enably OF_PLATDATA,
> this limits some of the library functions and cannot extract data
> from the device tree. This patch adds additional wrappers around
> these functions to only allow them
On Sun, Aug 19, 2018 at 11:11:03AM -0500, Adam Ford wrote:
> DM_I2C_COMPAT is somehow being enabled outside of Kconfig, so
> this explicitly undefines it in the header file, and brackets
> the I2C initialization around an #ifdef to not manually
> initialize the I2C controller when the DM_I2C is en
On Mon, Aug 20, 2018 at 08:43:00PM -0500, Adam Ford wrote:
> The serial port was being manually configured during SPL build,
> however in preparation to allow DM in SPL, this needs to change
> to be based on whether or not DM_SERIAL is enabled because, soon
> the assumption that SPL means no DM ma
On Mon, Aug 20, 2018 at 08:27:48PM -0500, Adam Ford wrote:
> Platforms with limited resources in SPL may enable OF_PLATDATA,
> this limits some of the library functions and cannot extract data
> from the device tree. This patch adds additional wrappers around
> these functions to only allow them
On Fri, Aug 17, 2018 at 02:37:58PM -0500, Adam Ford wrote:
> The GPIO bank numbers do not appear in the device tree, so this
> patch makes the gpio name based on the address
> (ie gpio@49054000_31 vs gpio4_31)
>
> adam
>
> Signed-off-by: Adam Ford
> Tested-by: Derald D. Woods
>
> diff --git a
On Fri, Aug 17, 2018 at 08:56:15AM -0500, Adam Ford wrote:
> Signed-off-by: Adam Ford
>
> diff --git a/arch/arm/dts/da850-evm.dts b/arch/arm/dts/da850-evm.dts
> index 67e72bc72e..0e82bb988f 100644
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Wed, Aug 15, 2018 at 01:22:03PM -0500, Adam Ford wrote:
> The DA850-EVM supports booting from NAND when used with the
> UI expander board. da850evm_nand will create an ais file
> that can be burned to NAND and booted while storing the env in
> NAND along with some partitions tables for storing
On Thu, Aug 16, 2018 at 11:21:57PM -0500, Adam Ford wrote:
> With DM and device tree support, let's use the GPIO_ACTIVE_HIGH
> and GPIO_ACTIVE_LOW from the device tree as they are intended.
>
> Signed-off-by: Adam Ford
>
> diff --git a/drivers/gpio/da8xx_gpio.c b/drivers/gpio/da8xx_gpio.c
> ind
On Thu, Aug 16, 2018 at 11:13:34PM -0500, Adam Ford wrote:
> The GPIO banks are broken up into two 16-bit registers for each
> bank set. Unfortunately, the math that determines how to shift
> blindly shifted by the number of the gpio. This worked for gpio
> numbers under 32, but higher gpio's ar
On Mon, Aug 13, 2018 at 08:44:08PM -0500, Adam Ford wrote:
> At least for now, CONFIG_BLK is working, but this variant of
> the da850evm doesn't need/support SPL so it's OK to enable it
> here.
>
> Signed-off-by: Adam Ford
>
> diff --git a/configs/da850evm_direct_nor_defconfig
> b/configs/da85
On Mon, Aug 13, 2018 at 09:09:17PM -0500, Adam Ford wrote:
> With DM enabled, this patch enables DM_SERIAL and removes
> the NS16550 initialization from da850_lowlevel since the driver
> will take care of that itself.
>
> Signed-off-by: Adam Ford
>
> diff --git a/arch/arm/mach-davinci/da850_low
On 18.09.2018 12:37, Marek Vasut wrote:
On 09/18/2018 12:29 PM, Simon Goldschmidt wrote:
On Tue, Sep 18, 2018 at 12:12 PM Marek Vasut wrote:
On 09/17/2018 10:44 PM, Simon Goldschmidt wrote:
OK, so I got more than 2 weeks off of U-Boot, but here I'm back... ;-)
On 18.08.2018 14:25, Marek Vasu
On 09/18/2018 11:21 AM, Heinrich Schuchardt wrote:
Spawn.exept has a try block without 'except'.
If no output is available an OSError may arise. Catch this exception and
continue testing.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Simon Glass
---
I suggest that Alex takes the patch becau
Spawn.exept has a try block without 'except'.
If no output is available an OSError may arise. Catch this exception and
continue testing.
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Simon Glass
---
I suggest that Alex takes the patch because we need it when working on the
efi-next branch.
v
On 09/18/2018 02:10 AM, Alex Kiernan wrote:
When the image which bootm is given can't be booted, call panic with
the error message rather than printf/hang so that we can recover from
broken images via a bootcount mechanism. If hang on failure is still
required then CONFIG_PANIC_HANG can still be
On 09/17/2018 04:30 PM, Heinrich Schuchardt wrote:
Spawn.exept has a try block without 'except'.
If no output is available an OSError may arise. Catch this exception and
continue testing.
diff --git a/test/py/u_boot_spawn.py b/test/py/u_boot_spawn.py
index b011a3e3da..3c18360e62 100644
--- a/
Convert the function descriptions to Sphinx style.
efi_driver_init() is cCalled by efi_init_obj_list().
Signed-off-by: Heinrich Schuchardt
---
lib/efi_driver/efi_uclass.c | 86 +++--
1 file changed, 54 insertions(+), 32 deletions(-)
diff --git a/lib/efi_driver/ef
On Mon, Sep 17, 2018 at 5:39 AM, Bin Meng wrote:
> Hi Tom,
>
> The following changes since commit 2976d3c1504960d3934a7404b0648e
> dc28b52eb9:
>
> Merge branch 'master' of git://git.denx.de/u-boot-ubi (2018-09-14
> 13:54:37 -0400)
>
> are available in the git repository at:
>
> git://git.denx
Hi Marek,
On 18 September 2018 at 05:47, Marek Vasut wrote:
>
> On 09/14/2018 06:41 AM, Simon Glass wrote:
> > Hi Marex,
>
> It's Marek btw ...
>
> > On 11 September 2018 at 14:58, Marek Vasut wrote:
> >> Reword the documentation to make it clear the compatible string is now
> >> optional, yet s
Hi Marek,
On 18 September 2018 at 13:36, Marek Vasut wrote:
>
> On 09/14/2018 06:41 AM, Simon Glass wrote:
> > Hi Marek,
> >
> > On 10 September 2018 at 01:38, Marek Vasut wrote:
> >>
> >> On 09/02/2018 03:07 AM, Simon Glass wrote:
> >>> Hi Marek,
> >>
> >> Hi,
> >>
> >>> On 1 September 2018 at
Hi Marek,
On Tue, Sep 18, 2018 at 8:01 PM Marek Vasut wrote:
>
> On 09/14/2018 06:41 AM, Simon Glass wrote:
> > Hi Marek,
> >
> > On 10 September 2018 at 01:38, Marek Vasut wrote:
> >>
> >> On 09/02/2018 03:07 AM, Simon Glass wrote:
> >>> Hi Marek,
> >>
> >> Hi,
> >>
> >>> On 1 September 2018 at
At present the response to ARP request is copied to the transmit
packet buffer ('net_tx_packet') and sent out. This won't fail on
most cases, but unfortunately is potentially broken under certain
circumstances.
For example, considering the following packet sequence:
1: placed an ARP request to th
Hi team,
I am trying to use rsa utility functions and need help in using modulus and
rsquared in right format
Say this is modulus that I need to incorporate.
How should the modules buffer look like?
modulus:
00:d8:63:96:ce:e5:ec:04:af:17:83:f2:54:e3:49:
f1:27:26:31:48:fc:43:78:8a:fd:3
Hi Fabio
Stefan is currently at Linaro Connect and may not have access to
hardware.
On Mon, 2018-09-17 at 14:09 -0300, Fabio Estevam wrote:
> Instead of hardcoding the memory size, use the generic
> imx_ddr_size() function, which extracts the memory size
> in runtime by reading the DDR controlle
On 09/14/2018 06:41 AM, Simon Glass wrote:
> Hi Marek,
>
> On 10 September 2018 at 01:38, Marek Vasut wrote:
>>
>> On 09/02/2018 03:07 AM, Simon Glass wrote:
>>> Hi Marek,
>>
>> Hi,
>>
>>> On 1 September 2018 at 16:45, Marek Vasut wrote:
On 09/01/2018 11:50 PM, Simon Glass wrote:
>
On 09/14/2018 06:41 AM, Simon Glass wrote:
> Hi Marex,
It's Marek btw ...
> On 11 September 2018 at 14:58, Marek Vasut wrote:
>> Reword the documentation to make it clear the compatible string is now
>> optional, yet still matching on it takes precedence over PCI IDs and
>> PCI classes.
>>
>> Si
Hi Bin,
On Tue, 2018-09-18 at 16:50 +0800, Bin Meng wrote:
> Hi Lukas,
>
> On Tue, Sep 18, 2018 at 6:01 AM Auer, Lukas
> wrote:
> >
> > Hi Bin,
> >
> > On Mon, 2018-09-17 at 13:02 +0800, Bin Meng wrote:
> > > Hi Lukas,
> > >
> > > On Mon, Sep 17, 2018 at 5:09 AM Auer, Lukas
> > > wrote:
> >
Hi Bin,
On Tue, 2018-09-18 at 16:53 +0800, Bin Meng wrote:
> Hi Lukas,
>
> On Tue, Sep 18, 2018 at 5:59 AM Auer, Lukas
> wrote:
> >
> > Hi Bin,
> >
> > On Mon, 2018-09-17 at 12:55 +0800, Bin Meng wrote:
> > > Hi Lukas,
> > >
> > > On Mon, Sep 17, 2018 at 4:54 AM Auer, Lukas
> > > wrote:
> >
On 09/18/2018 12:29 PM, Simon Goldschmidt wrote:
> On Tue, Sep 18, 2018 at 12:12 PM Marek Vasut wrote:
>>
>> On 09/17/2018 10:44 PM, Simon Goldschmidt wrote:
>>>
>>> OK, so I got more than 2 weeks off of U-Boot, but here I'm back... ;-)
>>>
>>> On 18.08.2018 14:25, Marek Vasut wrote:
On 08/18
On Tue, Sep 18, 2018 at 12:12 PM Marek Vasut wrote:
>
> On 09/17/2018 10:44 PM, Simon Goldschmidt wrote:
> >
> > OK, so I got more than 2 weeks off of U-Boot, but here I'm back... ;-)
> >
> > On 18.08.2018 14:25, Marek Vasut wrote:
> >> On 08/18/2018 10:55 AM, Simon Goldschmidt wrote:
> >>> On Fri
On 09/17/2018 10:44 PM, Simon Goldschmidt wrote:
>
> OK, so I got more than 2 weeks off of U-Boot, but here I'm back... ;-)
>
> On 18.08.2018 14:25, Marek Vasut wrote:
>> On 08/18/2018 10:55 AM, Simon Goldschmidt wrote:
>>> On Fri, Aug 17, 2018 at 12:20 PM Marek Vasut wrote:
On 08/17/2018 0
Hi Lukas,
On Tue, Sep 18, 2018 at 5:59 AM Auer, Lukas
wrote:
>
> Hi Bin,
>
> On Mon, 2018-09-17 at 12:55 +0800, Bin Meng wrote:
> > Hi Lukas,
> >
> > On Mon, Sep 17, 2018 at 4:54 AM Auer, Lukas
> > wrote:
> > >
> > > Hi Bin,
> > >
> > > On Mon, 2018-09-10 at 21:54 -0700, Bin Meng wrote:
> > > >
Hi Lukas,
On Tue, Sep 18, 2018 at 6:01 AM Auer, Lukas
wrote:
>
> Hi Bin,
>
> On Mon, 2018-09-17 at 13:02 +0800, Bin Meng wrote:
> > Hi Lukas,
> >
> > On Mon, Sep 17, 2018 at 5:09 AM Auer, Lukas
> > wrote:
> > >
> > > Hi Bin,
> > >
> > > On Mon, 2018-09-10 at 21:54 -0700, Bin Meng wrote:
> > > >
If we fail to find the MMC boot device, report the number of the one
we were looking for in the error to aid diagnosis.
Signed-off-by: Alex Kiernan
---
common/spl/spl_mmc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index 0b
On Tue, Sep 18, 2018 at 06:21:17AM +0200, Heiko Schocher wrote:
> Hello Liviu,
>
> Am 17.09.2018 um 18:51 schrieb Liviu Dudau:
> > The Arm Versatile Express I2C controller is a simple register-based
> > controller that uses a register to control the state of the SCL and
> > SDA lines. Add support
When the image which bootm is given can't be booted, call panic with
the error message rather than printf/hang so that we can recover from
broken images via a bootcount mechanism. If hang on failure is still
required then CONFIG_PANIC_HANG can still be enabled.
Signed-off-by: Alex Kiernan
---
a
On Tue, Sep 18, 2018 at 06:18:48AM +0200, Heiko Schocher wrote:
> Hello Liviu,
>
> Am 17.09.2018 um 18:48 schrieb Liviu Dudau:
> > Add support for the Arm Versatile Express config bus that is
> > being used for exposing various subsystems via a generic
> > configuration bus. This driver adds suppo
On Tue, Sep 18, 2018 at 04:06:13AM +0200, Simon Glass wrote:
> On 17 September 2018 at 10:44, Liviu Dudau wrote:
> > Use the uclass_foreach_dev() macro instead of the open coded version.
> >
> > Signed-off-by: Liviu Dudau
> > ---
> > drivers/core/uclass.c | 2 +-
> > 1 file changed, 1 insertion(
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
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 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
--
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
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-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 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
---
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
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
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
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
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
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
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 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 6ac37f1..1aa0f8e 10064
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 100644 doc/device-tree-bindings/w1-eeprom/ds24xxx.txt
diff --git a/doc/device-t
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
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/sama5d4_xplained_mmc_defconf
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-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 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
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
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
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
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 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
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
1 - 100 of 107 matches
Mail list logo