ARM Sunxi Platform Development
 help / color / mirror / Atom feed
From: Paul Kocialkowski <contact@paulk.fr>
To: Andre Przywara <andre.przywara@arm.com>
Cc: u-boot@lists.denx.de, Tom Rini <trini@konsulko.com>,
	Jagan Teki <jagan@amarulasolutions.com>,
	Icenowy Zheng <icenowy@aosc.xyz>,
	linux-sunxi@lists.linux.dev
Subject: Re: [PATCH 2/6] sunxi: Add support for the Lichee Pi Zero with Dock
Date: Tue, 3 Jun 2025 19:37:32 +0200	[thread overview]
Message-ID: <aD8y3JiXF6ATCWTS@collins> (raw)
In-Reply-To: <20250602014014.0664e6fe@minigeek.lan>

[-- Attachment #1: Type: text/plain, Size: 2857 bytes --]

Hi Andre,

Le Mon 02 Jun 25, 01:40, Andre Przywara a écrit :
> On Sun,  1 Jun 2025 17:39:39 +0200
> Paul Kocialkowski <contact@paulk.fr> wrote:
> 
> Hi Paul,
> 
> > This adds a U-Boot config and device-tree build for the Lichee Pi Zero
> > with Dock. Compared to the Lichee Pi Zero, it has an ethernet port
> > (with internal PHY) so the EMAC driver and network support are enabled.
> 
> I just realised that there is no difference between the U-Boot versions
> of the DT and the kernel ones, so can you please use the opportunity to
> upgrade the V3x systems to OF_UPSTREAM (in a separate patch)? This would
> involve removing all the redundant .dts* files from arch/arm/dts, see
> dc2dd2de0f782860 for an example.

Yes definitely! I wasn't sure whether there was some specific reason why
it hadn't been done yet.

> Regardless the defconfig looks alright, but one comment:
> 
> > Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
> > ---
> >  arch/arm/dts/Makefile                | 3 ++-
> >  configs/LicheePi_Zero_Dock_defconfig | 7 +++++++
> >  2 files changed, 9 insertions(+), 1 deletion(-)
> >  create mode 100644 configs/LicheePi_Zero_Dock_defconfig
> > 
> > diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> > index 32b698a7f411..be6867ceae0e 100644
> > --- a/arch/arm/dts/Makefile
> > +++ b/arch/arm/dts/Makefile
> > @@ -650,7 +650,8 @@ dtb-$(CONFIG_MACH_SUN8I_V3S) += \
> >  	sun8i-s3-elimo-initium.dtb \
> >  	sun8i-s3-pinecube.dtb \
> >  	sun8i-v3-sl631-imx179.dtb \
> > -	sun8i-v3s-licheepi-zero.dtb
> > +	sun8i-v3s-licheepi-zero.dtb \
> > +	sun8i-v3s-licheepi-zero-dock.dtb
> >  dtb-$(CONFIG_MACH_SUN8I_R528) += \
> >  	sun8i-t113s-mangopi-mq-r-t113.dtb
> >  dtb-$(CONFIG_MACH_SUN50I_H5) += \
> > diff --git a/configs/LicheePi_Zero_Dock_defconfig b/configs/LicheePi_Zero_Dock_defconfig
> > new file mode 100644
> > index 000000000000..ec172d98b65e
> > --- /dev/null
> > +++ b/configs/LicheePi_Zero_Dock_defconfig
> > @@ -0,0 +1,7 @@
> > +CONFIG_ARM=y
> > +CONFIG_ARCH_SUNXI=y
> > +CONFIG_DEFAULT_DEVICE_TREE="sun8i-v3s-licheepi-zero-dock"
> > +CONFIG_SPL=y
> > +CONFIG_MACH_SUN8I_V3S=y
> > +# CONFIG_HAS_ARMV7_SECURE_BASE is not set
> 
> IIUC, the V3S does not have (secure) SRAM A2, and no ARISC? Can we
> express this in the Kconfig file then, since it's not a board config
> option?

Indeed I cannot find any mention of SRAM A2 and ARISC. Makes sense given the
low-end target for this chip.

Sure it's better to move it to the Kconfig too. Will do in the next revision.

All the best,

Paul

> Cheers,
> Andre
> 
> > +CONFIG_SUN8I_EMAC=y
> 

-- 
Paul Kocialkowski,

Free software developer - https://www.paulk.fr/
Independent contractor - sys-base - https://www.sys-base.io/

Contributor to fully free software support for selected hardware.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2025-06-03 17:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-01 15:39 [PATCH 0/6] Various V3/S3/V3s fixes and improvements Paul Kocialkowski
2025-06-01 15:39 ` [PATCH 1/6] sunxi: Kconfig: Fix default order for V3s DRAM clock Paul Kocialkowski
2025-06-02  0:39   ` Andre Przywara
2025-06-01 15:39 ` [PATCH 2/6] sunxi: Add support for the Lichee Pi Zero with Dock Paul Kocialkowski
2025-06-02  0:40   ` Andre Przywara
2025-06-03 17:37     ` Paul Kocialkowski [this message]
2025-06-01 15:39 ` [PATCH 3/6] sunxi: Split V3/S3 support from V3s Paul Kocialkowski
2025-06-01 15:39 ` [PATCH 4/6] sunxi: pinecube: Enable EMAC and network support Paul Kocialkowski
2025-06-02  0:40   ` Andre Przywara
2025-06-01 15:39 ` [PATCH 5/6] power: axp: Fixup default voltages for V3/S3 Paul Kocialkowski
2025-06-01 15:39 ` [PATCH 6/6] net: sun8i-emac: Add support for active-low leds with internal PHY Paul Kocialkowski
2025-06-02  0:40   ` Andre Przywara
2025-06-03 17:40     ` Paul Kocialkowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aD8y3JiXF6ATCWTS@collins \
    --to=contact@paulk.fr \
    --cc=andre.przywara@arm.com \
    --cc=icenowy@aosc.xyz \
    --cc=jagan@amarulasolutions.com \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox