[linux-sunxi] [GIT PULL] sunxi: Last minute Allwinner H616 fixes

2021-03-31 Thread Andre Przywara
Hi Tom,

please pull the sunxi master branch, containing two fixes to make U-Boot
match the H616 TF-A port, which has been merged this morning.
The link address of BL31 was changed last minute, so we need to fix this
in U-Boot as well. Since the H616 support was only added to U-Boot in
this cycle, this should hit the v2021.04 release still, to avoid
compatibility issues.

Booted to the Linux prompt on the OrangePi Zero2 and on a Pine64-LTS,
build tested for all 156 sunxi boards.

Thanks,
Andre

==

The following changes since commit d8eafb16c85bc3b5d85d7ba8ebb1438cc0ae168f:

  Prepare v2021.04-rc5 (2021-03-29 17:20:13 -0400)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-sunxi.git 

for you to fetch changes up to 62acef239f77583f3083f8c842ea2d28f4a1623c:

  sunxi: dts: H616: Drop reserved-memory node (2021-03-31 09:50:31 +0100)


Andre Przywara (2):
  sunxi: H616: Change TF-A load address to beginning of DRAM
  sunxi: dts: H616: Drop reserved-memory node

 arch/arm/dts/sun50i-h616.dtsi  | 12 
 arch/arm/dts/sunxi-u-boot.dtsi |  2 +-
 2 files changed, 1 insertion(+), 13 deletions(-)

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/20210331100229.23557-1-andre.przywara%40arm.com.


Re: [linux-sunxi] [PATCH] arm64: dts: allwinner: h6: beelink-gs1: Remove ext. 32 kHz osc reference

2021-03-31 Thread Clément Péron
Hi Jernej,

On Tue, 30 Mar 2021 at 20:42, Jernej Skrabec  wrote:
>
> Although every Beelink GS1 seems to have external 32768 Hz oscillator,
> it works only on one from four tested. There are more reports of RTC
> issues elsewhere, like Armbian forum.
>
> One Beelink GS1 owner read RTC osc status register on Android which
> shipped with the box. Reported value indicated problems with external
> oscillator.
>
> In order to fix RTC and related issues (HDMI-CEC and suspend/resume with
> Crust) on all boards, switch to internal oscillator.
>
> Fixes: 32507b868119 ("arm64: dts: allwinner: h6: Move ext. oscillator to 
> board DTs")
> Signed-off-by: Jernej Skrabec 

Tested-by: Clément Péron 

> ---
>  arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 4 
>  1 file changed, 4 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts 
> b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts
> index 669d39fc716a..6249e9e02928 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts
> @@ -289,10 +289,6 @@ sw {
> };
>  };
>
> -&rtc {
> -   clocks = <&ext_osc32k>;
> -};
> -
>  &spdif {
> status = "okay";
>  };
> --
> 2.31.0
>
> --
> You received this message because you are subscribed to the Google Groups 
> "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to linux-sunxi+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit 
> https://groups.google.com/d/msgid/linux-sunxi/20210330184218.279738-1-jernej.skrabec%40siol.net.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/CAJiuCcc4hs781Hz_%3Dtehcm4S2nci8e0DEJKeUY5ck%3DbpcgNUbg%40mail.gmail.com.


[linux-sunxi] Re: [GIT PULL] sunxi: Last minute Allwinner H616 fixes

2021-03-31 Thread Tom Rini
On Wed, Mar 31, 2021 at 11:02:29AM +0100, Andre Przywara wrote:

> Hi Tom,
> 
> please pull the sunxi master branch, containing two fixes to make U-Boot
> match the H616 TF-A port, which has been merged this morning.
> The link address of BL31 was changed last minute, so we need to fix this
> in U-Boot as well. Since the H616 support was only added to U-Boot in
> this cycle, this should hit the v2021.04 release still, to avoid
> compatibility issues.
> 
> Booted to the Linux prompt on the OrangePi Zero2 and on a Pine64-LTS,
> build tested for all 156 sunxi boards.
> 
> Thanks,
> Andre
> 
> ==
> 
> The following changes since commit d8eafb16c85bc3b5d85d7ba8ebb1438cc0ae168f:
> 
>   Prepare v2021.04-rc5 (2021-03-29 17:20:13 -0400)
> 
> are available in the Git repository at:
> 
>   https://source.denx.de/u-boot/custodians/u-boot-sunxi.git 
> 
> for you to fetch changes up to 62acef239f77583f3083f8c842ea2d28f4a1623c:
> 
>   sunxi: dts: H616: Drop reserved-memory node (2021-03-31 09:50:31 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/20210331134703.GY1310%40bill-the-cat.


signature.asc
Description: PGP signature


[linux-sunxi] Re: [PATCH 0/2] A64/R40 DRAM controller dual-rank-related changes

2021-03-31 Thread Andre Przywara
On Fri, 26 Feb 2021 00:13:23 +0800
Icenowy Zheng  wrote:

> This patchset contains two patches.
> 
> The first one enables asymmetric dual rank DRAM on A64. This is needed
> for 3GiB PinePhone, which has 2GiB rank 0 and 1GiB rank 1. This patch is
> already used by the firmware flashed to PinePhone by factory.
> 
> The second one enables dual rank (and asymmetric dual rank, although not
> tested because of lack of real board) on R40. In order to support single
> rank and dual rank at the same time, a new rank detection code is
> implemented (because PIR_QSGATE-based one does not work on R40). The
> code enables some error report facility of the DRAM controller, and
> then tries to access rank 1 and then check for error. It's placed at 2nd
> patch because it depends on the function that calculates rank 0 size
> (and rank 1 base address) introduced in PATCH 1.

Thanks, queued both for -next.
I moved the call to mctl_r40_detect_rank_count() and mctl_set_cr() into
sunxi_dram_init(), to avoid the size regression.

Cheers,
Andre


> 
> Icenowy Zheng (2):
>   sunxi: support asymmetric dual rank DRAM on A64/R40
>   sunxi: enable dual rank memory on R40
> 
>  .../include/asm/arch-sunxi/dram_sunxi_dw.h|  11 +-
>  arch/arm/mach-sunxi/dram_sunxi_dw.c   | 149 +++---
>  2 files changed, 131 insertions(+), 29 deletions(-)
> 

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/20210331165740.724fbc3a%40slackpad.fritz.box.