From: Andre Przywara <andre.przywara@arm.com>
To: Vinicius Pedrosa <vinicius.eduardo.pedrosa@gmail.com>,
Chen-Yu Tsai <wens@kernel.org>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
Enzo Adriano <enzo.adriano.code@gmail.com>,
Maxime Ripard <mripard@kernel.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3] arm64: dts: allwinner: add Radxa Cubie A7Z support
Date: Mon, 23 Nov 2026 13:11:37 +0100 [thread overview]
Message-ID: <374d9bf5-5c91-4f93-aa25-f0666802e153@arm.com> (raw)
In-Reply-To: <20261123111547.24280-1-vinicius.eduardo.pedrosa@gmail.com>
Hi,
On 11/23/26 12:15, Vinicius Pedrosa wrote:
> On Sat, Nov 21, 2026 at 12:14 AM Chen-Yu Tsai <wens@kernel.org> wrote:
>> There seem to be 3 revisions of A7Z. Which one are you targeting? Or are
>> there no differences as far as the OS is concerned?
>
> I'm targeting V1.11, which is the board I have and tested.
I think we should aim to support both variants with one DT. I don't
think it's nice to expect users to pick the right version. The board I
have is v1.10, and it's about a year old. I think there is an even
earlier batch, having been sent out in summer of 2025.
I think the DT can be made compatible with both v1.10 and v1.11, and
probably even v2.00 later:
> I compared the published schematics. V1.10 differs from V1.11 in two
> places relevant to this DT:
>
> On V1.10, BLDOIN comes from SWOUT2 and CLDOIN from PS. V1.11 uses a
> separate SY8089 step-down regulator at 2.4 V for both.
Both SWOUT2 and PS are always-on, and this SY8089 regulator seems to
have no enable control as well. So the DT dependencies should be only
cosmetic. So it shouldn't hurt keeping the regulator, just adding a
comment about the v1.10 not having it.
> V1.11 adds a 10k external pull-up (R59) to the microSD card-detect line,
> which V1.10 doesn't have.
Argh, on the v1.10 I need to enable the internal pull-down(!) to make
the switch work. So I guess it connects to Vdd internally if an SD card
is in? In the v1.11 schematic it looks like D1 and D2 form the two sides
of the switch, and the other side (D2) is connected to GND. So the
switch trigger is probably inverted?
When I leave the pull register bits at 0, the readout is inconsistent
(goes to high when a card is inserted, but stays there when removed).
I wonder if this works anyway with using both the internal pull-down and
potentially external pull-up resistors? As one would win over the other?
Can you try how your board behaves with:
cd-gpios = <&pio 5 6 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
Let's hope this works ...
Cheers,
Andre
> So the power supplies and card-detect configuration would need changes
> for V1.10.
>
> From the V2.00 schematic, the parts covered by this DT (PMIC, microSD,
> LED and UART) appear unchanged from V1.11. V2.00 adds MIPI DSI, a second
> CSI connector and a backlight driver, none of which are described here.
>
> Would you prefer keeping this DT for V1.11 (and V2.00), with a separate
> DT for V1.10 if needed, or splitting the revision-specific parts now?
> I also saw Andre's review of Enzo's v4 [1]. I'll apply the relevant
> changes to this DT, including removing the MMC alias and revisiting the
> regulator descriptions and constraints. I'll wait for Enzo's v5, test on
> my V1.11 board and send a v2 with those changes and the LED patch
> squashed into the board DT, as Krzysztof requested.
>
> [1] https://lore.kernel.org/all/20261122003932.568c099c@ryzen.lan/
>
> Thanks,
> Vinicius
next prev parent reply other threads:[~2026-11-23 12:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-11 13:49 Vinicius Pedrosa
2026-11-11 13:49 ` [PATCH 1/3] dt-bindings: arm: sunxi: document Radxa Cubie A7Z Vinicius Pedrosa
2026-11-13 11:12 ` Krzysztof Kozlowski
2026-11-11 13:49 ` [PATCH 2/3] arm64: dts: allwinner: add Radxa Cubie A7Z board Vinicius Pedrosa
2026-11-23 12:35 ` Andre Przywara
2026-11-23 16:57 ` Vinicius Pedrosa
2026-11-23 17:02 ` Andre Przywara
2026-11-11 13:49 ` [PATCH 3/3] arm64: dts: allwinner: sun60i-a733-cubie-a7z: add the user LED Vinicius Pedrosa
2026-11-13 11:12 ` Krzysztof Kozlowski
2026-11-20 16:14 ` [PATCH 0/3] arm64: dts: allwinner: add Radxa Cubie A7Z support Chen-Yu Tsai
2026-11-23 11:15 ` Vinicius Pedrosa
2026-11-23 11:33 ` Chen-Yu Tsai
2026-11-23 12:11 ` Andre Przywara [this message]
2026-11-23 16:54 ` Vinicius Pedrosa
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=374d9bf5-5c91-4f93-aa25-f0666802e153@arm.com \
--to=andre.przywara@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=enzo.adriano.code@gmail.com \
--cc=jernej.skrabec@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=mripard@kernel.org \
--cc=robh@kernel.org \
--cc=samuel@sholland.org \
--cc=vinicius.eduardo.pedrosa@gmail.com \
--cc=wens@kernel.org \
/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
all inboxes | Powered by JetHome®