Hi Nicolas,
On Wed, Apr 29, 2020 at 1:45 AM Nicolas Saenz Julienne
wrote:
>
> When needed, RPi4's co-processor (called VideoCore) has to be instructed
> to load VL805's firmware (the chip providing xHCI support). VideCore's
> firmware expects the board's PCIe bus to be already configured in order
Add gpio driver support for Broadcom iproc-based socs.
Signed-off-by: Rayagonda Kokatanur
Signed-off-by: Sheetal Tigadoli
---
drivers/gpio/Kconfig | 10 ++
drivers/gpio/Makefile | 1 +
drivers/gpio/iproc_gpio.c | 258 ++
3 files changed, 269 inser
As no gpio.h is defined for this architecture, to avoid
compilation failure, do not include for
arch bcmns3.
Signed-off-by: Rayagonda Kokatanur
---
arch/arm/include/asm/gpio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/
Add support for broadcom iproc gpio driver.
Changes from v2:
-remove ununsed variable "node" in iproc_get_gpio_pctrl_mapping()
func to fix compilation warning.
Changes from v1:
-Address review comments from Simon Glass,
Use dev_read_...() instead of fdtdec_...().
Rayagonda Kokatanur (2):
Hi Peng,
On Wed, 29 Apr 2020 11:45:14 +0800
Peng Fan peng@nxp.com wrote:
> From: Ye Li
>
> There are some integer to pointer convert. To support 64 bits system,
> change the unsigned int to unsigned long.
cfb_console is obsolete and shouldn't be used. Why are you not using
DM_VIDEO based d
Add gpio driver support for Broadcom iproc-based socs.
Signed-off-by: Rayagonda Kokatanur
Signed-off-by: Sheetal Tigadoli
---
drivers/gpio/Kconfig | 10 ++
drivers/gpio/Makefile | 1 +
drivers/gpio/iproc_gpio.c | 259 ++
3 files changed, 270 inser
As no gpio.h is defined for this architecture, to avoid
compilation failure, do not include for
arch bcmns3.
Signed-off-by: Rayagonda Kokatanur
---
arch/arm/include/asm/gpio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/
Add support for broadcom iproc gpio driver.
Changes from v1:
-Address review comments from Simon Glass,
Use dev_read_...() instead of fdtdec_...().
Rayagonda Kokatanur (2):
drivers: gpio: add broadcom iproc gpio driver support
gpio: do not include on TARGET_BCMNS3
arch/arm/include/asm/g
On Tue, Apr 28, 2020 at 11:27 PM Simon Glass wrote:
>
> Hi Rayagonda,
>
> On Tue, 28 Apr 2020 at 02:11, Rayagonda Kokatanur
> wrote:
> >
> > Add gpio driver support for Broadcom iproc-based socs.
> >
> > Signed-off-by: Rayagonda Kokatanur
> > Signed-off-by: Sheetal Tigadoli
> > ---
> > drivers
Hi Simon,
> -Original Message-
> From: Simon Glass
> Sent: Sunday, April 26, 2020 1:16 PM
> To: Park, Aiden
> Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>
> Subject: Re: [PATCH 7/8] x86: enable 64-bit kernel boot from 64-bit U-Boot
>
> Hi Aiden,
>
> On Tue, 21 Apr 2020 at 18
Hi Nicolas,
On 28.04.2020 19:44, Nicolas Saenz Julienne wrote:
> When needed, RPi4's co-processor (called VideoCore) has to be instructed
> to load VL805's firmware (the chip providing xHCI support). VideCore's
> firmware expects the board's PCIe bus to be already configured in order
> for it to l
1. add the address mapping related properties;
2. make "ref" clock optional, and add optional clock "da_ref";
3. add the banks layout of TPHY V1 and V2;
Signed-off-by: Chunfeng Yun
Reviewed-by: Weijie Gao
---
v7: no changes
v6: add Reviewed-by Weijie
v2~v5: no changes
---
doc/device-tree-bind
This patch is used to support the on-chip xHCI controller on
MediaTek SoCs, currently control/bulk/interrupt transfers are
supported.
Signed-off-by: Chunfeng Yun
Reviewed-by: Weijie Gao
---
v7: use new API of phy bulk
v6: add Reviewed-by Weijie
v5:
1. print error number suggested by Marek
Support USB2 and USB3 PHY with shared banks when support multi-phys
Signed-off-by: Chunfeng Yun
Reviewed-by: Weijie Gao
---
v7: no changes
v6: add Reviewed-by Weijie
v3~v5: no changes
v2: get the count of phys by dev_get_child_count()
---
drivers/phy/phy-mtk-tphy.c | 227
Usually the digital and analog phys use the same reference clock,
but some platforms have two separate reference clocks for each of
them, so add another optional clock to support them.
In order to keep the clock names consistent with PHY IP's, change
the da_ref for analog phy and ref clock for digi
Add dt-binding for MediaTek xHCI host controller
Signed-off-by: Chunfeng Yun
Reviewed-by: Weijie Gao
---
v7: no changes
v6: add Reviewed-by Weijie
v2~v5: no changes
---
.../usb/mediatek,mtk-xhci.txt | 40 +++
1 file changed, 40 insertions(+)
create mode 100644
Add usb, phy and clock nodes
Signed-off-by: Chunfeng Yun
Reviewed-by: Weijie Gao
---
v7: no changes
v6: add Reviewed-by Weijie
v3~v5: no changes
v2:
1. remove fixed clock clk20m
---
arch/arm/dts/mt7629-rfb.dts | 8
arch/arm/dts/mt7629.dtsi| 41 ++
Hi Simon,
> -Original Message-
> From: Simon Glass
> Sent: Sunday, April 26, 2020 12:46 PM
> To: Park, Aiden
> Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>
> Subject: Re: [PATCH 6/8] x86: Fix 64-bit compile warning
>
> Hi Aiden,
>
> On Tue, 21 Apr 2020 at 18:45, wrote:
> >
Add dt-binding files of xhci-mtk and phys, C files of
phys.
Signed-off-by: Chunfeng Yun
Reviewed-by: Weijie Gao
---
v7: no changes
v6: add Reviewed-by Weijie
v5: new patch
---
MAINTAINERS | 3 +++
1 file changed, 3 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 7ac7e21ba1..cbbe70
Use the phy bulk API to get a group of phys
Signed-off-by: Chunfeng Yun
Reviewed-by: Weijie Gao
---
v7: use new API of phy bulk
v6: add Reviewed-by Weijie
v5: no changes
v4: new patch
---
drivers/usb/gadget/dwc2_udc_otg.c | 93 ++-
1 file changed, 17 insertions(+)
Add a test item for the phy_bulk API
Signed-off-by: Chunfeng Yun
Reviewed-by: Weijie Gao
Reviewed-by: Simon Glass
---
v7: test new API
v6: add Reviewed-by Weijie & Simon
v5: no changes
v4: new patch
---
arch/sandbox/dts/test.dts | 11 +++
test/dm/phy.c | 33 +
The new version removes all shared banks between multi-phys
Signed-off-by: Chunfeng Yun
Reviewed-by: Weijie Gao
---
v7: no changes
v6: add Reviewed-by Weijie
v2~v5: no changes
---
drivers/phy/phy-mtk-tphy.c | 68 +++---
1 file changed, 63 insertions(+), 5 delet
This patch add function used to get the child count of
a ofnode or a device
Signed-off-by: Chunfeng Yun
Reviewed-by: Weijie Gao
Reviewed-by: Simon Glass
---
v7: no changes
v6: add Reviewed-by Weijie & Simon
v4~v5: no changes
v3:
1. add non/inline function dev_get_child_count() instead of
The series of patches are used to support xHCI host controller on
MediaTek SoCs which has a glue layer IPPC (IP Port Control), and
add USB function on T-PHY including T-PHY V1 and V2;
Finally add USB related nodes for MT7629 platform.
The files of xhci-mtk.* and phy-mtk-tphy.* are ported from
Linu
This patch adds a "bulk" API to the phy API in order to
get/init/exit/power on/off a group of phys associated
with a device.
The bulk API will avoid adding a copy of the same code to
manage a group of phys in drivers.
Signed-off-by: Chunfeng Yun
Reviewed-by: Weijie Gao
---
v7: provide bulk init
Get a group of phys by the phy bulk API
Signed-off-by: Chunfeng Yun
Reviewed-by: Weijie Gao
---
v7: use new API of phy bulk
v6: add Reviewed-by Weijie
v5: no changes
v4: new patch
---
drivers/usb/dwc3/core.c | 87 ++---
drivers/usb/dwc3/dwc3-generic.c | 7
Add a test item for ofnode_get_child_count()
Signed-off-by: Chunfeng Yun
Reviewed-by: Simon Glass
Reviewed-by: Weijie Gao
---
v7: add @index for nodes with reg property suggested by Fabio
v6: add Reviewed-by Weijie
v4~v5: no changes
v3:
1. squash dts patch into this one suggested by Simo
Hi Simon,
> -Original Message-
> From: Simon Glass
> Sent: Sunday, April 26, 2020 1:32 PM
> To: Park, Aiden
> Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>
> Subject: Re: [PATCH 5/8] configs: slimbootloader: Add x86_64 slimbootloader
> config
>
> Hi Aiden,
>
> On Tue, 21 Apr
Hi Simon,
> -Original Message-
> From: Simon Glass
> Sent: Sunday, April 26, 2020 1:16 PM
> To: Park, Aiden
> Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>
> Subject: Re: [PATCH 4/8] x86: slimbootloader: Support 64-bit operation
>
> Hi Aiden,
>
> On Tue, 21 Apr 2020 at 18:45,
Hi Simon,
> -Original Message-
> From: Simon Glass
> Sent: Sunday, April 26, 2020 1:16 PM
> To: Park, Aiden
> Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>
> Subject: Re: [PATCH 3/8] x86: start64: Support HOB in 64-bit U-Boot
>
> Hi Aiden,
>
> On Tue, 21 Apr 2020 at 18:45, w
Hi Simon,
> -Original Message-
> From: Simon Glass
> Sent: Sunday, April 26, 2020 1:16 PM
> To: Park, Aiden
> Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>
> Subject: Re: [PATCH 2/8] x86: start64: Add a hook at 64-bit entry
>
> Hi Aiden,
>
> On Tue, 21 Apr 2020 at 18:45, wro
Hi Simon,
> -Original Message-
> From: Simon Glass
> Sent: Sunday, April 26, 2020 1:16 PM
> To: Park, Aiden
> Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>
> Subject: Re: [PATCH 1/8] x86: Add a new X86_RUN_64BIT_ONLY to Kconfig
>
> Hi Aiden,
>
> On Tue, 21 Apr 2020 at 18:45,
Hi Simon,
> -Original Message-
> From: Simon Glass
> Sent: Sunday, April 26, 2020 1:16 PM
> To: Park, Aiden
> Cc: Bin Meng ; U-Boot Mailing List b...@lists.denx.de>
> Subject: Re: [PATCH 0/8] Support 64-bit U-Boot for Slim Bootloader
>
> Hi Aiden,
>
> On Tue, 21 Apr 2020 at 18:45, wr
P4080DS compilation fails with DM_GPIO enabled:
drivers/gpio/gpio-uclass.c:355:5: error: redefinition of 'gpio_request'
int gpio_request(unsigned gpio, const char *label)
^~~~
In file included from ./arch/powerpc/include/asm/arch/gpio.h:17:0,
from ./arch/powerpc/incl
Compilation error occur when DM_ETH is enabled without DM_PCI.
Signed-off-by: Madalin Bucur
---
drivers/net/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 4d1013c..4313d04 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -
Hi Sunil,
What scenarios need RTC?
If it is to add hardware driver support, the function is still missing
an alarm.
Direct copy of the kernel is recommended.
About 31 days for november month, I need to explain this hardware Bug:
1、There will be 31 in November after 2016, and there will be no
From: Ye Li
There are some integer to pointer convert. To support 64 bits system,
change the unsigned int to unsigned long.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/video/cfb_console.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/vid
Hi Tom,
Please pull the rockchip updates/fixes:
- dts clean up to use -u-boot for px30, rk3399 boards
- dts sycn from upstream kernel for rk3328, rk3399
- add rockchip rng driver
- new board support: rk3328-roc-cc, rk3399-roc-pc
- add signature support for spl fit image
Travis:
https://travis-ci.
+Elaine,
Please help to review this patch.
Thanks,
- Kever
On 2020/4/29 上午12:14, su...@amarulasolutions.com wrote:
From: Suniel Mahesh
Rockchip RK808 PMIC provides an integrated RTC module. It is
commonly used with Rockchip SoCs. Add basic support to access
date and time.
Signed-off-by: S
Add a command that shows the individual blocks of data generated by each
device. This can be helpful for debugging.
Signed-off-by: Simon Glass
---
Changes in v1: None
cmd/acpi.c | 15 +--
drivers/core/acpi.c | 16
include/dm/acpi.h | 10 ++
test/
This function cannot currently be called on the root node. Add a check
for this as well as a test.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/dm/device.h | 2 +-
test/dm/pci.c | 14 ++
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/include/dm/
For many device types it is possible to figure out the name just by
looking at its uclass or parent. Add a function to handle this, since it
allows us to cover the vast majority of cases automatically.
However it is sometimes impossible to figure out an ACPI name for a device
just by looking at it
Call the new core function to inject ASL programmatically into the DSDT.
This is made up of fragments generated by devices that have the
inject_dsdt() method. The normal, compiled ASL file is added after this.
Signed-off-by: Simon Glass
---
Changes in v1: None
arch/x86/lib/acpi_table.c | 15 ++
Add a /chosen property to control the order in which the data appears
in the SSDT. This allows matching up U-Boot's output from a dump of the
known-good data obtained from within Linux.
Signed-off-by: Simon Glass
---
Changes in v1:
- Generalise the ACPI function recursion with acpi_recurse_metho
Some devices need to inject extra code into the Differentiated System
Descriptor Table (DSDT). Add a method to handle this.
Signed-off-by: Simon Glass
---
Changes in v1:
- Generalise the ACPI function recursion with acpi_recurse_method()
arch/sandbox/dts/test.dts | 2 ++
drivers/core/acpi.c
Add a way for devices to enable and disable themselves using ACPI code
that updates GPIOs. This takes several timing parameters and supports
enable, reset and stop.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpi_device.h | 41
lib/acpi/acpi_device.c |
Allowing writing out a reference to a GPIO within the ACPI output. This
can be used by ACPI code to access a GPIO at runtime.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpi_dp.h | 18 ++
lib/acpi/acpi_dp.c | 21 +
test/dm/acpi_dp.c
Some devices need to generate code for the Secondary System Descriptor
Table (SSDT). Add a method to handle this.
Signed-off-by: Simon Glass
Reviewed-by: Wolfgang Wallner
---
Changes in v1:
- Switch parameter order of _acpi_fill_ssdt() and make it static
- Fix 'sentinal' and 'METHOD_FILL_SDDT'
Put this table before MCFG so that it matches the order that coreboot uses
when passing tables to Linux. This is a cosmetic change since the order of
the tables does not otherwise matter.
Signed-off-by: Simon Glass
---
Changes in v1:
- Correct the commit subject
arch/x86/lib/acpi_table.c | 12
It is useful to be able to control the order of data written to the SSDT
so that we can compare the output against known-good kernel dumps.
Add code to record each item that is added along with the device that
added it. That allows us to reorder things later if needed.
Signed-off-by: Simon Glass
Power to some devices is controlled by GPIOs. Add a way to generate ACPI
code to enable and disable a GPIO so that this can be handled within an
ACPI method.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpigen.h | 12 +++
lib/acpi/acpigen.c | 80
Call the new core function to write the SSDT. This is made up of fragments
generated by devices that have the fill_ssdt() method.
Signed-off-by: Simon Glass
---
Changes in v1:
- Use OEM_TABLE_ID instead of ACPI_TABLE_CREATOR
- Update ACPI_DSTATUS enum
arch/x86/lib/acpi_table.c | 50 +++
ACPI supports writing a UUID in a special format. Add a function to handle
this.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpigen.h | 13 +
lib/acpi/acpigen.c | 38 ++
test/dm/acpigen.c | 33 +++
More complex device properties can be provided to drivers via a
device-specific data (_DSD) object.
To create this we need to build it up in a separate data structure and
then generate the ACPI code, due to its recursive nature.
Add an implementation of this.
Signed-off-by: Simon Glass
---
Cha
Add more functions to handle some miscellaneous ACPI opcodes.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpigen.h | 114 +
lib/acpi/acpigen.c | 83 ++
test/dm/acpigen.c | 75 +++
ACPI supports storing integers in various ways. Add a function to handle
this.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpigen.h | 17 ++
lib/acpi/acpigen.c | 51 ++
test/dm/acpigen.c | 46
ACPI supports storing names which are made up of multiple path components.
Several special cases are supported. Add a function to emit a name.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpigen.h | 25 +++
include/test/ut.h | 17
lib/acpi/acpigen.c
These are used in ACPI to disable power to various pats of the system when
in sleep. Add a way to create a power resource, with the caller finishing
off the details.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpigen.h | 22 ++
lib/acpi/acpigen.c |
It is convenient to write a length value for preceding a block of data.
Of course the length is not known or is hard to calculate a priori. So add
a way to mark the start on a stack, so the length can be updated when
known.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpige
A package collects together several elements. Add an easy way of writing
a package header and updating its length later.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpigen.h | 62 ++
lib/acpi/acpigen.c | 12
test/dm/acpi
Some drivers in Linux support both device tree and ACPI. U-Boot itself
uses Linux device-tree bindings for its own configuration but does not use
ACPI.
It is convenient to copy these values over to the device tree for passing
to linux. Add some convenience functions to help with this.
Signed-off-
ACPI supports storing a simple nul-terminated string. Add support for
this.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpigen.h | 10 ++
lib/acpi/acpigen.c | 6 ++
test/dm/acpigen.c | 32 ++--
3 files changed, 46 insertion
Add a function to write a SPI descriptor to the generated ACPI code.
Signed-off-by: Simon Glass
---
Changes in v1: None
drivers/spi/sandbox_spi.c | 11
include/acpi/acpi_device.h | 36 +++
include/spi.h | 4 +-
lib/acpi/acpi_device.c | 119 +++
Add a function to write a GPIO descriptor to the generated ACPI code.
Signed-off-by: Simon Glass
---
Changes in v1: None
drivers/i2c/sandbox_i2c.c | 11
drivers/rtc/sandbox_rtc.c | 11
include/acpi/acpi_device.h | 37 +
lib/acpi/acpi_device.c | 103 ++
When generating ACPI tables we need to convert IRQs in U-Boot to the ACPI
structures required by ACPI. This is a SoC-specific conversion and cannot
be handled by generic code, so add a new IRQ method to do the conversion.
Signed-off-by: Simon Glass
---
Changes in v1:
- Fix 'the an' typo
- Move h
When generating ACPI tables we need to convert GPIOs in U-Boot to the ACPI
structures required by ACPI. This is a SoC-specific conversion and cannot
be handled by generic code, so add a new GPIO method to do the conversion.
Signed-off-by: Simon Glass
Reviewed-by: Wolfgang Wallner
---
Changes in
Add a function to write a GPIO descriptor to the generated ACPI code.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpi_device.h | 22 ++
lib/acpi/acpi_device.c | 151 +
test/dm/acpigen.c | 89 ++
3 f
Some devices use interrupts but some use GPIOs. Since these are fully
specified in the device tree we can automatically produce the correct ACPI
descriptor for a device.
Add a function to handle this.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpi_device.h | 15 +
Add a function to write an interrupt descriptor to the generated ACPI
code.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpi_device.h | 15 +
lib/acpi/acpi_device.c | 118 +
test/dm/acpigen.c | 31 ++
3 files ch
Add a new file to handle generating ACPI code programatically. This is
used when information must be dynamically added to the tables, e.g. the
SSDT.
Initial support is just for writing simple values.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpigen.h | 49 ++
Add a function to build up the ACPI path for a device and another for its
scope.
Signed-off-by: Simon Glass
---
Changes in v1:
- Split into more patches for review
- Add tests
arch/sandbox/dts/test.dts | 3 ++
include/acpi/acpi_device.h | 44 ++
lib/acpi/Makefile |
This always has a fixed ACPI name so add it as a driver function.
Signed-off-by: Simon Glass
---
Changes in v1:
- Capitalise ACPI_OPS_PTR
drivers/core/root.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/core/root.c b/drivers/core/root.c
index 14df16c280..9d5e81cfd
At present U-Boot does not support the different ACPI status values, but
it is best to put this logic in a central place. Add a function to get the
device status.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpi_device.h | 26 ++
lib/acpi/acpi_device
Add support for output of strings and streams of bytes.
Signed-off-by: Simon Glass
---
Changes in v1: None
include/acpi/acpigen.h | 19 +++
lib/acpi/acpigen.c | 14 ++
test/dm/acpigen.c | 42 ++
3 files changed, 75 in
NOTE: I have resent this as v1 to avoid confusion
This is split from the original series in an attempt to get things applied
in chunks.
This part includes:
- writing basic ACPI code for integers, strings, names, packages
- writing descriptors for GPIO, I2C, interrupts, SPI
- writing code to enabl
From: Sherry Sun
When enable CONFG_SPL_DM_USB_GADGET, sdp should use
usb_gadget_initialize() and usb_gadget_release() to
support DM gadget driver.
Signed-off-by: Sherry Sun
Signed-off-by: Peng Fan
---
common/spl/spl_sdp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
From: Ye Li
Because SDP directly jumps to next level boot image, we'd better
clean up the USB driver before it. Implement a weak callback function,
that spl sdp can use it to clean up USB driver.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
common/spl/spl_sdp.c | 1 +
1 file changed, 1 in
From: Frank Li
Need initialize UDC before run sdp download
Signed-off-by: Frank Li
Signed-off-by: Peng Fan
---
common/spl/spl_sdp.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/spl/spl_sdp.c b/common/spl/spl_sdp.c
index 806bf1327e..a54c7479d0 100644
--- a/common/spl/spl_sdp.c
From: Frank Li
If SDP_WRITE and SDP_JUMP addr is zero, use CONFIG_SDP_LOADADDR
as default address
Signed-off-by: Frank Li
Signed-off-by: Peng Fan
---
drivers/usb/gadget/Kconfig | 4
drivers/usb/gadget/f_sdp.c | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/driver
From: Ye Li
Add a new configuration CONFIG_SPL_SDP_USB_DEV to specify the
usb index for spl sdp driver, so that we change use different device.
The default value is 0.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
common/spl/Kconfig | 8
common/spl/spl_sdp.c | 4 ++--
2 files ch
From: Frank Li
Add REVC informaiton.
Signed-off-by: Frank Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx/cpu.h | 1 +
drivers/cpu/imx8_cpu.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/arch/arm/include/asm/arch-imx/cpu.h
b/arch/arm/include/asm/arch-imx/c
From: Ye Li
iMX8QM registers two thermal devices for CPUs, get the temperature
from "cpu-thermal1" device for A72
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/cpu/imx8_cpu.c | 20 ++--
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/drivers/cpu/imx8_
When current cpu is A53, using is_cortex_a53 could not detect A72
information, so check cpu device compatible property to get
the correct information.
Signed-off-by: Peng Fan
---
drivers/cpu/imx8_cpu.c | 27 +--
1 file changed, 17 insertions(+), 10 deletions(-)
diff --gi
Return 4 is not correct on i.MX8DX/DXL/8QM and etc. we need to count
available cpu node with device_type "cpu".
Signed-off-by: Peng Fan
---
drivers/cpu/imx8_cpu.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu
Support booting i.MX8QM with A72 as boot cpu
Signed-off-by: Peng Fan
---
drivers/cpu/imx8_cpu.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/drivers/cpu/imx8_cpu.c b/drivers/cpu/imx8_cpu.c
index 7c54c290b8..029f20632e 100644
--- a/drivers/cpu/imx8_cpu.c
+++ b/drivers/
When running on SoC with multiple clusters, the boot CPU may
not be fixed, saying booting from cluster A or cluster B.
Add a API that can return the udevice for current boot CPU.
Cpu driver needs to implement is_current_cpu interface for this
feature, otherwise the API only returns the first udevic
From: Ye Li
Current print_cpuinfo gets the first udevice in CPU class to return
the cpu info. This has problem if the boot CPU is not fixed.
Changing to use new API cpu_get_current_dev to fix the issue.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
common/board_f.c | 10 +-
1 file
On Wed, 2020-04-29 at 01:15 +0530, Jagan Teki wrote:
> On Mon, Apr 27, 2020 at 7:47 AM Chunfeng Yun
> wrote:
> >
> > On Sat, 2020-04-25 at 18:58 +0530, Jagan Teki wrote:
> > > On Mon, Apr 20, 2020 at 8:52 AM Chunfeng Yun
> > > wrote:
> > > >
> > > > This patch adds a "bulk" API to the phy API i
Hi Simon,
On Tue, Apr 28, 2020 at 11:41 PM Simon Glass wrote:
>
> Hi Bin,
>
> On Tue, 28 Apr 2020 at 08:59, Bin Meng wrote:
> >
> > Hi Simon,
> >
> > On Tue, Apr 28, 2020 at 10:39 PM Simon Glass wrote:
> > >
> > > Hi Bin,
> > >
> > > On Tue, 28 Apr 2020 at 08:34, Bin Meng wrote:
> > > >
> > >
Hi Jagan,
All ack related will be fixed in the next patches.
BR,
Frank
On 2020/4/28 17:27, Jagan Teki wrote:
On Tue, Apr 28, 2020 at 12:01 PM Frank Wang wrote:
This implements the Type-C PHY driver for Rockchip platform
with Cadence IP block.
Signed-off-by: Frank Wang
Signed-off-by: Willia
> Subject: [PATCH] ARM: dts: imxrt1050: indent lcdif node correctly
>
> Accidentally submitted a patch with indentation not correct, let's fix it by
> indenting wrong lines.
>
> Signed-off-by: Giulio Benetti
Acked-by: Peng Fan
> ---
> arch/arm/dts/imxrt1050.dtsi | 12 ++--
> 1 file c
Hi Tom,
On Tue, 28 Apr 2020 at 09:52, Tom Rini wrote:
>
> On Tue, Apr 28, 2020 at 09:41:14AM -0600, Simon Glass wrote:
> > Hi Tom.
> >
> > On Tue, 28 Apr 2020 at 08:19, Tom Rini wrote:
> > >
> > > On Mon, Apr 27, 2020 at 04:10:06PM -0700, Vagrant Cascadian wrote:
> > > > On 2020-04-27, Simon Gla
On Tue, 28 Apr 2020 at 13:56, Heinrich Schuchardt wrote:
>
> free() checks if its argument is NULL. Don't duplicate this in the calling
> code.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> common/cli_hush.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
Reviewed-by: Simon Glass
Synchronize Gen3 defconfig entries in the MAINTAINERS files
after the recent consolidation.
Signed-off-by: Marek Vasut
Cc: Nobuhiro Iwamatsu
---
board/renesas/salvator-x/MAINTAINERS | 4 +---
board/renesas/ulcb/MAINTAINERS | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diff -
On 4/28/20 11:23 PM, Harald Seiler wrote:
> Hello Marek,
Hi,
> On Tue, 2020-04-28 at 16:22 +0200, Marek Vasut wrote:
>> The SPL can also be compiled with sysreset drivers just fine, so
>> update the condition to cater for that option.
>
> Me and Claudius solved the same problem in a different wa
Hello Marek,
On Tue, 2020-04-28 at 16:22 +0200, Marek Vasut wrote:
> The SPL can also be compiled with sysreset drivers just fine, so
> update the condition to cater for that option.
Me and Claudius solved the same problem in a different way a while back
(see [1] and [2]).
The two approaches ove
free() checks if its argument is NULL. Don't duplicate this in the calling
code.
Signed-off-by: Heinrich Schuchardt
---
common/cli_hush.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common/cli_hush.c b/common/cli_hush.c
index cf1e273485..a62af07cc5 100644
--- a/common/c
free() checks if its argument is NULL. Don't duplicate this in the calling
code.
Signed-off-by: Heinrich Schuchardt
---
fs/ext4/ext4_journal.c | 15 +--
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/fs/ext4/ext4_journal.c b/fs/ext4/ext4_journal.c
index f8524e5a99..0c
On Fri, Apr 24, 2020 at 08:20:14PM +0200, Patrick Delaunay wrote:
>
> Hi
>
> It is a V2 serie after Marek feedback for
> http://patchwork.ozlabs.org/project/uboot/list/?series=168378
>
> This serie allows dcache activation in SPL or in U-Boot preloc stage
> for ARM board.
>
> See "arm: stm32mp
On Mon, Apr 27, 2020 at 7:47 AM Chunfeng Yun wrote:
>
> On Sat, 2020-04-25 at 18:58 +0530, Jagan Teki wrote:
> > On Mon, Apr 20, 2020 at 8:52 AM Chunfeng Yun
> > wrote:
> > >
> > > This patch adds a "bulk" API to the phy API in order to
> > > get/enable/disable a group of phys associated with a
1 - 100 of 305 matches
Mail list logo