[linux-sunxi] [PATCH v2 10/10] ARM: sun8i: h3: set the cpu-supply to VDD-CPUX on ALL-H3-CC H3 ver

2018-02-05 Thread Icenowy Zheng
The ALL-H3-CC has a fixed VDD-CPUX voltage at 1.2V, which is supplied by a regulator. Set the CPU's cpu-supply property to the VDD-CPUX regulator. Signed-off-by: Icenowy Zheng --- New patch in v2. arch/arm/boot/dts/sun8i-h3-libretech-all-h3-cc.dts | 4 1 file changed, 4

[linux-sunxi] [PATCH v2 09/10] ARM: sun8i: h3: fix ALL-H3-CC H3 ver VDD-CPUX voltage

2018-02-05 Thread Icenowy Zheng
The VDD-CPUX voltage of ALL-H3-CC H3 ver should be 1.2V, not the 3.3V currently defined in the device tree. Fix the voltage in the device tree. Fixes: 6ca358645d4d ("ARM: dts: sun8i: h3: Add dts file for Libre Computer Board ALL-H3-CC H3 ver.") Signed-off-by: Icenowy Zheng ---

[linux-sunxi] [PATCH v2 07/10] ARM: sun8i: h3: add SY8113B regulator used by Orange Pi One board

2018-02-05 Thread Icenowy Zheng
Orange Pi One board has a SY8113B regulator, which is controlled via GPIO and capable of outputing 1.1V when the PL6 GPIO is set to output 0 or 1.3V when the PL6 GPIO is set to input or output 1, and the output is the power supply of the ARM cores in H3 SoC. Add the device tree node of this

[linux-sunxi] [PATCH v2 06/10] ARM: sun8i: h2+: add SY8113B regulator used by Orange Pi Zero board

2018-02-05 Thread Icenowy Zheng
Orange Pi Zero board has a SY8113B regulator, which is controlled via GPIO and capable of outputing 1.1V when the PL6 GPIO is set to output 0 or 1.3V when the PL6 GPIO is set to input or output 1, and the output is the power supply of the ARM cores in H2+ SoC. Add the device tree node of this

[linux-sunxi] [PATCH v2 05/10] ARM: sun8i: h3: add operating-points-v2 table for CPU

2018-02-05 Thread Icenowy Zheng
The CPU on Allwinner H3 can do dynamic frequency scaling. Add a DVFS table based on the one shipped with Allwinner's H3 SDK. The voltage-frequency relationship seems to be conservative, and Armbian has another DVFS table which uses lower voltage at a certain frequency. However, the official one

[linux-sunxi] [PATCH v2 08/10] ARM: sun8i: h3: Add SY8106A regulator to Orange Pi PC

2018-02-05 Thread Icenowy Zheng
From: Ondrej Jirman Add SY8106A regulator to r_i2c bus and enable the r_i2c bus on Orange Pi PC, then set the power supply of the ARM cores to this regulator, in order to enable DVFS. Signed-off-by: Ondrej Jirman [Icenowy: Enable DVFS in this patch, slight

[linux-sunxi] [PATCH v2 04/10] ARM: sunxi: h3/h5: Add r_i2c I2C controller

2018-02-05 Thread Icenowy Zheng
From: Ondrej Jirman Allwinner H3/H5 SoCs have an I2C controller at PL GPIO bank. Add support for it in the device tree. Signed-off-by: Ondrej Jirman [Icenowy: Change to use r_ccu and change pinmux node name] Signed-off-by: Icenowy Zheng

[linux-sunxi] [PATCH v2 00/10] Allwinner H3 DVFS support

2018-02-05 Thread Icenowy Zheng
This patchset tries to add DVFS support for Allwinner H3 SoC, considering two kinds of adjustable regulators used on H3 boards: SY8106A I2C-controlled regulator and SY8113B regulator (controllable by GPIO with some special designs on the board), and also taking the uncontrollable boards into

[linux-sunxi] [PATCH v2 02/10] regulator: add support for SY8106A regulator

2018-02-05 Thread Icenowy Zheng
From: Ondrej Jirman SY8106A is an I2C attached single output regulator made by Silergy Corp, which is used on several Allwinner H3/H5 SBCs to control the power supply of the ARM cores. Add a driver for it. Signed-off-by: Ondrej Jirman [Icenowy: Change

[linux-sunxi] [PATCH v2 03/10] ARM: sunxi: h3/h5: Add r_i2c pinmux node

2018-02-05 Thread Icenowy Zheng
From: Ondrej Jirman H3/H5 SoCs contain an I2C controller optionally available on the PL0 and PL1 pins. This patch adds pinmux configuration for this controller. Signed-off-by: Ondrej Jirman [Icenowy: change commit message, node name and function name]

[linux-sunxi] [PATCH v2 01/10] dt-bindings: add binding for the SY8106A voltage regulator

2018-02-05 Thread Icenowy Zheng
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

Re: [linux-sunxi] [PATCH v3] ARM: sun8i: h2+: add support for Banana Pi M2 Zero board

2018-02-05 Thread Icenowy Zheng
于 2018年2月5日 GMT+08:00 下午9:36:25, Maxime Ripard 写到: >On Sat, Feb 03, 2018 at 05:45:52PM +1100, Julian Calaby wrote: >> Hi all, >> >> On Sun, Dec 24, 2017 at 4:40 PM, Icenowy Zheng >wrote: >> > Banana Pi M2 Zero board is a H2+-based board by Sinovoip,

[linux-sunxi] Re: [PATCH 2/3] ARM: dts: sun8i: add audio codec support into V3s DTSI

2018-02-05 Thread Icenowy Zheng
于 2018年2月3日 GMT+08:00 上午3:49:35, Maxime Ripard 写到: >On Fri, Feb 02, 2018 at 10:01:52PM +0800, Icenowy Zheng wrote: >> Allwinner V3s SoC features an internal audio codec like the one in >H3, >> and a analog codec like the one in H3/A23 (but much simpler). >> >> Add

Re: [linux-sunxi] [RFC PATCH 8/8] sunxi: enable PSCI for A83T SoC

2018-02-05 Thread Jagan Teki
On Monday 05 February 2018 09:05 PM, Mr. Fülöp wrote: Thank you all for your help! I really appreciate your feedback! Following your advice I booted XEN ... Yeeeyyy BUT got stuck here: Xen 4.11-unstable (XEN) Xen version 4.11-unstable (@) (arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1

Re: [linux-sunxi] [RFC PATCH 8/8] sunxi: enable PSCI for A83T SoC

2018-02-05 Thread Mr . Fülöp
Thank you all for your help! I really appreciate your feedback! Following your advice I booted XEN ... Yeeeyyy BUT got stuck here: Xen 4.11-unstable (XEN) Xen version 4.11-unstable (@) (arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705) debug=y Fri Feb 2 16:48:36 UTC 2018 (XEN) Latest

Re: [linux-sunxi] [RFC PATCH 8/8] sunxi: enable PSCI for A83T SoC

2018-02-05 Thread Jagan Teki
On Mon, Feb 5, 2018 at 7:05 PM, Mr. Fülöp wrote: > This is the loop I was talking about: > > U-Boot 2018.03-rc1-00078-gb215307-dirty (Feb 05 2018 - 12:50:50 +) > > Loading Environment from FAT... Unable to use mmc 1:0... Failed (-5) > Loading Environment from MMC...

Re: [linux-sunxi] [RFC PATCH 8/8] sunxi: enable PSCI for A83T SoC

2018-02-05 Thread Mr . Fülöp
This is the loop I was talking about: U-Boot 2018.03-rc1-00078-gb215307-dirty (Feb 05 2018 - 12:50:50 +) Loading Environment from FAT... Unable to use mmc 1:0... Failed (-5) Loading Environment from MMC... *** Warning - bad CRC, using default environment Failed (-5) In:serial Out:

[linux-sunxi] Re: [PATCH] Revert "ARM: dts: sunxi: Add regulators for Sinovoip BPI-M2"

2018-02-05 Thread Icenowy Zheng
于 2018年2月5日 GMT+08:00 下午4:55:58, Emmanuel Vadot 写到: > > Hello, > >On Sat, 3 Feb 2018 19:23:53 +0800 >Icenowy Zheng wrote: > >> This reverts commit 7daa213700758b5b08fc0daab09bb139dd334165. >> >> The original commit has several problems: >> >> -

Re: [linux-sunxi] Re: xen on sun7i successful

2018-02-05 Thread bharat gohil
I had successfully run Xen 4.10 with latest kernel as DOM0(4.12) and DomU(4.12) on Orangepi PC2. I also experiment some pass-through and device emulation under Xen on OrangePI PC2. It really state-forward. On Mon, Feb 5, 2018 at 4:32 AM, André Przywara wrote: > On