Re: [linux-sunxi] Re: [PATCH 0/3] Add ethernet0 alias for several A64 boards

2017-07-25 Thread Chen-Yu Tsai
On Wed, Jul 26, 2017 at 7:54 AM, Icenowy Zheng wrote: > > > 于 2017年7月25日 GMT+08:00 下午10:31:27, Maxime Ripard > 写到: >>On Tue, Jul 25, 2017 at 05:18:19AM +0200, Adam Borowski wrote: >>> On Tue, Jul 25, 2017 at 11:04:24AM +0800, icen...@aosc.io

[linux-sunxi] Re: [PATCH 05/10] clk: sunxi-ng: h3: gate then ungate PLL CPU clk after rate change

2017-07-25 Thread Stephen Boyd
On 07/23, Icenowy Zheng wrote: > From: Chen-Yu Tsai > > This patch utilizes the new PLL clk notifier to gate then ungate the > PLL CPU clock after rate changes. This should prevent any system hangs > resulting from cpufreq changes to the clk. > > Reported-by: Ondrej Jirman

[linux-sunxi] Re: [PATCH 06/10] clk: sunxi-ng: allow set parent clock (PLL_CPUX) for CPUX clock on H3

2017-07-25 Thread Stephen Boyd
On 07/23, Icenowy Zheng wrote: > The CPUX clock, which is the main clock of the ARM core on Allwinner H3, > can be adjusted by changing the frequency of the PLL_CPUX clock. > > Allowing setting parent clock for the CPUX clock, thus the PLL_CPUX > clock can be adjusted when adjusting the CPUX

[linux-sunxi] Re: [PATCH 0/3] Add ethernet0 alias for several A64 boards

2017-07-25 Thread Icenowy Zheng
于 2017年7月25日 GMT+08:00 下午10:31:27, Maxime Ripard 写到: >On Tue, Jul 25, 2017 at 05:18:19AM +0200, Adam Borowski wrote: >> On Tue, Jul 25, 2017 at 11:04:24AM +0800, icen...@aosc.io wrote: >> > 在 2017-07-24 15:58,Maxime Ripard 写道: >> > > On Sat, Jul 22, 2017 at

[linux-sunxi] Re: [PATCH v2 2/2] ASoC: sun4i-i2s: Add support for H3

2017-07-25 Thread Code Kipper
On 25 July 2017 at 16:36, Maxime Ripard wrote: > Hi, > > On Sat, Jul 22, 2017 at 08:53:52AM +0200, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> The sun8i-h3 introduces a lot of changes to the i2s block such >> as different

[linux-sunxi] Re: [PATCH 1/4] ARM: sun9i: Support SMP on A80 with Multi-Cluster Power Management (MCPM)

2017-07-25 Thread Maxime Ripard
On Tue, Jul 25, 2017 at 04:29:52PM +0800, Chen-Yu Tsai wrote: > default ARCH_SUNXI > On Tue, Jul 25, 2017 at 3:47 PM, Maxime Ripard > wrote: > > Hi Chen-Yu, > > > > On Tue, Jul 25, 2017 at 01:09:16PM +0800, Chen-Yu Tsai wrote: > >> The A80 is a

[linux-sunxi] Re: [PATCH v2 2/2] ASoC: sun4i-i2s: Add support for H3

2017-07-25 Thread Maxime Ripard
Hi, On Sat, Jul 22, 2017 at 08:53:52AM +0200, codekip...@gmail.com wrote: > From: Marcus Cooper > > The sun8i-h3 introduces a lot of changes to the i2s block such > as different register locations, extended clock division and > more operational modes. As we have to

[linux-sunxi] Re: [PATCH 0/3] Add ethernet0 alias for several A64 boards

2017-07-25 Thread Maxime Ripard
On Tue, Jul 25, 2017 at 05:18:19AM +0200, Adam Borowski wrote: > On Tue, Jul 25, 2017 at 11:04:24AM +0800, icen...@aosc.io wrote: > > 在 2017-07-24 15:58,Maxime Ripard 写道: > > > On Sat, Jul 22, 2017 at 10:28:49AM +0800, Icenowy Zheng wrote: > > > > Allwinner A64 SoC has an EMAC which is used to

[linux-sunxi] Re: [PATCH] dt-bindings: add device tree binding for Allwinner XR819 SDIO Wi-Fi

2017-07-25 Thread Kalle Valo
Icenowy Zheng writes: > Allwinner XR819 is a SDIO Wi-Fi chip, which has the functionality to use > an out-of-band interrupt pin instead of SDIO in-band interrupt. > > Add the device tree binding of this chip, in order to make it possible > to add this interrupt pin to device

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

2017-07-25 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 v2 2/3] arm64: allwinner: a64: enable AXP803 for Banana Pi M64

2017-07-25 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 --- Changes in v2: - Changed vdd-cpux constraints. - Added

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

2017-07-25 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.

[linux-sunxi] Re: [PATCH 1/4] ARM: sun9i: Support SMP on A80 with Multi-Cluster Power Management (MCPM)

2017-07-25 Thread icenowy
在 2017-07-25 16:29,Chen-Yu Tsai 写道: default ARCH_SUNXI On Tue, Jul 25, 2017 at 3:47 PM, Maxime Ripard wrote: Hi Chen-Yu, On Tue, Jul 25, 2017 at 01:09:16PM +0800, Chen-Yu Tsai wrote: The A80 is a big.LITTLE SoC with 1 cluster of 4 Cortex-A7s and 1 cluster of

[linux-sunxi] Re: [PATCH 1/4] ARM: sun9i: Support SMP on A80 with Multi-Cluster Power Management (MCPM)

2017-07-25 Thread Chen-Yu Tsai
default ARCH_SUNXI On Tue, Jul 25, 2017 at 3:47 PM, Maxime Ripard wrote: > Hi Chen-Yu, > > On Tue, Jul 25, 2017 at 01:09:16PM +0800, Chen-Yu Tsai wrote: >> The A80 is a big.LITTLE SoC with 1 cluster of 4 Cortex-A7s and >> 1 cluster of 4 Cortex-A15s. >>

[linux-sunxi] Re: [PATCH 1/4] ARM: sun9i: Support SMP on A80 with Multi-Cluster Power Management (MCPM)

2017-07-25 Thread Maxime Ripard
Hi Chen-Yu, On Tue, Jul 25, 2017 at 01:09:16PM +0800, Chen-Yu Tsai wrote: > The A80 is a big.LITTLE SoC with 1 cluster of 4 Cortex-A7s and > 1 cluster of 4 Cortex-A15s. > > This patch adds support to bring up the second cluster and thus all > cores using the common MCPM code. Core/cluster power

[linux-sunxi] Re: [PATCH v3 09/10] ARM: dts: sun8i: a83t: cubietruck-plus: Enable micro-SD card and eMMC

2017-07-25 Thread Maxime Ripard
On Mon, Jul 24, 2017 at 09:59:04PM +0800, Chen-Yu Tsai wrote: > Now that we support the MMC controllers on the A83T SoC, we can enable > them on some boards. > > Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Thanks! Maxime -- Maxime

[linux-sunxi] Re: [PATCH v3 10/10] ARM: dts: sun8i: a83t: h8homlet: Enable micro-SD card and onboard eMMC

2017-07-25 Thread Maxime Ripard
On Mon, Jul 24, 2017 at 09:59:05PM +0800, Chen-Yu Tsai wrote: > The H8 homlet has a micro-SD card slot connected to mmc0, > and onboard eMMC from FORESEE, connected to mmc2. > > Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Thanks! Maxime

[linux-sunxi] Re: [PATCH v3 08/10] ARM: dts: sun8i: a83t: Add pingroup for 8-bit eMMC on mmc2

2017-07-25 Thread Maxime Ripard
On Mon, Jul 24, 2017 at 09:59:03PM +0800, Chen-Yu Tsai wrote: > mmc2 can support 8-bit eMMC chips, with a dedicated reset line. > > Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded

[linux-sunxi] Re: [PATCH v3 07/10] ARM: dts: sun8i: a83t: Add MMC controller device nodes

2017-07-25 Thread Maxime Ripard
On Mon, Jul 24, 2017 at 09:59:02PM +0800, Chen-Yu Tsai wrote: > The A83T has 3 MMC controllers. The third one is a bit special, as it > supports a wider 8-bit bus, and a "new timing mode". > > Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard

[linux-sunxi] Re: [PATCH v3 03/10] clk: sunxi-ng: a83t: Support new timing mode for mmc2 clock

2017-07-25 Thread Maxime Ripard
On Mon, Jul 24, 2017 at 09:58:58PM +0800, Chen-Yu Tsai wrote: > The MMC2 clock supports a new timing mode. When the new mode is active, > the output clock rate is halved. > > This patch sets the feature flag for the new timing mode, and adds > a pre-divider based on the mode bit. > >

[linux-sunxi] Re: [PATCH v3 01/10] clk: sunxi-ng: Add interface to query or configure MMC timing modes.

2017-07-25 Thread Maxime Ripard
On Mon, Jul 24, 2017 at 09:58:56PM +0800, Chen-Yu Tsai wrote: > Starting with the A83T SoC, Allwinner introduced a new timing mode for > its MMC clocks. The new mode changes how the MMC controller sample and > output clocks are delayed to match chip and board specifics. There are > two controls

[linux-sunxi] Re: [PATCH v3 02/10] clk: sunxi-ng: Add MP_MMC clocks that support MMC timing modes switching

2017-07-25 Thread Maxime Ripard
On Mon, Jul 24, 2017 at 09:58:57PM +0800, Chen-Yu Tsai wrote: > All of our MMC clocks are of the MP clock type. A few MMC clocks on some > SoCs, such as MMC2 on the A83T, support new/old timing mode switching. > > From a clock rate point of view, when the new timing mode is active. the > output

[linux-sunxi] Re: [PATCH v2 1/2] ASoC: sun4i-i2s: Add more quirks for newer SoCs

2017-07-25 Thread Code Kipper
On 25 July 2017 at 07:52, Maxime Ripard wrote: > Hi Markus, > > On Sat, Jul 22, 2017 at 08:53:51AM +0200, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> In preparation for changing this driver to support newer SoC >>