Skip to contentSkip to conversation

Allwinner DT Changes for 7.2

GIT PULL Chen-Yu Tsai 3 participants 9 messages Jun 1 – Jun 9 Arm/Allwinner sunXi SoC support

lore
Share & tools
lore

Chen-Yu Tsai

author maintainer
#0 lore raw

The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:

Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-dt-for-7.2

for you to fetch changes up to 44cf19e41c769720750dbb8752aca75c247e565f:

arm64: dts: allwinner: a523: add gpadc node (2026-05-25 05:02:58 +0800)

As mentioned in the tag, this pull request contains a change that should be shared between the soc and clk trees. However since I don't have any clk changes to send this cycle, I think it can just go through the soc tree without any issues.

----------------------------------------------------------------
Allwinner device tree changes for 7.2

Some changes for old chips and some for recent ones.

- A83T gained the MIPI CSI-2 receiver
- overlays enabled for Pine64 boards
- V3s gained the MBUS interconnect
- D1s / T113 and H616 gained the high speed timer
- T113s watchdog enabled (for reboot)
- H616 gained proper SRAM regions
- A523 family gained EL2 virtual timer interrupt and GPADC

This tag also contains a clk DT binding change that changes a private header of the clk driver to export some extra clocks to the device tree on the V3s.

----------------------------------------------------------------
Chen-Yu Tsai (1):
Merge branch 'sunxi/shared-clk-dt-ids-for-7.2' into sunxi/dt-for-7.2

Jernej Skrabec (1):
arm64: dts: allwinner: sun50i-h616: Add SRAM nodes

Marc Zyngier (1):
arm64: dts: allwinner: Add EL2 virtual timer interrupt

Michal Piekos (4):
riscv: dts: allwinner: d1s-t113: add hstimer node
arm64: dts: allwinner: h616: add hstimer node
arm: dts: allwinner: t113s: enable watchdog for reboot
arm64: dts: allwinner: a523: add gpadc node

Paul Kocialkowski (5):
clk: sunxi-ng: v3s: Export MBUS and DRAM clocks to the public header
dt-bindings: media: sun6i-a31-csi: Add optional interconnect properties
dt-bindings: media: sun6i-a31-isp: Add optional interconnect properties
ARM: dts: sun8i: v3s: Add mbus node to represent the interconnect
ARM: dts: sun8i: a83t: Add MIPI CSI-2 controller node

Peter Robinson (1):
arm64: dts: allwinner: sun50i-a64: Enable DT overlays

 .../bindings/media/allwinner,sun6i-a31-csi.yaml    |  6 +++
 .../bindings/media/allwinner,sun6i-a31-isp.yaml    |  6 +++
 arch/arm/boot/dts/allwinner/sun8i-a83t.dtsi        | 43 ++++++++++++++++++++++
 arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi       |  4 ++
 arch/arm/boot/dts/allwinner/sun8i-v3s.dtsi         | 15 ++++++++
 arch/arm64/boot/dts/allwinner/Makefile             |  6 +++
 arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi     | 38 ++++++++++++++++++-
 arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi     | 16 +++++++-
 arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi  |  9 +++++
 drivers/clk/sunxi-ng/ccu-sun8i-v3s.h               |  4 --
 include/dt-bindings/clock/sun8i-v3s-ccu.h          |  4 +-
 11 files changed, 143 insertions(+), 8 deletions(-)
#1 lore raw
Quoted 10 lines · Chen-Yu Tsai

The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:

Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-dt-for-7.2

for you to fetch changes up to 44cf19e41c769720750dbb8752aca75c247e565f:

Quoted 7 lines

arm64: dts: allwinner: a523: add gpadc node (2026-05-25 05:02:58 +0800)

As mentioned in the tag, this pull request contains a change that should be shared between the soc and clk trees. However since I don't have any clk changes to send this cycle, I think it can just go through the soc tree without any issues.

But the clock driver change cannot be in the DTS branch. This should go via clock tree even if it is one change. And definitely not via DTS branch.

Best regards,
Krzysztof

author maintainer
#2 lore raw
Quoted 15 lines · Krzysztof Kozlowski
Quoted 13 lines · Chen-Yu Tsai

The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:

Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-dt-for-7.2

for you to fetch changes up to 44cf19e41c769720750dbb8752aca75c247e565f:

arm64: dts: allwinner: a523: add gpadc node (2026-05-25 05:02:58 +0800)

Quoted 8 lines
Quoted 4 lines

As mentioned in the tag, this pull request contains a change that should be shared between the soc and clk trees. However since I don't have any clk changes to send this cycle, I think it can just go through the soc tree without any issues.

But the clock driver change cannot be in the DTS branch. This should go via clock tree even if it is one change. And definitely not via DTS branch.

It is a shared change, because it moves two symbols from the driver's private header to the public DT binding header. I don't see how this can go through just the clk tree when one of the subsequent patches uses those new symbols.

"clk: sunxi-ng: v3s: Export MBUS and DRAM clocks to the public header" is needed by "ARM: dts: sun8i: v3s: Add mbus node to represent the interconnect".

The other way to go about this is to use raw numbers first, then another patch in the next cycle to switch the numbers to actual macros. IMHO not worth the churn and headache.

ChenYu

#3 lore raw
Quoted 30 lines · Chen-Yu Tsai
Quoted 15 lines · Krzysztof Kozlowski
Quoted 13 lines · Chen-Yu Tsai

The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:

Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-dt-for-7.2

for you to fetch changes up to 44cf19e41c769720750dbb8752aca75c247e565f:

arm64: dts: allwinner: a523: add gpadc node (2026-05-25 05:02:58 +0800)

Quoted 8 lines
Quoted 4 lines

As mentioned in the tag, this pull request contains a change that should be shared between the soc and clk trees. However since I don't have any clk changes to send this cycle, I think it can just go through the soc tree without any issues.

But the clock driver change cannot be in the DTS branch. This should go via clock tree even if it is one change. And definitely not via DTS branch.

It is a shared change, because it moves two symbols from the driver's private header to the public DT binding header. I don't see how this can go through just the clk tree when one of the subsequent patches uses those new symbols.

Quoted 7 lines

"clk: sunxi-ng: v3s: Export MBUS and DRAM clocks to the public header" is needed by "ARM: dts: sun8i: v3s: Add mbus node to represent the interconnect".

The other way to go about this is to use raw numbers first, then another patch in the next cycle to switch the numbers to actual macros. IMHO not worth the churn and headache.

You can have a duplicated define.

Best regards,
Krzysztof

author maintainer
#4 lore raw
Quoted 36 lines · Krzysztof Kozlowski
Quoted 34 lines · Chen-Yu Tsai
Quoted 15 lines · Krzysztof Kozlowski
Quoted 13 lines · Chen-Yu Tsai

The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:

Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-dt-for-7.2

for you to fetch changes up to 44cf19e41c769720750dbb8752aca75c247e565f:

arm64: dts: allwinner: a523: add gpadc node (2026-05-25 05:02:58 +0800)

Quoted 8 lines
Quoted 4 lines

As mentioned in the tag, this pull request contains a change that should be shared between the soc and clk trees. However since I don't have any clk changes to send this cycle, I think it can just go through the soc tree without any issues.

But the clock driver change cannot be in the DTS branch. This should go via clock tree even if it is one change. And definitely not via DTS branch.

It is a shared change, because it moves two symbols from the driver's private header to the public DT binding header. I don't see how this can go through just the clk tree when one of the subsequent patches uses those new symbols.

"clk: sunxi-ng: v3s: Export MBUS and DRAM clocks to the public header" is needed by "ARM: dts: sun8i: v3s: Add mbus node to represent the interconnect".

Quoted 5 lines
Quoted 3 lines

The other way to go about this is to use raw numbers first, then another patch in the next cycle to switch the numbers to actual macros. IMHO not worth the churn and headache.

You can have a duplicated define.

I honestly did not know that it worked.

However, splitting what is effectively one logical change (*move* something) into two patches just to be able to merge them through two separate trees still seems wrong to me.

Would it help if Stephen gave an ack?

ChenYu

#5 lore raw
Quoted 41 lines · Chen-Yu Tsai
Quoted 40 lines · Krzysztof Kozlowski
Quoted 37 lines · Chen-Yu Tsai
Quoted 15 lines · Krzysztof Kozlowski
Quoted 13 lines · Chen-Yu Tsai

The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:

Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-dt-for-7.2

for you to fetch changes up to 44cf19e41c769720750dbb8752aca75c247e565f:

arm64: dts: allwinner: a523: add gpadc node (2026-05-25 05:02:58 +0800)

Quoted 8 lines
Quoted 4 lines

As mentioned in the tag, this pull request contains a change that should be shared between the soc and clk trees. However since I don't have any clk changes to send this cycle, I think it can just go through the soc tree without any issues.

But the clock driver change cannot be in the DTS branch. This should go via clock tree even if it is one change. And definitely not via DTS branch.

It is a shared change, because it moves two symbols from the driver's private header to the public DT binding header. I don't see how this can go through just the clk tree when one of the subsequent patches uses those new symbols.

"clk: sunxi-ng: v3s: Export MBUS and DRAM clocks to the public header" is needed by "ARM: dts: sun8i: v3s: Add mbus node to represent the interconnect".

The other way to go about this is to use raw numbers first, then another patch in the next cycle to switch the numbers to actual macros. IMHO not worth the churn and headache.

Quoted 7 lines
Quoted 1 line

You can have a duplicated define.

I honestly did not know that it worked.

However, splitting what is effectively one logical change (*move* something) into two patches just to be able to merge them through two separate trees still seems wrong to me.

It is not really one logical change. Defining a new ABI (binding header define) is considered one change. Merging binding change into driver commit breaks rule of splitting bindings from implementation.

Second rule is that DTS branch CANNOT take driver changes. So if you do not want to adhere to the above rule you still cannot combine it into DTS branch.

Best regards,
Krzysztof

author maintainer
#6 lore raw
Quoted 51 lines · Krzysztof Kozlowski
Quoted 41 lines · Chen-Yu Tsai
Quoted 40 lines · Krzysztof Kozlowski
Quoted 37 lines · Chen-Yu Tsai
Quoted 15 lines · Krzysztof Kozlowski
Quoted 13 lines · Chen-Yu Tsai

The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:

Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-dt-for-7.2

for you to fetch changes up to 44cf19e41c769720750dbb8752aca75c247e565f:

arm64: dts: allwinner: a523: add gpadc node (2026-05-25 05:02:58 +0800)

Quoted 8 lines
Quoted 4 lines

As mentioned in the tag, this pull request contains a change that should be shared between the soc and clk trees. However since I don't have any clk changes to send this cycle, I think it can just go through the soc tree without any issues.

But the clock driver change cannot be in the DTS branch. This should go via clock tree even if it is one change. And definitely not via DTS branch.

It is a shared change, because it moves two symbols from the driver's private header to the public DT binding header. I don't see how this can go through just the clk tree when one of the subsequent patches uses those new symbols.

"clk: sunxi-ng: v3s: Export MBUS and DRAM clocks to the public header" is needed by "ARM: dts: sun8i: v3s: Add mbus node to represent the interconnect".

The other way to go about this is to use raw numbers first, then another patch in the next cycle to switch the numbers to actual macros. IMHO not worth the churn and headache.

Quoted 7 lines
Quoted 1 line

You can have a duplicated define.

I honestly did not know that it worked.

However, splitting what is effectively one logical change (*move* something) into two patches just to be able to merge them through two separate trees still seems wrong to me.

Quoted 7 lines

It is not really one logical change. Defining a new ABI (binding header define) is considered one change. Merging binding change into driver commit breaks rule of splitting bindings from implementation.

Second rule is that DTS branch CANNOT take driver changes. So if you do not want to adhere to the above rule you still cannot combine it into DTS branch.

Very well. I will drop the two changes and send a revised pull request.

Paul, can you redo the clk changes as requested in the next cycle?

Thanks
ChenYu

#7 lore raw

Hi,

Quoted 56 lines · Chen-Yu Tsai
Quoted 55 lines · Krzysztof Kozlowski
Quoted 41 lines · Chen-Yu Tsai
Quoted 40 lines · Krzysztof Kozlowski
Quoted 37 lines · Chen-Yu Tsai
Quoted 15 lines · Krzysztof Kozlowski
Quoted 13 lines · Chen-Yu Tsai

The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:

Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-dt-for-7.2

for you to fetch changes up to 44cf19e41c769720750dbb8752aca75c247e565f:

arm64: dts: allwinner: a523: add gpadc node (2026-05-25 05:02:58 +0800)

Quoted 8 lines
Quoted 4 lines

As mentioned in the tag, this pull request contains a change that should be shared between the soc and clk trees. However since I don't have any clk changes to send this cycle, I think it can just go through the soc tree without any issues.

But the clock driver change cannot be in the DTS branch. This should go via clock tree even if it is one change. And definitely not via DTS branch.

It is a shared change, because it moves two symbols from the driver's private header to the public DT binding header. I don't see how this can go through just the clk tree when one of the subsequent patches uses those new symbols.

"clk: sunxi-ng: v3s: Export MBUS and DRAM clocks to the public header" is needed by "ARM: dts: sun8i: v3s: Add mbus node to represent the interconnect".

The other way to go about this is to use raw numbers first, then another patch in the next cycle to switch the numbers to actual macros. IMHO not worth the churn and headache.

Quoted 7 lines
Quoted 1 line

You can have a duplicated define.

I honestly did not know that it worked.

However, splitting what is effectively one logical change (*move* something) into two patches just to be able to merge them through two separate trees still seems wrong to me.

It is not really one logical change. Defining a new ABI (binding header define) is considered one change. Merging binding change into driver commit breaks rule of splitting bindings from implementation.

Quoted 7 lines
Quoted 3 lines

Second rule is that DTS branch CANNOT take driver changes. So if you do not want to adhere to the above rule you still cannot combine it into DTS branch.

Very well. I will drop the two changes and send a revised pull request.

Paul, can you redo the clk changes as requested in the next cycle?

Sure, so if I understand correctly, commit:
clk: sunxi-ng: v3s: Export MBUS and DRAM clocks to the public headersunxi

should be split into two, one adding the definitions to the dt-bindings headers first and a second one removing them from the clk driver?

Can it still make it for 7.2?

All the best,

Paul

Signature · 6 lines
Paul Kocialkowski,

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

Expert in multimedia, graphics and embedded hardware support with Linux.
author maintainer
#8 lore raw
Quoted 66 lines · Paul Kocialkowski

Hi,

Quoted 62 lines · Chen-Yu Tsai
Quoted 51 lines · Krzysztof Kozlowski
Quoted 41 lines · Chen-Yu Tsai
Quoted 40 lines · Krzysztof Kozlowski
Quoted 37 lines · Chen-Yu Tsai
Quoted 15 lines · Krzysztof Kozlowski
Quoted 13 lines · Chen-Yu Tsai

The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:

Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git tags/sunxi-dt-for-7.2

for you to fetch changes up to 44cf19e41c769720750dbb8752aca75c247e565f:

arm64: dts: allwinner: a523: add gpadc node (2026-05-25 05:02:58 +0800)

Quoted 8 lines
Quoted 4 lines

As mentioned in the tag, this pull request contains a change that should be shared between the soc and clk trees. However since I don't have any clk changes to send this cycle, I think it can just go through the soc tree without any issues.

But the clock driver change cannot be in the DTS branch. This should go via clock tree even if it is one change. And definitely not via DTS branch.

It is a shared change, because it moves two symbols from the driver's private header to the public DT binding header. I don't see how this can go through just the clk tree when one of the subsequent patches uses those new symbols.

"clk: sunxi-ng: v3s: Export MBUS and DRAM clocks to the public header" is needed by "ARM: dts: sun8i: v3s: Add mbus node to represent the interconnect".

The other way to go about this is to use raw numbers first, then another patch in the next cycle to switch the numbers to actual macros. IMHO not worth the churn and headache.

Quoted 7 lines
Quoted 1 line

You can have a duplicated define.

I honestly did not know that it worked.

However, splitting what is effectively one logical change (*move* something) into two patches just to be able to merge them through two separate trees still seems wrong to me.

Quoted 7 lines

It is not really one logical change. Defining a new ABI (binding header define) is considered one change. Merging binding change into driver commit breaks rule of splitting bindings from implementation.

Second rule is that DTS branch CANNOT take driver changes. So if you do not want to adhere to the above rule you still cannot combine it into DTS branch.

Very well. I will drop the two changes and send a revised pull request.

Quoted 7 lines
Quoted 1 line

Paul, can you redo the clk changes as requested in the next cycle?

Sure, so if I understand correctly, commit:
clk: sunxi-ng: v3s: Export MBUS and DRAM clocks to the public headersunxi

should be split into two, one adding the definitions to the dt-bindings headers first and a second one removing them from the clk driver?

Correct.

Quoted 1 line

Can it still make it for 7.2?

If you send it out soon, then maybe I can send both in a PR to Stephen. But the v3s dts patch is not going to make it.

ChenYu