[linux-sunxi] Re: [PATCH 0/3] arm64: dts: allwinner: h6: orangepi: Enable USB 2.0 and LEDs

2018-11-19 Thread Maxime Ripard
On Tue, Nov 20, 2018 at 02:53:08PM +0800, Chen-Yu Tsai wrote: > Hi, > > This small series enables USB 2.0 and LEDs on the Orange Pi Lite 2 and > Orange Pi One Plus. The two features are unrelated, but included in the > same series as the patch contexts overlap. > > Patch one adds a fixed

[linux-sunxi] [PATCH 2/3] arm64: dts: allwinner: h6: orangepi: Enable USB 2.0 host and OTG ports

2018-11-19 Thread Chen-Yu Tsai
The Orange Pi Lite 2 and Orange Pi One Plus share the same design for their USB 2.0 ports. VBUS is directly tied to the board wide 5V rail, which is also directly tied to the DC jack. There is no current limiting in this design. This patch enables all the USB 2.0 related device nodes, and sets

[linux-sunxi] [PATCH 0/3] arm64: dts: allwinner: h6: orangepi: Enable USB 2.0 and LEDs

2018-11-19 Thread Chen-Yu Tsai
Hi, This small series enables USB 2.0 and LEDs on the Orange Pi Lite 2 and Orange Pi One Plus. The two features are unrelated, but included in the same series as the patch contexts overlap. Patch one adds a fixed regulator to represent the board-wide 5V rail. While not strictly necessary, this

[linux-sunxi] [PATCH 1/3] arm64: dts: allwinner: h6: orangepi: Add board-wide 5V regulator

2018-11-19 Thread Chen-Yu Tsai
The Orange Pi Lite 2 and Orange Pi One Plus share the same design for their USB 2.0 ports. VBUS is directly tied to the board wide 5V rail, which is also directly tied to the DC jack. There is no current limiting in this design. This 5V rail also supplies the various inputs to the PMIC. This

[linux-sunxi] [PATCH 3/3] arm64: dts: allwinner: h6: orangepi: Add device nodes for LEDs

2018-11-19 Thread Chen-Yu Tsai
The Orange Pi Lite 2 and Orange Pi One Plus both have two LEDs, one red and one green. These are driven directly by GPIO lines in an active high arrangement. The red LED is labeled "power", so it is set to be on by default. Note that the default drive current for the GPIO lines makes the LEDs

[linux-sunxi] Re: [PATCH v4 08/10] phy: allwinner: add phy driver for USB3 PHY on Allwinner H6 SoC

2018-11-19 Thread 'Kishon Vijay Abraham I' via linux-sunxi
Hi, On 14/11/18 10:27 AM, Icenowy Zheng wrote: 在 2018-10-04四的 20:28 +0800,Icenowy Zheng写道: 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:

[linux-sunxi] Re: Bluetooth on kernel 4.20.0-rc2 (FIXED)

2018-11-19 Thread @lex
back-ported the driver. Bluetooth is now working on both boards (bpi-m2-zero and nanoPi Air) On Sunday, November 18, 2018 at 9:51:10 PM UTC-2, @lex wrote: > > Hi, > I am trying to enable Bluetooth on bpi-m2-zero and nanopi-air on kernel > 4.20.0-rc2 but i get kernel Tainted when rfkill-gpio is

Re: [linux-sunxi] [PATCH v12 2/2] media: V3s: Add support for Allwinner CSI.

2018-11-19 Thread Jagan Teki
On Tue, Oct 30, 2018 at 1:49 PM Yong Deng wrote: > > Allwinner V3s SoC features a CSI module with parallel interface. > > This patch implement a v4l2 framework driver for it. > > Reviewed-by: Hans Verkuil > Reviewed-by: Maxime Ripard > Tested-by: Maxime Ripard > Signed-off-by: Yong Deng > ---

[linux-sunxi] Re: [PATCH v2 06/12] drm/sun4i: sun6i_mipi_dsi: Probe tcon0 during dsi_bind

2018-11-19 Thread Jagan Teki
On Mon, Nov 19, 2018 at 2:08 PM Maxime Ripard wrote: > > On Fri, Nov 16, 2018 at 10:09:10PM +0530, Jagan Teki wrote: > > Probe tcon0 during dsi_bind, so-that the tcon attributes like > > divider value, clock rate can get whenever it need. > > > > Signed-off-by: Jagan Teki > > --- > >

[linux-sunxi] Re: [PATCH v2 04/12] drm/sun4i: sun6i_mipi_dsi: Simplify drq set to support all modes

2018-11-19 Thread Jagan Teki
On Mon, Nov 19, 2018 at 2:02 PM Maxime Ripard wrote: > > On Fri, Nov 16, 2018 at 10:09:08PM +0530, Jagan Teki wrote: > > Allwinner MIPI DSI DRQ set value can be varied with respective > > video modes. > > - burst mode the set value is always 0 > > - video modes whose front porch greater than 20,

[linux-sunxi] Re: [PATCH v2 03/12] drm/sun4i: sun6i_mipi_dsi: Setup burst mode timings

2018-11-19 Thread Jagan Teki
On Mon, Nov 19, 2018 at 2:00 PM Maxime Ripard wrote: > > On Fri, Nov 16, 2018 at 10:09:07PM +0530, Jagan Teki wrote: > > Burst mode display timings are different from convectional > > video mode so update the horizontal and vertical timings. > > > > Reference code taken from BSP (from

[linux-sunxi] Re: [PATCH v2 01/12] drm/sun4i: sun6i_mipi_dsi: Compute burst mode loop N1 instruction delay

2018-11-19 Thread Jagan Teki
On Mon, Nov 19, 2018 at 1:57 PM Maxime Ripard wrote: > > On Fri, Nov 16, 2018 at 10:09:05PM +0530, Jagan Teki wrote: > > Loop N1 instruction delay for burst mode lcd panel are > > computed as per BSP code. > > > > Reference code is available in BSP (from linux-sunxi > >

Re: [linux-sunxi] Intermittent U-boot hang on A20 devices after reboot

2018-11-19 Thread Jonathan Liu
Hi Priit, On Mon, 19 Nov 2018 at 19:08, Priit Laes wrote: > > On Sun, Nov 18, 2018 at 06:12:34PM +, Priit Laes wrote: > > On Sat, Nov 17, 2018 at 05:19:38PM +0100, Paul Kocialkowski wrote: > > > Hi, > > > > > > On Fri, 2018-11-16 at 15:07 +, Priit Laes wrote: > > > > On Fri, Nov 16, 2018

[linux-sunxi] Re: [PATCH v2 06/12] drm/sun4i: sun6i_mipi_dsi: Probe tcon0 during dsi_bind

2018-11-19 Thread Maxime Ripard
On Fri, Nov 16, 2018 at 10:09:10PM +0530, Jagan Teki wrote: > Probe tcon0 during dsi_bind, so-that the tcon attributes like > divider value, clock rate can get whenever it need. > > Signed-off-by: Jagan Teki > --- > drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 7 +++ >

[linux-sunxi] Re: [PATCH v2 05/12] drm/sun4i: tcon: Export get tcon0 routine

2018-11-19 Thread Maxime Ripard
On Fri, Nov 16, 2018 at 10:09:09PM +0530, Jagan Teki wrote: > Sometimes tcon attributes like tcon divider, clock rate etc are > needed in interface drivers like DSI. So for such cases interface > driver must probe the respective tcon and get the attributes. > Instead of probing tcon explictly,

Re: [linux-sunxi] Intermittent U-boot hang on A20 devices after reboot

2018-11-19 Thread Priit Laes
On Sun, Nov 18, 2018 at 06:12:34PM +, Priit Laes wrote: > On Sat, Nov 17, 2018 at 05:19:38PM +0100, Paul Kocialkowski wrote: > > Hi, > > > > On Fri, 2018-11-16 at 15:07 +, Priit Laes wrote: > > > On Fri, Nov 16, 2018 at 03:46:14PM +0100, Jens Thiele wrote: > > > > Priit Laes writes: > >