[linux-sunxi] Re: [PATCH v3 12/12] ARM: dtsi: axp81x: set pinmux for GPIO0/1 when used as LDOs

2017-10-11 Thread Chen-Yu Tsai
On Thu, Oct 12, 2017 at 3:09 AM, Linus Walleij wrote: > On Wed, Oct 11, 2017 at 2:00 PM, Maxime Ripard > wrote: > >> What about not enforcing any muxing state when we want to mux to the >> "ldo" function? We just leave it to whatever

[linux-sunxi] Re: [PATCH v3 12/12] ARM: dtsi: axp81x: set pinmux for GPIO0/1 when used as LDOs

2017-10-11 Thread Linus Walleij
On Wed, Oct 11, 2017 at 2:00 PM, Maxime Ripard wrote: > What about not enforcing any muxing state when we want to mux to the > "ldo" function? We just leave it to whatever value it is, that way we > keep it under the regulator framework's control, and we don't

[linux-sunxi] Re: [PATCH v3 12/12] ARM: dtsi: axp81x: set pinmux for GPIO0/1 when used as LDOs

2017-10-11 Thread Maxime Ripard
On Tue, Oct 10, 2017 at 03:09:11AM +, Chen-Yu Tsai wrote: > On Wed, Oct 4, 2017 at 3:35 PM, Quentin Schulz > wrote: > > Hi Chen-Yu, Linus, > > > > On 03/10/2017 17:08, Chen-Yu Tsai wrote: > >> On Tue, Oct 3, 2017 at 10:47 PM, Maxime Ripard > >>

[linux-sunxi] Re: [PATCH v3 09/14] regmap: add iopoll-like polling macro for regmap_field

2017-10-11 Thread Daniel Vetter
On Wed, Oct 04, 2017 at 11:47:32AM +0100, Mark Brown wrote: > On Fri, Sep 29, 2017 at 04:23:01PM +0800, Chen-Yu Tsai wrote: > > This patch adds a macro regmap_field_read_poll_timeout that works > > similar to the readx_poll_timeout defined in linux/iopoll.h, except > > that this can also return

Re: [linux-sunxi] [PATCH v4 02/11] drm/sun4i: tcon: Add support for demuxing TCON output on A31

2017-10-11 Thread Julian Calaby
Hi Chen-Yu, On Tue, Oct 10, 2017 at 2:19 PM, Chen-Yu Tsai wrote: > On systems with 2 TCONs such as the A31, it is possible to demux the > output of the TCONs to one encoder. > > Add support for this for the A31. > > Signed-off-by: Chen-Yu Tsai Thanks! FWIW this

[linux-sunxi] Re: [PATCH v4 00/11] drm/sun4i: hdmi: Support HDMI controller on A31

2017-10-11 Thread Chen-Yu Tsai
On Wed, Oct 11, 2017 at 4:00 PM, Maxime Ripard wrote: > On Tue, Oct 10, 2017 at 03:19:57AM +, Chen-Yu Tsai wrote: >> Hi everyone, >> >> This is v4 of my A31 HDMI support series. The DTS patches depend on >> the patch "clk: sunxi-ng: sun6i: Export video PLLs"

[linux-sunxi] Re: [PATCH v4 00/11] drm/sun4i: hdmi: Support HDMI controller on A31

2017-10-11 Thread Maxime Ripard
On Tue, Oct 10, 2017 at 03:19:57AM +, Chen-Yu Tsai wrote: > Hi everyone, > > This is v4 of my A31 HDMI support series. The DTS patches depend on > the patch "clk: sunxi-ng: sun6i: Export video PLLs" alreay merged. > The DRM patches depend on "regmap: add iopoll-like polling macro for >

[linux-sunxi] Re: [PATCH v3 12/12] ARM: dtsi: axp81x: set pinmux for GPIO0/1 when used as LDOs

2017-10-11 Thread Linus Walleij
On Wed, Oct 4, 2017 at 9:35 AM, Quentin Schulz wrote: > Just to be a little more precise, > - 0: drive low > - 1: drive high > - 2: input with interrupt triggering > - 3: LDO on > - 4: LDO off > - 5~7: floating (or ADC) > > for