[linux-sunxi] [PATCH] sunxi: dram: h6: Improve DDR3 config detection

2020-12-03 Thread Jernej Skrabec
It turns out that in rare cases, current analytical approach to detect correct DRAM bus width and rank on H6 doesn't work. On some TV boxes with DDR3, incorrect DRAM configuration triggers write leveling error which immediately stops initialization process. Exact reason why this error appears

Re: [linux-sunxi] Re: [PATCH 7/8] arm64: dts: allwinner: Add Allwinner H616 .dtsi file

2020-12-03 Thread Chen-Yu Tsai
On Thu, Dec 3, 2020 at 11:45 PM André Przywara wrote: > > On 03/12/2020 15:02, Chen-Yu Tsai wrote: > > On Thu, Dec 3, 2020 at 6:54 PM André Przywara > > wrote: > >> > >> On 03/12/2020 03:16, Samuel Holland wrote: > >> > >> Hi, > >> > >>> On 12/2/20 7:54 AM, Andre Przywara wrote: > >>> ... >

Re: [linux-sunxi] Re: [PATCH 7/8] arm64: dts: allwinner: Add Allwinner H616 .dtsi file

2020-12-03 Thread André Przywara
On 03/12/2020 15:02, Chen-Yu Tsai wrote: > On Thu, Dec 3, 2020 at 6:54 PM André Przywara wrote: >> >> On 03/12/2020 03:16, Samuel Holland wrote: >> >> Hi, >> >>> On 12/2/20 7:54 AM, Andre Przywara wrote: >>> ... +soc { +compatible = "simple-bus"; +

Re: [linux-sunxi] Re: [PATCH 7/8] arm64: dts: allwinner: Add Allwinner H616 .dtsi file

2020-12-03 Thread Chen-Yu Tsai
On Thu, Dec 3, 2020 at 6:54 PM André Przywara wrote: > > On 03/12/2020 03:16, Samuel Holland wrote: > > Hi, > > > On 12/2/20 7:54 AM, Andre Przywara wrote: > > ... > >> +soc { > >> +compatible = "simple-bus"; > >> +#address-cells = <1>; > >> +#size-cells =

Re: [linux-sunxi] Re: [PATCH 4/8] clk: sunxi-ng: Add support for the Allwinner H616 R-CCU

2020-12-03 Thread Icenowy Zheng
于 2020年12月3日 GMT+08:00 下午7:07:02, "André Przywara" 写到: >On 02/12/2020 14:31, Icenowy Zheng wrote: > >Hi, > >> 于 2020年12月2日 GMT+08:00 下午9:54:05, Andre Przywara > 写到: >>> The clocks itself are identical to the H6 R-CCU, it's just that the >>> H616 >>> has not all of them implemented (or

[linux-sunxi] Re: [PATCH 4/8] clk: sunxi-ng: Add support for the Allwinner H616 R-CCU

2020-12-03 Thread André Przywara
On 02/12/2020 14:31, Icenowy Zheng wrote: Hi, > 于 2020年12月2日 GMT+08:00 下午9:54:05, Andre Przywara 写到: >> The clocks itself are identical to the H6 R-CCU, it's just that the >> H616 >> has not all of them implemented (or connected). > > For selective clocks, try to follow the practice of V3(s)

[linux-sunxi] Re: [PATCH 7/8] arm64: dts: allwinner: Add Allwinner H616 .dtsi file

2020-12-03 Thread André Przywara
On 03/12/2020 03:16, Samuel Holland wrote: Hi, > On 12/2/20 7:54 AM, Andre Przywara wrote: > ... >> +soc { >> +compatible = "simple-bus"; >> +#address-cells = <1>; >> +#size-cells = <1>; >> +ranges = <0x0 0x0 0x0 0x4000>; >> + >> +

[linux-sunxi] Re: [PATCH 4/8] clk: sunxi-ng: Add support for the Allwinner H616 R-CCU

2020-12-03 Thread André Przywara
On 02/12/2020 18:20, Jernej Škrabec wrote: Hi, > Dne sreda, 02. december 2020 ob 14:54:05 CET je Andre Przywara napisal(a): >> The clocks itself are identical to the H6 R-CCU, it's just that the H616 >> has not all of them implemented (or connected). >> >> Signed-off-by: Andre Przywara >> ---