Re: [linux-sunxi] [PATCH 13/15] drm/sun4i: Add HDMI support

2017-04-25 Thread Maxime Ripard
Hi Chen-Yu, On Fri, Apr 21, 2017 at 11:17:17PM +0800, Chen-Yu Tsai wrote: > Hi, > > On Tue, Mar 7, 2017 at 4:56 PM, Maxime Ripard > wrote: > > The earlier Allwinner SoCs (A10, A10s, A20, A31) have an embedded HDMI > > controller. > > > > That HDMI controller is able to do audio and CEC, but thos

[linux-sunxi] Re: [PATCH 0/3] drm/sun4i: More cleanups and fixes

2017-04-25 Thread Maxime Ripard
On Tue, Apr 25, 2017 at 11:25:02PM +0800, Chen-Yu Tsai wrote: > Hi Maxime, > > The subject is probably getting old. Here are a few more cleanups. > > Patch 1 should have been part of the patch > > drm/sun4i: Use lists to track registered display backends and TCONs > > from my multiple pipel

Re: [linux-sunxi] Can't record wav on Nanopi-NEO2 use H5-mainline-kernel source

2017-04-25 Thread wuweidong0107
Thank you Icenowy. Turns out It's actually a alsa setting problem. Solve this problem by these steps: $ alsamixer $ F4 $ turn on capture related switch 在 2017年4月25日星期二 UTC+8下午11:50:58,Icenowy Zheng写道: > > > > 于 2017年4月25日 GMT+08:00 上午10:43:30, wuweid...@gmail.com 写到: > >Hey guys. > >I'm using t

[linux-sunxi] Re: [PATCH v3 0/6] sunxi: video: Add support for HDMI output on A64/H3/H5

2017-04-25 Thread Jernej Škrabec
Hi Maxime, Dne torek, 25. april 2017 ob 10:57:05 CEST je Maxime Ripard napisal(a): > On Mon, Apr 24, 2017 at 11:54:22PM +0200, Jernej Škrabec wrote: > > Hi Maxime, > > > > Dne ponedeljek, 24. april 2017 ob 09:19:40 CEST je Maxime Ripard napisal(a): > > > Hi Jernej, > > > > > > On Fri, Apr 21, 2

Re: [linux-sunxi] Can't record wav on Nanopi-NEO2 use H5-mainline-kernel source

2017-04-25 Thread Icenowy Zheng
于 2017年4月25日 GMT+08:00 上午10:43:30, wuweidong0...@gmail.com 写到: >Hey guys. >I'm using these source for Nanoi-NEO2: >https://github.com/friendlyarm/linux >branch:sunxi-4.11.y-devel > >Basically it forks from Icenowy zheng's github. > >

[linux-sunxi] [PATCH 0/3] drm/sun4i: More cleanups and fixes

2017-04-25 Thread Chen-Yu Tsai
Hi Maxime, The subject is probably getting old. Here are a few more cleanups. Patch 1 should have been part of the patch drm/sun4i: Use lists to track registered display backends and TCONs from my multiple pipeline support series. Please squash it in if you can. Patch 2 just moves setting

[linux-sunxi] [PATCH 3/3] drm/sun4i: backend: Clarify sun4i_backend_layer_enable debug message

2017-04-25 Thread Chen-Yu Tsai
sun4i_backend_layer_enable can be called to enable or disable a layer. However the debug message always says "Enable", which is confusing. This patch makes the debug message vary according to the enable state. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_backend.c | 3 ++- 1 file

[linux-sunxi] [PATCH 2/3] drm/sun4i: Set TCON clock inside sun4i_tconX_mode_set

2017-04-25 Thread Chen-Yu Tsai
Currently we are configuring the TCON's dot clock or special clock directly from the encoder mode_set functions. Since we already provide mode_set helper functions for the TCON's 2 channels, we can set the respective clock from those helpers, and reduce the exposure of the TCON's internals. Signed

[linux-sunxi] [PATCH 1/3] drm/sun4i: Drop unused tcon pointer

2017-04-25 Thread Chen-Yu Tsai
The sun4i DRM driver now uses 2 lists to track backends and tcons. During the switch, the original tcon pointer was not removed. As it is now unused, remove it, so other new drivers can't accidentally use it. Signed-off-by: Chen-Yu Tsai --- As mentioned in the cover letter, please squash this i

[linux-sunxi] Re: [PATCH] sunxi: fix the default value of CONS_INDEX on non-A23/A33 SUN8I

2017-04-25 Thread Maxime Ripard
On Tue, Apr 25, 2017 at 01:39:51AM +0800, Icenowy Zheng wrote: > Only A23/A33 in SUN8I want a default value of CONS_INDEX of 5, for other > chips the default value is 1 like other Allwinner SoCs. > > Fix this default value. > > The original wrong value has lead to wrong console on H3 Orange Pi >

Re: [linux-sunxi] [PATCH v4 09/10] arm64: allwinner: a64: enable AXP803 regulators for Pine64

2017-04-25 Thread Icenowy Zheng
于 2017年4月25日 GMT+08:00 下午5:24:13, Andre Przywara 写到: >Hi, > >On 24/04/17 17:01, Icenowy Zheng wrote: >> Add support of AXP803 regulators in the Pine64 device tree, in order >to >> enable many future functionalities, e.g. Wi-Fi. > >In general that's quite some code to just achieve some device pow

Re: [linux-sunxi] [PATCH v4 09/10] arm64: allwinner: a64: enable AXP803 regulators for Pine64

2017-04-25 Thread Andre Przywara
Hi, On 24/04/17 17:01, Icenowy Zheng wrote: > Add support of AXP803 regulators in the Pine64 device tree, in order to > enable many future functionalities, e.g. Wi-Fi. In general that's quite some code to just achieve some device power plane switching, but that's another discussion, I guess ;-)

[linux-sunxi] Re: [PATCH v3 0/6] sunxi: video: Add support for HDMI output on A64/H3/H5

2017-04-25 Thread Maxime Ripard
On Mon, Apr 24, 2017 at 11:54:22PM +0200, Jernej Škrabec wrote: > Hi Maxime, > > Dne ponedeljek, 24. april 2017 ob 09:19:40 CEST je Maxime Ripard napisal(a): > > Hi Jernej, > > > > On Fri, Apr 21, 2017 at 07:24:12PM +0200, Jernej Škrabec wrote: > > > Dne petek, 21. april 2017 ob 09:04:13 CEST je

Re: [linux-sunxi] Re: [PATCH v4 07/10] mfd: axp20x: add axp20x-regulator cell for AXP803

2017-04-25 Thread Icenowy Zheng
于 2017年4月25日 GMT+08:00 下午3:57:17, Lee Jones 写到: >On Tue, 25 Apr 2017, Icenowy Zheng wrote: > >> As axp20x-regulator now supports AXP803, add a cell for it. >> >> Signed-off-by: Icenowy Zheng >> Acked-by: Chen-Yu Tsai >> --- >> Changes in v4: >> - Added a trailing comma for new cell, for easie

[linux-sunxi] Re: [PATCH v4 07/10] mfd: axp20x: add axp20x-regulator cell for AXP803

2017-04-25 Thread Lee Jones
On Tue, 25 Apr 2017, Icenowy Zheng wrote: > As axp20x-regulator now supports AXP803, add a cell for it. > > Signed-off-by: Icenowy Zheng > Acked-by: Chen-Yu Tsai > --- > Changes in v4: > - Added a trailing comma for new cell, for easier further cell addition. > Changes in v3: > - Make the new c