This series rework of previous version where it removes legacy
usb phy handling and added phy driver on generic-phy framework.
Current implementation phy driver is unable to get pinctrl, clock
and reset details from DT since the dm code on these will add it future.
Changes for v7:
- rebase on mas
Move struct sunxi_ccm_reg pointer to private structure
so-that accessing ccm reg base become more proper way
and avoid local initialization in each function.
Signed-off-by: Jagan Teki
---
drivers/usb/host/ehci-sunxi.c | 15 +--
drivers/usb/host/ohci-sunxi.c | 19 +++
Unlike other Allwinner SOC's H3/H5/V3s OTG support 4 endpoints
with relevant fifo configs, rest all have 5 endpoints.
So add the fifo configs and defer them based on driver_data.
Signed-off-by: Jagan Teki
---
drivers/usb/musb-new/sunxi.c | 70
1 file
Add OTG device clkgate and reset for H3/H5 through driver_data.
Signed-off-by: Jagan Teki
---
drivers/usb/musb-new/sunxi.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c
index af0dbc5a20..e79d7a2774 100644
--- a/
clock gating bits on a64 are different than H3_H5, so fixed
only required bits on clock_sun6i.h.
Signed-off-by: Jagan Teki
---
arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun6
Filling musb_hdrc pdata using structure will unnecessary
add extra ifdefs, so fill them inside probe call for
better code understanding and get rid ifdefs using
devicetree compatible.
Signed-off-by: Jagan Teki
---
drivers/usb/musb-new/sunxi.c | 23 ++-
1 file changed, 10 inse
- add proper macros for musb_config members
- use bool 'true' for multipoint and dyn_fifo instead of numerical 1
Signed-off-by: Jagan Teki
---
drivers/usb/musb-new/sunxi.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/
V3S has 1 USB PHY, rest are similar to A64.
Signed-off-by: Jagan Teki
---
drivers/phy/allwinner/phy-sun4i-usb.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c
b/drivers/phy/allwinner/phy-sun4i-usb.c
index 993f036b78..de0a59a32c 100644
---
Use BIT is possible areas instead of numerical shift.
Signed-off-by: Jagan Teki
---
drivers/usb/musb-new/sunxi.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/usb/musb-new/sunxi.c b/drivers/usb/musb-new/sunxi.c
index e79d7a2774..16551c
Allwinner PHY USB code is now part of generic-phy framework,
so drop existing legacy handling like arch/arm/mach-sunxi.c
and related code areas.
Signed-off-by: Jagan Teki
---
arch/arm/include/asm/arch-sunxi/usb_phy.h | 21 --
arch/arm/mach-sunxi/Makefile | 3 -
arch/arm/mach-sunx
Enable USB_MUSB_GADGET which operate OTG in peripheral mode
Signed-off-by: Jagan Teki
---
configs/orangepi_pc2_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/orangepi_pc2_defconfig b/configs/orangepi_pc2_defconfig
index dd5f2c78ab..ca1e586e89 100644
--- a/configs/orangepi_
H3/H5 has 4 USB PHY, rest are similar to A64.
Signed-off-by: Jagan Teki
---
drivers/phy/allwinner/phy-sun4i-usb.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c
b/drivers/phy/allwinner/phy-sun4i-usb.c
index 7f2970b96b..993f036b78 100644
--
ID and VBUS detection code require when musb changing
between Host and/or Peripheral modes.
Signed-off-by: Jagan Teki
---
drivers/phy/allwinner/phy-sun4i-usb.c | 39 +++
include/phy-sun4i-usb.h | 26 +++
2 files changed, 65 insert
Allwinner A23 has 2 USB PHY's and 0x04 has phy ctrl offset.
Signed-off-by: Jagan Teki
---
drivers/phy/allwinner/phy-sun4i-usb.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c
b/drivers/phy/allwinner/phy-sun4i-usb.c
index 75056e250c..4194a15007
Add PHY configs for Allwinner A10/A13/A20 which are SUN4I.
Signed-off-by: Jagan Teki
---
drivers/phy/allwinner/phy-sun4i-usb.c | 28
1 file changed, 28 insertions(+)
diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c
b/drivers/phy/allwinner/phy-sun4i-usb.c
index 01
Like other Allwinner SoC, the H3/H5/A64 is missing the config register
from the musb hardware block. Use a known working value for it
like other SoC.
Signed-off-by: Jagan Teki
---
Note:
- About previous version comment, at this point the core can't handle
this through dt becuase musb-new/musb_c
USB PHY implementation for Allwinner SOC's can be handling
in to single driver with different phy configs.
This driver handle all Allwinner USB PHY's start from 4I to
50I(except 9I). Currently added A64 compatibility more will
add in next coming patches.
Current implementation is unable to get pi
Allwinner A33 has 2 USB PHY's and 0x10 has phy ctrl offset.
Signed-off-by: Jagan Teki
---
drivers/phy/allwinner/phy-sun4i-usb.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c
b/drivers/phy/allwinner/phy-sun4i-usb.c
index 16b399e880..75056e2
Enable USB_MUSB_GADGET which operate OTG in peripheral mode
Signed-off-by: Jagan Teki
---
configs/bananapi_m64_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/bananapi_m64_defconfig b/configs/bananapi_m64_defconfig
index 47f31c6d9d..40c1c18aca 100644
--- a/configs/bananapi_
Allwinner PHY USB code is now part of generic-phy framework,
so use it in board_usb_cable_connected.
Signed-off-by: Jagan Teki
---
board/sunxi/board.c | 33 -
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/board/sunxi/board.c b/board/sunxi/board.c
i
Enable USB_MUSB_GADGET which operate OTG in peripheral mode
Signed-off-by: Jagan Teki
---
configs/orangepi_prime_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/orangepi_prime_defconfig b/configs/orangepi_prime_defconfig
index df39caa903..6161863258 100644
--- a/configs/ora
orangepi-pc2 has usb otg routed host with either EHCI0/OHCI0
sync the same from Linux.
Signed-off-by: Jagan Teki
---
arch/arm/dts/sun50i-h5-orangepi-pc2.dts | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm/dts/sun50i-h5-orangepi-pc2.dts
b/arch/arm/dts/sun50i-h5-orange
Sync sun4i-usb-phy bindings from Linux, since the
drivers/phy/allwinner/phy-sun4i-usb.c follw similar.
Signed-off-by: Jagan Teki
---
doc/device-tree-bindings/phy/sun4i-usb-phy.txt | 65 ++
1 file changed, 65 insertions(+)
create mode 100644 doc/device-tree-bindings/phy/s
Unlike, other Allwinner SUN4I Phy supporting SOC, A83T has
2 USB PHY's and second one is HSIC. So phy control need to
configure to handle these HSIC and SIDDQ requirement.
Signed-off-by: Jagan Teki
---
drivers/phy/allwinner/phy-sun4i-usb.c | 85 ---
1 file changed
Order sun50i-h5-orangepi-pc2.dts nodes in alphabetic
Signed-off-by: Jagan Teki
---
arch/arm/dts/sun50i-h5-orangepi-pc2.dts | 56 -
1 file changed, 28 insertions(+), 28 deletions(-)
diff --git a/arch/arm/dts/sun50i-h5-orangepi-pc2.dts
b/arch/arm/dts/sun50i-h5-ora
Allwinner A31 has 3 USB PHY's and rest similar to A10.
Signed-off-by: Jagan Teki
---
drivers/phy/allwinner/phy-sun4i-usb.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c
b/drivers/phy/allwinner/phy-sun4i-usb.c
index abb3d0f055..16b399e880 1
Bananapi-m2-plus has usb otg routed host with either EHCI0/OHCI0
sync the same from Linux.
Signed-off-by: Jagan Teki
---
arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts
b/arch/arm/dts/sun8i-
orangepi-prime has usb otg routed host with either EHCI0/OHCI0
sync the same from Linux.
Signed-off-by: Jagan Teki
---
arch/arm/dts/sun50i-h5-orangepi-prime.dts | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm/dts/sun50i-h5-orangepi-prime.dts
b/arch/arm/dts/sun50i-h5-
From: Chen-Yu Tsai
Clock gating bits on H43/H5 were wrong, fix them.
Signed-off-by: Chen-Yu Tsai
Reviewed-by: Jagan Teki
---
arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun6
The sunxi otg phy has a bug where it wrongly detects a high speed squelch
when reset on the root port gets de-asserted with a lo-speed device.
The workaround for this is to disable squelch detect before de-asserting
reset, and re-enabling it after the reset de-assert is done. Add a sunxi
specific
Allwinner USB PHY handling can be done through driver-model
generic-phy so add the generic-phy ops to relevant places
on host and musb sunxi driver and enable them in respective
SOC's.
Signed-off-by: Jagan Teki
---
arch/arm/mach-sunxi/Kconfig | 9 +++
drivers/usb/host/ehci-sunxi.c
Enable USB_MUSB_GADGET which operate OTG in peripheral mode
Signed-off-by: Jagan Teki
---
configs/Sinovoip_BPI_M2_Plus_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/Sinovoip_BPI_M2_Plus_defconfig
b/configs/Sinovoip_BPI_M2_Plus_defconfig
index da5620a770..a325e9f806 10064
Sync sun8i-a83t usbphy node details from Linux.
Signed-off-by: Jagan Teki
---
arch/arm/dts/sun8i-a83t.dtsi | 20
1 file changed, 20 insertions(+)
diff --git a/arch/arm/dts/sun8i-a83t.dtsi b/arch/arm/dts/sun8i-a83t.dtsi
index bab6c1812b..2953e0fdac 100644
--- a/arch/arm/dts/
From: Jun Nie
Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI
or MUSB controller.
Signed-off-by: Jun Nie
Reviewed-by: Jagan Teki
---
arch/arm/dts/sun8i-h3.dtsi | 32
1 file changed, 32 insertions(+)
diff --git a/arch/arm/dts/sun8i-h3.dt
Sync bananapi-m64 usb_otg node from Linux.
Signed-off-by: Jagan Teki
---
arch/arm/dts/sun50i-a64-bananapi-m64.dts | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/dts/sun50i-a64-bananapi-m64.dts
b/arch/arm/dts/sun50i-a64-bananapi-m64.dts
index 02db114113..80405e5b26 1006
Sync bananapi-m64 usb host nodes from Linux.
Signed-off-by: Jagan Teki
---
arch/arm/dts/sun50i-a64-bananapi-m64.dts | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm/dts/sun50i-a64-bananapi-m64.dts
b/arch/arm/dts/sun50i-a64-bananapi-m64.dts
index 80405e5b26..dcde4a4
Hi Mans, Stefano,
On Fri, Apr 27, 2018 at 9:00 PM Stefano Babic wrote:
> On 21/04/2018 17:11, Mans Rullgard wrote:
> > The code attempts to preserve the value of LR by storing it in R12/IP
> > across the lowevel_init() call. However, this register is not saved
> > by the callee. Use a register
> On 07.05.2018, at 10:25, Chris Packham wrote:
>
> Hi Mans, Stefano,
>
> On Fri, Apr 27, 2018 at 9:00 PM Stefano Babic wrote:
>
>> On 21/04/2018 17:11, Mans Rullgard wrote:
>>> The code attempts to preserve the value of LR by storing it in R12/IP
>>> across the lowevel_init() call. However
Hi,
Currently I am pursuing my M.tech in embedded system. I would like to
do my final academic project on Linux Device Driver. Please suggest
some good areas/driver subsystem/feature that can be a good project.
It can be on Uboot/boot-loader as well. Some of the areas that I had
in my mind are GSM
kirkwood now support dt along with platform data,
respective boards need to switch into dm for the same.
Signed-off-by: Jagan Teki
---
Changes for v3:
- rebased master
- Move kconfig option if DM_SPI
drivers/spi/Kconfig | 12 +-
drivers/spi/kirkwood_spi.c | 240
Get the is_errata_50mhz_ac in .ofdata_to_platdata, and
reuse it in .set_mode this can eventually initialized
dt code at once and adding room to add platdata.
Signed-off-by: Jagan Teki
---
drivers/spi/kirkwood_spi.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drive
ti_qspi now support dt along with platform data,
respective boards need to switch into dm for the same.
Signed-off-by: Jagan Teki
---
Changes for v4:
- rebased to master
drivers/spi/Kconfig| 12 +-
drivers/spi/ti_qspi.c | 490 ---
davinci_spi now support dt along with platform data,
respective boards need to switch into dm for the same.
Signed-off-by: Jagan Teki
---
Changes for v3:
- rebased to master
drivers/spi/Kconfig| 12 +-
drivers/spi/davinci_spi.c | 289 +--
> On 7 May 2018, at 04:34, Marty E. Plummer wrote:
>
> On Mon, May 07, 2018 at 10:20:55AM +0800, Kever Yang wrote:
>> Hi Marty,
>>
>>
>> On 05/06/2018 10:25 PM, Marty E. Plummer wrote:
>>> Taken from coreboot's src/soc/rockchip/rk3288/sdram.c
>>>
>>> Without this change, my u-boot build for t
Move MPC8XXX_SPI to DM_SPI defined since driver is now
fully converted to dm.
Signed-off-by: Jagan Teki
---
drivers/spi/Kconfig | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index ec92b84ed2..d93f7d0049 100644
--- a/drive
Change to use devfdt_get_addr_index() function to get fdt address.
Original code has compilation warning below:
drivers/spi/cadence_qspi.c: In function ‘cadence_spi_ofdata_to_platdata’:
drivers/spi/cadence_qspi.c:297:18: warning: cast to pointer from integer of
different size [-Wint-to-pointer-c
Cast to ulong data type.
Compilation warning as below:
CC spl/drivers/spi/cadence_qspi_apb.o
LD spl/lib/built-in.o
drivers/spi/cadence_qspi_apb.c: In function
‘cadence_qspi_apb_indirect_write_setup’:
drivers/spi/cadence_qspi_apb.c:696:18: warning: cast from pointer to integer of
d
Cast data_bytes to integer.
Compilation warning as below:
In file included from include/linux/bug.h:7:0,
from include/common.h:26,
from drivers/spi/cadence_qspi.c:8:
drivers/spi/cadence_qspi.c: In function ‘cadence_spi_xfer’:
drivers/spi/cadence_qspi.c:211:8: war
The lowlevel_init function uses r4 and r6 without preserving their
values as required by the AAPCS. Use r0 and r2 instead as these
are call-clobbered.
Signed-off-by: Mans Rullgard
---
arch/arm/mach-orion5x/lowlevel_init.S | 168 +-
1 file changed, 84 insertions(+), 84 de
Chris Packham writes:
> Hi Mans, Stefano,
>
> On Fri, Apr 27, 2018 at 9:00 PM Stefano Babic wrote:
>
>> On 21/04/2018 17:11, Mans Rullgard wrote:
>> > The code attempts to preserve the value of LR by storing it in R12/IP
>> > across the lowevel_init() call. However, this register is not saved
>
Signed-off-by: Ashish Kumar
---
drivers/mtd/spi/spi_flash.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c
index 3d24a08..ce420cb 100644
--- a/drivers/mtd/spi/spi_flash.c
+++ b/drivers/mtd/spi/spi_flash.c
@
omap3_spi now support dt along with platform data,
respective boards need to switch into dm for the same.
Tested-by: Adam Ford #omap3_logic
Signed-off-by: Jagan Teki
---
drivers/spi/Kconfig | 14 +-
drivers/spi/omap3_spi.c | 337 +++
On Mon, May 07, 2018 at 01:56:54PM +0900, Masahiro Yamada wrote:
> 2018-05-07 9:35 GMT+09:00 Marek Vasut :
> > On 04/26/2018 01:26 PM, Tom Rini wrote:
> >> Hey all,
> >>
> >> This was already brought up by Heinrich Schuchardt, but didn't get much
> >> traction. So, I'm bringing it up again now.
As per the emails I had sent before on this subject, I've converted our
SPDX tags to Linux Kernel style. What this means, to quote from the
kernel's Documentation/process/license-rules.rst file is:
2. Style:
The SPDX license identifier is added in form of a comment. The comment
style depen
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel ha
Hi Fabio,
> Hi Lukasz,
>
> On Sun, May 6, 2018 at 5:26 PM, Lukasz Majewski wrote:
>
> > diff --git a/arch/sandbox/dts/sandbox.dts
> > b/arch/sandbox/dts/sandbox.dts index 1fb8225fbb..b187b6fac1 100644
> > --- a/arch/sandbox/dts/sandbox.dts
> > +++ b/arch/sandbox/dts/sandbox.dts
> > @@ -115,6 +1
Hi Tom,
On Mon, May 7, 2018 at 11:07 AM, Tom Rini wrote:
> diff --git a/arch/arm/dts/bk4r1.dts b/arch/arm/dts/bk4r1.dts
> index 197e5abd704f..866b80e0b0b3 100644
> --- a/arch/arm/dts/bk4r1.dts
> +++ b/arch/arm/dts/bk4r1.dts
> @@ -1,7 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0+ OR X11
I don'
On Mon, May 07, 2018 at 11:16:50AM -0300, Fabio Estevam wrote:
> Hi Tom,
>
> On Mon, May 7, 2018 at 11:07 AM, Tom Rini wrote:
>
> > diff --git a/arch/arm/dts/bk4r1.dts b/arch/arm/dts/bk4r1.dts
> > index 197e5abd704f..866b80e0b0b3 100644
> > --- a/arch/arm/dts/bk4r1.dts
> > +++ b/arch/arm/dts/bk4
On Mon, May 7, 2018 at 11:18 AM, Tom Rini wrote:
>> I don't see a single occurrence of 'GPL-2.0+ OR X11' in the kernel tree.
>>
>> It seems that people use 'GPL-2.0+ OR MIT' instead.
>
> They do, and on IRC someone was commenting on this as well. This is
> however what the current tag uses and f
On 05/07/2018 09:33 AM, Jagan Teki wrote:
> Add OTG device clkgate and reset for H3/H5 through driver_data.
>
> Signed-off-by: Jagan Teki
Why don't you implement a clock driver for this SoC instead ?
--
Best regards,
Marek Vasut
___
U-Boot mailing li
On 05/07/2018 09:33 AM, Jagan Teki wrote:
> Sync sun4i-usb-phy bindings from Linux, since the
> drivers/phy/allwinner/phy-sun4i-usb.c follw similar.
follow
which commit in Linux does this come from ? This should be in the commit
message for future reference.
> Signed-off-by: Jagan Teki
> ---
>
On 05/07/2018 03:57 AM, Fabio Estevam wrote:
> On Sun, May 6, 2018 at 10:45 PM, Tom Rini wrote:
>
>> The only place they'll now be allowed, just like with the Linux Kernel,
>> is for the first line SDPX tag in some file formats. Bringing us in
>> line with how the kernel goes is overall a good t
On Mon, May 07, 2018 at 01:53:56PM +0200, Marek Vasut wrote:
> On 05/07/2018 03:57 AM, Fabio Estevam wrote:
> > On Sun, May 6, 2018 at 10:45 PM, Tom Rini wrote:
> >
> >> The only place they'll now be allowed, just like with the Linux Kernel,
> >> is for the first line SDPX tag in some file format
On Mon, May 07, 2018 at 01:47:43PM +0200, Marek Vasut wrote:
> On 05/07/2018 09:33 AM, Jagan Teki wrote:
> > Add OTG device clkgate and reset for H3/H5 through driver_data.
> >
> > Signed-off-by: Jagan Teki
>
> Why don't you implement a clock driver for this SoC instead ?
Aren't you asking a bi
- Based on 08ae21af9671 ("MAINTAINERS: Switch nxp.com domain") update or
drop some formerly Freescale addresses.
- Update a few aliases to reflect current custodians
Signed-off-by: Tom Rini
---
doc/git-mailrc | 39 ---
1 file changed, 12 insertions(+), 27 de
On 05/07/2018 04:52 PM, Maxime Ripard wrote:
> On Mon, May 07, 2018 at 01:47:43PM +0200, Marek Vasut wrote:
>> On 05/07/2018 09:33 AM, Jagan Teki wrote:
>>> Add OTG device clkgate and reset for H3/H5 through driver_data.
>>>
>>> Signed-off-by: Jagan Teki
>>
>> Why don't you implement a clock drive
On Mon, May 07, 2018 at 11:07:06AM -0400, Tom Rini wrote:
> - Based on 08ae21af9671 ("MAINTAINERS: Switch nxp.com domain") update or
> drop some formerly Freescale addresses.
> - Update a few aliases to reflect current custodians
>
> Signed-off-by: Tom Rini
Applied to u-boot/master, thanks!
On Mon, May 07, 2018 at 10:07:25AM -0400, Tom Rini wrote:
> When U-Boot started using SPDX tags we were among the early adopters and
> there weren't a lot of other examples to borrow from. So we picked the
> area of the file that usually had a full license text and replaced it
> with an appropria
On Mon, May 07, 2018 at 10:07:24AM -0400, Tom Rini wrote:
> When U-Boot started using SPDX tags we were among the early adopters and
> there weren't a lot of other examples to borrow from. So we picked the
> area of the file that usually had a full license text and replaced it
> with an appropria
Hey all,
It's release day, and here we are doing the release. It's live on git
and FTP and ACD (along with the PGP sig file).
A few things I want to call out here. First, a bunch more NXP PowerPC
boards have just been marked as Orphaned due to lack of valid maintainer
email. So the one year un
On Mon, May 7, 2018 at 8:53 AM, Marek Vasut wrote:
> And also the same inconsistent coding style then ?
Not sure what inconsistent coding style you are talking about.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On 05/07/2018 04:07 PM, Tom Rini wrote:
> As per the emails I had sent before on this subject, I've converted our
> SPDX tags to Linux Kernel style. What this means, to quote from the
> kernel's Documentation/process/license-rules.rst file is:
> 2. Style:
>
>The SPDX license identifier is add
On 05/07/2018 06:47 PM, Fabio Estevam wrote:
> On Mon, May 7, 2018 at 8:53 AM, Marek Vasut wrote:
>
>> And also the same inconsistent coding style then ?
>
> Not sure what inconsistent coding style you are talking about.
// SPDX foo
/*
* bar
*/
Sort of stuff in the files.
--
Best regards,
On Mon, May 7, 2018 at 3:19 PM, Marek Vasut wrote:
> // SPDX foo
> /*
> * bar
> */
>
> Sort of stuff in the files.
Yes, it seems that the preferred style is to move everything to //
style in the initial comments:
// SPDX foo
//
// bar
___
U-Boot mai
file2include is used to convert a binary file to a C include.
With the patch the SPDX header is written to the first line as
expected by scripts/checkpatch.pl.
Cf. https://www.kernel.org/doc/html/v4.16/process/license-rules.html
Signed-off-by: Heinrich Schuchardt
---
tools/file2include.c | 3 +-
On Mon, May 7, 2018 at 3:38 PM, Heinrich Schuchardt wrote:
> file2include is used to convert a binary file to a C include.
> With the patch the SPDX header is written to the first line as
> expected by scripts/checkpatch.pl.
>
> Cf. https://www.kernel.org/doc/html/v4.16/process/license-rules.html
On Mon, May 07, 2018 at 08:04:58PM +0200, Heinrich Schuchardt wrote:
> On 05/07/2018 04:07 PM, Tom Rini wrote:
> > As per the emails I had sent before on this subject, I've converted our
> > SPDX tags to Linux Kernel style. What this means, to quote from the
> > kernel's Documentation/process/lice
Every va_start() call must be matched by a va_end() call.
scripts/checkpatch.pl required reformatting the complete function
zm_dprintf().
Signed-off-by: Heinrich Schuchardt
---
common/xyzModem.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/common/xyzMode
I've built a standalone application that uses exported u-boot functions. It
worked fine when I was loading the binary with "go", but when I attempted
to package the binary in a FIT image, to be loaded with bootm, I ran into
trouble...
Specifically, although the header seems to be parsed correctly,
On Mon, May 07, 2018 at 05:32:34PM +0200, Marek Vasut wrote:
> On 05/07/2018 04:52 PM, Maxime Ripard wrote:
> > On Mon, May 07, 2018 at 01:47:43PM +0200, Marek Vasut wrote:
> >> On 05/07/2018 09:33 AM, Jagan Teki wrote:
> >>> Add OTG device clkgate and reset for H3/H5 through driver_data.
> >>>
> >
Without the patch gcc 8 produces:
warning: ignoring attribute ‘noreturn’ because it conflicts with
attribute ‘const’ [-Wattributes]
int ilog2_NaN(void);
So let's update the include from Linux kernel v4.16.
This removes static checks of ilog2() arguments.
Signed-off-by: Heinrich Schuchardt
On Wed, May 02, 2018 at 03:24:50PM +0100, Måns Rullgård wrote:
> Maxime Ripard writes:
>
> > 1;5201;0c
> > On Wed, May 02, 2018 at 10:34:49AM +0100, Måns Rullgård wrote:
> >> Siarhei Siamashka writes:
> >>
> >> > On Tue, 01 May 2018 18:25:06 +0100
> >> > Måns Rullgård wrote:
> >> >
> >> >> Max
Avoid creating incorrect comments like /* ...*/... */ by printing
'.' instead of '*' inside comments.
Signed-off-by: Heinrich Schuchardt
---
tools/file2include.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/file2include.c b/tools/file2include.c
index e602f937f15..b98
As part of the main conversion a few files were missed. These files had
additional whitespace after the '*' and before the SPDX tag and my
previous regex was too strict. This time I did a grep for all SPDX tags
and then filtered out anything that matched the correct styles.
Fixes: 83d290c56fab (
On Mon, May 7, 2018 at 10:11 PM Måns Rullgård wrote:
> Chris Packham writes:
> > Hi Mans, Stefano,
> >
> > On Fri, Apr 27, 2018 at 9:00 PM Stefano Babic wrote:
> >
> >> On 21/04/2018 17:11, Mans Rullgard wrote:
> >> > The code attempts to preserve the value of LR by storing it in R12/IP
> >> >
Hi Klaus,
On Mon, May 7, 2018 at 8:48 PM wrote:
> > On 07.05.2018, at 10:25, Chris Packham wrote:
> >
> > Hi Mans, Stefano,
> >
> > On Fri, Apr 27, 2018 at 9:00 PM Stefano Babic wrote:
> >
> >> On 21/04/2018 17:11, Mans Rullgard wrote:
> >>> The code attempts to preserve the value of LR by s
On Fri, May 4, 2018 at 5:49 AM, Ley Foon Tan wrote:
> Add reset ctrl to dwmmc socfpga, designware Ethernet and ns16550 serial
> drivers.
>
> A reset property is an optional feature, so only print out a warning and
> do not fail if a reset property is not present.
>
> If a reset property is discov
From: Marcel Ziswiler
Enable CONFIG_MTD as well to make sure UCLASS_MTD is available
Signed-off-by: Marcel Ziswiler
---
Changes in v2:
- New commit required due to using UCLASS_MTD.
configs/colibri_t20_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/colibri_t20_defconf
From: Marcel Ziswiler
U-Boot on Harmony recently got broken by ongoing driver model resp. live
tree migration work:
U-Boot 2018.03-rc3 (Feb 21 2018 - 15:43:08 +0100)
TEGRA20
Model: NVIDIA Tegra20 Harmony evaluation board
Board: NVIDIA Harmony
DRAM: 1 GiB
Video device 'dc@5420' cannot alloc
This series addresses recent Tegra NAND driver breakage caused by
ongoing driver model resp. live tree migration work and enables it on
Harmony as well.
This series is available at
http://git.toradex.com/cgit/u-boot-toradex.git/log/?h=for-next
Changes in v2:
- Use UCLASS_MTD rather than MISC as
From: Marcel Ziswiler
The Tegra NAND driver recently got broken by ongoing driver model resp.
live tree migration work:
NAND: Could not decode nand-flash in device tree
Tegra NAND init failed
0 MiB
A patch for NAND uclass support was proposed about a year ago:
https://patchwork.ozlabs.org/patc
On Thu, May 3, 2018 at 2:18 PM Joe Hershberger
wrote:
> On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan
> wrote:
> > When picking up boot/reboot after we've sent our result packet, use
> > the previously parsed command rather than redoing the strcmp.
> >
> > Signed-off-by: Alex Kiernan
>
> Acked-
On Mon, May 7, 2018 at 10:11 PM Mans Rullgard wrote:
> The lowlevel_init function uses r4 and r6 without preserving their
> values as required by the AAPCS. Use r0 and r2 instead as these
> are call-clobbered.
> Signed-off-by: Mans Rullgard
> ---
> arch/arm/mach-orion5x/lowlevel_init.S | 168
On Thu, Apr 05, 2018 at 09:39:20AM +0200, Alexander Graf wrote:
> On 04/04/2018 09:14 PM, Heinrich Schuchardt wrote:
> >On 04/04/2018 06:11 PM, Alexander Graf wrote:
> >>
> >>On 04.04.18 17:10, Heinrich Schuchardt wrote:
> >>>On 04/04/2018 02:32 PM, Alexander Graf wrote:
>
> On 03.04.18 21
Optional nit: Consider renaming "fastbootcmd" to "fb_bootcmd" or similar.
IMO "fastbootcmd" is
ambiguous as there can be multiple env variable commands related to
fastboot.
On Thu, May 3, 2018 at 2:21 PM Joe Hershberger
wrote:
> On Mon, Apr 30, 2018 at 3:32 AM, Alex Kiernan
> wrote:
> > Merge U
On Thu, 2018-01-04 at 17:03 +0800, Anson Huang wrote:
> Add i.MX7 PSCI system reset support, linux
> kernel now can use "reboot" command to reset
> system.
> +__secure void imx_system_reset(void)
> +{
> + writew(1 << 2, WDOG1_BASE_ADDR);
> +}
This does not work properly on our board.
Due to
This matches the compatible string used by the Linux kernel. This will
allow u-boot to use the same device tree files.
Signed-off-by: Chris Packham
---
This applies on top of Jagan's series
http://patchwork.ozlabs.org/project/uboot/list/?series=33927
drivers/spi/kirkwood_spi.c | 8
1 f
On Thu, May 3, 2018 at 11:21 PM Stefan Roese wrote:
> Hi Chris,
> On 02.05.2018 23:56, Chris Packham wrote:
> > Hi All,
> > On Wed, May 2, 2018 at 10:53 PM Stefan Roese wrote:
> >
> >> Hi Simon,
> >
> >> On 01.05.2018 12:54, Simon Guinot wrote:
> >>> On Mon, Apr 30, 2018 at 11:28:28AM +0530, Ja
On Mon, May 07, 2018 at 08:38:24PM +0200, Heinrich Schuchardt wrote:
> file2include is used to convert a binary file to a C include.
> With the patch the SPDX header is written to the first line as
> expected by scripts/checkpatch.pl.
>
> Cf. https://www.kernel.org/doc/html/v4.16/process/license-
On Sun, May 06, 2018 at 07:09:22AM -0400, Thomas Fitzsimmons wrote:
> Add support for loading U-Boot on the Broadcom 7445D0 SoC. This port
> assumes Broadcom's BOLT bootloader is acting as the second stage
> bootloader, and U-Boot is acting as the third stage bootloader, loaded
> as an ELF progra
1 - 100 of 157 matches
Mail list logo