[linux-sunxi] Re: [PATCH v5 15/26] clk: sunxi: Add ccu clock tree support

2019-01-09 Thread André Przywara
On 08/01/2019 19:12, Jagan Teki wrote: > On Tue, Jan 8, 2019 at 5:09 PM Andre Przywara wrote: >> >> On Tue, 8 Jan 2019 16:27:14 +0530 >> Jagan Teki wrote: >> >> Hi, >> >>> On Mon, Jan 7, 2019 at 6:35 AM André Przywara >>> wrote: On 31/12/2018 16:59, Jagan Teki wrote: > Clock

[linux-sunxi] Re: [PATCH v5 02/26] reset: Add Allwinner RESET driver

2019-01-09 Thread André Przywara
On 31/12/2018 16:59, Jagan Teki wrote: > Add common reset driver for all Allwinner SoC's. > > Since CLK and RESET share common DT compatible, it is CLK driver > job is to bind the reset driver. So add CLK bind call on respective > SoC driver by passing ccu map descriptor so-that reset deassert, >

[linux-sunxi] Re: [PATCH] arm64: dts: allwinner: a64: Fix USB OTG regulator

2019-01-09 Thread Maxime Ripard
On Wed, Jan 09, 2019 at 07:16:04PM +0100, Jernej Skrabec wrote: > Currently, AXP803 driver assumes that reg_drivevbus is input which is > wrong. Unfortunate consequence of that is that none of the USB ports > work on the board, even USB HOST port, because USB PHY driver probing > fails due to

[linux-sunxi] Re: [PATCH] ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2

2019-01-09 Thread Maxime Ripard
On Tue, Jan 08, 2019 at 08:18:40PM +0100, Jernej Skrabec wrote: > Because "ethernet0" alias is missing, U-Boot doesn't generate board > specific MAC address. Effect of this is random MAC address every boot > and thus new IP address is assigned to the board. > > Fix this by adding alias. > >

[linux-sunxi] Re: [PATCH] ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2

2019-01-09 Thread Chen-Yu Tsai
On Wed, Jan 9, 2019 at 6:12 PM Maxime Ripard wrote: > > On Tue, Jan 08, 2019 at 08:18:40PM +0100, Jernej Skrabec wrote: > > Because "ethernet0" alias is missing, U-Boot doesn't generate board > > specific MAC address. Effect of this is random MAC address every boot > > and thus new IP address is

[linux-sunxi] Re: [PATCH 2/2] media: cedrus: Allow using the current dst buffer as reference

2019-01-09 Thread Paul Kocialkowski
Hi, On Wed, 2019-01-09 at 15:29 +0100, Hans Verkuil wrote: > On 01/09/19 15:19, Paul Kocialkowski wrote: > > It was reported that some cases of interleaved video decoding require > > using the current destination buffer as a reference. However, this is > > no longer possible after the move to

[linux-sunxi] [PATCH 3/5] ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix WiFi regulator definitions

2019-01-09 Thread Chen-Yu Tsai
The design of the Bananapi M2 Ultra has both DLDO1 and DLDO2 regulators provide power to the WiFi+BT module, which is based on the Broadcom BCM43438 or BCM43430 chip. Each regulator output from the PMIC can supply up to 200 mA. The datasheet of the chip suggests a maximum power draw of up to 360

[linux-sunxi] [PATCH 4/5] ARM: dts: sun8i: r40: bananapi-m2-ultra: Add Bluetooth device node

2019-01-09 Thread Chen-Yu Tsai
The AP6212 is based on the Broadcom BCM43430 or BCM43438. The WiFi side identifies as BCM43430, while the Bluetooth side identifies as BCM43438. The Bluetooth side is connected to UART3 in a 4 wire configuration. Same as the WiFi side, due to being the same chip and package, DLDO1 and DLDO2

[linux-sunxi] [PATCH 0/5] ARM: dts: sunxi: Enable Broadcom-based Bluetooth w/ serdev

2019-01-09 Thread Chen-Yu Tsai
Hi everyone, This is the second batch of patches enabling Bluetooth for Broadcom (AMPAK) modules using the new serdev bindings. The patches are self-explanatory, so I won't go into the details here. This pretty much covers all the boards I have that have AMPAK modules. The only ones missing are

[linux-sunxi] [PATCH 5/5] ARM: dts: sunxi: bananapi-m2-plus: Add Bluetooth device node

2019-01-09 Thread Chen-Yu Tsai
The AP6212 is based on the Broadcom BCM43430 or BCM43438. The WiFi side identifies as BCM43430, while the Bluetooth side identifies as BCM43438. The Bluetooth side is connected to UART1 in a 4 wire configuration. Same as the WiFi side, due to being the same chip and package, the board's fixed

[linux-sunxi] [PATCH 1/5] ARM: dts: sun8i: r40: Add pinmux settings for UART3 on PG pingroup

2019-01-09 Thread Chen-Yu Tsai
UART3 on the PG pingroup on the R40 SoC is commonly used to connect the bluetooth controller in a WiFi+Bluetooth combo chip, with the WiFi bits also on the PG pingroup. This patch adds two device nodes for UART3 on PG pingroup, one for the RX/TX pins, and one for the RTS/CTS pins. Consumers can

[linux-sunxi] [PATCH 2/5] ARM: dts: sun8i: r40: Add pinmux setting for CLK_OUT_A

2019-01-09 Thread Chen-Yu Tsai
CLK_OUT_A, an external clock output function driven from the clock control unit, on the R40 is sometimes used to provide a low rate low power clock to a WiFi or Bluetooth controller. This patch adds a pinmux setting for it. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-r40.dtsi | 5

[linux-sunxi] Re: [PATCH 0/5] ARM: dts: sunxi: Enable Broadcom-based Bluetooth w/ serdev

2019-01-09 Thread Maxime Ripard
On Wed, Jan 09, 2019 at 11:02:52PM +0800, Chen-Yu Tsai wrote: > Hi everyone, > > This is the second batch of patches enabling Bluetooth for Broadcom > (AMPAK) modules using the new serdev bindings. > > The patches are self-explanatory, so I won't go into the details here. > > This pretty much

[linux-sunxi] [PATCH 2/2] media: cedrus: Allow using the current dst buffer as reference

2019-01-09 Thread Paul Kocialkowski
It was reported that some cases of interleaved video decoding require using the current destination buffer as a reference. However, this is no longer possible after the move to vb2_find_timestamp because only dequeued and done buffers are considered. Add a helper in our driver that also considers

[linux-sunxi] [PATCH 1/2] media: cedrus: Cleanup duplicate declarations from cedrus_dec header

2019-01-09 Thread Paul Kocialkowski
Some leftover declarations are still in the cedrus_dec header although they were moved to cedrus_video already. Clean them up. Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/cedrus_dec.h | 6 -- 1 file changed, 6 deletions(-) diff --git

[linux-sunxi] Re: [PATCH 2/2] media: cedrus: Allow using the current dst buffer as reference

2019-01-09 Thread Hans Verkuil
On 01/09/19 15:19, Paul Kocialkowski wrote: > It was reported that some cases of interleaved video decoding require > using the current destination buffer as a reference. However, this is > no longer possible after the move to vb2_find_timestamp because only > dequeued and done buffers are

Re: [linux-sunxi] u-boot: MMC broken on Linksprite A10/A20 boards in 2018.11

2019-01-09 Thread Jagan Teki
On Wed, Jan 9, 2019 at 1:08 AM Priit Laes wrote: > > On Tue, Jan 08, 2019 at 11:54:32PM +0530, Jagan Teki wrote: > > On Thu, Jan 3, 2019 at 9:33 PM Zoltan HERPAI wrote: > > > > > > Hi Jagan, Adam, > > > > > > On Thu, 3 Jan 2019, Jagan Teki wrote: > > > > > > > On Thu, Jan 3, 2019 at 6:57 PM

[linux-sunxi] Re: [PATCH] ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2

2019-01-09 Thread Maxime Ripard
On Wed, Jan 09, 2019 at 06:13:24PM +0800, Chen-Yu Tsai wrote: > On Wed, Jan 9, 2019 at 6:12 PM Maxime Ripard > wrote: > > > > On Tue, Jan 08, 2019 at 08:18:40PM +0100, Jernej Skrabec wrote: > > > Because "ethernet0" alias is missing, U-Boot doesn't generate board > > > specific MAC address.

[linux-sunxi] Re: [PATCH 2/2] media: cedrus: Allow using the current dst buffer as reference

2019-01-09 Thread Hans Verkuil
On 01/09/19 15:42, Paul Kocialkowski wrote: > Hi, > > On Wed, 2019-01-09 at 15:29 +0100, Hans Verkuil wrote: >> On 01/09/19 15:19, Paul Kocialkowski wrote: >>> It was reported that some cases of interleaved video decoding require >>> using the current destination buffer as a reference. However,

[linux-sunxi] [PATCH] arm64: dts: allwinner: a64: Fix USB OTG regulator

2019-01-09 Thread Jernej Skrabec
Currently, AXP803 driver assumes that reg_drivevbus is input which is wrong. Unfortunate consequence of that is that none of the USB ports work on the board, even USB HOST port, because USB PHY driver probing fails due to missing regulator. Fix that by adding "x-powers,drive-vbus-en" property to

Re: [linux-sunxi] u-boot: MMC broken on Linksprite A10/A20 boards in 2018.11

2019-01-09 Thread Marek Kraus
Hi Jagan, After applying your patch on v2019.1-rc3 and defining CONFIG_DM_MMC, u-boot finally initialize MMC and boots kernel without any problems on A10-OLinuXino-Lime. :) Thank you for your fix. Marek Kraus Dňa streda, 9. januára 2019 12:28:37 UTC+1 Jagan Teki napísal(-a): > > On Wed, Jan