From: Peng Fan
Latest datasheet revE has removed MIMX8ML7D/5D/7C/5C parts, so
update u-boot to remove decoding and support for those parts.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
---
arch/arm/include/asm/arch-imx/cpu.h | 2 --
arch/arm/include/asm/mach-imx/sys_proto.h | 5 +
From: Peng Fan
Add missed return
Signed-off-by: Peng Fan
---
arch/arm/mach-imx/imx8m/clock_imx8mm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-imx/imx8m/clock_imx8mm.c
b/arch/arm/mach-imx/imx8m/clock_imx8mm.c
index 3610f5b2fc..9dde11cded 100644
--- a/arch/arm/mach-imx/i
From: Peng Fan
According to i.MX 7Dual Applications Processor Reference Manual, Rev. 1
The target interface CCM root index ranges [0,124], so the number
should be 125.
Reported-by: Coverity 18045
Signed-off-by: Peng Fan
Reviewed-by: Ye Li
---
arch/arm/include/asm/arch-mx7/crm_regs.h | 2 +-
1
From: Peng Fan
Fix SSCG_PLL_REFCLK_SEL_x, the offset starts from 0, not 16
Reported-by: Coverity 3448860
Signed-off-by: Peng Fan
Reviewed-by: Ye Li
---
arch/arm/include/asm/arch-imx8m/clock_imx8mq.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/include/a
From: Peng Fan
Coverity reported dead code, however it is FRAC_PLL_REFCLK_SEL_MASK
was wrongly set.
Reported-by: Coverity 10045172
Signed-off-by: Peng Fan
Reviewed-by: Ye Li
---
arch/arm/include/asm/arch-imx8m/clock_imx8mq.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/
Hello Mario, Tom,
added Tom to cc ...
Am 08.09.2020 um 07:59 schrieb Heiko Schocher:
Hi Mario,
Am 17.08.2020 um 07:23 schrieb Heiko Schocher:
Hello Mario,
Am 27.05.2020 um 14:43 schrieb Heiko Schocher:
This patch series adds DM ethernet support for mpc83xx based
keymile boards.
Travis bui
Hi Sean
> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Sean Anderson
> Sent: Monday, September 14, 2020 10:23 PM
> To: u-boot@lists.denx.de
> Cc: Alan Quey-Liang Kao(高魁良); Leo Yu-Chi Liang(梁育齊); Heinrich Schuchardt; Bin
> Meng; Rick Chen; Sean Anderson
> Subject: [PATCH v2 6/7]
On 9/11/20 8:46 PM, Patrick DELAUNAY wrote:
> Hi Jaehoon
>
>> From: Jaehoon Chung
>> Sent: vendredi 11 septembre 2020 09:50
>>
>> On 9/10/20 6:54 AM, Alexandru Gagniuc wrote:
>>> mmc_of_parse() can populate the 'f_max' and 'host_caps' fields of
>>> struct mmc_config from devicetree.
>>> The same
On 10:44-20200915, Sean Anderson wrote:
> This converts calls to dev_err to get the device from ti_sci_info where
> appropriate.
>
> Signed-off-by: Sean Anderson
> ---
>
> Changes in v2:
> - New
>
> drivers/firmware/ti_sci.c | 23 ---
> 1
> We can reduce the number of instructions needed to use available_harts_lock
> by using the aq and rl suffixes for AMOs.
>
> Signed-off-by: Sean Anderson
> ---
>
> Changes in v2:
> - Remove fences after amoswaps
> - Reword commit message
>
> arch/riscv/cpu/start.S | 9 +++--
> 1 file changed
> On 9/15/20 5:15 AM, Rick Chen wrote:
> >> Even though we no longer call smp_function if an IPI was not sent by
> >> U-Boot, we still need to clear any IPIs which were pending from the
> >> execution environment. Otherwise, secondary harts will busy-wait in
> >> secondary_hart_loop, instead of rel
On Tue, Sep 15, 2020 at 11:31:13PM +0530, Lokesh Vutla wrote:
> Hi Tom,
> Please find the PR for next branch targeted for v2021.01.
> Details about the PR are updated in the tag message.
>
> Travis CI build:
> https://travis-ci.org/github/lokeshvutla/u-boot/builds/727363752
>
> The follo
On 9/11/20 7:26 PM, Andrii Voloshyn wrote:
> Hi there,
>
> Does U-boot take into account certificate expiration date when verifying
> signed images in FIT? In other words, is date stored along with the public
> key in DTB file?
>
> Cheers,
> Andy
>
Hello Philippe,
looking at padding_pkcs_15
On 9/1/20 2:49 PM, Ahsan Zia (TAU) wrote:
> Hi All,
>
> I need some ideas regarding Boot Over Ehternet. I have been following the u
> boot document as well.
>
> I am attempting BoE from a Linux Server to a cluster of Raspberry Pis.
>
> i.e we have a Ubuntu (linux) Server with Raspbian image, the d
On 8/17/20 11:59 AM, 0x5c4r3 wrote:
> Hello guys,
> I am Matteo Peruzzi, a cyber-security expert.
> I am currently working on a project, creating a root of trust on RPI 2
> using a TPM2 module and U-Boot.
> I noticed that in the latest update, u-boot has an issue: it does not
> detect my USB keyboa
Provide the settings for the debug UART on the QEMU ARM virt board.
Signed-off-by: Heinrich Schuchardt
---
doc/board/emulation/qemu-arm.rst | 10 ++
1 file changed, 10 insertions(+)
diff --git a/doc/board/emulation/qemu-arm.rst b/doc/board/emulation/qemu-arm.rst
index ca751d4af4..8d7fda
Hi Thirupathaiah,
On Tue, 15 Sep 2020 at 00:18, Thirupathaiah Annapureddy
wrote:
>
> Hi Simon,
>
> Thanks for the review.
>
> On 9/6/2020 6:43 PM, Simon Glass wrote:
> >>
> >> diff --git a/Kconfig b/Kconfig
> >> index 883e3f71d0..3959a6592c 100644
> >> --- a/Kconfig
> >> +++ b/Kconfig
> >> @@ -53
Add voltage and thermal management (VTM) node. The efuse values for the
OPPs are stored under the VTM, and is needed for AVS class 0 support.
Signed-off-by: Gowtham Tammana
---
arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/dts/
"cap-mmc-highspeed" enables support for 26 MHz MMC, but there is no
additional flag to enable 52 MHz MMC. In Linux. "cap-mmc-highspeed"
is used for MMC HS at both 26MHz and 52MHz.
Use the same approach and enable MMC_CAP(MMC_HS_52) host capability
when "cap-mmc-highspeed" is found in the devicetre
mmc_of_parse() can populate the 'f_max' and 'host_caps' fields of
struct mmc_config from devicetree.
The same logic is duplicated in stm32_sdmmc2_probe(). Use
mmc_of_parse(), which is more generic.
Signed-off-by: Alexandru Gagniuc
---
Changes from v1:
- Check the return value of mmc_of_parse().
This series adds some additional information to dev_xxx output. This requires
the first argument to dev_xxx to be a struct udevice. The first argument has
never been used in U-Boot, so many drivers have some invalid calls. To fix these
drivers, the following strategies were generally followed
* If
Enable AVS, PMIC and dependent configs.
Signed-off-by: Gowtham Tammana
---
configs/j7200_evm_r5_defconfig | 6 ++
1 file changed, 6 insertions(+)
diff --git a/configs/j7200_evm_r5_defconfig b/configs/j7200_evm_r5_defconfig
index 2908bc30c4..8f1f669830 100644
--- a/configs/j7200_evm_r5_defco
Add pmic lp876411 node needed for CPU AVS support.
Signed-off-by: Gowtham Tammana
---
.../arm/dts/k3-j7200-r5-common-proc-board.dts | 26 +++
1 file changed, 26 insertions(+)
diff --git a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
b/arch/arm/dts/k3-j7200-r5-common-proc-boar
The J7200 EVM has PMIC LP876441 for supporting CPU AVS, addding nodes,
compatible string, and configs to enable the corresponding driver to
support AVS.
Gowtham Tammana (5):
power: pmic: tps65941: Add compatible for LP876441
arm/dts: k3-j7200-r5-common: Add pmic lp876441 node
arm/dts: k3-j72
TI J7200 EVM has lp876441 pmic that is similar to tps65941. Add support
for same with existing driver with new compatible.
Signed-off-by: Gowtham Tammana
---
drivers/power/pmic/tps65941.c | 1 +
include/power/tps65941.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/power/pmi
Hook buck1_reg to vtm avs supply.
Signed-off-by: Gowtham Tammana
---
arch/arm/dts/k3-j7200-r5-common-proc-board.dts | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
b/arch/arm/dts/k3-j7200-r5-common-proc-board.dts
index f96fd862c6..7ce6df28
Hi Tom,
Please see my comment(s) in-line.
On 9/15/2020 6:40 AM, Tom Rini wrote:
> On Mon, Sep 14, 2020 at 11:18:25PM -0700, Thirupathaiah Annapureddy wrote:
>> Hi Simon,
>>
>> Thanks for the review.
>>
>> On 9/6/2020 6:43 PM, Simon Glass wrote:
diff --git a/Kconfig b/Kconfig
index
Hi Tom,
Please find the PR for next branch targeted for v2021.01.
Details about the PR are updated in the tag message.
Travis CI build:
https://travis-ci.org/github/lokeshvutla/u-boot/builds/727363752
The following changes since commit 96d66a9b8ce11aae9f8bef5244b83b4740b37644:
Prepar
On Mon, Sep 14, 2020 at 09:55:58PM +0200, Marek Vasut wrote:
> Add SH4 R2Dplus machine configured to test various U-Boot PCI ethernet
> options -- RTL8139, EEPRO100, AMD PCnet, DEC Tulip.
>
> Signed-off-by: Marek Vasut
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP
On Tue, Sep 15, 2020 at 08:04:19AM +, Peng Fan wrote:
> Hi Tom,
>
> Please pull mmc-2020-9-15
>
> CI: https://travis-ci.org/github/MrVan/u-boot/builds/727229672
>
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Tue, Sep 15, 2020 at 04:23:02PM +0200, Michal Simek wrote:
> Hi Tom,
>
> út 18. 8. 2020 v 2:31 odesílatel Thirupathaiah Annapureddy
> napsal:
> >
> > phy_write() uses bus->write() instead of bus->read(). This means NULL
> > pointer pre-check needs to happen on bus->write instead of bus->read.
There is no member `dev` in dw_mipi_dsi, but there is one in mipi_dsi_host,
so use that.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/video/dw_mipi_dsi.c | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/drivers/video/dw_mipi_dsi.c
This adorns messages generated by dev_xxx with the device and driver
names. It also redirects dev_xxx to log when it is available. The names
of these functions very roughly take inspiration from Linux, but there is
no deeper correlation.
Both struct udevice and struct device are supported when log
This substitutes literal log levels with their symbolic constants.
Signed-off-by: Sean Anderson
---
(no changes since v1)
include/dm/device_compat.h | 21 +++--
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/include/dm/device_compat.h b/include/dm/device_compat
This can conflict with asm/io.h on some archs, and it isn't needed to build
dwc3-generic.c
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/usb/dwc3/dwc3-generic.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c
This driver does not use DM, so we need to use a struct device instead of a
struct udevice. Not ideal, but it'll have to do for now.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/usb/musb-new/sunxi.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/d
This logs with the device from struct dwc3. Some files also need to include
dm.h so fields in udevice can be accessed.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/usb/dwc3/core.c | 15 ---
drivers/usb/dwc3/ep0.c| 1 +
drivers/usb/dwc3/gadget.c | 23
This driver does not use DM, so use log_xxx instead.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/usb/dwc3/ti_usb_phy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc3/ti_usb_phy.c b/drivers/usb/dwc3/ti_usb_phy.c
index f8ab06482c..f4768
This adds a dev argument to some functions so dev_xxx always has a device
to log with. In one instance we must use use a different log function when
we are compiled without DM_USB.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/usb/host/dwc2.c | 39 +++---
Pass a device to functions which log with one.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/remoteproc/k3_system_controller.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/remoteproc/k3_system_controller.c
b/drivers/remoteproc/k3_system_
ep0.c also need to include dm.h so dev_xxx can access udevice fields.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/usb/cdns3/ep0.c| 5 +++--
drivers/usb/cdns3/gadget.c | 3 +--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/cdns3/ep0.c b/drivers
Use `bus` and not `dev`.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/spi/spi-sunxi.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/spi/spi-sunxi.c b/drivers/spi/spi-sunxi.c
index cd2e17bfd1..0844a5a0a6 100644
--- a/drivers/spi/spi-sunxi.c
+
Use `bus` instead of `dev`.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/spi/zynqmp_gqspi.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c
index a72986be90..e0e6687037 100644
--- a/drivers/spi/z
The rst variable doesn't exist.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/sysreset/sysreset-ti-sci.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/sysreset/sysreset-ti-sci.c
b/drivers/sysreset/sysreset-ti-sci.c
index 3877b9bc12..7707c72bb5 1
Usually we can get a device from the current core, but some dev_dbg calls
have been converted to debug, since we are called on a cluster.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/remoteproc/ti_k3_r5f_rproc.c | 24 ++--
1 file changed, 14 insertions(+),
Use the phy's device.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/phy/phy-stm32-usbphyc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/phy-stm32-usbphyc.c b/drivers/phy/phy-stm32-usbphyc.c
index c6d3048602..9d4296d649 100644
--- a/drivers/ph
Remove the indirection.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/smem/msm_smem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/smem/msm_smem.c b/drivers/smem/msm_smem.c
index 2557269bc5..597d425d11 100644
--- a/drivers/smem/msm_smem.c
+++ b/dr
This function is never used anywhere, and it also tries to log with a
nonexistant device.
Signed-off-by: Sean Anderson
---
(no changes since v1)
drivers/remoteproc/rproc-elf-loader.c | 16
include/remoteproc.h | 13 -
2 files changed, 29 deletions(
`phy` doesn't exist; we need to use `x` instead.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/phy/phy-ti-am654.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/phy/phy-ti-am654.c b/drivers/phy/phy-ti-am654.c
index 6907c1afb3..cc73760c8b 100644
This uses phy's device
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/phy/allwinner/phy-sun4i-usb.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c
b/drivers/phy/allwinner/phy-sun4i-usb.c
index f050645044..7
Without DM_ETH, cpsw_priv.dev is an eth_device. Just use its name instead.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/net/ti/cpsw.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c
index d6fefe5306..1c11257839 100644
---
Get the device from phy, or pass the phy in.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/phy/rockchip/phy-rockchip-pcie.c | 14 +++---
drivers/phy/rockchip/phy-rockchip-typec.c | 6 +++---
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/phy/
Pass a udevice into a few functions so `dev` is defined.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/net/sun8i_emac.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c
index 546cc6ccb6..1dae81c7bf
No need for indirection here.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/phy/marvell/comphy_core.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/phy/marvell/comphy_core.c
b/drivers/phy/marvell/comphy_core.c
index 27bff27ff7..5e8ce740cd 10
There's no dev to log with, so pass the device along with the priv data.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/net/sunxi_emac.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c
index df18ecc064.
netdev_xxx evaluates to printf in U-Boot, so there is no extra info
printed. mvpp2 one of only two drivers which use these functions in U-Boot.
Convert these functions to dev_xxx where possible (and to log_xxx where
not).
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/net/mvpp2.
netdev_xxx evaluates to printf in U-Boot, so there is no extra info
printed. mvneta is one of two drivers which use these functions in U-Boot.
Convert these functions to dev_xxx where possible (and to log_xxx where
not).
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/net/mvneta.
No drivers in U-Boot use these functions.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
include/linux/compat.h | 19 ---
1 file changed, 19 deletions(-)
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 363b2b9425..d129780312 100644
--- a/include/linux
Remove some prefixes, or get the device from the phy.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/net/mvpp2.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c
index a5747a25ab..6f3ee235d1 1
No need for indirection here.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/net/mvneta.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c
index 4c7d06ca40..2c93fe42f7 100644
--- a/drivers/net/mvneta.c
+++ b/driv
There are too many levels of indirection when calling dev_err. This is an
artifact of the conversion of brcmnand_host.pdev from a struct
platform_device (which has a member `dev` pointing to a struct device) to
struct udevice.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/mtd/n
Use mtd_info to get a device to log with.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/mtd/nand/raw/atmel_nand.c | 69 +--
1 file changed, 39 insertions(+), 30 deletions(-)
diff --git a/drivers/mtd/nand/raw/atmel_nand.c
b/drivers/mtd/nand/raw/atme
The name of the device we are working on is `ethdev` and not just `dev`.
Signed-off-by: Sean Anderson
---
(no changes since v1)
net/mdio-uclass.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/mdio-uclass.c b/net/mdio-uclass.c
index 66ee2e1976..b5e8e46512 100644
--
This member was presumably dropped when this driver was converted from
Linux. However, it is still used in log statements during initialization.
This patch adds the member back. In addition, allocation of struct
vf610_nfc has been moved to the callers of vf610_nfc_nand_init. This allows
it to be al
Remove the pdev indirection.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/net/bcm6368-eth.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/bcm6368-eth.c b/drivers/net/bcm6368-eth.c
index 648fafd3e0..38a2a30fe6 100644
--- a/drivers/net/bcm6368
This macro is necessary for arasan_zynqmp_dll_reset to compile.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
include/mmc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/mmc.h b/include/mmc.h
index 82562193cc..75bcaaf6b3 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@
This adds a udevice parameter to get_best_delay and msdc_set_mclk so they
can call dev_err properly.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/mmc/mtk-sd.c | 24 +---
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/drivers/mmc/mtk-sd.c b/
dev needs to be gotten from mbox_chan
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/mailbox/k3-sec-proxy.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/mailbox/k3-sec-proxy.c b/drivers/mailbox/k3-sec-proxy.c
index 3f9afaed32..27ccc6eab0 1006
dev needs to be qualified as a member of host.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/mmc/bcm2835_sdhost.c | 34 +-
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/drivers/mmc/bcm2835_sdhost.c b/drivers/mmc/bcm2835_sdhost.c
Get it from spinand->slave->dev. Another option would be to use
spinand_to_mtd(spinand)->dev, but this is what the existing code uses.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/mtd/nand/spi/core.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/d
This fixes dev_xxx() not always being called with a device. In
spi_nor_reg_read, a the slave device may not always be available, so we use
bus and cs instead.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/mtd/spi/spi-nor-tiny.c | 21 -
1 file changed, 16 ins
This header is needed so struct udevice can be used in dev_xxx().
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/mtd/spi/spi-nor-core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/spi/spi-nor-core.c b/drivers/mtd/spi/spi-nor-core.c
index 0113e70037..e16b0e146
The udevice we are working with is called `bus` and not `dev`.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/i2c/mxc_i2c.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c
index e3d980a9df..7609594bd0 10064
Usually the device is gotten from sunxi_nfc. This is a struct device and
not a struct udevice, but the whole driver seems to be written wihout DM
anyway...
In a few instances, this patch modifies functions to take an nfc to log
with. In once instance we use mtd_info's device since there is no nfc.
Use the device from any mtd already available, or from the active mtd via
pxa3xx_nand_info if one is not.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/mtd/nand/raw/pxa3xx_nand.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git
We can't use dev_dbg here because we haven't bound to the device yet. Use
log_debug instead.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/core/syscon-uclass.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/core/syscon-uclass.c b/drivers/core/syscon
This converts calls to dev_err to get the device from ti_sci_info where
appropriate.
Signed-off-by: Sean Anderson
---
Changes in v2:
- New
drivers/firmware/ti_sci.c | 23 ---
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/drivers/firmware/ti_sci.c b/drivers/
Synchronize RZ/G2M SoC DTs with mainline Linux 5.9-rc4 commit
f4d51dffc6c0 ("Linux 5.9-rc4")
Signed-off-by: Biju Das
Reviewed-by: Lad Prabhakar
---
arch/arm/dts/r8a774a1.dtsi| 10 +-
include/dt-bindings/clock/r8a774a1-cpg-mssr.h | 96 +--
include/dt-bindings/
The HiHope RZ/G2M board from HopeRun consists of main board
(HopeRun HiHope RZ/G2M main board) and sub board(HopeRun
HiHope RZ/G2M sub board). The HiHope RZ/G2M sub board sits
below the HiHope RZ/G2M main board.
DTS files apart from r8a774a1-hihope-rzg2m-u-boot.dts and
r8a774a1-u-boot.dtsi have be
Add CPU and PRR IDs for R8A774A1(a.k.a RZ/G2M) SoC.
RZ/Gx SoC's are identical to R-Car SoC's apart from some automotive
peripherals and they also share the same PRR CPU ID's.
For example the RZ/G2M SoC has the same PRR ID 0x52 as R-Car M3W SoC.
To differentiate RZ/G SoC's from R-Car SoC's add a
R8A774A1 is part of Renesas RZ/G2 series and not R-Car, reflect the same
for PINCTRL_PFC_R8A774A1 help description
Alongside, sort the PINCTRL_PFC_R8A774A1 config option as per increasing
number of the SoC.
Signed-off-by: Biju Das
Reviewed-by: Lad Prabhakar
---
drivers/pinctrl/renesas/Kconfig
This patch series adds the required SoC/Board support to boot HopeRun
HiHope RZ/G2M board.
Biju Das (4):
pinctrl: renesas: Fix PINCTRL_PFC_R8A774A1 help description
arm: dts: r8a774a1: Import DTS from Linux 5.9-rc4
arm: rmobile: Add RZ/G2M SoC
arm: rmobile: Add HopeRun HiHope RZ/G2M board
On 15. 09. 20 16:10, Biju Das wrote:
> Some phy's like rtl8211e do not support writeext() callback. Add a check to
> avoid null pointer access before calling writeext() callback.
>
> Signed-off-by: Biju Das
> Reviewed-by: Lad Prabhakar
> ---
> drivers/net/ravb.c | 3 ++-
> 1 file changed, 2
Hi Tom,
út 18. 8. 2020 v 2:31 odesílatel Thirupathaiah Annapureddy
napsal:
>
> phy_write() uses bus->write() instead of bus->read(). This means NULL
> pointer pre-check needs to happen on bus->write instead of bus->read.
>
> Signed-off-by: Thirupathaiah Annapureddy
> ---
> include/phy.h | 2 +-
The interrupt controller property is removed from the clint binding because
the clint is not an interrupt-controller. That is, no other devices have an
interrupt which is controlled by the clint.
Signed-off-by: Sean Anderson
Reviewed-by: Bin Meng
---
(no changes since v4)
Changes in v4:
- Remo
We currently do this in a u-boot specific dts, but hopefully we can get
these bindings added in Linux in the future.
Signed-off-by: Sean Anderson
Reviewed-by: Pragnesh Patel
Reviewed-by: Bin Meng
---
This patch builds but has NOT been tested.
(no changes since v2)
Changes in v2:
- Fix SiFive
This merges the PLIC initialization code from two functions into one.
Signed-off-by: Sean Anderson
Reviewed-by: Bin Meng
---
This patch builds but has NOT been tested.
(no changes since v1)
arch/riscv/lib/andes_plic.c | 58 -
1 file changed, 25 insertions(+
This converts the clint driver from the riscv-specific interface to be a
DM-based UCLASS_TIMER driver. In addition, the SiFive DDR driver previously
implicitly depended on the CLINT to select REGMAP.
Unlike Andes's PLMT/PLIC (which AFAIK never have anything pass it a dtb),
the SiFive CLINT is part
Another "virtual" clock (in the sense that it isn't configurable). This
could possibly be done as a clock in the device tree, but I think this is a
bit cleaner.
Signed-off-by: Sean Anderson
---
checkpatch still complains about this one, but I don't see any reason to
break it up even further. It d
This function is designed to be used when a timer used to be initialized by
the cpu (e.g. RISC-V timers), but now is initialized by dm_timer_init. In
such a case, the timer may prefer to use the clocks and clock-frequency
properties, but should be able to fall back on using the cpu's
timebase-frequ
This series cleans up the timer drivers in RISC-V and converts them to DM.
This series needs to be tested! I have only tested it on QEMU and the K210.
Notably, this means that the HiFive and anything Andes is completely untested.
This series depends on [1]. Without that patch, build will fail for
This converts the PLMT driver from the riscv-specific timer interface to be
a DM-based UCLASS_TIMER driver.
The clock-frequency/clocks properties are preferred over timebase-frequency
for two reasons. First, properties which affect a device should be located
near its binding in the device tree. Us
The riscv-timer driver currently serves as a shim for several riscv timer
drivers. This is not too desirable because it bypasses the usual timer
selection via the driver model. There is no easy way to specify an
alternate timing driver, or have the tick rate depend on the cpu's
configured frequency
To test this function, sandbox CPU must set cpu_platdata.timebase_freq on
bind. It also needs to expose a method to set the current cpu. I also make
some most members of cpu_sandbox_ops static.
On the timer side, the device tree property
sandbox,timebase-frequency-fallback controls whether sandbox
Add support to identify R8A7796 r1.3 SoC.
Signed-off-by: Biju Das
Reviewed-by: Lad Prabhakar
---
arch/arm/mach-rmobile/cpu_info-rcar.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-rmobile/cpu_info-rcar.c
b/arch/arm/mach-rmobile/cpu_info-rcar.c
inde
Some phy's like rtl8211e do not support writeext() callback. Add a check to
avoid null pointer access before calling writeext() callback.
Signed-off-by: Biju Das
Reviewed-by: Lad Prabhakar
---
drivers/net/ravb.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/r
On Tue, Sep 15, 2020 at 03:58:43PM +0200, Michal Simek wrote:
>
>
> On 12. 09. 20 12:42, Marek Vasut wrote:
> > Repair incorrectly negated condition in the original patch which broke
> > DT memory node parsing on everything which has more than one DT memory
> > node, e.g. R-Car3.
> >
> > In case
On 12. 09. 20 12:42, Marek Vasut wrote:
> Repair incorrectly negated condition in the original patch which broke
> DT memory node parsing on everything which has more than one DT memory
> node, e.g. R-Car3.
>
> In case multiple valid memory nodes are present in the DT, the original
> patch woul
On 14/09/20 12:11 pm, Faiz Abbas wrote:
> The following patches add spi boot support to TI's am335x-icev2 platform
>
> v2:
> 1. Changed order of patches to avoid breaking build
> 2. Changed SPI_OFFSET to SPI0_OFFSET and moved the define
>arch/arm/mach-omap2/am335x/board.c
> 3. Updated MAINT
On 19/08/20 12:39 am, Suman Anna wrote:
> Hi Lokesh,
>
> The following series adds the support for the branch-only boot of an
> application firmware on MCU R5F from R5 SPL after it has finished
> launching the A72.
>
> Most of the changes are just related to updating J7200 defconfigs or
> dts
1 - 100 of 139 matches
Mail list logo