Am 2021-08-25 16:18, schrieb Vladimir Oltean:
Curious that Michael mentions Ethernet and DSA on LS1028A.
[..]
I mean, they look pretty similar to me? The biggest difference is that
the ENETC ECAM is under the /soc node in Linux, but under / in U-Boot,
as well as some BAR memory areas that
Hi,
I noticed that there is a fallback to the u-boot device tree for linux
(esp. EFI boot) if no other device tree was found, see [1]. It seems
this
is working fine for imx devices, for example, where you can just boot a
stock installer iso via EFI. It will just work and it is quite a nice
Am 2021-09-01 12:29, schrieb Vladimir Oltean:
On Wed, Sep 01, 2021 at 10:55:21AM +0200, Michael Walle wrote:
- pcie1: pcie@340 {
- compatible = "fsl,ls-pcie", "fsl,ls1028-pcie",
"snps,dw-pcie";
-
The official devicetree bindings specifies spi-num-chipselects as the
name. Use it.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1012a.dtsi | 2 +-
arch/arm/dts/fsl-ls1028a.dtsi | 6 +++---
arch/arm/dts/fsl-ls1043a.dtsi | 4 ++--
arch/arm/dts/fsl-ls1046a.dtsi | 4 ++--
arch/arm/dts/fsl
the linux device tree. Thus rename "ecc-addr" to
"sata-ecc" and convert all the users in u-boot.
While at it, also rename "sata-base" to "ahci" although its not used at
all.
This change doesn't affect the SATA controller on the ZynqMP.
Cc: Michal Simek
S
e the endianness
is determined by the little-endian property and not by the compatible
string itself. Further, we won't need and specific details on the DMA
configuration (which is different on the LS1021A). If it's ever needed,
we can later add the more specific "fsl,ls1028a-dspi" compatibl
mpatibles above.
Cc: Bin Meng
Cc: Marek Vasut
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 4 ++--
drivers/usb/host/xhci-fsl.c | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi
index 34aad526f
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
While at it fix the indentation.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 64 +--
1 file changed, 32
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 66 +--
1 file changed, 33 insertions(+), 33 deletions(-)
diff
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 116 +-
1 file changed, 58 insertions(+), 58 deletions(-)
diff
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 120 +-
1 file changed, 60 insertions(+), 60 deletions(-)
diff
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 50 +--
1 file changed, 25 insertions(+), 25 deletions(-)
diff
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git
To keep the device tree similar to the linux kernel one, we need to move
all CCSR related devices into the /soc node. To keep the patches easy to
review, we initially add an empty /soc node and populate it piece by
piece.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a-kontron-sl28-u
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
---
.../dts/fsl-ls1028a-qds-1xxx-sch-30842.dtsi | 2 +-
.../dts/fsl-ls1028a-qds-6xxx-sch-30842.dtsi | 2 +-
.../dts/fsl
While inserting it into the new location, keep it sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/arch
Nowadays, both boards boot using the TF-A BL1/BL2 and SPL isn't used at
all. The property is not needed, remove it.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a-qds.dtsi | 1 -
arch/arm/dts/fsl-ls1028a-rdb.dts | 1 -
2 files changed, 2 deletions(-)
diff --git a/arch/arm/dts/fsl
Disable the PCIe controllers by default, just like in the linux device
tree. But there is one catch, for linux they are enabled in-place by the
bootloader. Obviously, this doesn't work for the bootloader. Thus we
explicitly enable the controllers in the -u-boot.dtsi files.
Signed-off-by: Michael
be no functional change otherwise than one more register access
to read the present state. The property should still be introduced in
the linux device tree.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi| 20 +--
drivers/pci/pcie_layerscape_rc.c | 61 +++-
2 files changed, 53 insertions(+), 28 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi
index cc055e65e5..
at 80__h (first controller) or 88__h
(second controller).
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi
index 3ef710bb3d
This property is unused in the layerscape PCIe controller driver and not
present in the linux device tree. Remove it to be similarly.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts
- fix enetc0 and enetc2 labels
Michael Walle (29):
armv8: ls1028a: add IOMMU stream ID to vivante node
arm: dts: ls1028a: remove /memory node
arm: dts: ls1028a-{rdb,qds}: remove dm-pre-reloc property
arm: dts: ls1028a: add an empty /soc
arm: dts: ls1028a: move the clockgen node into /soc
This node is some hodgepodge between the ddr controller node at SoC
offset 0x108 and some static memory size of 2GiB. Remove this bogus
node because it doesn't seem to be used at all.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
Tested-by: Vladimir Oltean
---
arch/arm/dts/fsl
The fixup is done for the "fsl,ls1028a-gpu" which isn't any official
device tree binding. Don't break it, but instead add a fixup for another
compatible "vivante,gc" which is the offical one for the GPU on the
LS1028A.
Signed-off-by: Michael Walle
---
arch/arm/cpu/
Populate the /soc node with the first device node.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi
index 1f562cfdad..54f97014be 100644
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
While at it fix the indentation.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 202 +-
1 file changed, 103
Update the labels of the nodes to match the kernel ones.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
Tested-by: Vladimir Oltean
---
Vladimir, this has changed due to the sorted nodes now. It should be the
same, but maybe you should retest it.
.../dts/fsl-ls1028a-kontron-sl28-u
According to the linux device tree specification the compatible string
is:
compatible = "arm,sp805", "arm,primecell";
Fix all users in u-boot.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 2 +-
arch/arm/dts/hi3660.dtsi | 4 ++--
drivers/watch
While inserting it into the new location, keep it sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/dts/fsl
The official ls1028a binding of the driver uses the following as
compatibles:
compatible = "fsl,ls1028a-lpuart";
Add the missing compatible to the driver and update the device tree.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a.
-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 861 --
.../dt-bindings/clock/fsl,qoriq-clockgen.h| 15 +
2 files changed, 786 insertions(+), 90 deletions(-)
create mode 100644 include/dt-bindings/clock/fsl,qoriq-clockgen.h
diff --git a/arch/arm/dts
/20210831134013.1625527-8-mich...@walle.cc/
At the time of this writing the patches are still pending but already
have Reviewed-by tags.
Signed-off-by: Michael Walle
---
.../dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi | 12 +-
.../arm/dts/fsl-ls1028a-kontron-sl28-var1.dts | 31 +--
.../fsl-ls1028a-kontron
Am 2021-09-01 23:59, schrieb Vladimir Oltean:
> As for pcie->lut itself, simplest would be to just default to what is
> now the "dbi" reg value, plus a .lut_offset determined by compatible
> string, in the case of "fsl,ls1028a-pcie" 0x8, just like Linux.
>
> Ah, and not to mention that the
it. If there will ever be any regression we can
introduce a compile time flag, but for now I'd like to keep it simple.
In the split off imx driver this delay was also removed in commit
9098682200e6 ("mmc: fsl_esdhc_imx: remove the 1ms delay before sending
command").
Signed-off-by: Mic
Allow EFI to actually set the time before ExitBootServices().
Signed-off-by: Michael Walle
---
changes since v1:
- none
configs/kontron_sl28_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/kontron_sl28_defconfig b/configs/kontron_sl28_defconfig
index e15928bead
Enable support for update over EFI UpdateCapsule mechanism. This board
doesn't support setting EFI variables after ExitBootservices().
Therefore, we are also enabling EFI_IGNORE_OSINDICATIONS.
Signed-off-by: Michael Walle
---
changes since v1:
- new patch
configs/kontron_sl28_defconfig | 6
Generate a FIT update image during build. The image will be called
"u-boot.update" and can be used to build an EFI UpdateCapsule or during
DFU mode. Although, the latter isn't supported because there is no USB
OTG driver yet.
Signed-off-by: Michael Walle
---
changes since v1:
-
Document the update image and how to use the EFI UpdateCapsule.
Signed-off-by: Michael Walle
---
changes since v1:
- new patch
doc/board/kontron/sl28.rst | 15 +++
1 file changed, 15 insertions(+)
diff --git a/doc/board/kontron/sl28.rst b/doc/board/kontron/sl28.rst
index
From: Frieder Schrempf
In order to add other Kontron boards to the docs alongside the existing sl28
board,
we need to reduce the levels of the sections and change the title.
Cc: Fabio Estevam
Signed-off-by: Frieder Schrempf
Acked-by: Michael Walle
---
Frieder, Fabio, I took the liberty
Am 16. September 2021 11:53:23 MESZ schrieb Vladimir Oltean
:
>On Thu, Sep 02, 2021 at 06:45:30PM +0200, Michael Walle wrote:
>> The fixup is done for the "fsl,ls1028a-gpu" which isn't any official
>> device tree binding. Don't break it, but instead add a fixup for anoth
Am 2021-09-15 02:10, schrieb Vladimir Oltean:
On Thu, Sep 02, 2021 at 06:45:50PM +0200, Michael Walle wrote:
The driver will look for a named resource "ecc-addr", but this isn't
the
official binding. In fact, the official device tree binding
documentation doesn't mention any reso
Am 2021-09-15 02:17, schrieb Vladimir Oltean:
On Thu, Sep 02, 2021 at 06:45:56PM +0200, Michael Walle wrote:
The linux device tree hasn't set this property. To be similarly we
remove
s/similarly/similar/
it from the u-boot device tree, too. The second controller of the
LS1028A has indeed
Allow EFI to set the time before ExitBootServices().
Signed-off-by: Michael Walle
---
configs/kontron_sl28_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/kontron_sl28_defconfig b/configs/kontron_sl28_defconfig
index e15928bead..8bd7d5be4b 100644
--- a/configs
se compatible strings are already approved in Linux
(and even for the rv8803 driver in Linux, too). So we don't use different
compatibles in u-boot and Linux.
With that fixed:
Reviewed-by: Michael Walle
Am 13. September 2021 17:22:38 MESZ schrieb Michael Walle :
>Enable support for update over EFI UpdateCapsule mechanism. This board
>doesn't support setting EFI variables after ExitBootservices().
>Therefore, we are also enabling EFI_IGNORE_OSINDICATIONS.
>
>Signed-off-by
Hi Zhiqiang,
thanks for looking at this patch.
Am 2021-10-13 03:46, schrieb Z.Q. Hou:
-Original Message-
From: Michael Walle
Sent: 2021年10月5日 16:38
To: u-boot@lists.denx.de
Cc: Jagan Teki ; Priyanka Jain
; Vladimir Oltean ;
Tom Rini ; Peter Griffin
;
Manivannan Sadhasivam ; Michael
-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a.dtsi | 860 --
.../dt-bindings/clock/fsl,qoriq-clockgen.h| 15 +
2 files changed, 785 insertions(+), 90 deletions(-)
create mode 100644 include/dt-bindings/clock/fsl,qoriq
to be set to peripheral or host.
Signed-off-by: Michael Walle
---
drivers/usb/dwc3/Kconfig | 10 ++
drivers/usb/dwc3/Makefile | 1 +
drivers/usb/dwc3/dwc3-layerscape.c | 222 +
3 files changed, 233 insertions(+)
create mode 100644 drivers/usb
longer run
Signed-off-by: Michael Walle
---
drivers/usb/dwc3/core.c | 26 ++
drivers/usb/dwc3/core.h | 6 ++
2 files changed, 32 insertions(+)
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index dfd7cf683f..4fb6b59d50 100644
--- a/drivers/usb/dwc3/co
value.
Signed-off-by: Michael Walle
---
drivers/usb/dwc3/core.c | 69 +
drivers/usb/dwc3/core.h | 16 ++
2 files changed, 85 insertions(+)
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index 4fb6b59d50..ce1c0e88c2 100644
Now that the DWC3 USB driver has support for the layerscape platform,
use it. This will have the benefit that peripheral mode will work.
Signed-off-by: Michael Walle
---
configs/kontron_sl28_defconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configs
will hopefully coming soon.
Signed-off-by: Michael Walle
---
configs/kontron_sl28_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/configs/kontron_sl28_defconfig b/configs/kontron_sl28_defconfig
index 5b3ba58d39..0da31a4e54 100644
--- a/configs/kontron_sl28_defconfig
+++ b/configs
Disable the PCIe controllers by default, just like in the linux device
tree. But there is one catch, for linux they are enabled in-place by the
bootloader. Obviously, this doesn't work for the bootloader. Thus we
explicitly enable the controllers in the -u-boot.dtsi files.
Signed-off-by: Michael
it on the Kontron SL28 board, where
both host and peripheral mode was tested.
OTG mode is not supported. For this to work, one would need to read the
hardware status of the OTG pin in the bind() op. But it isn't allowed to
access the hardware in the bind() op (if I understand Simon correctly).
Michael Walle
Both dr_mode and maximum-speed properties are usually optional. Drivers
will still try to fetch the properties nonetheless, which leads to error
messages, although they are no errors. Change pr_err() to pr_debug().
Signed-off-by: Michael Walle
---
drivers/usb/common/common.c | 4 ++--
1 file
Instead of looking at all USB (host) devices, just search all DWC3
device tree nodes. This will (1) fix a panic if of_match is zero and (2)
also apply the fixup if the controller is in peripheral mode. Both
happen when the DWC3 USB controller driver is used.
Signed-off-by: Michael Walle
Add a helper to iterate over all nodes with a given compatible string.
Signed-off-by: Michael Walle
---
include/dm/ofnode.h | 24
1 file changed, 24 insertions(+)
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h
index 6a714d0c7b..0f680e5aa6 100644
--- a/include
While inserting it into the new location, keep it sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a.dtsi | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff
the linux device tree. Thus rename "ecc-addr" to
"sata-ecc" and convert all the users in u-boot.
While at it, also rename "sata-base" to "ahci" although its not used at
all.
This change doesn't affect the SATA controller on the ZynqMP.
Cc: Michal Simek
S
The official ls1028a binding of the driver uses the following as
compatibles:
compatible = "fsl,ls1028a-lpuart";
Add the missing compatible to the driver and update the device tree.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a.
The official devicetree bindings specifies spi-num-chipselects as the
name. Use it.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1012a.dtsi | 2 +-
arch/arm/dts/fsl-ls1028a.dtsi | 6 +++---
arch/arm/dts/fsl-ls1043a.dtsi | 4 ++--
arch/arm/dts/fsl
mpatibles above.
Cc: Bin Meng
Cc: Marek Vasut
Signed-off-by: Michael Walle
Reviewed-by: Bin Meng
---
arch/arm/dts/fsl-ls1028a.dtsi | 4 ++--
drivers/usb/host/xhci-fsl.c | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fs
This property is unused in the layerscape PCIe controller driver and not
present in the linux device tree. Remove it to be similarly.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a.dtsi | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm/dts
/20210831134013.1625527-8-mich...@walle.cc/
At the time of this writing the patches were accepted and will be
included in 5.15.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
.../dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi | 12 +-
.../arm/dts/fsl-ls1028a-kontron-sl28-var1.dts | 31
at 80__h (first controller) or 88__h
(second controller).
Signed-off-by: Michael Walle
Reviewed-by: Hou Zhiqiang
---
arch/arm/dts/fsl-ls1028a.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl
u Zhiqiang
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi| 20 +--
drivers/pci/pcie_layerscape_rc.c | 61 +++-
2 files changed, 53 insertions(+), 28 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
While at it fix the indentation.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a.dtsi | 202
e the endianness
is determined by the little-endian property and not by the compatible
string itself. Further, we won't need and specific details on the DMA
configuration (which is different on the LS1021A). If it's ever needed,
we can later add the more specific "fsl,ls1028a-dspi" compatibl
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a.dtsi | 120 +-
1 file changed, 60
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a.dtsi | 116 +-
1 file changed, 58
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a.dtsi | 50 +--
1 file changed, 25
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a.dtsi | 66 +--
1 file changed, 33
To keep the device tree similar to the linux kernel one, we need to move
all CCSR related devices into the /soc node. To keep the patches easy to
review, we initially add an empty /soc node and populate it piece by
piece.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm
ics
output). Thus, instead of supporting some proprietary driver, switch
over to the open source one, which also have an official device tree
binding.
Cc: Andy Tang
Signed-off-by: Michael Walle
---
For reference:
https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git/commit/?
This node is some hodgepodge between the ddr controller node at SoC
offset 0x108 and some static memory size of 2GiB. Remove this bogus
node because it doesn't seem to be used at all.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
Tested-by: Vladimir Oltean
---
arch/arm/dts/fsl
u-boot,dm-pre-reloc from rdb and qds boards
- fix enetc0 and enetc2 labels
Michael Walle (28):
armv8: ls1028a: use the official compatible string for the GPU
arm: dts: ls1028a: remove /memory node
arm: dts: ls1028a-{rdb,qds}: remove dm-pre-reloc property
arm: dts: ls1028a: add an empty
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
.../dts/fsl-ls1028a-qds-1xxx-sch-30842.dtsi | 2 +-
.../dts/fsl-ls1028a-qds-6xxx-sch-30842.dtsi
Populate the /soc node with the first device node.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a.dtsi | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi
index
Nowadays, both boards boot using the TF-A BL1/BL2 and SPL isn't used at
all. The property is not needed, remove it.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a-qds.dtsi | 1 -
arch/arm/dts/fsl-ls1028a-rdb.dts | 1 -
2 files changed, 2 deletions
While inserting it into the new location, keep it sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a.dtsi | 26 +-
1 file changed, 13 insertions(+), 13
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a.dtsi | 32
1 file changed, 16 insertions
While inserting them into the new location, keep them sorted by the
register base offset just like in the linux kernel device tree.
While at it fix the indentation.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
---
arch/arm/dts/fsl-ls1028a.dtsi | 64
Update the labels of the nodes to match the kernel ones.
Signed-off-by: Michael Walle
Reviewed-by: Vladimir Oltean
Tested-by: Vladimir Oltean
---
.../dts/fsl-ls1028a-kontron-sl28-u-boot.dtsi | 10 +++
.../fsl-ls1028a-kontron-sl28-var1-u-boot.dtsi | 2 +-
.../arm/dts/fsl-ls1028a-kontron
According to the linux device tree specification the compatible string
is:
compatible = "arm,sp805", "arm,primecell";
Fix all users in u-boot.
Signed-off-by: Michael Walle
---
arch/arm/dts/fsl-ls1028a.dtsi | 2 +-
arch/arm/dts/hi3660.dtsi | 4 ++--
drivers/watch
Hi Bin,
Marek suggested to add you. Unfortunately, get_maintainer.pl doesn't
mention
you.
You can find the whole thread here:
https://lore.kernel.org/u-boot/20211015131525.721323-1-mich...@walle.cc/
Am 2021-10-15 15:15, schrieb Michael Walle:
Primarily, this will add support for peripheral
Hi,
> LS(1021/1012/1028/1043/1046/1088/2088), LX2160 - updated device tree
>
> Signed-off-by: Gaurav Jain
> Reviewed-by: Priyanka Jain
> ---
> [..]
>
> diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi
> index 50f9b527cd..c2a156ea8e 100644
> ---
Instead of looking at all USB (host) devices, just search all DWC3
device tree nodes. This will (1) fix a panic if of_match is zero and (2)
also apply the fixup if the controller is in peripheral mode. Both
happen when the DWC3 USB controller driver is used.
Signed-off-by: Michael Walle
Check that all matching nodes have the correct compatible and that there
is at least one match.
Signed-off-by: Michael Walle
---
test/dm/ofnode.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/test/dm/ofnode.c b/test/dm/ofnode.c
index 49efabe871..cea0746bb3 100644
v1:
- added test case for the new ofnode_for_each_compatible_node()
Michael Walle (9):
dm: core: add ofnode_for_each_compatible_node()
test: dm: add test for ofnode_for_each_compatible_node()
armv8: fsl-layerscape: rework the dwc3 snooping enable code
usb: common: silence dubious errors
Add a helper to iterate over all nodes with a given compatible string.
Signed-off-by: Michael Walle
Reviewed-by: Simon Glass
---
include/dm/ofnode.h | 24
1 file changed, 24 insertions(+)
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h
index 6a714d0c7b
will hopefully coming soon.
Signed-off-by: Michael Walle
---
configs/kontron_sl28_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/configs/kontron_sl28_defconfig b/configs/kontron_sl28_defconfig
index 5b3ba58d39..0da31a4e54 100644
--- a/configs/kontron_sl28_defconfig
+++ b/configs
to be set to peripheral or host.
Signed-off-by: Michael Walle
---
drivers/usb/dwc3/Kconfig | 10 ++
drivers/usb/dwc3/Makefile | 1 +
drivers/usb/dwc3/dwc3-layerscape.c | 222 +
3 files changed, 233 insertions(+)
create mode 100644 drivers/usb
value.
Signed-off-by: Michael Walle
---
drivers/usb/dwc3/core.c | 69 +
drivers/usb/dwc3/core.h | 16 ++
2 files changed, 85 insertions(+)
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index 4fb6b59d50..ce1c0e88c2 100644
longer run
Signed-off-by: Michael Walle
---
drivers/usb/dwc3/core.c | 26 ++
drivers/usb/dwc3/core.h | 6 ++
2 files changed, 32 insertions(+)
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index dfd7cf683f..4fb6b59d50 100644
--- a/drivers/usb/dwc3/co
Now that the DWC3 USB driver has support for the layerscape platform,
use it. This will have the benefit that peripheral mode will work.
Signed-off-by: Michael Walle
---
configs/kontron_sl28_defconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configs
Both dr_mode and maximum-speed properties are usually optional. Drivers
will still try to fetch the properties nonetheless, which leads to error
messages, although they are no errors. Change pr_err() to pr_debug().
Signed-off-by: Michael Walle
---
drivers/usb/common/common.c | 4 ++--
1 file
From: Frieder Schrempf
In order to add other Kontron boards to the docs alongside the existing sl28
board,
we need to reduce the levels of the sections and change the title.
Cc: Fabio Estevam
Signed-off-by: Frieder Schrempf
Acked-by: Michael Walle
---
Frieder, Fabio, I took the liberty
Generate a FIT update image during build. The image will be called
"u-boot.update" and can be used to build an EFI UpdateCapsule or during
DFU mode. Although, the latter isn't supported because there is no USB
OTG driver yet.
Signed-off-by: Michael Walle
---
changes since v2:
- non
Allow EFI to actually set the time before ExitBootServices().
Signed-off-by: Michael Walle
---
changes since v2:
- none
changes since v1:
- none
configs/kontron_sl28_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/kontron_sl28_defconfig b/configs/kontron_sl28_defconfig
701 - 800 of 1148 matches
Mail list logo