[linux-sunxi] [PATCH 3/3] arm64: allwinner: a64: add proper support for the Wi-Fi on BPi M64

2017-07-20 Thread Icenowy Zheng
BPi M64 has an AP6212 Wi-Fi/Bluetooth combo module, and the Wi-Fi SDIO card is connected to the mmc1 controller. The pwrseq of the mmc1 (used to reset the card) used to missing, and the out-of-band interrupt line of the card is not specified. Fix these issues for proper Wi-Fi support of BPi M64.

[linux-sunxi] [PATCH 2/3] arm64: allwinner: a64: enable AXP803 for Banana Pi M64

2017-07-20 Thread Icenowy Zheng
Banana Pi M64 board uses an AXP803 PMIC. Enable the PMIC and its regulators. As we have now proper regulators support, missing or dummy regulators are changed to the correct ones. Signed-off-by: Icenowy Zheng --- .../boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 116

[linux-sunxi] [PATCH 1/3] arm64: allwinner: a64: enable USB host controller for BPi M64

2017-07-20 Thread Icenowy Zheng
Banana Pi M64 connects the USB host-only controller on A64 SoC to a USB hub, which provided the two USB Type-A ports on the board. Enable the USB host controller. The OTG function of the Micro-USB port needs the drivevbus function of the AXP803 driver implemented, so it's not enabled now.

Re: [linux-sunxi] [PATCH 0/5] AXP803 regulator support for Pine64 and SoPine

2017-07-20 Thread icenowy
在 2017-07-20 12:11,Chen-Yu Tsai 写道: On Thu, Jul 20, 2017 at 12:10 AM, Icenowy Zheng wrote: The Pine64 and SoPine w/ baseboard boards have an AXP803 PMIC, and the regulators of the PMIC are used. This patchset adds the regulators to the device tree of these two boards. The

Re: [linux-sunxi] [PATCH v4 4/5] ARM: sunxi: h3/h5: switch apb0-related clocks to r_ccu

2017-07-20 Thread 'Ondřej Jirman' via linux-sunxi
Hi Icenowy, icen...@aosc.io píše v Čt 20. 07. 2017 v 16:21 +0800: > 在 2017-07-20 06:59,Ondřej Jirman 写道: > > Hi, > > > > Icenowy Zheng píše v Út 04. 04. 2017 v 17:50 +0800: > > > From: Icenowy Zheng > > > > > > Now we have driver for the PRCM CCU, switch to use it instead of

[linux-sunxi] [PATCH] drm/panel: simple: Fix width and height for Olimex LCD-OLinuXino-4.3TS

2017-07-20 Thread Jonathan Liu
The physical size of the panel is 105.5 (W) x 67.2 (H) x 4.05 (D) mm but the active display area is 95.04 (W) x 53.856 (H) mm. The width and height should be set to the active display area. Signed-off-by: Jonathan Liu --- drivers/gpu/drm/panel/panel-simple.c | 4 ++-- 1 file

Re: [linux-sunxi] [PATCH v4 4/5] ARM: sunxi: h3/h5: switch apb0-related clocks to r_ccu

2017-07-20 Thread icenowy
在 2017-07-20 06:59,Ondřej Jirman 写道: Hi, Icenowy Zheng píše v Út 04. 04. 2017 v 17:50 +0800: From: Icenowy Zheng Now we have driver for the PRCM CCU, switch to use it instead of old-style clock nodes for apb0-related clocks in sunxi-h3-h5.dtsi . The mux 3 of R_CCU is still

[linux-sunxi] [PATCH 2/2] sunxi: switch PRCM to non-secure on H3/H5 SoCs

2017-07-20 Thread Icenowy Zheng
The PRCM of H3/H5 SoCs have a secure/non-secure switch, which controls the access to some clock/power related registers in PRCM. Current Linux kernel will access the CPUS (AR100) clock in the PRCM block, so the PRCM should be switched to non-secure. Add code to switch the PRCM to non-secure.

[linux-sunxi] [PATCH 1/2] sunxi: add PRCM secure switch register definition

2017-07-20 Thread Icenowy Zheng
Some new Allwinner SoCs' PRCM has a secure switch register, which controls the access to some clock and power registers in PRCM block. Add the definition of this register and its bits in the PRCM header file. Signed-off-by: Icenowy Zheng ---