Add commands for dual and quad SPI transfers on Micon SPI.
Signed-off-by: Rayagonda Kokatanur
---
include/spi.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/spi.h b/include/spi.h
index 2b4929fc79..491f1f805c 100644
--- a/include/spi.h
+++ b/include/spi.h
@@ -150,6 +150,8 @@ stru
Add brcm iproc qspi support.
Signed-off-by: Rayagonda Kokatanur
---
drivers/spi/Kconfig | 14 +
drivers/spi/Makefile | 1 +
drivers/spi/iproc_qspi.c | 852 +++
drivers/spi/iproc_qspi.h | 18 +
drivers/spi/iproc_spi.c | 71
5 files changed,
This patchset,
-adds Broadcom SPI driver for iproc-based platforms and
-extends Micron SPI commands for dual and quad SPI transfers on Micon SPI.
Rayagonda Kokatanur (2):
driver: spi: add brcm iproc qspi support.
drivers: spi: add commands for micron SPI
drivers/spi/Kconfig | 14 +
dri
Hi Tom,
please pull these 2 MVEBU related fixes.
Here the Azure build, without any issues:
https://dev.azure.com/sr0718/u-boot/_build/results?buildId=6&view=results
Thanks,
Stefan
The following changes since commit c693f212c5b0433b3a49a89d87cbff28bf78eb87:
Merge branch '2020-05-01-master-i
Hi Moritz,
On 27.04.20 09:56, Moritz Berghof wrote:
Hi Community,
Hi Marek, Hi Stefan,
we are still working on the u-boot master of the espressobin platform.
Do you have any ideas why mmc cannot find any sd-card?
Could you please give the patches from Peter Vollmer a try:
https://patchwork
> -Original Message-
> From: Vladimir Oltean
> Sent: 2020年5月4日 2:52
> To: u-boot@lists.denx.de; joe.hershber...@ni.com; Priyanka Jain
>
> Cc: Z.q. Hou ; bmeng...@gmail.com; Claudiu
> Manoil ; Alexandru Marginean
>
> Subject: [RFC PATCH 3/3] net: tsec: convert fsl_pq_mdio to DM_MDIO
>
> -Original Message-
> From: Vladimir Oltean
> Sent: 2020年5月4日 2:52
> To: u-boot@lists.denx.de; joe.hershber...@ni.com; Priyanka Jain
>
> Cc: Z.q. Hou ; bmeng...@gmail.com; Claudiu
> Manoil ; Alexandru Marginean
>
> Subject: [RFC PATCH 1/3] phy: make phy_connect_fixed work with a null
Hi Vladimir,
Thanks for your comments!
> -Original Message-
> From: Vladimir Oltean
> Sent: 2020年5月4日 0:27
> To: Z.q. Hou
> Cc: u-boot ; Joe Hershberger
> ; Bin Meng ; Priyanka Jain
>
> Subject: Re: [PATCHv2 3/3] net: tsec: Access TBI PHY through the
> corresponding MII
>
> On Sun, 3
On Sat, May 02, 2020 at 06:55:20PM +0530, Amit Singh Tomar wrote:
> Calculate the SDRAM size from DDR capacity register registers instead of using
> hard-coded value. This is quite useful to get correct size on differnt boards
> based on S700 SoC.
>
> There is no documentation available that talks
Hi Joel,
On 01.05.20 23:41, Joel Johnson wrote:
Ping for review feedback on this patch, it'd be good to have the fix
included in the same release as the merge was included.
I'll send the pull request later today.
Thanks,
Stefan
Joel
On 2020-04-25 20:54, Joel Johnson wrote:
Update quoted s
>-Original Message-
>From: Jagan Teki
>Sent: 02 May 2020 21:04
>To: Heinrich Schuchardt ; Pragnesh Patel
>; Bin Meng
>Cc: U-Boot Mailing List ; Atish Patra
>; Palmer Dabbelt ; Paul
>Walmsley ; Troy Benjegerdes
>; Anup Patel ; Sagar
>Kadam ; Rick Chen ; Peng
>Fan ; Lukasz Majewski ; Simon
Hi Sean,
>-Original Message-
>From: Sean Anderson
>Sent: 03 May 2020 22:47
>To: Pragnesh Patel ; u-boot@lists.denx.de
>Cc: atish.pa...@wdc.com; palmerdabb...@google.com;
>bmeng...@gmail.com; Paul Walmsley ;
>ja...@amarulasolutions.com; Troy Benjegerdes
>; anup.pa...@wdc.com; Sagar Kadam
>
On 24.04.20 11:24, Jakov Petrina wrote:
This resolves issues with certain SFP modules.
Signed-off-by: Jakov Petrina
Signed-off-by: Vladimir Vid
---
v2:
- changed PHY mode as well
Reviewed-by: Stefan Roese
Thanks,
Stefan
arch/arm/dts/armada-3720-uDPU.dts | 18 ++
1 fil
Hi Kever,
Am Freitag, 1. Mai 2020, 12:32:23 CEST schrieb Kever Yang:
> On 2020/4/21 上午8:23, Heiko Stuebner wrote:
> > From: Heiko Stuebner
> >
> > If the newly added fit-generator key-options are found, append needed
> > signature nodes to all generated image blocks, so that they can get
> > sign
Hi Stefano,
> Subject: Re: [PATCH V2 resend 1/4] imx: add module fuse support
>
> Hi Peng,
>
> On 01.05.20 16:08, Peng Fan wrote:
> > There are different parts from one SoC. Take i.MX6ULL for example,
> > some part might not have ENET, some might have; some might not have
> > USB, some might hav
Hi Fabio,
> Subject: Re: [PATCH 10/13] imx: load calibration parameters from fuse for
> i.MX8MP
>
> Hi Peng and Ye Li,
>
> On Sun, May 3, 2020 at 10:57 AM Peng Fan wrote:
> >
> > From: Ye Li
> >
> > i.MX8MP thermal which has two probes and supports temperature range
> > from -40 to 125. The d
> Subject: Re: [PATCH 5/5] power: imx8: Replace SC_R_LAST with SC_R_NONE
>
> Hi Peng,
>
> On Sun, 3 May 2020 22:33:23 +0800
> Peng Fan peng@nxp.com wrote:
> ...
> > ---
> > arch/arm/dts/fsl-imx8dx.dtsi| 619
>
>
> Why is this patch removing the d
Patman outputs a line for every edition of the series in every patch,
regardless of whether any changes were made. This can result in many
redundant lines in patch changelogs, especially when a patch did not exist
before a certain revision. For example, the existing behaviour could result
in a chan
This patch adds support to multi-line changes. That is, if one has a line
in a changelog like
- Do a thing but
it spans multiple lines
Using Series-process-log sort would sort as if those lines were unrelated.
With this patch, any change line starting with whitespace will be
considered part of th
By default patman generates a combined changelog for the cover letter. This
may not always be desireable.
Many patches may have the same changes. These can be coalesced with
"Series-process-log: uniq", but this is imperfect. Similar changes like
"Move foo to patch 7" will not be merged with the si
This patch adds or modifies functional tests for the Cover-changes,
Commit-changes, and Series-process-log tags in order to account for new
behavior added in the next several patches. The '(no changes since v1)'
case is not tested for, since that would need an additional commit to test
in addition
This series adds a few changes I have been using locally as new tags for
patman. This series has itself been developed using these patches, and the
unprocessed commits can be viewed at [1].
[1] https://github.com/Forty-Bot/u-boot/tree/patman
Changes in v3:
- Document empty changelog suppression i
Pavel suggested to add Tomi into the loop as Jean is not with TI anymore.
Tomi, could you please look at this mmc related problem? See details below.
On Sunday 26 April 2020 00:20:07 Pali Rohár wrote:
> On Saturday 25 April 2020 23:26:15 Pali Rohár wrote:
> > Adding Jean to the loop. Could you pl
Apply u-boot coding style on include files order as described by the
wiki https://www.denx.de/wiki/U-Boot/CodingStyle.
Signed-off-by: Dario Binacchi
---
Changes in v2:
- Add reference to code style wiki
drivers/video/am335x-fb.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
d
From: Vladimir Oltean
For the platforms on which the eTSEC driver uses DM_ETH, convert its
MDIO controller code to also use DM_MDIO.
Note that for handling the TBI PHY (the MAC PCS for SGMII), we still
don't register a udevice for it, since we can drive it locally and there
is no point in doing
From: Vladimir Oltean
The tsec driver now requires DM_MDIO when DM_ETH is enabled. To avoid
build errors, enable DM_MDIO in these boards' configs before we actually
add DM_MDIO support to tsec.
Signed-off-by: Vladimir Oltean
---
configs/ls1021atsn_qspi_defconfig | 1 +
config
From: Vladimir Oltean
It is utterly pointless to require an MDIO bus pointer for a fixed PHY
device. The fixed.c implementation does not require it, only
phy_device_create. Fix that.
Signed-off-by: Vladimir Oltean
---
drivers/net/phy/phy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions
From: Vladimir Oltean
This series converts the MDIO handling portion of the DM_ETH variant of
the tsec driver (currently in use only on LS1021A-TSN and LS1021A-TWR)
to use DM_MDIO. The other (non-DM_ETH) users of tsec are left alone.
Posted as RFC since it depends on Zhiqiang's series
"[PATCHv2,
Commit 69529c912059 ("net: pcnet: Switch to PCI memory access")
switched from PCI IO access to PCI memory access without updating
the I/O primitives. Contrary to SH, the primitives for memory
access and IO access are implemented differently. Thus doing
memory access with IO port primitives breaks t
On 5/3/20 3:12 AM, Pragnesh Patel wrote:
> Hi Sean,
>
>> -Original Message-
>> From: Sean Anderson
>> Sent: 02 May 2020 23:46
>> To: Pragnesh Patel ; u-boot@lists.denx.de
>> Cc: atish.pa...@wdc.com; palmerdabb...@google.com;
>> bmeng...@gmail.com; Paul Walmsley ;
>> ja...@amarulasolutions
Add gpio driver support for Broadcom iproc-based socs.
Signed-off-by: Rayagonda Kokatanur
Signed-off-by: Sheetal Tigadoli
---
drivers/gpio/Kconfig | 11 ++
drivers/gpio/Makefile | 1 +
drivers/gpio/iproc_gpio.c | 269 ++
3 files changed, 281 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
Reviewed-by: Simon Glass
---
arch/arm/include/asm/gpio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/gpio
Add support for broadcom iproc gpio driver.
Changes from v3:
-Address review comments from Simon Glass,
Rearrange header file,
Add struct comment taking about members,
Use clrsetbits_le32(),
Add new line before return etc.
Changes from v2:
-remove ununsed variable "node" in iproc_get_g
On Sun, 3 May 2020 at 17:53, Zhiqiang Hou wrote:
>
> From: Hou Zhiqiang
>
> When an eTSEC is configured to use TBI, configuration of the
> TBI is done through the MIIM registers for that eTSEC.
> For example, if a TBI interface is required on eTSEC2, then
> the MIIM registers starting at offset 0
Enable these two options to let compiler eliminate unused code.
On R2Dplus, this results in considerable amount of saved space:
textdata bss dec hex filename
- 266580 13196 39076 318852 4dd84 u-boot
+ 220214 12797 38745 271756 4258c u-boot
Signed-off-by: Ma
Hi Peng,
On 01.05.20 16:08, Peng Fan wrote:
> There are different parts from one SoC. Take i.MX6ULL for example,
> some part might not have ENET, some might have; some might not have
> USB, some might have. The information could be got from OCOTP,
> to make one image support the different parts, w
Hi Peng and Ye Li,
On Sun, May 3, 2020 at 10:57 AM Peng Fan wrote:
>
> From: Ye Li
>
> i.MX8MP thermal which has two probes and supports temperature range
> from -40 to 125. The driver still uses default 1p HW
> calibration at 25C and loads calibration parameters from fuse.
>
> Reviewed-by: Pen
On 5/2/20 5:03 PM, Daniel Schwierzeck wrote:
>
>
> Am 02.05.20 um 17:00 schrieb Daniel Schwierzeck:
>> Hi Marek,
>>
>> Am 18.04.20 um 05:15 schrieb Marek Vasut:
>>> Replace the PCI IO access with PCI memory access, the card
>>> supports both, but the former does not work with QEMU SH4.
>>>
>>> Si
From: Hou Zhiqiang
When an eTSEC is configured to use TBI, configuration of the
TBI is done through the MIIM registers for that eTSEC.
For example, if a TBI interface is required on eTSEC2, then
the MIIM registers starting at offset 0x2_5520 are used to
configure it.
Fixes: 9a1d6af55ecd ("net: t
From: Hou Zhiqiang
The current code accesses eTSEC registers using physical
address directly, it's not correct, though no problem on
current platforms. It won't work on platforms, which does
not support 1:1 virtual-physical address map.
Signed-off-by: Hou Zhiqiang
Reviewed-by: Vladimir Oltean
From: Hou Zhiqiang
Change the compatible string to "fsl,etsec2" for the Ethernet ports,
which is used in the current driver's match table.
Fixes: 69a00875e3db ("doc: dt-bindings: Describe Freescale TSEC ethernet
controller")
Signed-off-by: Hou Zhiqiang
Acked-by: Vladimir Oltean
---
V2:
- No
From: Hou Zhiqiang
This patch set is to fix some issues of eTSEC DM driver.
Hou Zhiqiang (3):
doc: dt-bindings: tsec: Correct the Ethernet port compatible string
net: tsec: Access eTSEC registers using virtual address
net: tsec: Access TBI PHY through the corresponding MII
doc/device-tre
Hi Vladimir,
Thanks a lot for your comments!
> -Original Message-
> From: Vladimir Oltean
> Sent: 2020年5月3日 22:07
> To: Z.q. Hou
> Cc: u-boot ; Joe Hershberger
> ; Bin Meng ; Priyanka
> Jain
> Subject: Re: [PATCH 3/3] net: tsec: Access TBI PHY through the
> corresponding MII
>
> Hi Zh
EFI_STATUS is unsigned (UINTN). Hence it cannot be negative.
Correct comments for 'Return:'.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_setup.c | 2 +-
lib/efi_loader/efi_signature.c | 2 +-
lib/efi_loader/efi_variable.c | 6 +++---
3 files changed, 5 insertions(+), 5 deletio
Eliminate superfluous functions efi_set_volatile_variable() and
efi_set_nonvolatile_variable().
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/efi_variable.c | 141 +-
1 file changed, 37 insertions(+), 104 deletions(-)
diff --git a/lib/efi_loader/efi_varia
From: Ye Li
imx_get_mac_from_fuse is used to load MAC address from fuse. On imx8mp,
we have two different ENET controllers and both need to call this
function. So decouple its declare from fec driver.
Reviewed-by: Fugang Duan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/
From: Fugang Duan
Add dwc eqos for imx support.
Reviewed-by: Ye Li
Signed-off-by: Fugang Duan
Signed-off-by: Peng Fan
---
drivers/net/dwc_eth_qos.c | 187 ++
1 file changed, 173 insertions(+), 14 deletions(-)
diff --git a/drivers/net/dwc_eth_qos.c
From: Ye Li
Implement the read_rom_hwaddr callback to load MAC address from fuse
for imx8m platforms.
Reviewed-by: Fugang Duan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/net/dwc_eth_qos.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/net/dwc_eth_qos.c
From: Fugang Duan
Implement the callbacks to get phy mode interface and txclk
rate configuration.
Reviewed-by: Ye Li
Signed-off-by: Fugang Duan
Signed-off-by: Peng Fan
---
V2:
Fix build break
drivers/net/dwc_eth_qos.c | 55 ---
1 file changed, 5
Hi Peng,
On Sun, 3 May 2020 22:33:23 +0800
Peng Fan peng@nxp.com wrote:
...
> ---
> arch/arm/dts/fsl-imx8dx.dtsi| 619
>
Why is this patch removing the dtsi file?
--
Anatolij
From: Fugang Duan
Add RX delay enable support for RTL8211F PHY.
Reviewed-by: Ye Li
Signed-off-by: Fugang Duan
Signed-off-by: Peng Fan
---
drivers/net/phy/realtek.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c
index 8f1
Add return value check
Signed-off-by: Peng Fan
---
net/eth-uclass.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/net/eth-uclass.c b/net/eth-uclass.c
index 8bf2eabe90..950a48d520 100644
--- a/net/eth-uclass.c
+++ b/net/eth-uclass.c
@@ -40,8 +40,12 @@ static in
From: Ye Li
Update eQoS and fec ethernet drivers to support shared MDIO framework
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/net/dwc_eth_qos.c | 45 +++--
drivers/net/fec_mxc.c | 16 ++--
2 files changed, 45 insertions(+),
From: Ye Li
For dual ethernet controllers, the HW design may connect ETH phys to
one MDIO ports. So two different ethernet drivers have to share MDIO bus.
Since two ethernet drivers are independent, we can't ensure their probe
order.
To resolve this problem, introduce an eth phy generic driver a
From: Leonard Crestez
We are currently using SC_R_LAST as a marker for imx8 power domain tree
nodes without a resource attached. This value is compiled into dtb as
part of the linux build and used by uboot.
The SC_R_LAST constant changes frequently as SCFW resources are added
(by design) and eve
On 02/05/20 9:09 PM, Dario Binacchi wrote:
> Apply u-boot coding style on include files order.
Can you describe more on how you are ordering?
Thanks and regards,
Lokesh
>
> Signed-off-by: Dario Binacchi
> ---
>
> drivers/video/am335x-fb.c | 8
> 1 file changed, 4 insertions(+), 4
From: Ye Li
When fspi is assigned to M4, we have to let the fspi probe failed when
its power domain is failed to power up. Because not all devices have power
domain (for example, external devices on the board). Current checking
resource owner in power domain probe is not good, change to check it
From: Ye Li
If without this flag, calling dev_power_domain_ctrl will iteratively remove
the power domain device will causes iteratively power off parent PD. This is
not expected by imx8-power-domain-legacy driver. Power off parent PD is
controlled by the driver internally.
So set DM_FLAG_DEFAULT
Add power_domain_lookup_name interface to power domain uclass to find
a power domain device by its DTB node name, not using its associated
client device.
Through this interface, we can operate the power domain devices directly.
This is needed for non-DM drivers.
Modified from Ye's NXP downstream
For all the devices used and set ACTIVE in U-Boot, U-Boot needs
to power off all of them without the check of resource owner.
When we create software partition before booting Linux, the resource
own checkw will return false, and cause the power domain not powered
off. If without the check of resou
From: Ye Li
Add the second ECC fuse area for 8QM which is different with 8QXP
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/misc/imx8/fuse.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/misc/imx8/fuse.c b/drivers/misc/imx8/fuse.c
index 1309215d4d..4d7f2f524d 100
From: Ye Li
When power on some sources in Video system, current timeout 10ms is
too short and returns before SCU response. So increase the timeout
to 1s.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/misc/imx8/scu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Hi Zhiqiang,
On Sun, 3 May 2020 at 16:49, Z.q. Hou wrote:
>
> Hi Vladimir,
>
> Thanks a lot for your review and test!
>
> > -Original Message-
> > From: Vladimir Oltean
> > Sent: 2020年5月3日 19:35
> > To: Z.q. Hou
> > Cc: u-boot ; Joe Hershberger
> > ; Bin Meng ; Priyanka
> > Jain
> > Su
From: Ye Li
Fix coverity issue CID 43665: Free of address-of expression (BAD_FREE)
incorrect_free: free frees incorrect pointer pp.
pp points the port array field of struct ahci_uc_priv, should not free it.
Acked-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/ata/dwc_
From: Ye Li
The reset_sata should reset the sata device info and free the
probe_ent memory. Otherwise, it will cause memory leak if we
init the sata again.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/ata/dwc_ahsata.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/
From: Ye Li
Fix coverity issue CID 3261683: Wrong operator used
(CONSTANT_EXPRESSION_RESULT) operator_confusion:
({...; __v;}) | 67108864 is always 1/true regardless of the values
of its operand. This occurs as the logical operand of !
When DIAG_X is set, the PHY COMINIT signal is detected, so
s
From: Ye Li
Fix coverity issue CID 3606684: Resource leak (RESOURCE_LEAK)
leaked_storage: Variable uc_priv going out of scope leaks the storage it points
to
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/ata/dwc_ahsata.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/driv
From: Ye Li
So far u-boot only load SNSR25C for TMU main probe (probe 0). However,
kernel enables two probes. So it also needs to set default SNSR25C of
TCALIV1 for blank samples.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/soc.c | 2 ++
1 f
Support tmu when print cpu info
Signed-off-by: peng Fan
---
arch/arm/mach-imx/cpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c
index bfa85c64c6..2d70b6861d 100644
--- a/arch/arm/mach-imx/cpu.c
+++ b/arch/arm/mach-imx/
Add more fuse bank structure for use.
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx8m/imx-regs.h | 41 +-
1 file changed, 34 insertions(+), 7 deletions(-)
diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h
b/arch/arm/include/asm/arch-imx8m/imx-regs.
From: Ye Li
i.MX8MP thermal which has two probes and supports temperature range
from -40 to 125. The driver still uses default 1p HW
calibration at 25C and loads calibration parameters from fuse.
Reviewed-by: Peng Fan
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/
From: Ye Li
Like iMX8MM, iMX8MN also needs SW to load TMU TASR and TCALIV registers
value from fuse before enabling TMU calibration. Otherwise the calibration
is not exact.
Reviewed-by: Anson Huang
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/soc.c | 2 +-
1 file
The driver is ported form Linux Kernel and support driver model.
Users need to provide the tmu node and sensors nodes in DTB.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/thermal/Kconfig | 9 ++
drivers/thermal/Makefile | 1 +
drivers/thermal/imx_tmu.c | 325 +
When the temperature is out of sensor's range, the Valid bit won't be
set in TRITSR register. So the polling loop won't go out.
Change the codes to retry 10 times with 100ms interval for the Valid bit.
If the timeout, we give a warning for the invalid data.
Modifed from Ye's NXP patch
Signed-off
From: Ye Li
On iMX8MM, the default value of TMU registers TCALIV and TASR need
be loaded from fuse. HW won't do this, it expect SW loads them before
using TMU.
Reviewed-by: Bai Ping
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/soc.c | 28 ++
Support i.MX8MP thermal which has two probes and supports
temperature range from -40 to 125. Still uses default 1p HW
calibration at 25C and loads calibration parameters from fuse.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/thermal/imx_tmu.c | 76 ++
On iMX8MM, the V flag in TRISTR register only reflect the state of SNSR
value, not the calibrated TEMP value. So checking this flag is not
reliable. Per IC suggestion, change to read the TEMP/AVG_TEMP directly
and check whether it in valid range 10-125C.
Signed-off-by: Ye Li
Signed-off-by: Peng F
i.MX8MM TMU needs to load some registers from fuse, this is arch
dependent operation and may vary on different platforms. So add
a interface for arch level initialization.
Signed-off-by: Peng Fan
---
drivers/thermal/imx_tmu.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/ther
The analog sensors on iMX8MM are new, used for 14LPP process. So the
Temperature Sensor Monitoring Unit (TMU) has some change accordingly.
We use version 2 in TMU driver to represent the new TMU, so the one
driver can service for both i.MX8MQ/M.
Signed-off-by: Peng Fan
---
drivers/thermal/imx_tm
From: Ye Li
Add iMX8QM thermal compatible string and its driver data.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/thermal/imx_scu_thermal.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/thermal/imx_scu_thermal.c
b/drivers/thermal/imx_scu_thermal.c
index 7e1
This patchset is to support TMU in i.MX8M family, including
i.MX8QM SCU thermal update.
Peng Fan (8):
thermal: Add thermal driver for i.MX8M
thermal: imx_tmu: Add support for thermal sensor on iMX8MM
thermal: imx_tmu: support TMU arch level initialization
thermal: imx_tmu: Fix for temperat
On 5/3/20 8:33 AM, Frank Wunderlich wrote:
>
>
> Am 2. Mai 2020 12:32:56 MESZ schrieb Marek Vasut :
>> Applied, thanks.
>>
>> btw do you really need such a massive CC list ?
>
> Thanks,
>
> i took To/Cc from v7 (i guess coverletter) to prepare my coverletter and used
> it for complete series.
Hi Vladimir,
Thanks a lot for your review and test!
Thanks,
Zhiqiang
> -Original Message-
> From: Vladimir Oltean
> Sent: 2020年5月3日 19:36
> To: Z.q. Hou
> Cc: u-boot ; Joe Hershberger
> ; Bin Meng ; Priyanka
> Jain
> Subject: Re: [PATCH 2/3] net: tsec: Access eTSEC registers using vir
Hi Vladimir,
Thanks a lot for your review and test!
> -Original Message-
> From: Vladimir Oltean
> Sent: 2020年5月3日 19:35
> To: Z.q. Hou
> Cc: u-boot ; Joe Hershberger
> ; Bin Meng ; Priyanka
> Jain
> Subject: Re: [PATCH 3/3] net: tsec: Access TBI PHY through the
> corresponding MII
>
Hi Vladimir,
Thanks a lot for your ack!
> -Original Message-
> From: Vladimir Oltean
> Sent: 2020年5月3日 19:13
> To: Z.q. Hou
> Cc: u-boot ; Joe Hershberger
> ; Bin Meng ; Priyanka
> Jain ; mario@gdsys.cc
> Subject: Re: [PATCH 1/3] doc: dt-bindings: tsec: Correct the Ethernet port
> c
On Thu, Apr 30, 2020 at 12:34:12PM +0530, Jagan Teki wrote:
> Due to some on board limitation rock960 PCIe
> works only with 1.8V IO domain.
>
> So, this patch enables grf io_sel explicitly
> to make PCIe/M.2 to work.
>
> Cc: Tom Cubie
> Cc: Manivannan Sadhasivam
> Signed-off-by: Jagan Teki
>
From: Frank Li
Add REVC informaiton.
Reviewed-by: Simon Glass
Signed-off-by: Frank Li
Signed-off-by: Peng Fan
---
V3:
None
V2:
Add R-b tag
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/includ
From: Ye Li
iMX8QM registers two thermal devices for CPUs, get the temperature
from "cpu-thermal1" device for A72
Reviewed-by: Simon Glass
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
V3:
None
V2:
Per Simon's comments, use uclass_get_device
drivers/cpu/imx8_cpu.c | 18
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.
Reviewed-by: Simon Glass
Signed-off-by: Peng Fan
---
V3:
None
V2:
Add R-b tag
drivers/cpu/imx8_cpu.c | 27 +--
1 file
Support booting i.MX8QM with A72 as boot cpu
Reviewed-by: Simon Glass
Signed-off-by: Peng Fan
---
V3:
None
V2:
Add R-b tag
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..c4679e1
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.
Reviewed-by: Simon Glass
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
V3:
None
V2:
Add test whether the CPU is U-Boot is running from.
Reviewed-by: Simon Glass
Signed-off-by: Peng Fan
---
V3:
Add R-b tag
V2:
New
test/dm/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/dm/cpu.c b/test/dm/cpu.c
index e6dc576ea3..def9b64a28 100644
--- a/test/dm/cpu.c
+++ b/tes
Return 4 is not correct on i.MX8DX/DXL/8QM and etc. we need to count
available cpu node with device_type "cpu".
Reviewed-by: Simon Glass
Signed-off-by: Peng Fan
---
V3:
None
V2:
Add R-b tag
drivers/cpu/imx8_cpu.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
dif
Support querying whether U-Boot is running on current cpu
Reviewed-by: Simon Glass
Signed-off-by: Peng Fan
---
V3:
Add R-b
V2:
New
drivers/cpu/cpu_sandbox.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/cpu/cpu_sandbox.c b/drivers/cpu/cpu_sandbox.c
index 05b384f6a4..30
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
Hi Simon,
> Subject: Re: [PATCH V2 1/9] uclass: cpu: Add new API to get udevice for
> current CPU
>
> Hi Peng,
>
> On Fri, 1 May 2020 at 07:22, Peng Fan wrote:
> >
> > When running on SoC with multiple clusters, the boot CPU may not be
> > fixed, saying booting from cluster A or cluster B.
> >
Beacon EmbeddedWorks, formerly known as Logic PD, is releasing
a devkit based on the i.MX8M Mini SoC consisting of baseboard +
SOM.
It supports eMMC on the SOM, microSD on the baseboard, various
GPIO, the PINCTRL, and UART.
Signed-off-by: Adam Ford
---
V2: Remove do_reset from SPL and enable ca
Introduce puts hook for dm serial driver.
Signed-off-by: Peng Fan
---
drivers/serial/serial-uclass.c | 13 +++--
include/serial.h | 8
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/drivers/serial/serial-uclass.c b/drivers/serial/serial-uclass.c
i
From: Ye Li
On i.mx7ulp EVK board, we use MX25R6435F NOR flash, add its parameters
and IDs to flash parameter array. Otherwise, the flash probe will fails.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/mtd/spi/spi-nor-ids.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/driver
From: Ye Li
If a pad is not owned by current partition we should not set its
pinmux.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
drivers/pinctrl/nxp/pinctrl-scu.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/pinctrl/nxp/pinctrl-scu.c
b/drivers/pin
1 - 100 of 121 matches
Mail list logo