to acquire its EMAC clock regmap.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 23 +++
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
b/arch/arm64/bo
i <w...@csie.org>
[Icenowy: change to use regmaps with single register, change commit
message]
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 48 ++-
1 file changed, 46 insertions(+), 2 deletions(-)
diff --git
de reg_field based on regmap type, change commit message]
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 41 ---
1 file changed, 29 insertions(+), 12 deletions(-)
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-
-sun8i: Use regmap_field for syscon register access
net: stmmac: dwmac-sun8i: Allow getting syscon regmap from device
Icenowy Zheng (3):
dt-bindings: allow dwmac-sun8i to use other devices' exported regmap
drivers: soc: sunxi: export a regmap for EMAC clock reg on A64
arm64: allwinner: a64: add
.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
Documentation/devicetree/bindings/net/dwmac-sun8i.txt | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/dwmac-sun8i.txt
b/Documentation/devicetree/bindings/net/dwmac-sun8i.txt
于 2018年4月12日 GMT+08:00 下午10:56:28, Maxime Ripard <maxime.rip...@bootlin.com> 写到:
>On Wed, Apr 11, 2018 at 10:16:39PM +0800, Icenowy Zheng wrote:
>> From: Chen-Yu Tsai <w...@csie.org>
>>
>> On the Allwinner R40 SoC, the "GMAC clock" register is
Banana Pi M2 Berry has an on-board USB Hub that provides 4 USB Type-A
ports, and it's connected to the USB1 port of the SoC.
Enable it.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
Changes in v3:
- Dropped OHCI node and added hub model comment in EHCI.
arch/arm/boot/dts/sun
PM, Maxime Ripard
>>> <maxime.rip...@bootlin.com> wrote:
>>> > On Thu, Apr 12, 2018 at 11:23:30PM +0800, Chen-Yu Tsai wrote:
>>> >> On Thu, Apr 12, 2018 at 11:11 PM, Icenowy Zheng <icen...@aosc.io>
>wrote:
>>> >> > 于 2018年4月12日 GMT+08:00 下午10:5
于 2018年4月16日 GMT+08:00 下午10:31:30, Maxime Ripard <maxime.rip...@bootlin.com> 写到:
>On Thu, Apr 12, 2018 at 11:23:30PM +0800, Chen-Yu Tsai wrote:
>> On Thu, Apr 12, 2018 at 11:11 PM, Icenowy Zheng <icen...@aosc.io>
>wrote:
>> > 于 2018年4月12日 GMT+08:00 下午10:
于 2018年4月19日 GMT+08:00 下午11:11:22, Kyle Evans 写到:
>On Mon, Jan 29, 2018 at 6:03 AM, Philipp Rossak
>wrote:
>>
>>
>> On 29.01.2018 10:52, Maxime Ripard wrote:
>>>
>>> On Mon, Jan 29, 2018 at 12:29:17AM +0100, Philipp Rossak wrote:
This patch
于 2018年4月25日 GMT+08:00 上午1:07:33, Mark Brown <broo...@kernel.org> 写到:
>On Mon, Apr 23, 2018 at 10:46:56PM +0800, Icenowy Zheng wrote:
>
>> --- /dev/null
>> +++ b/drivers/regulator/sy8106a-regulator.c
>> @@ -0,0 +1,176 @@
>> +// SPDX-License-Identifier: GPL-2.
于 2018年4月25日 GMT+08:00 下午6:53:09, Mark Brown <broo...@kernel.org> 写到:
>On Wed, Apr 25, 2018 at 07:41:35AM +0800, Icenowy Zheng wrote:
>> 于 2018年4月25日 GMT+08:00 上午1:07:33, Mark Brown <broo...@kernel.org> 写到:
>> >On Mon, Apr 23, 2018 at 10:46:56PM +0800, Icenowy Zhen
在 2018-04-03二的 21:40 +0800,Icenowy Zheng写道:
> As the definition of CCU slice macros are already merged into the
> source
> tree, restore the usage of the macros now.
Maxime, could you check this patch and pick it?
Thanks!
>
> Signed-off-by: Icenowy Zheng <icen...@aosc.io>
于 2018年4月23日 GMT+08:00 下午11:03:09, Maxime Ripard <maxime.rip...@bootlin.com> 写到:
>On Mon, Apr 23, 2018 at 10:46:57PM +0800, Icenowy Zheng wrote:
>> From: Ondrej Jirman <meg...@megous.com>
>>
>> Add SY8106A regulator to r_i2c bus and enable the r_i2c bus on
&g
atch, slight changes and change commit
message]
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
Reviewed-by: Chen-Yu Tsai <w...@csie.org>
[w...@csie.org: Rename regulator label]
Signed-off-by: Chen-Yu Tsai <w...@csie.org>
---
Changes in v3:
- Renamed regulator label (by Chen-Yu
From: Ondrej Jirman <meg...@megous.com>
SY8106A is an I2C-controlled adjustable voltage regulator made by
Silergy Corp.
Add its device tree binding.
Signed-off-by: Ondrej Jirman <meg...@megous.com>
[Icenowy: Change commit message and slight fixes]
Signed-off-by: Icenowy Zheng <
This patchset adds dt-bindings and driver for Silergy SY8106A, and then
utilize it on the Orange Pi PC board, which uses SY8016A as its CPUX
(main ARM CPU cluster in an Allwinner SoC) power supply.
The driver's functionality is restricted now, mainly {en,dis}able function
is not yet implemented,
nowy: Change commit message, remove enable/disable code, add default
ramp_delay, add comment for go bit, add code for fixed mode voltage]
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
Reviewed-by: Chen-Yu Tsai <w...@csie.org>
---
Changes in v3:
- Return the fixed voltage defined in device
于 2018年4月17日 GMT+08:00 上午2:47:45, Rob Herring <r...@kernel.org> 写到:
>On Wed, Apr 11, 2018 at 10:16:37PM +0800, Icenowy Zheng wrote:
>> On some Allwinner SoCs the EMAC clock register needed by dwmac-sun8i
>is
>> in another device's memory space. In this situation dwmac-su
As the definition of CCU slice macros are already merged into the source
tree, restore the usage of the macros now.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 20 +++-
1 file changed, 11 insertions(+), 9 deletions(-)
于 2018年3月27日 GMT+08:00 上午6:22:58, Rob Herring <r...@kernel.org> 写到:
>On Thu, Mar 22, 2018 at 02:08:43PM +0800, Icenowy Zheng wrote:
>>
>>
>> 于 2018年3月22日 GMT+08:00 上午1:13:42, "Jernej Škrabec"
><jernej.skra...@siol.net> 写到:
>> >Hi all
controller is broken), and the second one with USB
3.0 (the first one is A80).
This patchset adds the most basical support for it, including the main pin
controller, the main CCU and the basical device tree.
Icenowy Zheng (9):
pinctrl: sunxi: refactor irq related register function to have desc
The Allwinner H6 SoC have its pin controllers with the first IRQ-capable
GPIO bank at IRQ bank 1 and the second bank at IRQ bank 5.
Change the current code that uses IRQ bank base to a IRQ bank map, in
order to support the case that holes exist among IRQ banks.
Signed-off-by: Icenowy Zheng <i
ode in IRQ register access.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
Extracted in v4.
drivers/pinctrl/sunxi/pinctrl-sunxi.h | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.h
b/drivers/pinctrl/sunxi
The Allwinner H6 main CCU uses the internal oscillator of the SoC, which
is different with old SoCs' main CCU.
Add device tree binding for the Allwinner H6 main CCU.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
Extracted in v4.
Documentation/devicetree/bindings/clock/sunxi-ccu.t
As the new H6 SoC has holes in the IRQ registers, refactor the IRQ
related register function for getting the full pinctrl desc structure.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
Changes in v4:
- Adjusted parameter sequence.
Patch introduced in v3.
drivers/pinctrl/sunxi/p
device node.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 4
arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts | 4
arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts| 4
arch/arm64/bo
The A64 SoC features two display pipelines, one has a LCD output, the
other has a HDMI output.
Add support for simplefb for these pipelines on A64 SoC.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 26 ++
As we have all necessary parts to enable the DE2 CCU on the Allwinner
A64 SoC, add the needed device tree nodes, including the SRAM controller
node, SRAM C node, DE2 bus node and DE2 CCU node.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dts
All the sub-blocks of Allwinner A64 DE2 needs the SRAM C on A64 SoC to
be claimed, otherwise the whole DE2 space is inaccessible.
Add a device tree binding of the DE2 part as a sub-bus.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
.../devicetree/bindings/bus/sun50i-de2-bus.txt
requirments, as they're processed by the parent bus driver.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c
b/drivers/clk/sunxi-ng/ccu-sun8i
egion when probing.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
drivers/bus/Kconfig | 10 ++
drivers/bus/Makefile | 1 +
drivers/bus/sun50i-de2.c | 49
3 files changed, 60 insertions(+)
create mode 100644 drivers/bus/su
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 <icen...@aosc.io>
---
Documentation/devicetree/bindings/clock/sun8i-de2.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devi
the bus driver.
PATCH 5 is a modified version of A64 DE2 CCU patch, which uses the A64
DE2 bus.
PATCH 6 and 7 are just the simplefb patches for A64.
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
The Allwinner H6 CCU has a "HDMI Slow Clock", which is currently missing
in the ccu-sun50i-h6 driver.
Add this missing clock to the driver.
Fixes: 542353ea ("clk: sunxi-ng: add support for the Allwinner H6 CCU")
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
Change
于 2018年3月21日 GMT+08:00 上午2:46:46, Maxime Ripard <maxime.rip...@bootlin.com> 写到:
>On Sat, Mar 17, 2018 at 01:53:49AM +0800, Icenowy Zheng wrote:
>> All the sub-blocks of Allwinner A64 DE2 needs the SRAM C on A64 SoC
>to
>> be claimed, otherwise the whole DE2 space is
于 2018年3月22日 GMT+08:00 上午1:13:42, "Jernej Škrabec" <jernej.skra...@siol.net> 写到:
>Hi all,
>
>Dne sreda, 21. marec 2018 ob 03:18:13 CET je Icenowy Zheng napisal(a):
>> 于 2018年3月21日 GMT+08:00 上午2:46:46, Maxime Ripard
><maxime.rip...@bootlin.com>
>写到:
&
-by: Icenowy Zheng <icen...@aosc.io>
---
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 20 +---
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
index 4debc3962830..56563150d61a
The Allwinner H6 CCU has a "HDMI Slow Clock", which is currently missing
in the ccu-sun50i-h6 driver.
Add this missing clock to the driver.
Fixes: 542353ea ("clk: sunxi-ng: add support for the Allwinner H6 CCU")
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
drive
On the new Allwinner H6 SoC, multiple PLL's are NMP style clocks
(modelled as NKMP with no K) and have fixed post-dividers.
Add fixed post divider support to the NKMP style clocks.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
No changes in v4.
Changes in v3:
- Rebased on newest linu
. The GPIO functions are dropped, as they're impossible to use --
except a GPIO only pin (PB20) which might be the IRQ of ATE.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
Acked-by: Rob Herring <r...@kernel.org>
---
No changes in v4.
Changes in v3:
- SPDX license identifier fi
The Allwinner H6 SoC has a CCU which has been largely rearranged.
Add support for it in the sunxi-ng CCU framework.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
Acked-by: Maxime Ripard <maxime.rip...@bootlin.com>
---
Changes in v4:
- Extract the device tree binding document to a
Allwinner H6 is a new SoC with Cortex-A53 cores from Allwinner, with its
memory map fully reworked and some high-speed peripherals (PCIe, USB
3.0) introduced.
This commit adds the basical DTSI file of it, including the clock
support and UART support.
Signed-off-by: Icenowy Zheng <icen...@aosc
and "Expansion" pin header
- 2 USB 2.0 ports and 1 USB 3.0 ports
- Audio jack
- MicroSD slot and eMMC module slot
- on-board SPI NOR flash
- 1Gbps Ethernet port (via RTL8211E PHY)
- HDMI port
Adds initial support for it, including the UART on the Expansion pin
header.
Signed-off-by:
于 2018年3月19日 GMT+08:00 上午4:17:44, Maxime Ripard <maxime.rip...@bootlin.com> 写到:
>On Fri, Mar 16, 2018 at 10:02:06PM +0800, Icenowy Zheng wrote:
>> This patchset adds initial support for the Allwinner H6 SoC.
>>
>> It's quite different from earlier Allwinner SoCs. For
于 2018年2月27日 GMT+08:00 上午12:16:44, "Jernej Škrabec"
写到:
>Hi Julian,
>
>Dne nedelja, 25. februar 2018 ob 09:11:34 CET je Julian Calaby
>napisal(a):
>> Hi Jernej,
>>
>> On Sun, Feb 25, 2018 at 8:45 AM, Jernej Skrabec
>
>wrote:
>> > Enable HDMI
The Pine H64 board have a MicroSD slot connected to MMC0 controller of
the H6 SoC and a eMMC slot connected to MMC2.
Enable them in the device tree.
Signed-off-by: Icenowy Zheng <icen...@aosc.io>
---
.../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 32 ++
1 file c
As the U-Boot bootloader now is also capable of initialize the HDMI on
A64 boards, add a simplefb device tree node for accessing the HDMI
framebuffer initialized by the bootloader.
Signed-off-by: Icenowy Zheng
---
Changes in v2:
- Dropped LCD SimpleFB as it's already added. LCD SimpleFB needs
于 2018年11月13日 GMT+08:00 下午1:50:45, Sasha Levin 写到:
>From: Icenowy Zheng
>
>[ Upstream commit c2ff8383cc33c2d9c169e4daf1e37a434c3bb420 ]
>
>On the H6, the MMC module clocks are fixed in the new timing mode,
>i.e. they do not have a bit to select the mode. These clocks
nodes")
Signed-off-by: Icenowy Zheng
---
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
index 45bbb5116446..d1ed451f4d9e 100644
two display pipelines, and enables
the HDMI output on several boards. The first pipeline is not enabled in
this patchset yet, although it's added.
Icenowy Zheng (2):
clk: sunxi-ng: a64: Add max. rate constraint to video PLLs
dt-bindings: sun4i-drm: add HDMI VCC supply property for sun8i-dw
From: Jagan Teki
According to documentation and experience with other similar SoCs, video
PLLs don't work stable if their output frequency is set below 192 MHz.
Because of that, set minimal rate to both A64 video PLLs to 192 MHz.
Signed-off-by: Jagan Teki
Signed-off-by: Icenowy Zheng
: Refactor and also cover TCON1]
Signed-off-by: Icenowy Zheng
---
Changes for v4:
- none
Changes for v3.1:
- added mixer0 and TCON0
Changes for v3:
- collect Rob r-w-b tag
Changes for v2:
- Add fallback compatible for tcon1
- Add separate compatible for mixer1
.../devicetree/bindings/display/sunxi
for
other SoCs, so more faith is put in BSP clock driver.
Signed-off-by: Icenowy Zheng
---
New patch in v4.
drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 50 ++-
1 file changed, 26 insertions(+), 24 deletions(-)
diff --git a/drivers/clk/sunxi-ng/ccu-sun50i-a64.c
b/drivers/clk
From: Jagan Teki
Display Engine(DE2) in Allwinner A64 has two mixers and tcons.
The routing for mixer0 is through tcon0 and connected to
LVDS/RGB/MIPI-DSI controller.
The routing for mixer1 is through tcon1 and connected to HDMI.
Signed-off-by: Jagan Teki
Signed-off-by: Icenowy Zheng
From: Jagan Teki
Mixers in Allwinner have similar capabilities as others SoCs with DE2.
Add support for them.
Signed-off-by: Jagan Teki
[Icenowy: Add mixer1]
Signed-off-by: Icenowy Zheng
Reviewed-by: Jernej Skrabec
---
Changes for v4:
- none
Changes for v3.1:
- Add mixer0
Changes for v3
From: Jagan Teki
Allwinner A64 HDMI PHY clock has PLL_VIDEO0 as a parent.
Include the macro on dt-bindings so-that the same can be used
while defining CCU clock phandles.
Signed-off-by: Jagan Teki
Reviewed-by: Rob Herring
Signed-off-by: Icenowy Zheng
---
Changes for v4:
- Dropped PLL_VIDEO1
and the TCON1 HDMI one.
Signed-off-by: Jagan Teki
[Icenowy: refactor commit message and add 1st pipeline]
Signed-off-by: Icenowy Zheng
---
Changes for v4:
- Misc fixes
- Dropped second PLL from HDMI PHY clock
Changes for v3.1:
- Refactor commit message to make it more clear.
- Added first pipeline
Signed-off-by: Icenowy Zheng
---
Changes in v4:
- Rename the supply name to "hvcc".
Changes in v3.1:
- New patch. (Replaced "drm: sun4i: add support for HVCC regulator
for DWC HDMI glue" by Icenowy.)
drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 17 -
drivers/gpu/drm/su
From: Jagan Teki
Enable all necessary device tree nodes and add connector node to device
trees for all supported A64 boards with HDMI.
Signed-off-by: Jagan Teki
[Icenowy: squash all board patches altogether and change supply name]
Signed-off-by: Icenowy Zheng
---
Changes in v4:
- Rebase some
Allwiner SoCs with DesignWare HDMI controller all come with a "HVCC"
pin, which is the VCC of HDMI part.
Add a supply property to specify HVCC's regulator in the device tree.
Signed-off-by: Icenowy Zheng
---
Changes in v4:
- Rename the supply name to "hvcc".
Changes
-by: Icenowy Zheng
---
Changes for v4:
- none
Changes for v3.1:
- Refactor commit log to make it more clear.
Changes for v3:
- collect Rob r-w-b tag
Changes for v2:
- Add fallback compatible
Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 1 +
1 file changed, 1 insertion(+)
diff --git
于 2018年3月27日 GMT+08:00 上午6:22:58, Rob Herring 写到:
>On Thu, Mar 22, 2018 at 02:08:43PM +0800, Icenowy Zheng wrote:
>>
>>
>> 于 2018年3月22日 GMT+08:00 上午1:13:42, "Jernej Škrabec"
> 写到:
>> >Hi all,
>> >
>> >Dne sreda, 21. marec 2018 ob
于 2018年3月22日 GMT+08:00 上午1:13:42, "Jernej Škrabec" 写到:
>Hi all,
>
>Dne sreda, 21. marec 2018 ob 03:18:13 CET je Icenowy Zheng napisal(a):
>> 于 2018年3月21日 GMT+08:00 上午2:46:46, Maxime Ripard
>
>写到:
>> >On Sat, Mar 17, 2018 at 01:53:49AM +0800, Iceno
于 2018年3月21日 GMT+08:00 上午2:46:46, Maxime Ripard 写到:
>On Sat, Mar 17, 2018 at 01:53:49AM +0800, Icenowy Zheng wrote:
>> All the sub-blocks of Allwinner A64 DE2 needs the SRAM C on A64 SoC
>to
>> be claimed, otherwise the whole DE2 space is inaccessible.
>>
>
The Allwinner H6 CCU has a "HDMI Slow Clock", which is currently missing
in the ccu-sun50i-h6 driver.
Add this missing clock to the driver.
Fixes: 542353ea ("clk: sunxi-ng: add support for the Allwinner H6 CCU")
Signed-off-by: Icenowy Zheng
---
Changes in v2:
- Rearrange
controller is broken), and the second one with USB
3.0 (the first one is A80).
This patchset adds the most basical support for it, including the main pin
controller, the main CCU and the basical device tree.
Icenowy Zheng (9):
pinctrl: sunxi: refactor irq related register function to have desc
The Allwinner H6 SoC have its pin controllers with the first IRQ-capable
GPIO bank at IRQ bank 1 and the second bank at IRQ bank 5.
Change the current code that uses IRQ bank base to a IRQ bank map, in
order to support the case that holes exist among IRQ banks.
Signed-off-by: Icenowy Zheng
ode in IRQ register access.
Signed-off-by: Icenowy Zheng
---
Extracted in v4.
drivers/pinctrl/sunxi/pinctrl-sunxi.h | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.h
b/drivers/pinctrl/sunxi/pinctrl-sunxi.h
index a1
As the new H6 SoC has holes in the IRQ registers, refactor the IRQ
related register function for getting the full pinctrl desc structure.
Signed-off-by: Icenowy Zheng
---
Changes in v4:
- Adjusted parameter sequence.
Patch introduced in v3.
drivers/pinctrl/sunxi/pinctrl-sunxi.c | 22
The Allwinner H6 main CCU uses the internal oscillator of the SoC, which
is different with old SoCs' main CCU.
Add device tree binding for the Allwinner H6 main CCU.
Signed-off-by: Icenowy Zheng
---
Extracted in v4.
Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 4
1 file
On the new Allwinner H6 SoC, multiple PLL's are NMP style clocks
(modelled as NKMP with no K) and have fixed post-dividers.
Add fixed post divider support to the NKMP style clocks.
Signed-off-by: Icenowy Zheng
---
No changes in v4.
Changes in v3:
- Rebased on newest linux-next/master
. The GPIO functions are dropped, as they're impossible to use --
except a GPIO only pin (PB20) which might be the IRQ of ATE.
Signed-off-by: Icenowy Zheng
Acked-by: Rob Herring
---
No changes in v4.
Changes in v3:
- SPDX license identifier fix.
- Dropped most GPIO functionality at PA/PB.
Cha
The Allwinner H6 SoC has a CCU which has been largely rearranged.
Add support for it in the sunxi-ng CCU framework.
Signed-off-by: Icenowy Zheng
Acked-by: Maxime Ripard
---
Changes in v4:
- Extract the device tree binding document to another patch.
Changes in v3:
- SPDX license idetifier fix
Allwinner H6 is a new SoC with Cortex-A53 cores from Allwinner, with its
memory map fully reworked and some high-speed peripherals (PCIe, USB
3.0) introduced.
This commit adds the basical DTSI file of it, including the clock
support and UART support.
Signed-off-by: Icenowy Zheng
Reviewed
and "Expansion" pin header
- 2 USB 2.0 ports and 1 USB 3.0 ports
- Audio jack
- MicroSD slot and eMMC module slot
- on-board SPI NOR flash
- 1Gbps Ethernet port (via RTL8211E PHY)
- HDMI port
Adds initial support for it, including the UART on the Expansion pin
header.
Signed-off-by: Ice
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
---
Documentation/devicetree/bindings/clock/sun8i-de2.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/clock
the bus driver.
PATCH 5 is a modified version of A64 DE2 CCU patch, which uses the A64
DE2 bus.
PATCH 6 and 7 are just the simplefb patches for A64.
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
All the sub-blocks of Allwinner A64 DE2 needs the SRAM C on A64 SoC to
be claimed, otherwise the whole DE2 space is inaccessible.
Add a device tree binding of the DE2 part as a sub-bus.
Signed-off-by: Icenowy Zheng
---
.../devicetree/bindings/bus/sun50i-de2-bus.txt | 37
requirments, as they're processed by the parent bus driver.
Signed-off-by: Icenowy Zheng
---
drivers/clk/sunxi-ng/ccu-sun8i-de2.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-de2.c
b/drivers/clk/sunxi-ng/ccu-sun8i-de2.c
index 468d1abaf0ee
egion when probing.
Signed-off-by: Icenowy Zheng
---
drivers/bus/Kconfig | 10 ++
drivers/bus/Makefile | 1 +
drivers/bus/sun50i-de2.c | 49
3 files changed, 60 insertions(+)
create mode 100644 drivers/bus/sun50i-de2.c
diff --git
device node.
Signed-off-by: Icenowy Zheng
---
arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 4
arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts | 4
arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts| 4
arch/arm64/boot/dts/allwinner/sun50i-a64
The A64 SoC features two display pipelines, one has a LCD output, the
other has a HDMI output.
Add support for simplefb for these pipelines on A64 SoC.
Signed-off-by: Icenowy Zheng
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 26 ++
1 file changed, 26 insertions
As we have all necessary parts to enable the DE2 CCU on the Allwinner
A64 SoC, add the needed device tree nodes, including the SRAM controller
node, SRAM C node, DE2 bus node and DE2 CCU node.
Signed-off-by: Icenowy Zheng
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 42
于 2018年4月30日 GMT+08:00 下午5:47:35, Andre Przywara 写到:
>Hi Icenowy,
>
>On 27/04/18 08:12, Icenowy Zheng wrote:
>>
>>
>> 于 2018年4月27日 GMT+08:00 上午12:46:26, Andre Przywara
> 写到:
>>> Hi,
>>>
>>> On 26/04/18 15:07, Icenowy Zheng wrote:
>
. Higher speed bins are not
supported, similar to A64/H5. EMCE is also not supported, and keeps its
bypassed status by default.
Icenowy Zheng (3):
mmc: sunxi: add support for the MMC controller on H6
arm64: allwinner: h6: add device tree nodes for MMC controllers
arm64: allwinner: h6: enable MMC0/2
The Allwinner H6 SoC have 3 MMC controllers.
Add device tree nodes for them.
Signed-off-by: Icenowy Zheng
---
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 56
1 file changed, 56 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
b/arch
by defualt, we just duplicate the A64 mmc configurations and
change the compatible string.
Signed-off-by: Icenowy Zheng
---
Documentation/devicetree/bindings/mmc/sunxi-mmc.txt | 2 ++
drivers/mmc/host/sunxi-mmc.c| 16
2 files changed, 18 insertions
The Pine H64 board have a MicroSD slot connected to MMC0 controller of
the H6 SoC and a eMMC slot connected to MMC2.
Enable them in the device tree.
Signed-off-by: Icenowy Zheng
---
.../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 32 ++
1 file changed, 32 insertions
于 2018年4月27日 GMT+08:00 上午12:46:26, Andre Przywara 写到:
>Hi,
>
>On 26/04/18 15:07, Icenowy Zheng wrote:
>> The Pine H64 board have a MicroSD slot connected to MMC0 controller
>of
>> the H6 SoC and a eMMC slot connected to MMC2.
>>
>> Enable them in the device
于 2018年4月27日 GMT+08:00 上午12:45:38, Andre Przywara 写到:
>Hi,
>
>On 26/04/18 15:07, Icenowy Zheng wrote:
>> The Allwinner H6 SoC have 3 MMC controllers.
>>
>> Add device tree nodes for them.
>>
>> Signed-off-by: Icenowy Zheng
>> ---
>>
于 2018年4月27日 GMT+08:00 上午12:45:24, Andre Przywara 写到:
>Hi,
>
>On 26/04/18 15:07, Icenowy Zheng wrote:
>> The new Allwinner H6 SoC have 3 MMC controllers. The first and second
>> ones are similar to the ones on A64, but the third one adds EMCE
>> (Embedded Crypto
于 2018年4月27日 GMT+08:00 下午5:18:23, Andre Przywara 写到:
>Hi,
>
>On 27/04/18 09:36, Icenowy Zheng wrote:
>>
>>
>> 于 2018年4月27日 GMT+08:00 上午12:45:38, Andre Przywara
> 写到:
>>> Hi,
>>>
>>> On 26/04/18 15:07, Icenowy Zheng wrote:
>>>&
This patchset adds dt-bindings and driver for Silergy SY8106A, and then
utilize it on the Orange Pi PC board, which uses SY8016A as its CPUX
(main ARM CPU cluster in an Allwinner SoC) power supply.
The driver's functionality is restricted now, mainly {en,dis}able function
is not yet implemented,
From: Ondrej Jirman
SY8106A is an I2C-controlled adjustable voltage regulator made by
Silergy Corp.
Add its device tree binding.
Signed-off-by: Ondrej Jirman
[Icenowy: Change commit message and slight fixes]
Signed-off-by: Icenowy Zheng
Reviewed-by: Chen-Yu Tsai
Acked-by: Rob Herring
code, add default
ramp_delay, add comment for go bit, add code for fixed mode voltage]
Signed-off-by: Icenowy Zheng
Reviewed-by: Chen-Yu Tsai
---
Changes in v4:
- Drop custom {get,set}_voltage_sel function, and force GO_BIT to be set
when probing.
Changes in v3:
- Return the fixed voltage defined
]
Signed-off-by: Icenowy Zheng
Reviewed-by: Chen-Yu Tsai
[w...@csie.org: Rename regulator label]
Signed-off-by: Chen-Yu Tsai
---
No changes in v4.
Changes in v3:
- Renamed regulator label (by Chen-Yu Tsai).
- Added the fixed mode voltage number.
Changes in v2:
- Reduce maximum voltage to 1.3V
This patchset contains USB3 support for Allwinner H6 SoC (DWC3 with a custom
PHY).
The first patch adds the PHY driver, and the second/third patch adds
compatible to adapt DWC3 platform glue to Allwinner platform. The last
two patches are DT changes.
Icenowy Zheng (5):
phy: allwinner: add phy
Allwinner H6 SoC contains a USB3 PHY (with USB2 DP/DM lines also
controlled).
Add a driver for it.
The register operations in this driver is mainly extracted from the BSP
USB3 driver.
Signed-off-by: Icenowy Zheng
---
.../bindings/phy/sun50i-usb3-phy.txt | 24 +++
drivers/phy
The Allwinner H6 SoC uses DWC3 controller for USB3.
Add its device tree binding document.
Signed-off-by: Icenowy Zheng
---
.../bindings/usb/allwinner,dwc3.txt | 39 +++
1 file changed, 39 insertions(+)
create mode 100644 Documentation/devicetree/bindings/usb
701 - 800 of 1684 matches
Mail list logo