I'm also a user of an A33 Q8 tablet with GSL1680.
However, I think a devicetree-per-device structure is not unacceptable...
We can still have sun{5,8}i-q8.common.dtsi, and write most of the q8 codes
there.
Then the device dt can only contain wifi, touchscreen, accelerometer. (after
including
2017年2月8日 10:44于 Bin Meng <bmeng...@gmail.com>写道:
>
> On Tue, Feb 7, 2017 at 8:58 PM, Icenowy Zheng <icen...@aosc.xyz> wrote:
> > As cfb_console now can expose its GraphicDevice, use it in the
> > implementation of EFI GOP protocol, so that the graphics framebu
2017年1月24日 01:29于 Maxime Ripard 写道:
>
> On Sat, Jan 21, 2017 at 03:15:27PM +, André Przywara wrote:
> > >>> On Fri, Jan 20, 2017 at 01:53:28AM +, Andre Przywara wrote:
> > For a board or platform to support FIT loading in the SPL, it has to
> >
2017年1月26日 18:45于 Maxime Ripard 写道:
>
> On Wed, Jan 25, 2017 at 02:22:45AM +, Andre Przywara wrote:
> > The Allwinner H5 Soc is bascially an H3 with high SRAM and ARMv8 cores.
> > As the peripherals and the pinmuxing are almost identical, we piggy
> > back
21.01.2017, 05:56, "André Przywara" :
> On 20/01/17 21:35, Maxime Ripard wrote:
>
> Hi Maxime,
>
> thanks for having a look!
>
>> On Fri, Jan 20, 2017 at 01:53:28AM +, Andre Przywara wrote:
>>> For a board or platform to support FIT loading in the SPL, it has to
>>>
21.01.2017, 05:56, "André Przywara" :
> On 20/01/17 21:35, Maxime Ripard wrote:
>
> Hi Maxime,
>
> thanks for having a look!
>
>> On Fri, Jan 20, 2017 at 01:53:28AM +, Andre Przywara wrote:
>>> For a board or platform to support FIT loading in the SPL, it has to
>>>
2017年2月12日 00:59于 Jens Kuske <jensku...@gmail.com>写道:
>
> Hi.
>
> On 11.02.2017 16:08, Icenowy Zheng wrote:
> [..]
> > @@ -299,6 +190,13 @@ static void mctl_h3_zq_calibration_quirk(struct
> > dram_para *para)
> > {
> > struct sunxi_
12.02.2017, 01:00, "Jens Kuske" <jensku...@gmail.com>:
> Hi.
>
> On 11.02.2017 16:08, Icenowy Zheng wrote:
> [..]
>> @@ -299,6 +190,13 @@ static void mctl_h3_zq_calibration_quirk(struct
>> dram_para *para)
>> {
>>
12.02.2017, 01:00, "Jens Kuske" <jensku...@gmail.com>:
> Hi,
>
> renaming is not quite enough, see the comments below.
>
> On 11.02.2017 16:08, Icenowy Zheng wrote:
>> The DesignWare DRAM controller used by H3 and newer SoCs use a bit to
>> identify w
Allwinner SoCs after H3 (e.g. A64, H5, R40, V3s) uses a H3-like
DesignWare DRAM controller, which do not have official free DRAM
initialization code, but can use modified dram_sun8i_h3.c.
Add a invisible option for easier DRAM initialization code reuse.
Signed-off-by: Icenowy Zheng <i
Basic U-Boot support is now present for V3s.
Some memory addresses are changed specially for V3s, as the original
address map cannot fit into a so small DRAM.
As the DRAM controller code needs a big refactor, the SPL support is
disabled in this version.
Signed-off-by: Icenowy Zheng <i
2017年2月13日 15:17于 Maxime Ripard <maxime.rip...@free-electrons.com>写道:
>
> Hi,
>
> On Sat, Feb 11, 2017 at 07:11:02PM +0800, Icenowy Zheng wrote:
> > @@ -0,0 +1,13 @@
> > +CONFIG_ARM=y
> > +CONFIG_ARCH_SUNXI=y
> > +# CONFIG_ARMV7_NONSEC is n
2017年1月16日 15:59于 Maxime Ripard 写道:
>
> On Fri, Jan 13, 2017 at 01:30:00AM +, Andre Przywara wrote:
> > The Allwinner H5 is very close to the H3 SoC, but has ARMv8 cores.
> > To allow sharing the clocks, GPIO and driver code easily, create an
> >
21.01.2017, 01:47, "Andre Przywara" :
> Hi,
>
> On 20/01/17 17:35, Andrew F. Davis wrote:
>> On 01/20/2017 11:17 AM, Andre Przywara wrote:
>>> Hi Andrew,
>>>
>>> thanks for the comments.
>>>
>>> On 20/01/17 17:02, Andrew F. Davis wrote:
On 01/19/2017 07:53 PM,
2017年3月1日 23:51于 Maxime Ripard 写道:
>
> Hi Andre,
>
> On Wed, Mar 01, 2017 at 02:25:26AM +, Andre Przywara wrote:
> > The Pine64 (and all other 64-bit Allwinner boards) need to load an
> > ARM Trusted Firmware image beside the actual U-Boot proper.
> >
2017年3月1日 15:04于 Chen-Yu Tsai 写道:
>
> Hi everyone,
>
> This series adds support for the new R40 SoC. The R40 is marketed as the
> successor to the A20. It is mostly pin compatible (in software) with the
> A20. It has a somewhat similar memory layout, a hybrid of A20 and newer
>
01.03.2017, 20:52, "Olliver Schinagl" :
> Currently during init, we enable all power, then enable the dram and
> after that check if there was an error during power-up.
>
> This makes little sense, we should enable power and then check if power
> was brought up properly
01.03.2017, 21:45, "Olliver Schinagl" :
> Hey Maxime,
>
> On 01-03-17 14:00, Maxime Ripard wrote:
>> Hi Oliver,
>>
>> On Wed, Mar 01, 2017 at 01:52:16PM +0100, Olliver Schinagl wrote:
>>> Hi list,
>>>
>>> When powering up an AXP209, the default value for LDO3 output
01.03.2017, 22:57, "Maxime Ripard" :
> 1;4601;0c
> On Wed, Mar 01, 2017 at 08:10:55PM +0800, Chen-Yu Tsai wrote:
>> On Wed, Mar 1, 2017 at 6:55 PM, Maxime Ripard
>> wrote:
>> > Hi Chen-Yu
>> >
>> > On Wed, Mar 01, 2017 at
26.08.2016, 22:08, "Hans de Goede" <hdego...@redhat.com>:
> Hi,
>
> On 26-08-16 15:20, Icenowy Zheng wrote:
>> 26.08.2016, 20:23, "Hans de Goede" <hdego...@redhat.com>:
>>> Hi,
>>>
>>> On 26-08-16 14:03, Icenowy Zhe
26.08.2016, 20:23, "Hans de Goede" <hdego...@redhat.com>:
> Hi,
>
> On 26-08-16 14:03, Icenowy Zheng wrote:
>> Add a proper dts for the iNet D978 rev2 based A33 tablets.
>
> Hmm, this dts file is not using the new sun8i-reference-design-tablet.dtsi
> fil
14.12.2016, 04:29, "Simon Glass" :
> Hi,
>
> On 12 December 2016 at 19:36, Jernej Skrabec wrote:
>> This patch series add support for HDMI output. Support for other,
>> newer, SoCs, which also uses DE2 and same or similar HDMI controller
>> and PHY
2017年1月14日 10:06于 Andre Przywara 写道:
>
> Hi,
>
> two small patches on top of sunxi/next to enable Ethernet and SPI flash.
> Was there any reason the emac node was omitted from the DT patch (as
> it is in the OrangePi One DT, which I belive the Zero has copied from)?
13.01.2017, 09:34, "Andre Przywara" :
> Instead of enumerating all SoC families that need that bit set, let's
> just express this more clearly: The SMP bits needs to be set on
> SMP capable ARMv7 CPUs. It's much easier to Kconfig to express it the
> other way round, so we
13.01.2017, 09:34, "Andre Przywara" :
> This series introduces support for the Allwinner H5 SoC with four
> Cortex-A53 cores. The SoC's peripherals are very similar to the H3,
> although the cores and the BROM/SRAM layout resembles the A64.
> The first 6 patches contain
11.01.2017, 03:25, "Maxime Ripard" <maxime.rip...@free-electrons.com>:
> Hi,
>
> On Tue, Jan 10, 2017 at 05:18:22PM +0800, Icenowy Zheng wrote:
>> Basic U-Boot support is now present for V3s.
>>
>> Some memory addresses are changed specially for V3s,
2017年1月6日 05:59于 Maxime Ripard <maxime.rip...@free-electrons.com>写道:
>
> On Fri, Dec 23, 2016 at 04:31:32PM +0800, Icenowy Zheng wrote:
> > The A64 uses the AXP803 as its PMIC.
> >
> > Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
> > ---
2017年1月6日 06:39于 Maxime Ripard <maxime.rip...@free-electrons.com>写道:
>
> On Thu, Dec 29, 2016 at 03:01:01AM +0800, Icenowy Zheng wrote:
> > V3s devices won't have enough memory to load U-Boot binary at
> > 0x4a00, and they do not have enough memory to reserve 64MiB f
2017年1月6日 06:37于 Maxime Ripard <maxime.rip...@free-electrons.com>写道:
>
> On Thu, Dec 29, 2016 at 03:00:58AM +0800, Icenowy Zheng wrote:
> > H3-like DRAM controller needs some special code to operate a DDR2 DRAM
> > chip. Add the logic to probe such a chip.
> >
Allwinner SoCs after H3 (e.g. A64, H5, R40, V3s) uses a H3-like
DesignWare DRAM controller, which do not have official free DRAM
initialization code, but can use modified dram_sun8i_h3.c.
Add a invisible option for easier DRAM initialization code reuse.
Signed-off-by: Icenowy Zheng <i
Basic U-Boot support is now present for V3s.
Some memory addresses are changed specially for V3s, as the original
address map cannot fit into a so small DRAM.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
Changes since v1:
- squashed memory footprint patch into it.
- disabled VIDEO f
initialization code.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
New patch in v2.
arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 1 +
arch/arm/mach-sunxi/clock.c | 5 +
arch/arm/mach-sunxi/clock_sun6i.c | 11 +++
3 files changed, 17 inse
2017年1月9日 下午7:06于 Maxime Ripard <maxime.rip...@free-electrons.com>写道:
>
> On Fri, Jan 06, 2017 at 07:13:17AM +0800, Icenowy Zheng wrote:
> >
> >
> > 06.01.2017, 06:16, "Maxime Ripard" <maxime.rip...@free-electrons.com>:
> > > On Thu
2017年1月9日 下午6:30于 Andre Przywara <andre.przyw...@arm.com>写道:
>
> Hi,
>
> On 05/01/17 22:55, Icenowy Zheng wrote:
> >
> > 2017年1月6日 06:37于 Maxime Ripard <maxime.rip...@free-electrons.com>写道:
> >>
> >> On Thu, Dec 29, 2016 at 03:0
06.01.2017, 06:16, "Maxime Ripard" <maxime.rip...@free-electrons.com>:
> On Thu, Dec 29, 2016 at 02:50:48AM +0800, Icenowy Zheng wrote:
>> Allwinner SoCs after H3 (e.g. A64, H5, R40, V3s) uses a H3-like
>> DesignWare DRAM controller, which do not have official fr
09.01.2017, 18:01, "Maxime Ripard" <maxime.rip...@free-electrons.com>:
> On Fri, Jan 06, 2017 at 06:55:05AM +0800, Icenowy Zheng wrote:
>> > > + MCTL_CR_32BIT /* fixme, thats wrong but what boot0 does */ |
>> >
>> > What's w
As we have now V3s support in board code, the V3s DTSI file should also
be added.
Add also some CCU include headers to satisfy the DTSI file.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/dts/sun8i-v3s.dtsi | 284 ++
include/dt-bi
20.12.2016, 00:17, "Hans de Goede" <hdego...@redhat.com>:
> Hi,
>
> On 19-12-16 17:06, Icenowy Zheng wrote:
>> 19.12.2016, 23:30, "Hans de Goede" <hdego...@redhat.com>:
>>> Hi,
>>>
>>> On 19-12-16 16:22, Icenowy
19.12.2016, 23:30, "Hans de Goede" <hdego...@redhat.com>:
> Hi,
>
> On 19-12-16 16:22, Icenowy Zheng wrote:
>> Hi everyone,
>>
>> Today, I and KotCzarny on IRC of linux-sunxi found a problem in the SID
>> controller of H3 (incl. H2+).
>>
16.12.2016, 22:52, "Jagan Teki" <ja...@openedev.com>:
> On Fri, Dec 16, 2016 at 3:35 PM, Icenowy Zheng <icen...@aosc.xyz> wrote:
>> Add a proper device tree file for Orange Pi Zero boards from Xunlong,
>> which come with a Allwinner H2+ SoC (similar to H3)
The A64 uses the AXP803 as its PMIC.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/mach-sunxi/Makefile | 3 +
arch/arm/mach-sunxi/pmic_bus.c | 6 +-
arch/arm/mach-sunxi/rsb.c | 2 +-
board/sunxi/board.c| 31 ++---
drivers/power/Kconfig
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/sun5i-a13-licheepi-one.dts | 224
2 files changed, 225 insertions(+)
create mode 100644 arch/arm/dts/sun5i-a13-licheepi-one.dts
diff --git
Currently a working SPL for V3s can be built now.
The U-Boot main binary still cannot work.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/include/asm/arch-sunxi/gpio.h | 1 +
arch/arm/mach-sunxi/board.c| 9 +++--
arch/arm/mach-sunxi/cpu_info.c
Allwinner SoCs after H3 (e.g. A64, H5, R40, V3s) uses a H3-like
DesignWare DRAM controller, which do not have official free DRAM
initialization code, but can use modified dram_sun8i_h3.c.
Add a invisible option for easier DRAM initialization code reuse.
Signed-off-by: Icenowy Zheng <i
From: Andre Przywara
According to Jens disabling the on-die-termination should set bit 5,
not bit 1 in the respective register. Fix this.
Reported-by: Jens Kuske
Signed-off-by: Andre Przywara
---
; - patch 1 & 2 were removed because they were merged
> - collect reviewed by and tested by tags
> - TCON split out patch is splitted in two patches
> - fixed lcdc_enable() calls in video driver for old SoCs
> - defconfigs should disable video driver, not enable it
> - minor con
2017年3月15日 08:23于 André Przywara <andre.przyw...@arm.com>写道:
>
> On 13/03/17 17:50, Icenowy Zheng wrote:
> > The DesignWare DRAM controller used by H3 and newer SoCs use a bit to
> > identify whether the DRAM is half-width.
> >
> > As H3 itself come with 3
2017年3月15日 08:23于 André Przywara <andre.przyw...@arm.com>写道:
>
> On 13/03/17 17:50, Icenowy Zheng wrote:
>
> Hi Icenowy,
>
> as mentioned before, I like this patch.
> In general, can you rebase this series on top of sunxi/master? There are
> some rather easy c
2017年3月13日 20:33于 Simon Glass 写道:
>
> Hi,
>
> On 8 March 2017 at 16:34, Jernej Skrabec wrote:
> > This is needed for HDMI, which will be added later.
> >
> > Signed-off-by: Jernej Skrabec
> > ---
> >
> >
-by: Icenowy Zheng <icen...@aosc.io>
---
This is a critical patch, and should be added to 2017.05.
It has been verified by the Armbian.
arch/arm/mach-sunxi/clock_sun6i.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-sunxi/clock_sun6i.c
b/arch/arm/mach
2017年3月29日 19:17于 Andre Przywara 写道:
>
> Hi,
>
> On 29/03/17 07:57, Maxime Ripard wrote:
> > On Tue, Mar 28, 2017 at 01:45:22AM +0100, Andre Przywara wrote:
> >> The Pine64 (and all other 64-bit Allwinner boards) need to load an
> >> ARM Trusted Firmware image beside
2017年3月29日 14:57于 Maxime Ripard 写道:
>
> On Tue, Mar 28, 2017 at 01:45:22AM +0100, Andre Przywara wrote:
> > The Pine64 (and all other 64-bit Allwinner boards) need to load an
> > ARM Trusted Firmware image beside the actual U-Boot proper.
> > This can now be
to 816MHz, as it's a more
reasonable and more safe value.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
board/sunxi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 609ce63b3e..5144c27535 100644
--- a/board/sunxi/Kconfig
is still
TODO, but current code can make it work.
Icenowy Zheng (8):
sunxi: makes an invisible option for H3-like DRAM controllers
sunxi: Rename bus-width related macros in H3 DRAM code
sunxi: add option for 16-bit DW DRAM controller
sunxi: add bank detection code to H3 DRAM initialization code
Some Allwinner SoCs features a DesignWare-like controller with only 16
bit bus width.
Add support for them.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/mach-sunxi/dram_sunxi_dw.c | 34 +-
board/sunxi/Kconfig
Allwinner V3s SoC features a co-packaged DDR2 DRAM chip, which needs its
timing param.
Add the timing info for it, and make this chip selectable.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/mach-sunxi/dram_timings/Makefile | 1 +
arch/arm/mach-sunxi/dram_timings/ddr2
Allwinner V3s features a DRAM controller like the on in H3, but with a
DDR2 DRAM.
Add support for it.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/mach-sunxi/dram_sunxi_dw.c | 3 +++
board/sunxi/Kconfig | 9 -
2 files changed, 11 insertions(+), 1 de
and 16-bit.
Rename the bit's macro, and also rename the variable name in
dram_sun8i_h3.c.
This commit do not add 16-bit DRAM controller support, but the support
will be introduced in next commit.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/include/asm/arch-sunxi/dram_su
Allwinner SoCs after H3 (e.g. A64, H5, R40, V3s) uses a H3-like
DesignWare DRAM controller, which do not have official free DRAM
initialization code, but can use modified dram_sun8i_h3.c.
Add a invisible option for easier DRAM initialization code reuse.
Signed-off-by: Icenowy Zheng <i
DRAM chip varies, and one code cannot satisfy all DRAMs.
Add options to select a timing set.
Currently only DDR3-1333 (the original set) is added into it.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/include/asm/arch-sunxi/dram_sunxi_dw.h | 30 ++
arch/arm/mach
Some DDR2 DRAM have only four banks, not eight.
Add code to detect this situation.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/mach-sunxi/dram_sunxi_dw.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-sunxi/dram_sunx
The DesignWare-like DRAM controllers in Allwinner chips have DDR2
DRAM support, add support for it in the driver.
No real DDR2 chip info is added in this commit.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/mach-sunxi/dram_sunxi_dw.c | 2 ++
board/sunxi/K
11.03.2017, 10:09, "Icenowy Zheng" <icen...@aosc.xyz>:
> Basic U-Boot support is now present for V3s.
>
> Some memory addresses are changed specially for V3s, as the original
> address map cannot fit into a so small DRAM.
>
> As the DRAM controller code nee
Basic U-Boot support is now present for V3s.
Some memory addresses are changed specially for V3s, as the original
address map cannot fit into a so small DRAM.
As the DRAM controller code needs a big refactor, the SPL support is
disabled in this version.
Signed-off-by: Icenowy Zheng <i
, but the DRAM initialization code currently only support DDR3.)
Icenowy Zheng (3):
sunxi: add basic V3s support
sunxi: add DTSI file for V3s
sunxi: add support for Lichee Pi Zero
arch/arm/dts/Makefile | 2 +
arch/arm/dts/sun8i-v3s-licheepi-zero.dts | 83
As we have now V3s support in board code, the V3s DTSI file should also
be added.
Add also some CCU include headers to satisfy the DTSI file.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
Acked-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
Changes in v4:
- Add Maxime's
-by: Icenowy Zheng <icen...@aosc.xyz>
---
Changes in v4:
- Removed NONSEC disabling for Lichee Pi Zero board.
- Enriched commit message.
arch/arm/dts/Makefile| 2 +
arch/arm/dts/sun8i-v3s-licheepi-zero.dts | 83
board/sunxi/MAINT
As we have now V3s support in board code, the V3s DTSI file should also
be added.
Add also some CCU include headers to satisfy the DTSI file.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
Acked-by: Maxime Ripard <maxime.rip...@free-electrons.com>
---
Changes in v4:
- Add Maxime's
Basic U-Boot support is now present for V3s.
Some memory addresses are changed specially for V3s, as the original
address map cannot fit into a so small DRAM.
As the DRAM controller code needs a big refactor, the SPL support is
disabled in this version.
Signed-off-by: Icenowy Zheng <i
Some Allwinner SoCs features a DesignWare-like controller with only 16
bit bus width.
Add support for them.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/mach-sunxi/dram_sunxi_dw.c | 34 +-
board/sunxi/Kconfig
, but the DRAM initialization code currently only support DDR3.)
Icenowy Zheng (3):
sunxi: add basic V3s support
sunxi: add DTSI file for V3s
sunxi: add support for Lichee Pi Zero
arch/arm/dts/Makefile | 2 +
arch/arm/dts/sun8i-v3s-licheepi-zero.dts | 83
needs this patchset.
For V3s SPL support I will have another patchset, which depends on the
not-yet-merged V3s support w/o SPL patchset.
Icenowy Zheng (6):
sunxi: makes an invisible option for H3-like DRAM controllers
sunxi: Rename bus-width related macros in H3 DRAM code
sunxi: add option
DRAM chip varies, and one code cannot satisfy all DRAMs.
Add options to select a timing set.
Currently only DDR3-1333 (the original set) is added into it.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/include/asm/arch-sunxi/dram_sunxi_dw.h | 30 ++
arch/arm/mach
on a Orange Pi One (H3, single rank), a Pine64+
2GiB version (A64, single rank) , a Pinebook early prototype with DDR3
(A64, dual rank) and a SoPine with some LPDDR3 patch (A64, dual CS pins
on one chip).
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/mach-sunxi/dram_sunxi_dw.c | 2
-by: Icenowy Zheng <icen...@aosc.xyz>
---
Changes in v4:
- Removed NONSEC disabling for Lichee Pi Zero board.
- Enriched commit message.
arch/arm/dts/Makefile| 2 +
arch/arm/dts/sun8i-v3s-licheepi-zero.dts | 83
board/sunxi/MAINT
Allwinner SoCs after H3 (e.g. A64, H5, R40, V3s) uses a H3-like
DesignWare DRAM controller, which do not have official free DRAM
initialization code, but can use modified dram_sun8i_h3.c.
Add a invisible option for easier DRAM initialization code reuse.
Signed-off-by: Icenowy Zheng <i
and 16-bit.
Rename the bit's macro, and also rename the variable name in
dram_sun8i_h3.c.
This commit do not add 16-bit DRAM controller support, but the support
will be introduced in next commit.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/include/asm/arch-sunxi/dram_su
Some DDR2 DRAM have only four banks, not eight.
Add code to detect this situation.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
---
arch/arm/mach-sunxi/dram_sunxi_dw.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-sunxi/dram_sunx
2017年3月9日 07:34于 Jernej Skrabec <jernej.skra...@siol.net>写道:
>
> From: Icenowy Zheng <icen...@aosc.xyz>
I'm making newer version of this patch.
>
> The A64 uses the AXP803 as its PMIC.
>
> Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
>
>
2017年3月3日 17:55于 Andre Przywara <andre.przyw...@arm.com>写道:
>
> Hi,
>
> On 03/03/17 09:22, Maxime Ripard wrote:
> > On Thu, Mar 02, 2017 at 12:03:20AM +0800, Icenowy Zheng wrote:
> >>
> >> 2017年3月1日 23:51于 Maxime Ripard <maxime.rip...@
01.03.2017, 10:26, "Andre Przywara" :
> For a board or platform to support FIT loading in the SPL, it has to
> provide a board_fit_config_name_match() routine, which helps to select
> one of possibly multiple DTBs contained in a FIT image.
> Provide a simple function
, but the DRAM initialization code currently only support DDR3.)
Icenowy Zheng (3):
sunxi: add basic V3s support
sunxi: add DTSI file for V3s
sunxi: add support for Lichee Pi Zero
arch/arm/dts/Makefile | 5 +-
arch/arm/dts/sun8i-v3s-licheepi-zero.dts | 83
From: Icenowy Zheng <icen...@aosc.xyz>
As we have now V3s support in board code, the V3s DTSI file should also
be added.
Add also some CCU include headers to satisfy the DTSI file.
Signed-off-by: Icenowy Zheng <icen...@aosc.xyz>
Acked-by: Maxime Ripard <maxime.rip...@fre
From: Icenowy Zheng <icen...@aosc.xyz>
Basic U-Boot support is now present for V3s.
Some memory addresses are changed specially for V3s, as the original
address map cannot fit into a so small DRAM.
As the DRAM controller code needs a big refactor, the SPL support is
disabled in this v
From: Icenowy Zheng <icen...@aosc.xyz>
Lichee Pi Zero is a development board with a V3s SoC, which features
64MiB DRAM co-packaged within the SoC, a TF slot, a SPI NOR slot (not
soldered in production batch), a 40-pin RGB LCD connector and some extra
pins available as 2.54mm pins or stamp
onfig")
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
drivers/serial/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index a753367ee1..58320666b7 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
As we have already DRAM initialization code for V3s SoC, we can
defaultly enable SPL now on Lichee Pi Zero.
Add CONFIG_SPL in Lichee Pi Zero defconfig.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
configs/LicheePi_Zero_defconfig | 4
1 file changed, 4 insertions(+)
diff
Some new Allwinner SoCs' PRCM has a secure switch register, which
controls the access to some clock and power registers in PRCM block.
Add the definition of this register and its bits in the PRCM header
file.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
arch/arm/include/asm/arch
.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
arch/arm/mach-sunxi/clock_sun6i.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/mach-sunxi/clock_sun6i.c
b/arch/arm/mach-sunxi/clock_sun6i.c
index ec5b026ef5..870ff5b1e0 100644
--- a/arch/arm/mach-sunxi/clock_sun6i.c
+++
于 2017年7月4日 GMT+08:00 下午6:47:17, Andre Przywara <andre.przyw...@arm.com> 写到:
>Hi,
>
>On 04/07/17 11:43, Icenowy Zheng wrote:
>> The Ethernet function is enabled in the Orange Pi PC2 device tree and
>> defconfig, however, CONFIG_MACPWR is not properly set, which lef
("sunxi: Add OrangePi PC 2 initial support")
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
configs/orangepi_pc2_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/orangepi_pc2_defconfig b/configs/orangepi_pc2_defconfig
index 5a64ad3f41..b72514d3b9 1006
于 2017年7月3日 GMT+08:00 下午2:52:00, Maxime Ripard
<maxime.rip...@free-electrons.com> 写到:
>On Sun, Jul 02, 2017 at 03:02:43PM +0800, Icenowy Zheng wrote:
>> The Allwinner A83T SoC has an EMAC which is already supported by
>> sun8i_emac driver in U-Boot now.
>>
BOOTP and
I only tested pinging the router with fixed IP.)
Icenowy Zheng (4):
sun8i_emac: disable build of EPHY clock code on non-H3/H5 platforms
sun8i_emac: add support for setting EMAC TX/RX delay
sunxi: add stub EMAC device node in A83T device tree
sunxi: enable EMAC for Banana Pi M3 board
Banana Pi M3 board comes with the A83T EMAC connected to a Realtek
RTL8211E PHY, with a TX delay of 600ps.
Add the necessary DT parts and enable sun8i_emac in the defconfig.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
arch/arm/dts/sun8i-a83t-sinovoip-bpi-m3.dt
for setting these delays.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
drivers/net/sun8i_emac.c | 31 +--
1 file changed, 29 insertions(+), 2 deletions(-)
diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c
index c071f5d3c3..4ba65c8a06
The Allwinner A83T SoC has an EMAC which is already supported by
sun8i_emac driver in U-Boot now.
Add a stub device node for it.
The device node cannot work for Linux, because it now lacks the proper
clock definition; however, it can satisfy sun8i_emac driver in U-Boot.
Signed-off-by: Icenowy
Sometimes the EPHY clock macros are not defined for non-H3/H5 platforms
(e.g. A83T), which makes the driver to fail to be built.
Only build the EPHY clock code when the SoC is H3/H5 by wrap them into
an #ifdef.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
drivers/net/sun8i_emac
于 2017年6月29日 GMT+08:00 下午6:10:31, Andre Przywara 写到:
>The sunxi GPIO driver is missing some compatible strings for recent
>SoCs. While most of the sunxi GPIO code seems to not rely on this (and
>so works anyway), the sunxi_name_to_gpio() function does and fails at
>the
, with the stock boot0
timing. (Seen in A83T boot0 source and some leaked H5/R40 libdram source)
The 12th patches adds a defconfig for SoPine w/ official baseboard, which
utilizes LPDDR3.
Icenowy Zheng (12):
sunxi: makes an invisible option for H3-like DRAM controllers
sunxi: Rename bus-width related
From: Icenowy Zheng <icen...@aosc.xyz>
The DesignWare-like DRAM code used to set the controller defaultly to
single rank mode, which makes it not able to detect the second rank.
Set the default value to dual rank, thus the rank detection code can
work and finally the rank s
1 - 100 of 388 matches
Mail list logo