Re: [PATCH] sunxi: psci: remove redundant initialization from psci_arch_init

2023-08-25 Thread Chen-Yu Tsai
On Tue, Aug 15, 2023 at 4:40 AM Andre Przywara wrote: > > On Wed, 31 May 2023 14:15:20 -0600 > Sam Edwards wrote: > > Hi, > > (CC:ing Marc and Chen-Yu as the original authors) > > sorry for the delay, found that mouldering in my Drafts folder. > > > The nonsec code overrides/handles these: > > -

Re: [PATCH] sunxi: psci: remove redundant initialization from psci_arch_init

2023-08-29 Thread Chen-Yu Tsai
(resent from kernel.org address) On Tue, Aug 29, 2023 at 5:49 AM Sam Edwards wrote: > > On 8/26/23 04:22, Marc Zyngier wrote: > > Hi Marc! > > > The GIC definitely has the NS bit routed to it. Otherwise, the secure > > configuration would just be an utter joke. Just try it. > > Thank you for your

Re: [PATCH] sunxi: psci: remove redundant initialization from psci_arch_init

2023-08-29 Thread Chen-Yu Tsai
On Tue, Aug 29, 2023 at 5:49 AM Sam Edwards wrote: > > On 8/26/23 04:22, Marc Zyngier wrote: > > Hi Marc! > > > The GIC definitely has the NS bit routed to it. Otherwise, the secure > > configuration would just be an utter joke. Just try it. > > Thank you for your response. I'd like to revisit my

Re: [PATCH] rockchip: rk3399: add ethaddr and serial# init, enable for R4S

2022-09-26 Thread Chen-Yu Tsai
On Mon, Sep 26, 2022 at 7:53 PM Christian Kohlschütter wrote: > > Some RK3399 boards, such as newer revisions of NanoPi R4S, do not > provide an EEPROM chip containing a globally unique MAC address. > > Currently, this means that a randomly generated temporary MAC address > may be generated each

Re: [PATCH] rockchip: rk3399: add ethaddr and serial# init, enable for R4S

2022-09-26 Thread Chen-Yu Tsai
On Tue, Sep 27, 2022 at 5:27 AM Christian Kohlschütter wrote: > > > On 26. Sep 2022, at 13:59, Chen-Yu Tsai wrote: > > > > On Mon, Sep 26, 2022 at 7:53 PM Christian Kohlschütter > > wrote: > >> > >> Some RK3399 boards, such as newer revisions of N

Re: [linux-sunxi] [PATCH] sunxi: H616: Enable full 4GB of DRAM

2021-04-28 Thread Chen-Yu Tsai
Hi, On Thu, Apr 29, 2021 at 6:53 AM Andre Przywara wrote: > > The H616 is our first supported Allwinner SoC which goes beyond the 4GB > address space "barrier", by having more than 32 address bits. Nit: I wouldn't say it's the first. The A80 supports up to 8GB address space with LPAE. It just ne

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2023-12-07 Thread Chen-Yu Tsai
On Sun, Dec 03, 2023 at 05:34:01PM +0200, Laurent Pinchart wrote: > Hi Simon, > > Thank you for the patch. > > On Fri, Dec 01, 2023 at 08:54:42PM -0700, Simon Glass wrote: > > Add a script which produces a Flat Image Tree (FIT), a single file > > containing the built kernel and associated devicet

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2023-12-09 Thread Chen-Yu Tsai
On Thu, Dec 7, 2023 at 11:38 PM Laurent Pinchart wrote: > > On Thu, Dec 07, 2023 at 10:27:23PM +0800, Chen-Yu Tsai wrote: > > On Sun, Dec 03, 2023 at 05:34:01PM +0200, Laurent Pinchart wrote: > > > Hi Simon, > > > > > > Thank you for the patch. > > >

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2023-12-13 Thread Chen-Yu Tsai
On Sun, Dec 10, 2023 at 1:31 AM Geert Uytterhoeven wrote: > > Hi Laurent, > > On Sat, Dec 9, 2023 at 4:29 PM Laurent Pinchart > wrote: > > On Sat, Dec 09, 2023 at 10:13:59PM +0900, Chen-Yu Tsai wrote: > > > On Thu, Dec 7, 2023 at 11:38 PM Laurent Pinchart > &

Re: [PATCH v3 3/3] configs: rockchip: imply OF_LIBFDT_OVERLAY for rk3308 and rk3328

2024-07-16 Thread Chen-Yu Tsai
On Wed, Jul 17, 2024 at 12:47 PM FUKAUMI Naoki wrote: > > for rk3308, all defconfigs have CONFIG_OF_LIBFDT_OVERLAY=y, so enable it > by default. > > for rk3328, any defconfig doesn't have it. but there is no strong reason > not to enable it. at least it's required for ROCK Pi E. I wonder if it ma

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2024-01-02 Thread Chen-Yu Tsai
On Fri, Dec 29, 2023 at 2:39 PM Simon Glass wrote: > > Hi Masahiro, > > On Thu, Dec 14, 2023 at 7:34 AM Masahiro Yamada wrote: > > > > On Thu, Dec 14, 2023 at 3:12 PM Masahiro Yamada > > wrote: > > > > > > On Thu, Dec 14, 2023 at 1:03 PM Che

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2024-01-09 Thread Chen-Yu Tsai
Masahiro Yamada > > > wrote: > > > > > > > > On Thu, Dec 14, 2023 at 1:03 PM Chen-Yu Tsai wrote: > > > > > > > > > > On Sun, Dec 10, 2023 at 1:31 AM Geert Uytterhoeven > > > > > wrote: > > > > > >

Re: Proposal: FIT support for extension boards / overlays

2024-01-22 Thread Chen-Yu Tsai
On Tue, Dec 12, 2023 at 10:06 PM Simon Glass wrote: > > Hi, > > The devicetree files for a board can be quite large, perhaps around > 60KB. To boot on any supported board, many of them need to be > provided, typically hundreds. > > All boards for a particular SoC share common parts. It would be >

Re: Proposal: FIT support for extension boards / overlays

2024-01-22 Thread Chen-Yu Tsai
On Thu, Dec 28, 2023 at 1:49 AM Simon Glass wrote: > > Hi Heinrich, > > On Tue, Dec 12, 2023 at 3:43 PM Heinrich Schuchardt > wrote: > > > > On 12.12.23 15:05, Simon Glass wrote: > > > Hi, > > > > > > The devicetree files for a board can be quite large, perhaps around > > > 60KB. To boot on any

Re: [PATCH] sunxi: spl: h616: fix booting from high MMC offset

2024-05-28 Thread Chen-Yu Tsai
ted at 8KB. > > Signed-off-by: Andre Przywara Make sense. Reviewed-by: Chen-Yu Tsai

Re: [PATCH 04/15] rockchip: rk3328-roc-cc: Update defconfig

2024-02-06 Thread Chen-Yu Tsai
28/MAINTAINERS > index 419bc8ded375..09488eaf083f 100644 > --- a/board/rockchip/evb_rk3328/MAINTAINERS > +++ b/board/rockchip/evb_rk3328/MAINTAINERS > @@ -41,8 +41,10 @@ F: > arch/arm/dts/rk3328-orangepi-r1-plus-lts-u-boot.dtsi > ROC-RK3328-CC > M: Loic Devulder &g

Re: [PATCH 04/15] rockchip: rk3328-roc-cc: Update defconfig

2024-02-07 Thread Chen-Yu Tsai
ded375..09488eaf083f 100644 > --- a/board/rockchip/evb_rk3328/MAINTAINERS > +++ b/board/rockchip/evb_rk3328/MAINTAINERS > @@ -41,8 +41,10 @@ F: > arch/arm/dts/rk3328-orangepi-r1-plus-lts-u-boot.dtsi > ROC-RK3328-CC > M: Loic Devulder > M: Chen-Yu Tsa

[PATCH 0/4] rockchip: Read cpuid and generate MAC address from efuse for RK3328 and RK3399

2024-02-09 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Hi folks, This series enables ROCKCHIP_EFUSE and MISC_INIT_R by default for RK3328 and RK3399 so that the cpuid is read from the efuse and used to generate a serial number and MAC addresses for all boards. This stacks on top of the recent defconfig update series [1] from

[PATCH 1/4] rockchip: rk3328: Read cpuid and generate MAC address from efuse

2024-02-09 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The rockchip-efuse driver supports the efuse found on RK3328. This hardware block is part of the SoC and contains the CPUID, which can be used to generate stable serial numbers and MAC addresses. Enable the driver and reading cpuid by default for RK3328. Signed-off-by: Chen

[PATCH 2/4] rockchip: rk3399: Read cpuid and generate MAC address from efuse

2024-02-09 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The rockchip-efuse driver supports the efuse found on RK3399. This hardware block is part of the SoC and contains the CPUID, which can be used to generate stable serial numbers and MAC addresses. Enable the driver and reading cpuid by default for RK3399. Signed-off-by: Chen

[PATCH 3/4] rockchip: rk3328: regenerate defconfigs

2024-02-09 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Regenerate RK3328 defconfigs after adding imply statements. Signed-off-by: Chen-Yu Tsai --- configs/evb-rk3328_defconfig | 2 -- configs/nanopi-r2c-plus-rk3328_defconfig | 2 -- configs/nanopi-r2c-rk3328_defconfig | 2 -- configs/nanopi-r2s

[PATCH 4/4] rockchip: rk3399: regenerate defconfigs

2024-02-09 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Regenerate RK3399 defconfigs after adding imply statements. Signed-off-by: Chen-Yu Tsai --- configs/chromebook_bob_defconfig | 2 -- configs/chromebook_kevin_defconfig| 2 -- configs/firefly-rk3399_defconfig | 2 -- configs/nanopi-r4s

Re: [PATCH 4/4] rockchip: rk3399: regenerate defconfigs

2024-02-10 Thread Chen-Yu Tsai
On Sun, Feb 11, 2024 at 3:49 AM Jonas Karlman wrote: > > Hi Chen-Yu, > > On 2024-02-10 07:32, Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > > > Regenerate RK3399 defconfigs after adding imply statements. > > > > Signed-off-by: Chen-Yu Tsai >

[PATCH v2 0/5] rockchip: Read cpuid and generate MAC address from efuse for RK3328 and RK3399

2024-02-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Hi folks, This is v2 of my "read cpuid and generate MAC address from efuse on RK3328 and RK3399 by default" series. Changes since v1: - Also imply "CONFIG_MISC" - Add back unintentionally removed CONFIG_OF_LIBFDT_OVERLAY=y - Remove ROCKCHIP

[PATCH v2 1/5] rockchip: rk3328: Read cpuid and generate MAC address from efuse

2024-02-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The rockchip-efuse driver supports the efuse found on RK3328. This hardware block is part of the SoC and contains the CPUID, which can be used to generate stable serial numbers and MAC addresses. Enable the driver and reading cpuid by default for RK3328. Signed-off-by: Chen

[PATCH v2 2/5] rockchip: rk3399: Read cpuid and generate MAC address from efuse

2024-02-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The rockchip-efuse driver supports the efuse found on RK3399. This hardware block is part of the SoC and contains the CPUID, which can be used to generate stable serial numbers and MAC addresses. Enable the driver and reading cpuid by default for RK3399. Signed-off-by: Chen

[PATCH v2 3/5] rockchip: rk3328: regenerate defconfigs

2024-02-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Regenerate RK3328 defconfigs after adding imply statements. Signed-off-by: Chen-Yu Tsai Reviewed-by: Christopher Obbard Reviewed-by: Dragan Simic --- configs/evb-rk3328_defconfig | 3 --- configs/nanopi-r2c-plus-rk3328_defconfig | 3 --- configs

[PATCH v2 4/5] rockchip: rk3399: regenerate defconfigs

2024-02-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Regenerate RK3399 defconfigs after adding imply statements. Signed-off-by: Chen-Yu Tsai Reviewed-by: Christopher Obbard Reviewed-by: Dragan Simic Reviewed-by: Quentin Schulz --- configs/chromebook_bob_defconfig | 3 --- configs/chromebook_kevin_defconfig

[PATCH v2 5/5] rockchip: nanopi-r4s: Drop ROCKCHIP_OTP

2024-02-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The NanoPi R4S has an RK3399 SoC, which has efuse supported by ROCKCHIP_EFUSE, not ROCKCHIP_OTP. Signed-off-by: Chen-Yu Tsai --- configs/nanopi-r4s-rk3399_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/nanopi-r4s-rk3399_defconfig b/configs/nanopi-r4s

Re: [PATCH 0/4] rockchip: Read cpuid and generate MAC address from efuse for RK3328 and RK3399

2024-02-12 Thread Chen-Yu Tsai
On Mon, Feb 12, 2024 at 9:57 PM Peter Robinson wrote: > > On Sat, 10 Feb 2024 at 06:32, Chen-Yu Tsai wrote: > > > > From: Chen-Yu Tsai > > > > Hi folks, > > > > This series enables ROCKCHIP_EFUSE and MISC_INIT_R by default for RK3328 > > and RK3

Re: [PATCH v3 8/9] rockchip: rk3328: Add support for ROC-RK3328-CC board

2020-04-30 Thread Chen-Yu Tsai
On Thu, Apr 30, 2020 at 5:08 PM Kever Yang wrote: > > > On 2020/4/27 下午2:52, Chen-Yu Tsai wrote: > > --- a/board/rockchip/evb_rk3328/MAINTAINERS > > +++ b/board/rockchip/evb_rk3328/MAINTAINERS > > @@ -5,6 +5,13 @@ F: board/rockchip/evb_rk3328 > > F:

Re: [PATCH v3 7/9] rockchip: dts: rk3328: Sync device tree files from Linux

2020-05-13 Thread Chen-Yu Tsai
Hi Kurt On Tue, May 12, 2020 at 3:00 AM Kurt Miller wrote: > > On Mon, 2020-04-27 at 14:52 +0800, Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > > > This syncs rk3328 device tree files from the Linux kernel next-20200324. > > The last commit to touch these file

Re: [PATCH v1 0/2] Add roc-rk3328-cc support

2020-03-26 Thread Chen-Yu Tsai
Hi, On Fri, Feb 28, 2020 at 1:47 AM Peter Geis wrote: > > On Fri, Feb 14, 2020 at 9:47 AM Loic Devulder wrote: > > > > This serie add support for roc-rk33239 board from Firefly/Libre > > Computer: > > - add missing L2 cache entry in rk3328 dts > > - add roc-rk3328-cc board support > > > > Wi

[PATCH 4/6] dt-bindings: power: rk3328-power: sync from upstream Linux kernel

2020-03-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai This syncs the rk3328 power domain header file from Linux kernel next-20200324, to support newer hardware blocks when syncing the device tree files. The last non-merge commit to touch it was b24413180f56 ("License cleanup: add SPDX GPL-2.0 license identifier to

[PATCH 1/6] rockchip: dts: rk3328-evb: Move vcc5v0-host-xhci-drv to -u-boot.dtsi

2020-03-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai USB 3.0 is only supported in U-boot, not in the Linux kernel where the device tree files are ultimately synced from. While the xhci node was moved, the external vbus regulator was not. Move it as well. Fixes: 2e91e2025c1b ("rockchip: rk3328: migrate u-boot node

[PATCH 3/6] dt-bindings: clock: rk3328: sync from upstream Linux kernel

2020-03-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai This syncs the rk3328 clock header file from Linux kernel next-20200324, to support newer hardware blocks when syncing the device tree files. The last non-merge commit to touch it was 0dc14b013f79 ("clk: rockchip: add clock id for watchdog pclk on rk3328") Sig

[PATCH 6/6] rockchip: rk3328: Add support for ROC-RK3328-CC board

2020-03-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The ROC-RK3328-CC from Firefly and Libre Computer Project is a credit card size development board based on the Rockchip RK3328 SoC, with: - 1/2/4 GB DDR4 DRAM - eMMC connector for optional module - micro SD card slot - 1 x USB 3.0 host port - 2 x USB 2.0 host port

[PATCH 2/6] rockchip: dts: rk3328-evb: Move gmac2io related nodes to -u-boot.dtsi

2020-03-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The device tree file for rk3328-evb in the Linux kernel does not have gmac2io enabled. Instead, gmac2phy is enabled, but that is not supported in U-boot. Move the gmac2io related nodes to rk3328-evb-u-boot.dtsi to preserve the current functionality. When the device tree files

[PATCH 0/6] rockchip: rk3328: sync dts and add ROC-RK3328-CC board

2020-03-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Hi everyone, This series adds proper support for Firefly / Libre Computer ROC-RK3328-CC single board computer. The ROC-RK3328-CC from Firefly and Libre Computer Project is a credit card size development board based on the Rockchip RK3328 SoC, with: - 1/2/4 GB DDR4 DRAM

[PATCH 5/6] rockchip: dts: rk3328: Sync device tree files from Linux

2020-03-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai This syncs rk3328 device tree files from the Linux kernel next-20200324. The last commit to touch these files is: b2411befed60 ("arm64: dts: add bus to rockchip amba nodenames") Additional changes not yet in the Linux kernel include: arm64: dts: rockch

Re: [PATCH 0/6] rockchip: rk3328: sync dts and add ROC-RK3328-CC board

2020-03-27 Thread Chen-Yu Tsai
Hi, On Fri, Mar 27, 2020 at 11:07 PM Kurt Miller wrote: > > On Fri, 2020-03-27 at 12:41 +0800, Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > > > Hi everyone, > > > > This series adds proper support for Firefly / Libre Computer ROC-RK3328-CC > > single

Re: [PATCH 0/6] rockchip: rk3328: sync dts and add ROC-RK3328-CC board

2020-03-29 Thread Chen-Yu Tsai
On Sat, Mar 28, 2020 at 6:03 AM Kurt Miller wrote: > > On Sat, 2020-03-28 at 01:44 +0800, Chen-Yu Tsai wrote: > > Hi, > > > > On Fri, Mar 27, 2020 at 11:07 PM Kurt Miller > > wrote: > > > > > > > > > On Fri, 2020-03-27 at 12:41 +080

Re: [PATCH 6/6] rockchip: rk3328: Add support for ROC-RK3328-CC board

2020-03-30 Thread Chen-Yu Tsai
On Tue, Mar 31, 2020 at 1:44 AM Jagan Teki wrote: > > Hi Chen-Yu, > > On Fri, Mar 27, 2020 at 10:12 AM Chen-Yu Tsai wrote: > > > > From: Chen-Yu Tsai > > > > The ROC-RK3328-CC from Firefly and Libre Computer Project is a credit > > card size developm

Re: [PATCH 6/6] rockchip: rk3328: Add support for ROC-RK3328-CC board

2020-03-31 Thread Chen-Yu Tsai
On Tue, Mar 31, 2020 at 6:57 PM Jagan Teki wrote: > > On Mon, Mar 30, 2020 at 11:54 PM Chen-Yu Tsai wrote: > > > > On Tue, Mar 31, 2020 at 1:44 AM Jagan Teki > > wrote: > > > > > > Hi Chen-Yu, > > > > > > On Fri, Mar 27, 2020 at 10:1

Re: [PATCH 6/6] rockchip: rk3328: Add support for ROC-RK3328-CC board

2020-04-01 Thread Chen-Yu Tsai
On Tue, Mar 31, 2020 at 8:37 PM Jagan Teki wrote: > > On Tue, Mar 31, 2020 at 5:16 PM Chen-Yu Tsai wrote: > > > > On Tue, Mar 31, 2020 at 6:57 PM Jagan Teki > > wrote: > > > > > > On Mon, Mar 30, 2020 at 11:54 PM Chen-Yu Tsai wrote: > > > &

[PATCH v2 4/6] dt-bindings: power: rk3328-power: sync from upstream Linux kernel

2020-04-04 Thread Chen-Yu Tsai
From: Chen-Yu Tsai This syncs the rk3328 power domain header file from Linux kernel next-20200324, to support newer hardware blocks when syncing the device tree files. The last non-merge commit to touch it was b24413180f56 ("License cleanup: add SPDX GPL-2.0 license identifier to

[PATCH v2 0/6] rockchip: rk3328: sync dts and add ROC-RK3328-CC board

2020-04-04 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Hi everyone, This is v2 of my ROC-RK3328-CC series. Changes from v1 are mainly dropping the custom board target, and dealing with the pinmuxing through proper use of DM regulators / GPIO / pinctrl in SPL. This series adds proper support for Firefly / Libre Computer ROC

[PATCH v2 1/6] rockchip: dts: rk3328-evb: Move vcc5v0-host-xhci-drv to -u-boot.dtsi

2020-04-04 Thread Chen-Yu Tsai
From: Chen-Yu Tsai USB 3.0 is only supported in U-boot, not in the Linux kernel where the device tree files are ultimately synced from. While the xhci node was moved, the external vbus regulator was not. Move it as well. Fixes: 2e91e2025c1b ("rockchip: rk3328: migrate u-boot node

[PATCH v2 5/6] rockchip: dts: rk3328: Sync device tree files from Linux

2020-04-04 Thread Chen-Yu Tsai
From: Chen-Yu Tsai This syncs rk3328 device tree files from the Linux kernel next-20200324. The last commit to touch these files is: b2411befed60 ("arm64: dts: add bus to rockchip amba nodenames") Additional changes not yet in the Linux kernel include: arm64: dts: rockch

[PATCH v2 3/6] dt-bindings: clock: rk3328: sync from upstream Linux kernel

2020-04-04 Thread Chen-Yu Tsai
From: Chen-Yu Tsai This syncs the rk3328 clock header file from Linux kernel next-20200324, to support newer hardware blocks when syncing the device tree files. The last non-merge commit to touch it was 0dc14b013f79 ("clk: rockchip: add clock id for watchdog pclk on rk3328") R

[PATCH v2 2/6] rockchip: dts: rk3328-evb: Move gmac2io related nodes to -u-boot.dtsi

2020-04-04 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The device tree file for rk3328-evb in the Linux kernel does not have gmac2io enabled. Instead, gmac2phy is enabled, but that is not supported in U-boot. Move the gmac2io related nodes to rk3328-evb-u-boot.dtsi to preserve the current functionality. When the device tree files

[PATCH v2 6/6] rockchip: rk3328: Add support for ROC-RK3328-CC board

2020-04-04 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The ROC-RK3328-CC from Firefly and Libre Computer Project is a credit card size development board based on the Rockchip RK3328 SoC, with: - 1/2/4 GB DDR4 DRAM - eMMC connector for optional module - micro SD card slot - 1 x USB 3.0 host port - 2 x USB 2.0 host port

Re: arm64: rk3399: Add support NanoPi R4s

2021-01-31 Thread Chen-Yu Tsai
Hi, On Mon, Feb 1, 2021 at 9:58 AM Kever Yang wrote: > > Hi Xiaobo, > > > Thanks for your update, see comments in line. > > On 2021/1/29 下午10:34, alex tian wrote: > > From c9563fe439e07e760d29a42e737b8265d5772150 Mon Sep 17 00:00:00 2001 > > From: Xiaobo Tian mailto:peterwil...@gmail.com>> >

Re: arm64: rk3399: Add support nanopi r4s

2021-02-07 Thread Chen-Yu Tsai
Hi, On Mon, Feb 8, 2021 at 9:46 AM alex tian wrote: > > From 01598339be9dbeec6ba41c470b29af1c53e29c40 Mon Sep 17 00:00:00 2001 > From: Xiaobo Tian > Date: Mon, 8 Feb 2021 09:40:03 +0800 > Subject: [PATCH] arm64: rk3399: Add support NanoPi R4s Please tag patches with versions or "resent" if no c

Re: [PATCH] arch: arm: rockchip: order the rk3399 entries alphabetically

2020-03-05 Thread Chen-Yu Tsai
On Mon, Jan 20, 2020 at 7:06 PM Peter Robinson wrote: > > On Mon, 20 Jan 2020, 10:08 Kever Yang, wrote: > > > Hi Peter, > > > > On 2020/1/20 下午5:22, Peter Robinson wrote: > > > On Mon, Jan 13, 2020 at 7:03 AM Kever Yang > > wrote: > > >> Hi Peter, > > >> > > >> On 2020/1/8 上午11:56, Peter Robinso

Re: [PATCH V2] rockchip: rk3328: add rockpie-rk3328_defconfig

2020-04-09 Thread Chen-Yu Tsai
On Thu, Apr 9, 2020 at 7:12 PM b.l.huang wrote: > > From f4253df37579aa9d48f98738eb7db3b6a3b9dff5 Mon Sep 17 00:00:00 2001 > From: "banglang.huang" > Date: Thu, 9 Apr 2020 11:49:31 +0800 > Subject: [PATCH V2] rockchip: rk3328: add rockpie-rk3328_defconfig > > The ROCKPI-E is a credit card size SB

Re: [PATCH v2 0/6] rockchip: rk3328: sync dts and add ROC-RK3328-CC board

2020-04-23 Thread Chen-Yu Tsai
opping USB.. > > Host not halted after 16000 microseconds. > > XHCI: failed to set VBus supply > > device_remove: Device 'usb@ff60' failed to remove, but children are > > gone > > > > But for the whole series: Tested-by: Loic Devulder > > > >

Re: [PATCH v2 0/6] rockchip: rk3328: sync dts and add ROC-RK3328-CC board

2020-04-24 Thread Chen-Yu Tsai
On Fri, Apr 24, 2020 at 5:20 AM Peter Geis wrote: > > On Thu, Apr 23, 2020 at 5:24 AM Chen-Yu Tsai wrote: > > > > Hi, > > > > On Tue, Apr 21, 2020 at 1:35 AM Peter Geis wrote: > > > > > > On Thu, Apr 16, 2020 at 5:53 AM Loic Devulder wrote: &

[PATCH v3 2/9] rockchip: dts: rk3328-evb: Move gmac2io related nodes to -u-boot.dtsi

2020-04-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The device tree file for rk3328-evb in the Linux kernel does not have gmac2io enabled. Instead, gmac2phy is enabled, but that is not supported in U-boot. Move the gmac2io related nodes to rk3328-evb-u-boot.dtsi to preserve the current functionality. When the device tree files

[PATCH v3 1/9] rockchip: dts: rk3328-evb: Move vcc5v0-host-xhci-drv to -u-boot.dtsi

2020-04-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai USB 3.0 is only supported in U-boot, not in the Linux kernel where the device tree files are ultimately synced from. While the xhci node was moved, the external vbus regulator was not. Move it as well. Fixes: 2e91e2025c1b ("rockchip: rk3328: migrate u-boot node

[PATCH v3 3/9] rockchip: dts: rk3328: Move OTG node's hnp-srp-disable to rk3328-u-boot.dtsi

2020-04-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The "hnp-srp-disable" property for dwc2 is specific to U-boot, not part of upstream Linux's device tree bindings. Move it to rk3328-u-boot.dtsi to avoid losing it when syncing device tree files. Signed-off-by: Chen-Yu Tsai --- Changes since v2: - New patc

[PATCH v3 6/9] rockchip: rk3328: Disable generic PHY support

2020-04-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The USB PHYs on the RK3328 aren't supported, nor are any other generic PHYs. Because upstream Linux device trees already include the USB PHYs and references in the USB hosts, this would result in various calls to the generic PHY API to fail. Instead, just disable generi

[PATCH v3 4/9] dt-bindings: clock: rk3328: sync from upstream Linux kernel

2020-04-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai This syncs the rk3328 clock header file from Linux kernel next-20200324, to support newer hardware blocks when syncing the device tree files. The last non-merge commit to touch it was 0dc14b013f79 ("clk: rockchip: add clock id for watchdog pclk on rk3328") R

[PATCH v3 9/9] rockchip: dts: rock64: Fix XHCI usage

2020-04-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai If the VBUS regulator is always-on, XHCI will fail to detect USB 3.0 devices; USB 2.0 devices will work however. Make the VBUS regulator controllable and tie it to only the XHCI. This makes all three USB ports usable. Signed-off-by: Chen-Yu Tsai --- Changes since v2

[PATCH v3 5/9] dt-bindings: power: rk3328-power: sync from upstream Linux kernel

2020-04-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai This syncs the rk3328 power domain header file from Linux kernel next-20200324, to support newer hardware blocks when syncing the device tree files. The last non-merge commit to touch it was b24413180f56 ("License cleanup: add SPDX GPL-2.0 license identifier to

[PATCH v3 0/9] rockchip: rk3328: sync dts and add ROC-RK3328-CC board

2020-04-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Hi everyone, This is v3 of my ROC-RK3328-CC series. Changes from v2 are mainly fixing USB functionality on RK3328 in U-boot. This includes restoring the U-Boot specific "hnp-srp-disable" property for dwc2, moving the dwc2 device node after the ehci/ohci ones, and m

[PATCH v3 8/9] rockchip: rk3328: Add support for ROC-RK3328-CC board

2020-04-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The ROC-RK3328-CC from Firefly and Libre Computer Project is a credit card size development board based on the Rockchip RK3328 SoC, with: - 1/2/4 GB DDR4 DRAM - eMMC connector for optional module - micro SD card slot - 1 x USB 3.0 host port - 2 x USB 2.0 host port

[PATCH v3 7/9] rockchip: dts: rk3328: Sync device tree files from Linux

2020-04-26 Thread Chen-Yu Tsai
From: Chen-Yu Tsai This syncs rk3328 device tree files from the Linux kernel next-20200324. The last commit to touch these files is: b2411befed60 ("arm64: dts: add bus to rockchip amba nodenames") Additional changes not yet in the Linux kernel include: arm64: dts: rockch

Re: [PATCH 2/3] sunxi: Add Libre Computer ALL-H3-IT H5 board

2020-01-20 Thread Chen-Yu Tsai
On Tue, Jan 21, 2020 at 3:29 PM Jagan Teki wrote: > > On Sun, Jan 12, 2020 at 9:06 PM Chen-Yu Tsai wrote: > > > > From: Chen-Yu Tsai > > > > The Libre Computer ALL-H3-IT board is a small single board computer that > > is roughly the same size as the Rasp

Re: [PATCH 2/3] sunxi: Add Libre Computer ALL-H3-IT H5 board

2020-01-24 Thread Chen-Yu Tsai
On Fri, Jan 24, 2020 at 2:24 PM Jagan Teki wrote: > > On Tue, Jan 21, 2020 at 1:11 PM Chen-Yu Tsai wrote: > > > > On Tue, Jan 21, 2020 at 3:29 PM Jagan Teki > > wrote: > > > > > > On Sun, Jan 12, 2020 at 9:06 PM Chen-Yu Tsai wrote: > > > >

Re: Pull request: u-boot-rockchip-20200120

2020-01-27 Thread Chen-Yu Tsai
On Tue, Jan 28, 2020 at 2:32 AM Tom Rini wrote: > > On Mon, Jan 27, 2020 at 11:25:16PM +0530, Jagan Teki wrote: > > Hi Tom, > > > > On Thu, Jan 23, 2020 at 11:30 PM Tom Rini wrote: > > > > > > On Mon, Jan 20, 2020 at 10:30:07AM +0800, Kever Yang wrote: > > > > > > > Hi Tom, > > > > > > > > Please

Re: [PATCH 2/3] sunxi: Add Libre Computer ALL-H3-IT H5 board

2020-02-04 Thread Chen-Yu Tsai
On Fri, Jan 24, 2020 at 4:32 PM Chen-Yu Tsai wrote: > > On Fri, Jan 24, 2020 at 2:24 PM Jagan Teki wrote: > > > > On Tue, Jan 21, 2020 at 1:11 PM Chen-Yu Tsai wrote: > > > > > > On Tue, Jan 21, 2020 at 3:29 PM Jagan Teki > > > wrote: > >

Re: [PATCH 1/3] sunxi: dts: OrangePi Zero: Add SPI aliases to make bus usable with u-boot.

2020-09-28 Thread Chen-Yu Tsai
(Resend from @kernel.org address) On Tue, Sep 29, 2020 at 5:02 AM Michal Suchanek wrote: > > The u-boot code relies on aliases to assign bus number. > > Signed-off-by: Michal Suchanek > --- > arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 2 ++ Anything U-boot specific should be done in the *-u

Re: [PATCH 5/5] arm64: dts: meson: add libretech-pc support

2019-12-19 Thread Chen-Yu Tsai
On Fri, Dec 20, 2019 at 2:37 AM Jerome Brunet wrote: > > Add support for the Amlogic based libretech-pc platform. > This platform comes with 2 variant, based on the s905d or s912 SoC. > > Signed-off-by: Jerome Brunet > --- > arch/arm/dts/Makefile | 2 + > arch/arm/dts/m

Re: SUNXI : CONFIG_VIDEO_SUNXI is never set

2019-12-22 Thread Chen-Yu Tsai
On Sun, Dec 22, 2019 at 10:07 PM Arjan van Vught wrote: > > > > > Op 10 mrt. 2019, om 20:18 heeft Arjan van Vught > > het volgende geschreven: > > > > > > > >> Op 7 mrt. 2019, om 09:04 heeft Chen-Yu Tsai het volgende > >> geschreven:

[PATCH 0/3] sunxi: Sync H3/H5 DT and add ALL-H3-IT and ALL-H5-CC

2020-01-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Hi everyone, This patch series syncs up the device tree files and header files for Allwinner H3/H5 SoCs and related boards to linux-next-20200108, and then adds support for Libre Computer ALL-H3-IT H5 and ALL-H5-CC H5 boards. Patch 1 syncs up the device tree files and

[PATCH 2/3] sunxi: Add Libre Computer ALL-H3-IT H5 board

2020-01-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Libre Computer ALL-H3-IT board is a small single board computer that is roughly the same size as the Raspberry Pi Zero, or around 20% smaller than a credit card. The board features: - H2, H3, or H5 SoC from Allwinner - 2 DDR3 DRAM chips - Realtek RTL8821CU based

[PATCH 3/3] sunxi: Add Libre Computer ALL-H5-CC H5 board

2020-01-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai The Libre Computer ALL-H5-CC board is an upgraded version of the ALL-H3-CC. Changes include: - Gigabit Ethernet via external RTL8211E Ethernet PHY - 16 MiB SPI NOR flash memory - PoE tap header - Line out jack removed Only H5 variant test samples were made available

[PATCH 1/3] sunxi: H3/H5 Sync DT files from upstream Linux kernel as of next-20200108

2020-01-12 Thread Chen-Yu Tsai
From: Chen-Yu Tsai Sync the device tree files and device tree header files from upstream Linux kernel, as of 2020-01-08. The commit synced to in the sunxi repo 98d25b0b266d Merge branch 'sunxi/dt-for-5.6' into sunxi/for-next which is also part of next-20200108. Changes brought

Re: [PATCH 0/3] sunxi: Sync H3/H5 DT and add ALL-H3-IT and ALL-H5-CC

2020-01-19 Thread Chen-Yu Tsai
Hi Jagan, On Sun, Jan 12, 2020 at 11:36 PM Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > Hi everyone, > > This patch series syncs up the device tree files and header files for > Allwinner H3/H5 SoCs and related boards to linux-next-20200108, and > then adds support for

Re: [PATCH 10/11] rockchip: misc: Set eth1addr mac address

2023-02-15 Thread Chen-Yu Tsai
On Thu, Feb 16, 2023 at 7:57 AM Jonas Karlman wrote: > > Set eth1addr when there is an ethernet1 alias in the fdt. Maybe it makes sense to set it regardless whether an alias is present or not? The user might be loading a custom FDT for the kernel, or have DT overlays stacked on, either could hav

Re: [PATCH v2] sunxi: psci: Fix sunxi_power_switch on sun8i-r40 platform

2022-05-13 Thread Chen-Yu Tsai
Hi, On Sat, May 14, 2022 at 11:19 AM wrote: > > From: qianfan Zhao > > linux system will die if we offline one of the cpu on R40 based board: > eg: echo 0 > /sys/devices/system/cpu/cpu3/online > > Fixed sunxi_power_switch based on allwinner lichee 3.10 kernel driver. > > Signed-off-by: qianfan Z

Re: [U-Boot] [PATCH 2/9] ARM: Factor out reusable psci_cpu_entry

2015-02-14 Thread Chen-Yu Tsai
Hi, On Sun, Feb 15, 2015 at 5:28 AM, Jan Kiszka wrote: > From: Jan Kiszka > > _sunxi_cpu_entry can be converted completely into a reusable > psci_cpu_entry. Tegra124 will use it as well. > > Signed-off-by: Jan Kiszka > --- > arch/arm/cpu/armv7/psci.S | 19 +++ > arch/arm/

Re: [U-Boot] [linux-sunxi] [PATCH v1 9/9] sunxi: add gmac Ethernet support

2014-03-14 Thread Chen-Yu Tsai
On Fri, Mar 14, 2014 at 6:33 PM, Ian Campbell wrote: > Based linux-sunxi#sunxi commit d854c4de2f57 "arm: Handle .gnu.hash section in > ldscripts" vs v2014.01. > > Signed-off-by: Chen-Yu Tsai > Signed-off-by: Jens Kuske > Signed-off-by: Ian Campbell > --- >

Re: [U-Boot] [linux-sunxi] Re: [PATCH v1 7/9] sunxi: mmc support

2014-03-16 Thread Chen-Yu Tsai
On Mon, Mar 17, 2014 at 4:38 AM, Ian Campbell wrote: > On Fri, 2014-03-14 at 17:36 +0200, Pantelis Antoniou wrote: >> [...] > > Thanks for your review. It seems there are still quite a few issues > dating back to the original allwinner dumps here. > > @linux-sunxi: if anyone wants to volunteer to

Re: [U-Boot] [PATCH 3/6] sunxi: add Cubieboard2 support

2014-07-23 Thread Chen-Yu Tsai
On Thu, Jul 24, 2014 at 11:12 AM, Siarhei Siamashka wrote: > On Thu, 5 Jun 2014 19:00:14 +0100 > Ian Campbell wrote: > >> This is a sun7i (A20) based followup to the sun4i (A10) >> Cubieboard. It has GMAC using MII mode. >> >> Signed-off-by: Ian Campbell >> Acked-by: Hans de Goede > > This boa

Re: [U-Boot] [linux-sunxi] Re: [PATCH 4/7] sunxi: Add CONFIG_MACPWR option

2014-07-28 Thread Chen-Yu Tsai
On Mon, Jul 28, 2014 at 3:48 PM, Ian Campbell wrote: > On Sun, 2014-07-27 at 23:25 +0200, Hans de Goede wrote: >> On some boards the phy needs to be powered up through a gpio, add support for >> this. > > I assume from the context that this is the Ethernet PHY? > > I'm a bit surprised there isn't

Re: [U-Boot] [PATCH 6/7] sunxi: Kconfig: move common settings into a shared code block

2014-08-04 Thread Chen-Yu Tsai
On Tue, Aug 5, 2014 at 5:26 AM, Ian Campbell wrote: > On Fri, 2014-08-01 at 09:46 +0200, Hans de Goede wrote: >> SYS_CPU, SYS_BOARD and SYS_SOC are identical for all sunxi boards, move >> them to a shared code block. >> >> Signed-off-by: Hans de Goede > > This is an improvement so: > Acked-by: Ia

[U-Boot] [PATCH 0/7] ARM: sunxi: Add basic support for Allwinner A31 (sun6i)

2014-09-08 Thread Chen-Yu Tsai
adds mmc support on sun6i. Patch 6 adds uart0 muxing on sun6i. Patch 7 enables sun6i support and adds defconfig for the Colombus board. Cheers ChenYu Chen-Yu Tsai (2): ARM: sunxi: Fix build break when CONFIG_USB_EHCI is not defined ARM: sun6i: Add clock support Hans de Goede (1): ARM

[U-Boot] [PATCH 1/7] ARM: sunxi: Fix build break when CONFIG_USB_EHCI is not defined

2014-09-08 Thread Chen-Yu Tsai
BOOT_TARGET_DEVICES includes USB unconditionally. This breaks when CONFIG_CMD_USB is not defined. Use a secondary macro to conditionally include it when CONFIG_EHCI is enabled, as we do for CONFIG_AHCI. Signed-off-by: Chen-Yu Tsai --- include/configs/sunxi-common.h | 8 +++- 1 file changed

[U-Boot] [PATCH 6/7] ARM: sun6i: Setup the A31 UART0 muxing

2014-09-08 Thread Chen-Yu Tsai
From: Maxime Ripard Signed-off-by: Maxime Ripard Signed-off-by: Hans de Goede [w...@csie.org: commit message was "ARM: sunxi: Setup the A31 UART0 muxing"] Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/board.c | 4 1 file changed, 4 insertions(+) diff --git a/ar

[U-Boot] [PATCH 2/7] ARM: sun6i: Add base address for the new controllers in A31

2014-09-08 Thread Chen-Yu Tsai
From: Oliver Schinagl A31 has several new and changed memory address. This patch adds them. Signed-off-by: Oliver Schinagl Signed-off-by: Hans de Goede Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/arch-sunxi/cpu.h | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm

[U-Boot] [PATCH 7/7] ARM: sunxi: Add basic A31 support

2014-09-08 Thread Chen-Yu Tsai
From: Maxime Ripard Add a new sun6i machine that doesn't do much for now. Signed-off-by: Maxime Ripard Signed-off-by: Hans de Goede [w...@csie.org: use SPDX labels, adapt to Kconfig system, drop ifdef around mmc and smp code, drop MACH_TYPE] Signed-off-by: Chen-Yu

[U-Boot] [PATCH 3/7] ARM: sun6i: Add support for the new power control module found on the A31

2014-09-08 Thread Chen-Yu Tsai
reported by checkpatch.pl] Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/Makefile | 1 + arch/arm/cpu/armv7/sunxi/prcm.c| 37 + arch/arm/include/asm/arch-sunxi/prcm.h | 238 + 3 files changed, 276 insertions(+) create mode 100644 arch

[U-Boot] [PATCH 5/7] ARM: sunxi-mmc: Add mmc support for sun6i / A31

2014-09-08 Thread Chen-Yu Tsai
From: Hans de Goede Signed-off-by: Hans de Goede [w...@csie.org: use setbits_le32 for reset control, drop obsolete changes, squash "sunxi-mmc: sun6i has its fifo at a different address"] Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/arch-sunxi/mmc.h | 2 -- d

[U-Boot] [PATCH 4/7] ARM: sun6i: Add clock support

2014-09-08 Thread Chen-Yu Tsai
checkpatch.pl] Signed-off-by: Chen-Yu Tsai Cc: Tom Cubie --- arch/arm/cpu/armv7/sunxi/Makefile | 1 + arch/arm/cpu/armv7/sunxi/clock_sun6i.c| 107 ++ arch/arm/include/asm/arch-sunxi/clock.h | 4 + arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 205

Re: [U-Boot] [PATCH 1/7] ARM: sunxi: Fix build break when CONFIG_USB_EHCI is not defined

2014-09-11 Thread Chen-Yu Tsai
Hi Ian, Hans, On Mon, Sep 8, 2014 at 9:28 PM, Chen-Yu Tsai wrote: > BOOT_TARGET_DEVICES includes USB unconditionally. This breaks when > CONFIG_CMD_USB is not defined. Use a secondary macro to conditionally > include it when CONFIG_EHCI is enabled, as we do for CONFIG_AHCI. The othe

Re: [U-Boot] [PATCH 1/7] ARM: sunxi: Fix build break when CONFIG_USB_EHCI is not defined

2014-09-12 Thread Chen-Yu Tsai
On Fri, Sep 12, 2014 at 2:57 AM, Ian Campbell wrote: > On Thu, 2014-09-11 at 19:19 +0200, Hans de Goede wrote: >> Hi Chen, >> >> On 09/11/2014 07:07 PM, Chen-Yu Tsai wrote: >> > Hi Ian, Hans, >> > >> > On Mon, Sep 8, 2014 at 9:28 PM, Chen-Yu Tsa

Re: [U-Boot] [linux-sunxi] Re: [PATCH 0/7] ARM: sunxi: Add basic support for Allwinner A31 (sun6i)

2014-09-18 Thread Chen-Yu Tsai
Hi, On Thu, Sep 18, 2014 at 4:31 PM, Hans de Goede wrote: > Hi, > > On 09/18/2014 06:27 AM, Siarhei Siamashka wrote: >> On Tue, 09 Sep 2014 09:00:57 +0200 >> Hans de Goede wrote: >> >>> Hi, >>> >>> On 09/08/2014 03:28 PM, Chen-Yu Tsai wr

Re: [U-Boot] [PATCH 3/7] ARM: sun6i: Add support for the new power control module found on the A31

2014-09-21 Thread Chen-Yu Tsai
Hi, On Mon, Sep 22, 2014 at 1:05 AM, Ian Campbell wrote: > On Mon, 2014-09-08 at 21:28 +0800, Chen-Yu Tsai wrote: >> From: Oliver Schinagl >> >> To setup clocks and control voltages. > > perhaps add "... For P2WI and PIO", since that is apparently what it

  1   2   3   4   5   6   7   8   >