* [PATCH v2 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver
@ 2018-06-22 12:26 Icenowy Zheng
2018-06-22 12:26 ` [PATCH v2 1/7] dt-bindings: add compatible string for the A64 DE2 CCU Icenowy Zheng
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Icenowy Zheng @ 2018-06-22 12:26 UTC (permalink / raw)
To: Rob Herring, Maxime Ripard, Chen-Yu Tsai, Jagan Teki, Jernej Skrabec
Cc: devicetree, linux-arm-kernel, linux-kernel, linux-clk,
linux-sunxi, Icenowy Zheng
This patchset tries to implement the Allwinner A64 DE2 as a bus driver,
in order to model the fact that the SRAM claim controls the access to
the whole DE2 memory space.
PATCH 1 and PATCH 4 are for the CCU part.
PATCH 2 is the device tree binding for the A64 DE2 bus, and PATCH 3
implements the bus driver.
PATCH 5 adds the DE2 CCU device tree node, with the DE2 bus node.
PATCH 6 and 7 are HDMI simplefb patches for A64. They're present as a
test to this patchset.
Icenowy Zheng (7):
dt-bindings: add compatible string for the A64 DE2 CCU
dt-bindings: add binding for the Allwinner A64 DE2 bus
bus: add bus driver for accessing Allwinner A64 DE2
clk: sunxi-ng: add A64 compatible string
arm64: allwinner: a64: add necessary device tree nodes for DE2 CCU
arm64: allwinner: a64: add device tree node for HDMI simplefb
arm64: allwinner: a64: add HDMI regulator to all DTs' simplefb_hdmi
.../bindings/bus/sun50i-de2-bus.txt | 37 ++++++++++++++
.../devicetree/bindings/clock/sun8i-de2.txt | 1 +
.../dts/allwinner/sun50i-a64-bananapi-m64.dts | 4 ++
.../dts/allwinner/sun50i-a64-nanopi-a64.dts | 4 ++
.../dts/allwinner/sun50i-a64-olinuxino.dts | 4 ++
.../dts/allwinner/sun50i-a64-orangepi-win.dts | 4 ++
.../boot/dts/allwinner/sun50i-a64-pine64.dts | 4 ++
.../dts/allwinner/sun50i-a64-pinebook.dts | 4 ++
.../allwinner/sun50i-a64-sopine-baseboard.dts | 4 ++
.../boot/dts/allwinner/sun50i-a64-teres-i.dts | 4 ++
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 39 ++++++++++++---
drivers/bus/Kconfig | 10 ++++
drivers/bus/Makefile | 1 +
drivers/bus/sun50i-de2.c | 49 +++++++++++++++++++
drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 11 ++---
15 files changed, 167 insertions(+), 13 deletions(-)
create mode 100644 Documentation/devicetree/bindings/bus/sun50i-de2-bus.txt
create mode 100644 drivers/bus/sun50i-de2.c
--
2.17.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 1/7] dt-bindings: add compatible string for the A64 DE2 CCU
2018-06-22 12:26 [PATCH v2 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver Icenowy Zheng
@ 2018-06-22 12:26 ` Icenowy Zheng
2018-06-25 16:00 ` [PATCH v2 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver Maxime Ripard
2018-06-27 18:37 ` Maxime Ripard
2 siblings, 0 replies; 5+ messages in thread
From: Icenowy Zheng @ 2018-06-22 12:26 UTC (permalink / raw)
To: Rob Herring, Maxime Ripard, Chen-Yu Tsai, Jagan Teki, Jernej Skrabec
Cc: devicetree, linux-arm-kernel, linux-kernel, linux-clk,
linux-sunxi, Icenowy Zheng
The Allwinner A64 SoC has a DE2 CCU like the one in the DE2 of Allwinner
H5 SoC.
Add a compatible string for it.
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Stephen Boyd <sboyd@kernel.org>
---
No changes since v1.
Documentation/devicetree/bindings/clock/sun8i-de2.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/clock/sun8i-de2.txt b/Documentation/devicetree/bindings/clock/sun8i-de2.txt
index f2fa87c4765c..e94582e8b8a9 100644
--- a/Documentation/devicetree/bindings/clock/sun8i-de2.txt
+++ b/Documentation/devicetree/bindings/clock/sun8i-de2.txt
@@ -6,6 +6,7 @@ Required properties :
- "allwinner,sun8i-a83t-de2-clk"
- "allwinner,sun8i-h3-de2-clk"
- "allwinner,sun8i-v3s-de2-clk"
+ - "allwinner,sun50i-a64-de2-clk"
- "allwinner,sun50i-h5-de2-clk"
- reg: Must contain the registers base address and length
--
2.17.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver
2018-06-22 12:26 [PATCH v2 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver Icenowy Zheng
2018-06-22 12:26 ` [PATCH v2 1/7] dt-bindings: add compatible string for the A64 DE2 CCU Icenowy Zheng
@ 2018-06-25 16:00 ` Maxime Ripard
2018-06-27 18:37 ` Maxime Ripard
2 siblings, 0 replies; 5+ messages in thread
From: Maxime Ripard @ 2018-06-25 16:00 UTC (permalink / raw)
To: Icenowy Zheng
Cc: Rob Herring, Chen-Yu Tsai, Jagan Teki, Jernej Skrabec,
devicetree, linux-arm-kernel, linux-kernel, linux-clk,
linux-sunxi
[-- Attachment #1: Type: text/plain, Size: 929 bytes --]
Hi,
On Fri, Jun 22, 2018 at 08:26:08PM +0800, Icenowy Zheng wrote:
> This patchset tries to implement the Allwinner A64 DE2 as a bus driver,
> in order to model the fact that the SRAM claim controls the access to
> the whole DE2 memory space.
>
> PATCH 1 and PATCH 4 are for the CCU part.
>
> PATCH 2 is the device tree binding for the A64 DE2 bus, and PATCH 3
> implements the bus driver.
>
> PATCH 5 adds the DE2 CCU device tree node, with the DE2 bus node.
>
> PATCH 6 and 7 are HDMI simplefb patches for A64. They're present as a
> test to this patchset.
Apart from the (minor) comments I made that can be fixed up while
applying, I'm happy with those changes. I'd still like to get a review
from Rob, so I'll wait for it to apply them.
Thanks a lot for working on this,
Maxime
--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver
2018-06-22 12:26 [PATCH v2 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver Icenowy Zheng
2018-06-22 12:26 ` [PATCH v2 1/7] dt-bindings: add compatible string for the A64 DE2 CCU Icenowy Zheng
2018-06-25 16:00 ` [PATCH v2 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver Maxime Ripard
@ 2018-06-27 18:37 ` Maxime Ripard
2018-06-27 20:21 ` Icenowy Zheng
2 siblings, 1 reply; 5+ messages in thread
From: Maxime Ripard @ 2018-06-27 18:37 UTC (permalink / raw)
To: Icenowy Zheng
Cc: Rob Herring, Chen-Yu Tsai, Jagan Teki, Jernej Skrabec,
devicetree, linux-kernel, linux-sunxi, linux-clk,
linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 896 bytes --]
On Fri, Jun 22, 2018 at 08:26:08PM +0800, Icenowy Zheng wrote:
> This patchset tries to implement the Allwinner A64 DE2 as a bus driver,
> in order to model the fact that the SRAM claim controls the access to
> the whole DE2 memory space.
>
> PATCH 1 and PATCH 4 are for the CCU part.
>
> PATCH 2 is the device tree binding for the A64 DE2 bus, and PATCH 3
> implements the bus driver.
>
> PATCH 5 adds the DE2 CCU device tree node, with the DE2 bus node.
>
> PATCH 6 and 7 are HDMI simplefb patches for A64. They're present as a
> test to this patchset.
Applied all the patches with the minor modifications Chen-Yu and I
suggested.
The threading was broken on your serie though, so you probably want to
check your git configuration.
Thanks!
Maxime
--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver
2018-06-27 18:37 ` Maxime Ripard
@ 2018-06-27 20:21 ` Icenowy Zheng
0 siblings, 0 replies; 5+ messages in thread
From: Icenowy Zheng @ 2018-06-27 20:21 UTC (permalink / raw)
To: linux-arm-kernel, Maxime Ripard
Cc: devicetree, Jernej Skrabec, linux-sunxi, linux-kernel,
Chen-Yu Tsai, Rob Herring, Jagan Teki, linux-clk
于 2018年6月28日 GMT+08:00 上午2:37:21, Maxime Ripard <maxime.ripard@bootlin.com> 写到:
>On Fri, Jun 22, 2018 at 08:26:08PM +0800, Icenowy Zheng wrote:
>> This patchset tries to implement the Allwinner A64 DE2 as a bus
>driver,
>> in order to model the fact that the SRAM claim controls the access to
>> the whole DE2 memory space.
>>
>> PATCH 1 and PATCH 4 are for the CCU part.
>>
>> PATCH 2 is the device tree binding for the A64 DE2 bus, and PATCH 3
>> implements the bus driver.
>>
>> PATCH 5 adds the DE2 CCU device tree node, with the DE2 bus node.
>>
>> PATCH 6 and 7 are HDMI simplefb patches for A64. They're present as a
>> test to this patchset.
>
>Applied all the patches with the minor modifications Chen-Yu and I
>suggested.
>
>The threading was broken on your serie though, so you probably want to
>check your git configuration.
In fact I think I should check my ISP configuration.
The breakage is introduced due to too long delay between aosc.io
mail server and my computer, so I must start to send the
remaining patches again.
>
>Thanks!
>Maxime
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-06-27 20:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-22 12:26 [PATCH v2 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver Icenowy Zheng
2018-06-22 12:26 ` [PATCH v2 1/7] dt-bindings: add compatible string for the A64 DE2 CCU Icenowy Zheng
2018-06-25 16:00 ` [PATCH v2 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver Maxime Ripard
2018-06-27 18:37 ` Maxime Ripard
2018-06-27 20:21 ` Icenowy Zheng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).