From: Andre Przywara <andre.przywara@arm.com>
To: wens@kernel.org, Enzo Adriano <enzo.adriano.code@gmail.com>
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
jernej.skrabec@gmail.com, samuel@sholland.org,
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,
Junhui Liu <junhui.liu@pigmoral.tech>,
Jerome Brunet <jbrunet@baylibre.com>,
Pablo Mazzini <pmazzini@gmail.com>,
Vinicius Pedrosa <vinicius.eduardo.pedrosa@gmail.com>,
Alexander Sverdlin <alex@sverdlin.org>,
Jun Yan <jerrysteve1101@gmail.com>,
Lukas Schmid <lukas.schmid@netcube.li>
Subject: Re: [PATCH v5 2/3] arm64: dts: allwinner: add A733 SoC description
Date: Tue, 24 Nov 2026 21:03:56 +0100 [thread overview]
Message-ID: <0e94af87-71d1-4a5c-a2bb-218a2306db27@arm.com> (raw)
In-Reply-To: <CAGb2v64c5oirvfq7R3a1CWQCydfOOipcRD7dhSFAb=zczRdTHw@mail.gmail.com>
Hi,
On 11/24/26 17:44, Chen-Yu Tsai wrote:
> On Tue, Nov 24, 2026 at 1:42 AM Enzo Adriano
> <enzo.adriano.code@gmail.com> wrote:
>>
>> Provide the SoC description needed by the initial Cubie A7S DTS for its
>> console, PMIC, EEPROM and microSD. Describe the CPUs, PSCI, architectural
>> timers, GIC, RTC, main and always-on clock/reset and pin controllers.
>> Include the main and R-domain UART/I2C instances and MMC0-2 with their
>
>> pin groups. Use mux 6 for I2C0 on PG8/PG9, as in Radxa's BSP pinctrl
>> driver and its Cubie A7S device tree.
>
> This should be evident from the schematic itself (the pins are used for
> I2C). And then the datasheet would tell you which mux value it is.
>
> Just saying, trust the datasheet and schematic a little more than the BSP.
> And one really should write the device tree based on the schematic. The
> BSP is there in case something doesn't work, to look for existing quirks
> or workarounds.
Fully agree with that, the BSP is sketchy at best, especially their DT.
I have seen contradictory information in there already.
Also I think the commit message reads a bit awkward, at least it
deviates from what we typically see. I would start with a brief
introduction of the SoC. Just mentioning that we have the full user
manual and that this has been tested on a real board should be
sufficient, then it's obvious where those values come from.
>> The GIC maintenance PPI 9 and ARMv8.2 EL2 virtual-timer PPI 12 follow
>> the A733 User Manual v1.00, section 12.2.3. The GICD/GICR/ITS windows
>> and noncoherent attributes follow Andre Przywara's public A733
>> reference and the A523 precedent. The CPUX interconnect diagram in
>> section 5.1.2 supports noncoherency as an integration inference. The
>> ITS stays disabled pending its clock/reset and MSI integration.
>>
>> Describe the single DynamIQ unit and shared L3 shown in section 5.1.2
>> (figure 5-1). The big and little DVFS groups can be described by their
>> clocks, OPP tables and supplies. Partition PPI 7 (section 12.2.3,
>> table 12-1) between the Cortex-A55 and Cortex-A76 PMUs so each probes
>> its own core type. Defer capacity-dmips-mhz until it is measured on A733.
>>
>> Link: https://gist.githubusercontent.com/apritzel/60fd7379b9560a15b8b352986b69d39f/raw/efd9cdf8f26ba5b0c7e138f093af44a1cf322469/sun60i-a733.dts
>> Link: https://github.com/radxa/allwinner-bsp/blob/2045a3ca2a01f088c0314dc924bda59d154e363e/drivers/pinctrl/pinctrl-sun60iw2.c#L1591-L1610
>> Signed-off-by: Enzo Adriano <enzo.adriano.code@gmail.com>
>> ---
>>
>> v4 -> v5: Rename osc to hosc and add the I2C0 PG8/PG9 group. Keep the
>> one-cluster CPU map and the two PMU partitions.
>>
>> Untested on v5: physical CPU/cache topology, PMU counting, EL2
>> interrupt delivery and ITS/MSI.
>
> Someone please test the PMU.
>
>> .../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 663 ++++++++++++++++++
>> 1 file changed, 663 insertions(+)
>> create mode 100644 arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
>>
>> diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
>> new file mode 100644
>> index 000000000000..8a258f16751e
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
>> @@ -0,0 +1,663 @@
>
> [...]
>
>> + uart0: serial@2500000 {
>> + compatible = "allwinner,sun60i-a733-uart",
>> + "snps,dw-apb-uart";
>
> We can't merge this because the bindings haven't been merged. And they seem
> to still be going through a lot of churn?
But I think the binding patch for that is fine? And we are pretty sure
that we need SoC specific compatible strings for every SoC, actually,
regardless of how those UART fixes series' (Vinicius' and James') proceed.
So I wonder if you could take just that binding patch already, to not
block progress here?
Cheers,
Andre
next prev parent reply other threads:[~2026-11-24 20:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 17:42 [PATCH v5 0/3] arm64: dts: allwinner: add A733/Cubie A7S support Enzo Adriano
2026-11-23 17:42 ` [PATCH v5 1/3] dt-bindings: arm: sunxi: document Radxa Cubie A7A and A7S Enzo Adriano
2026-11-23 17:42 ` [PATCH v5 2/3] arm64: dts: allwinner: add A733 SoC description Enzo Adriano
2026-11-24 11:02 ` Vinicius Pedrosa
2026-11-24 14:53 ` Andre Przywara
2026-11-24 16:44 ` Chen-Yu Tsai
2026-11-24 20:03 ` Andre Przywara [this message]
2026-11-24 16:46 ` Chen-Yu Tsai
2026-11-23 17:42 ` [PATCH v5 3/3] arm64: dts: allwinner: add Radxa Cubie A7S board Enzo Adriano
2026-11-24 16:31 ` Chen-Yu Tsai
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=0e94af87-71d1-4a5c-a2bb-218a2306db27@arm.com \
--to=andre.przywara@arm.com \
--cc=alex@sverdlin.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=enzo.adriano.code@gmail.com \
--cc=jbrunet@baylibre.com \
--cc=jernej.skrabec@gmail.com \
--cc=jerrysteve1101@gmail.com \
--cc=junhui.liu@pigmoral.tech \
--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=lukas.schmid@netcube.li \
--cc=mripard@kernel.org \
--cc=pmazzini@gmail.com \
--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®