Re: [PATCH v5 01/13] ARM: move cputype definitions into another file

2018-04-03 Thread Chen-Yu Tsai
On Tue, Apr 3, 2018 at 3:27 PM, Mylène Josserand <mylene.josser...@bootlin.com> wrote: > Hi Chen-Yu, > > Thank you for your review! > > On Tue, 3 Apr 2018 14:52:45 +0800 > Chen-Yu Tsai <w...@csie.org> wrote: > >> On Tue, Apr 3, 2018 at 2:18 PM, Mylène Jos

Re: [PATCH v5 01/13] ARM: move cputype definitions into another file

2018-04-03 Thread Chen-Yu Tsai
On Tue, Apr 3, 2018 at 3:27 PM, Mylène Josserand wrote: > Hi Chen-Yu, > > Thank you for your review! > > On Tue, 3 Apr 2018 14:52:45 +0800 > Chen-Yu Tsai wrote: > >> On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand >> wrote: >> > To add the suppo

Re: [PATCH v5 01/13] ARM: move cputype definitions into another file

2018-04-03 Thread Chen-Yu Tsai
On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand wrote: > To add the support for SMP on sun8i-a83t, we will use some > definitions in an assembly file so move definitions into > another file to separate C functions and macro defintions. Instead of moving the

Re: [PATCH v5 01/13] ARM: move cputype definitions into another file

2018-04-03 Thread Chen-Yu Tsai
On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand wrote: > To add the support for SMP on sun8i-a83t, we will use some > definitions in an assembly file so move definitions into > another file to separate C functions and macro defintions. Instead of moving the definitions, you could guard all the

Re: [PATCH v5 06/13] ARM: dts: sun8i: a83t: Add CCI-400 node

2018-04-03 Thread Chen-Yu Tsai
On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand <mylene.josser...@bootlin.com> wrote: > Add CCI-400 node and control-port on CPUs needed by SMP bringup. > > Signed-off-by: Mylène Josserand <mylene.josser...@bootlin.com> Reviewed-by: Chen-Yu Tsai <w...@csie.org>

Re: [PATCH v5 06/13] ARM: dts: sun8i: a83t: Add CCI-400 node

2018-04-03 Thread Chen-Yu Tsai
On Tue, Apr 3, 2018 at 2:18 PM, Mylène Josserand wrote: > Add CCI-400 node and control-port on CPUs needed by SMP bringup. > > Signed-off-by: Mylène Josserand Reviewed-by: Chen-Yu Tsai

Re: [PATCH v5 04/13] ARM: dts: sun8i: Add CPUCFG device node for A83T dtsi

2018-04-03 Thread Chen-Yu Tsai
ters are used for SMP bringup and CPU hotplugging. > > Signed-off-by: Mylène Josserand <mylene.josser...@bootlin.com> Reviewed-by: Chen-Yu Tsai <w...@csie.org>

Re: [PATCH v5 04/13] ARM: dts: sun8i: Add CPUCFG device node for A83T dtsi

2018-04-03 Thread Chen-Yu Tsai
CPU hotplugging. > > Signed-off-by: Mylène Josserand Reviewed-by: Chen-Yu Tsai

Re: [PATCH v3 2/3] arm64: allwinner: axp803: Add drivevbus regulator

2018-03-30 Thread Chen-Yu Tsai
On Tue, Dec 12, 2017 at 12:56 AM, Jagan Teki <ja...@amarulasolutions.com> wrote: > Add reg_drivevbus regualtor for boards which are using > external regulator to drive the OTG VBus through N_VBUSEN > PMIC pin. > > Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> R

Re: [PATCH v3 2/3] arm64: allwinner: axp803: Add drivevbus regulator

2018-03-30 Thread Chen-Yu Tsai
On Tue, Dec 12, 2017 at 12:56 AM, Jagan Teki wrote: > Add reg_drivevbus regualtor for boards which are using > external regulator to drive the OTG VBus through N_VBUSEN > PMIC pin. > > Signed-off-by: Jagan Teki Reviewed-by: Chen-Yu Tsai

Re: [PATCH v3 1/3] regulator: axp20x: add drivevbus support for axp803

2018-03-30 Thread Chen-Yu Tsai
;ja...@amarulasolutions.com> > Reviewed-by: Rob Herring <r...@kernel.org> Reviewed-by: Chen-Yu Tsai <w...@csie.org>

Re: [PATCH v3 1/3] regulator: axp20x: add drivevbus support for axp803

2018-03-30 Thread Chen-Yu Tsai
On Tue, Dec 12, 2017 at 12:56 AM, Jagan Teki wrote: > Like axp221, axp223, axp813 the axp803 is also supporting external > regulator to drive the OTG VBus through N_VBUSEN PMIC pin. > > Add support for it. > > Signed-off-by: Jagan Teki > Reviewed-by: Rob Herring Reviewed-by: Chen-Yu Tsai

Re: [PATCH v3 3/3] arm64: allwinner: a64: bananapi-m64: add usb otg

2018-03-30 Thread Chen-Yu Tsai
> > --- > Changes for v3: > - Move the position of reg_drivevbus as per binding documentation. The label dereferences should be ordered in alphabetical order of the label names. Otherwise, Reviewed-by: Chen-Yu Tsai <w...@csie.org>

Re: [PATCH v3 3/3] arm64: allwinner: a64: bananapi-m64: add usb otg

2018-03-30 Thread Chen-Yu Tsai
drivevbus as per binding documentation. The label dereferences should be ordered in alphabetical order of the label names. Otherwise, Reviewed-by: Chen-Yu Tsai

Re: [linux-sunxi] [PATCH v2 08/10] ARM: sun8i: h3: Add SY8106A regulator to Orange Pi PC

2018-03-30 Thread Chen-Yu Tsai
to enable DVFS. > > Signed-off-by: Ondrej Jirman <meg...@megous.com> > [Icenowy: Enable DVFS in this patch, slight changes and change commit > message] > Signed-off-by: Icenowy Zheng <icen...@aosc.io> Reviewed-by: Chen-Yu Tsai <w...@csie.org>

Re: [linux-sunxi] [PATCH v2 08/10] ARM: sun8i: h3: Add SY8106A regulator to Orange Pi PC

2018-03-30 Thread Chen-Yu Tsai
ej Jirman > [Icenowy: Enable DVFS in this patch, slight changes and change commit > message] > Signed-off-by: Icenowy Zheng Reviewed-by: Chen-Yu Tsai

Re: [linux-sunxi] [PATCH v2 02/10] regulator: add support for SY8106A regulator

2018-03-30 Thread Chen-Yu Tsai
; +obj-$(CONFIG_REGULATOR_SY8106A) += sy8106a-regulator.o > obj-$(CONFIG_REGULATOR_TI_ABB) += ti-abb-regulator.o > obj-$(CONFIG_REGULATOR_TPS6105X) += tps6105x-regulator.o > obj-$(CONFIG_REGULATOR_TPS62360) += tps62360-regulator.o > @@ -124,5 +125,4 @@ obj-$(CONFIG_REGU

Re: [linux-sunxi] [PATCH v2 02/10] regulator: add support for SY8106A regulator

2018-03-30 Thread Chen-Yu Tsai
i-abb-regulator.o > obj-$(CONFIG_REGULATOR_TPS6105X) += tps6105x-regulator.o > obj-$(CONFIG_REGULATOR_TPS62360) += tps62360-regulator.o > @@ -124,5 +125,4 @@ obj-$(CONFIG_REGULATOR_WM8350) += wm8350-regulator.o > obj-$(CONFIG_REGULATOR_WM8400) += wm8400-regulator.o > obj-$(CONFIG_REGULATOR_WM8994) += wm8994-regulator.o > > - Extra whitespace change. Otherwise, Reviewed-by: Chen-Yu Tsai > ccflags-$(CONFIG_REGULATOR_DEBUG) += -DDEBUG

Re: [linux-sunxi] [PATCH v2 06/10] ARM: sun8i: h2+: add SY8113B regulator used by Orange Pi Zero board

2018-03-30 Thread Chen-Yu Tsai
and the output is > the power supply of the ARM cores in H2+ SoC. > > Add the device tree node of this regulator and set the cpu's cpu-supply > property to it. > > Signed-off-by: Icenowy Zheng <icen...@aosc.io> Reviewed-by: Chen-Yu Tsai <w...@csie.org> However, > --- >

Re: [linux-sunxi] [PATCH v2 06/10] ARM: sun8i: h2+: add SY8113B regulator used by Orange Pi Zero board

2018-03-30 Thread Chen-Yu Tsai
power supply of the ARM cores in H2+ SoC. > > Add the device tree node of this regulator and set the cpu's cpu-supply > property to it. > > Signed-off-by: Icenowy Zheng Reviewed-by: Chen-Yu Tsai However, > --- > No changes in v2. > > arch/arm/boot/d

Re: [linux-sunxi] [PATCH v2 09/10] ARM: sun8i: h3: fix ALL-H3-CC H3 ver VDD-CPUX voltage

2018-03-30 Thread Chen-Yu Tsai
i: h3: Add dts file for Libre Computer > Board ALL-H3-CC H3 ver.") > Signed-off-by: Icenowy Zheng <icen...@aosc.io> Reviewed-by: Chen-Yu Tsai <w...@csie.org>

Re: [linux-sunxi] [PATCH v2 09/10] ARM: sun8i: h3: fix ALL-H3-CC H3 ver VDD-CPUX voltage

2018-03-30 Thread Chen-Yu Tsai
e Computer > Board ALL-H3-CC H3 ver.") > Signed-off-by: Icenowy Zheng Reviewed-by: Chen-Yu Tsai

Re: [PATCH 0/6] spi: Add support for DMA transfers in sun6i SPI driver

2018-03-30 Thread Chen-Yu Tsai
On Fri, Mar 30, 2018 at 3:22 PM, Sergey Suloev wrote: > The following patchset provides corrections for PIO-mode > and support for DMA transfers in sun6i SPI driver. Is this the same series you sent 12 hours ago? What's different? Please version your patch series and

Re: [PATCH 0/6] spi: Add support for DMA transfers in sun6i SPI driver

2018-03-30 Thread Chen-Yu Tsai
On Fri, Mar 30, 2018 at 3:22 PM, Sergey Suloev wrote: > The following patchset provides corrections for PIO-mode > and support for DMA transfers in sun6i SPI driver. Is this the same series you sent 12 hours ago? What's different? Please version your patch series and provide a changelog. ChenYu

[PATCH 0/3] mfd: axp20x: driver cleanup

2018-03-28 Thread Chen-Yu Tsai
one-line DEFINE_RES_IRQ macros. Patch 3 corrects the prefix for four of the AXP806 interrupt enums. "POK" was incorrectly expanded to "PWROK". These are all simple cleanups. No functionality is changed. Regards ChenYu Chen-Yu Tsai (3): mfd: axp20x: Const-ify struct mfd_cell

[PATCH 0/3] mfd: axp20x: driver cleanup

2018-03-28 Thread Chen-Yu Tsai
one-line DEFINE_RES_IRQ macros. Patch 3 corrects the prefix for four of the AXP806 interrupt enums. "POK" was incorrectly expanded to "PWROK". These are all simple cleanups. No functionality is changed. Regards ChenYu Chen-Yu Tsai (3): mfd: axp20x: Const-ify struct mfd_cell

[PATCH 1/3] mfd: axp20x: Const-ify struct mfd_cell and struct resource

2018-03-28 Thread Chen-Yu Tsai
The axp20x driver has lots of mfd_cell and resource structs. These can all be const-ified. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- drivers/mfd/axp20x.c | 44 ++-- include/linux/mfd/axp20x.h | 2 +- 2 files changed, 23 insertions(

[PATCH 2/3] mfd: axp20x: Use DEFINE_RES_IRQ to declare resources for mfd_cells

2018-03-28 Thread Chen-Yu Tsai
Previously we were open coding the interrupts for the various mfd cells. This made the code somewhat long due to pretty-formatting. This patch convert those into one-line declarations with DEFINE_RES_IRQ, making the code shorter and easier to read. Signed-off-by: Chen-Yu Tsai <w...@csie.

[PATCH 1/3] mfd: axp20x: Const-ify struct mfd_cell and struct resource

2018-03-28 Thread Chen-Yu Tsai
The axp20x driver has lots of mfd_cell and resource structs. These can all be const-ified. Signed-off-by: Chen-Yu Tsai --- drivers/mfd/axp20x.c | 44 ++-- include/linux/mfd/axp20x.h | 2 +- 2 files changed, 23 insertions(+), 23 deletions(-) diff

[PATCH 2/3] mfd: axp20x: Use DEFINE_RES_IRQ to declare resources for mfd_cells

2018-03-28 Thread Chen-Yu Tsai
Previously we were open coding the interrupts for the various mfd cells. This made the code somewhat long due to pretty-formatting. This patch convert those into one-line declarations with DEFINE_RES_IRQ, making the code shorter and easier to read. Signed-off-by: Chen-Yu Tsai --- drivers/mfd

[PATCH 3/3] mfd: axp20x: Correct AXP806 POK interrupt prefix

2018-03-28 Thread Chen-Yu Tsai
ans "Power On Key", much like "PEK" means "Power Enable Key", instead of "Power OK". This patch changes the "PWROK" prefix to "POK" for these interrupts. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- drivers/mfd/axp20x.c

[PATCH 3/3] mfd: axp20x: Correct AXP806 POK interrupt prefix

2018-03-28 Thread Chen-Yu Tsai
ans "Power On Key", much like "PEK" means "Power Enable Key", instead of "Power OK". This patch changes the "PWROK" prefix to "POK" for these interrupts. Signed-off-by: Chen-Yu Tsai --- drivers/mfd/axp20x.c | 8 includ

Re: [PATCH 02/10] drm/sun4i: Disable YUV channel when using the frontend and set interlace

2018-03-27 Thread Chen-Yu Tsai
On Tue, Mar 27, 2018 at 4:44 PM, Paul Kocialkowski wrote: > Hi, > > On Tue, 2018-03-27 at 10:17 +0200, Maxime Ripard wrote: >> On Tue, Mar 27, 2018 at 10:00:43AM +0200, Paul Kocialkowski wrote: >> > Hi, >> > >> > On Fri, 2018-03-23 at 10:55 +0100, Maxime Ripard

Re: [PATCH 02/10] drm/sun4i: Disable YUV channel when using the frontend and set interlace

2018-03-27 Thread Chen-Yu Tsai
On Tue, Mar 27, 2018 at 4:44 PM, Paul Kocialkowski wrote: > Hi, > > On Tue, 2018-03-27 at 10:17 +0200, Maxime Ripard wrote: >> On Tue, Mar 27, 2018 at 10:00:43AM +0200, Paul Kocialkowski wrote: >> > Hi, >> > >> > On Fri, 2018-03-23 at 10:55 +0100, Maxime Ripard wrote: >> > > On Wed, Mar 21, 2018

Re: [linux-sunxi] Preferring cursor plane over overlay plane

2018-03-26 Thread Chen-Yu Tsai
On Mon, Mar 26, 2018 at 10:45 PM, Maxime Ripard <maxime.rip...@bootlin.com> wrote: > On Mon, Mar 26, 2018 at 10:22:45PM +0800, Chen-Yu Tsai wrote: >> On Mon, Mar 26, 2018 at 10:14 PM, Joonas Kylmälä <joonas.kylm...@iki.fi> >> wrote: >> > Hi DRM s

Re: [linux-sunxi] Preferring cursor plane over overlay plane

2018-03-26 Thread Chen-Yu Tsai
On Mon, Mar 26, 2018 at 10:45 PM, Maxime Ripard wrote: > On Mon, Mar 26, 2018 at 10:22:45PM +0800, Chen-Yu Tsai wrote: >> On Mon, Mar 26, 2018 at 10:14 PM, Joonas Kylmälä >> wrote: >> > Hi DRM subsystem developers, >> > >> > I ran into this patch where

Re: [linux-sunxi] Preferring cursor plane over overlay plane

2018-03-26 Thread Chen-Yu Tsai
On Mon, Mar 26, 2018 at 10:14 PM, Joonas Kylmälä wrote: > Hi DRM subsystem developers, > > I ran into this patch where overlay plane was switched to cursor plane > because there was no proper cursor plane available on the display > hardware:

Re: [linux-sunxi] Preferring cursor plane over overlay plane

2018-03-26 Thread Chen-Yu Tsai
On Mon, Mar 26, 2018 at 10:14 PM, Joonas Kylmälä wrote: > Hi DRM subsystem developers, > > I ran into this patch where overlay plane was switched to cursor plane > because there was no proper cursor plane available on the display > hardware: . Can we discuss

Re: [PATCH 03/10] drm/sun4i: Don't pretend to handle ARGB8888 with the frontend

2018-03-22 Thread Chen-Yu Tsai
On Thu, Mar 22, 2018 at 4:23 PM, Paul Kocialkowski <paul.kocialkow...@bootlin.com> wrote: > Hi Chen-Yu, > > On Thu, 2018-03-22 at 14:47 +0800, Chen-Yu Tsai wrote: >> On Wed, Mar 21, 2018 at 11:28 PM, Paul Kocialkowski >> <paul.kocialkow...@bootlin.com> wrote: &g

Re: [PATCH 03/10] drm/sun4i: Don't pretend to handle ARGB8888 with the frontend

2018-03-22 Thread Chen-Yu Tsai
On Thu, Mar 22, 2018 at 4:23 PM, Paul Kocialkowski wrote: > Hi Chen-Yu, > > On Thu, 2018-03-22 at 14:47 +0800, Chen-Yu Tsai wrote: >> On Wed, Mar 21, 2018 at 11:28 PM, Paul Kocialkowski >> wrote: >> > It turns out that the frontend is not capable of preserving

Re: [PATCH 03/10] drm/sun4i: Don't pretend to handle ARGB8888 with the frontend

2018-03-22 Thread Chen-Yu Tsai
On Wed, Mar 21, 2018 at 11:28 PM, Paul Kocialkowski wrote: > It turns out that the frontend is not capable of preserving the alpha > component (that is always set to 0xff), so only support XRGB > instead. > > Signed-off-by: Paul Kocialkowski

Re: [PATCH 03/10] drm/sun4i: Don't pretend to handle ARGB8888 with the frontend

2018-03-22 Thread Chen-Yu Tsai
On Wed, Mar 21, 2018 at 11:28 PM, Paul Kocialkowski wrote: > It turns out that the frontend is not capable of preserving the alpha > component (that is always set to 0xff), so only support XRGB > instead. > > Signed-off-by: Paul Kocialkowski > --- > drivers/gpu/drm/sun4i/sun4i_backend.c |

Re: [PATCH v3 6/7] arm: dts: sun8i: a33: Add the DSI-related nodes

2018-03-21 Thread Chen-Yu Tsai
+ dsi0_in_tcon0: endpoint { > + remote-endpoint = > <_out_dsi0>; > + }; > + }; > +

Re: [PATCH v3 6/7] arm: dts: sun8i: a33: Add the DSI-related nodes

2018-03-21 Thread Chen-Yu Tsai
#address-cells = <1>; > + #size-cells = <0>; > + reg = <0>; > + > + dsi0_in_tcon0: endpoint { > +

Re: [PATCH v3 3/7] drm/sun4i: Add Allwinner A31 MIPI-DSI controller support

2018-03-21 Thread Chen-Yu Tsai
On Tue, Mar 6, 2018 at 9:56 PM, Maxime Ripard wrote: > From: Maxime Ripard > > Most of the Allwinner SoCs since the A31 share the same MIPI-DSI > controller. > > While that controller is mostly undocumented, the code is out there and

Re: [PATCH v3 3/7] drm/sun4i: Add Allwinner A31 MIPI-DSI controller support

2018-03-21 Thread Chen-Yu Tsai
On Tue, Mar 6, 2018 at 9:56 PM, Maxime Ripard wrote: > From: Maxime Ripard > > Most of the Allwinner SoCs since the A31 share the same MIPI-DSI > controller. > > While that controller is mostly undocumented, the code is out there and has > been cleaned up in order to be integrated into DRM.

Re: [PATCH AUTOSEL for 4.9 109/219] clk: sunxi-ng: a33: Add offset and minimum value for DDR1 PLL N factor

2018-03-21 Thread Chen-Yu Tsai
On Thu, Mar 22, 2018 at 12:14 AM, Sasha Levin <alexander.le...@microsoft.com> wrote: > On Tue, Mar 20, 2018 at 11:10:42AM +0800, Chen-Yu Tsai wrote: >>Hi, >> >>On Sun, Mar 4, 2018 at 6:28 AM, Sasha Levin >><alexander.le...@microsoft.com> wrote

Re: [PATCH AUTOSEL for 4.9 109/219] clk: sunxi-ng: a33: Add offset and minimum value for DDR1 PLL N factor

2018-03-21 Thread Chen-Yu Tsai
On Thu, Mar 22, 2018 at 12:14 AM, Sasha Levin wrote: > On Tue, Mar 20, 2018 at 11:10:42AM +0800, Chen-Yu Tsai wrote: >>Hi, >> >>On Sun, Mar 4, 2018 at 6:28 AM, Sasha Levin >> wrote: >>> From: Chen-Yu Tsai >>> >>> [ Upstream commit 68f37d862

Re: [PATCH AUTOSEL for 4.9 109/219] clk: sunxi-ng: a33: Add offset and minimum value for DDR1 PLL N factor

2018-03-19 Thread Chen-Yu Tsai
Hi, On Sun, Mar 4, 2018 at 6:28 AM, Sasha Levin <alexander.le...@microsoft.com> wrote: > From: Chen-Yu Tsai <w...@csie.org> > > [ Upstream commit 68f37d862403e8f95337b2eca90af15d0b8cd5d7 ] > > The DDR1 PLL on the A33 is an oddball amongst the A33 CCU clocks.

Re: [PATCH AUTOSEL for 4.9 109/219] clk: sunxi-ng: a33: Add offset and minimum value for DDR1 PLL N factor

2018-03-19 Thread Chen-Yu Tsai
Hi, On Sun, Mar 4, 2018 at 6:28 AM, Sasha Levin wrote: > From: Chen-Yu Tsai > > [ Upstream commit 68f37d862403e8f95337b2eca90af15d0b8cd5d7 ] > > The DDR1 PLL on the A33 is an oddball amongst the A33 CCU clocks. > It is a clock multiplier, with the effective multiplier in the &

Re: [PATCH 0/2] drm/sun4i: Fix some error handling paths in 'sun4i_hdmi_bind()'

2018-03-18 Thread Chen-Yu Tsai
' > drm/sun4i: hdmi: Fix another error handling path in > 'sun4i_hdmi_bind()' Reviewed-by: Chen-Yu Tsai <w...@csie.org> for both patches.

Re: [PATCH 0/2] drm/sun4i: Fix some error handling paths in 'sun4i_hdmi_bind()'

2018-03-18 Thread Chen-Yu Tsai
rror handling path in > 'sun4i_hdmi_bind()' Reviewed-by: Chen-Yu Tsai for both patches.

Re: [PATCH v4 10/10] ARM: sunxi: smp: Add initialization of CNTVOFF

2018-03-18 Thread Chen-Yu Tsai
On Mon, Mar 19, 2018 at 3:07 AM, Mylène Josserand wrote: > Hello Mark, > > Please, excuse me for this late answer and thank you for the review! > > On Wed, 7 Mar 2018 12:18:33 + > Marc Zyngier wrote: > >> On 23/02/18 13:37, Mylène Josserand

Re: [PATCH v4 10/10] ARM: sunxi: smp: Add initialization of CNTVOFF

2018-03-18 Thread Chen-Yu Tsai
On Mon, Mar 19, 2018 at 3:07 AM, Mylène Josserand wrote: > Hello Mark, > > Please, excuse me for this late answer and thank you for the review! > > On Wed, 7 Mar 2018 12:18:33 + > Marc Zyngier wrote: > >> On 23/02/18 13:37, Mylène Josserand wrote: >> > On Cortex-A7, the CNTVOFF register from

Re: [PATCH] ARM: dts: sun7i: Add pinmux settings for LCD0 RGB888 output.

2018-03-16 Thread Chen-Yu Tsai
On Fri, Mar 16, 2018 at 5:19 PM, Giulio Benetti wrote: > Hi Maxime, > > Il 16/03/2018 07:47, Maxime Ripard ha scritto: >> >> Hi Giulio, >> >> On Thu, Mar 15, 2018 at 02:43:30PM +0100, Giulio Benetti wrote: >>> >>> The A20 supports RGB888 with H/V sync from LCD0.

Re: [PATCH] ARM: dts: sun7i: Add pinmux settings for LCD0 RGB888 output.

2018-03-16 Thread Chen-Yu Tsai
On Fri, Mar 16, 2018 at 5:19 PM, Giulio Benetti wrote: > Hi Maxime, > > Il 16/03/2018 07:47, Maxime Ripard ha scritto: >> >> Hi Giulio, >> >> On Thu, Mar 15, 2018 at 02:43:30PM +0100, Giulio Benetti wrote: >>> >>> The A20 supports RGB888 with H/V sync from LCD0. Add a pinmux setting >>> for the

[PATCH 1/8] drm/sun4i: Add compatible strings for A80 TCONs

2018-03-15 Thread Chen-Yu Tsai
regardless. Here we model them like the old TCONs. An oddity is that TCON0 requires the reset control for the eDP block to be deasserted, for any register access to stick. This patch adds compatible strings for TCON0 and TCON1, with TCON0 requiring an extra "edp" reset control. Signed-off-by: Ch

[PATCH 4/8] drm/sun4i: Add compatible strings for the A80 display pipeline

2018-03-15 Thread Chen-Yu Tsai
This patch adds compatible strings for the remaining documented components of the Allwinner A80 display pipeline. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[PATCH 1/8] drm/sun4i: Add compatible strings for A80 TCONs

2018-03-15 Thread Chen-Yu Tsai
regardless. Here we model them like the old TCONs. An oddity is that TCON0 requires the reset control for the eDP block to be deasserted, for any register access to stick. This patch adds compatible strings for TCON0 and TCON1, with TCON0 requiring an extra "edp" reset control. Signed-off-by: Ch

[PATCH 4/8] drm/sun4i: Add compatible strings for the A80 display pipeline

2018-03-15 Thread Chen-Yu Tsai
This patch adds compatible strings for the remaining documented components of the Allwinner A80 display pipeline. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation

[PATCH 2/8] drm/sun4i: Add DT binding for Detail Enhancement Unit in Allwinner A80 SoC

2018-03-15 Thread Chen-Yu Tsai
binding for this hardware block. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- .../bindings/display/sunxi/sun4i-drm.txt | 22 ++ 1 file changed, 22 insertions(+) diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt b/Documentation/devi

[PATCH 2/8] drm/sun4i: Add DT binding for Detail Enhancement Unit in Allwinner A80 SoC

2018-03-15 Thread Chen-Yu Tsai
binding for this hardware block. Signed-off-by: Chen-Yu Tsai --- .../bindings/display/sunxi/sun4i-drm.txt | 22 ++ 1 file changed, 22 insertions(+) diff --git a/Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt b/Documentation/devicetree/bindings/display

[PATCH 8/8] ARM: dts: sun9i: cubieboard4: Enable VGA display output

2018-03-15 Thread Chen-Yu Tsai
ipeline with the VGA DAC and connector, and i2c3 for DDC. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 68 + 1 file changed, 68 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts b/arch/arm/boot

[PATCH 8/8] ARM: dts: sun9i: cubieboard4: Enable VGA display output

2018-03-15 Thread Chen-Yu Tsai
ipeline with the VGA DAC and connector, and i2c3 for DDC. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 68 + 1 file changed, 68 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80-cubieboard4.dts b/arch/arm/boot/dts/sun9i-a80-c

[PATCH 6/8] ARM: dts: sun9i: Add device nodes for documented display pipelines for A80

2018-03-15 Thread Chen-Yu Tsai
- DEU1 - - BE1 - DRC1 - TCON1 Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- arch/arm/boot/dts/sun9i-a80.dtsi | 381 +++ 1 file changed, 381 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi index 82a770

[PATCH 6/8] ARM: dts: sun9i: Add device nodes for documented display pipelines for A80

2018-03-15 Thread Chen-Yu Tsai
- DEU1 - - BE1 - DRC1 - TCON1 Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80.dtsi | 381 +++ 1 file changed, 381 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi index 82a770a5ba46..6fdb4eaa2e04 100644

[PATCH 5/8] drm/sun4i: Add driver support for A80 display pipeline

2018-03-15 Thread Chen-Yu Tsai
This patch adds support for the compatible strings of the A80 display pipeline. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- drivers/gpu/drm/sun4i/sun4i_backend.c | 7 +++ drivers/gpu/drm/sun4i/sun4i_drv.c | 12 ++-- drivers/gpu/drm/sun4i/sun6i_drc.c | 1 + 3

[PATCH 5/8] drm/sun4i: Add driver support for A80 display pipeline

2018-03-15 Thread Chen-Yu Tsai
This patch adds support for the compatible strings of the A80 display pipeline. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_backend.c | 7 +++ drivers/gpu/drm/sun4i/sun4i_drv.c | 12 ++-- drivers/gpu/drm/sun4i/sun6i_drc.c | 1 + 3 files changed, 18

[PATCH 0/8] ARM: sun9i: a80: Add display support

2018-03-15 Thread Chen-Yu Tsai
on the Cubieboard4 via an external DAC and an I2C bus from the SoC for DDC. I've had these patches for quite some time now, rebasing them as more features were added to sun4i-drm. Please have a look. Regards ChenYu Chen-Yu Tsai (8): drm/sun4i: Add compatible strings for A80 TCONs drm/sun4i: Add DT

[PATCH 0/8] ARM: sun9i: a80: Add display support

2018-03-15 Thread Chen-Yu Tsai
on the Cubieboard4 via an external DAC and an I2C bus from the SoC for DDC. I've had these patches for quite some time now, rebasing them as more features were added to sun4i-drm. Please have a look. Regards ChenYu Chen-Yu Tsai (8): drm/sun4i: Add compatible strings for A80 TCONs drm/sun4i: Add DT

[PATCH 7/8] ARM: dts: sun9i: Add pinmux settings for LCD0 RGB888 output.

2018-03-15 Thread Chen-Yu Tsai
The A80 supports RGB888 with H/V sync from LCD0. Add a pinmux setting for the needed pins. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- arch/arm/boot/dts/sun9i-a80.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts

[PATCH 7/8] ARM: dts: sun9i: Add pinmux settings for LCD0 RGB888 output.

2018-03-15 Thread Chen-Yu Tsai
The A80 supports RGB888 with H/V sync from LCD0. Add a pinmux setting for the needed pins. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi index

[PATCH 3/8] drm/sun4i: Add support for A80 TCONs

2018-03-15 Thread Chen-Yu Tsai
a "needs_edp_reset" field to the tcon quirks structure, and adds quirks and compatible strings for the 2 documented TCONs. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- drivers/gpu/drm/sun4i/sun4i_tcon.c | 27 +++ drivers/gpu/drm/sun4i/sun4i_tcon.h | 1 + 2 f

[PATCH 3/8] drm/sun4i: Add support for A80 TCONs

2018-03-15 Thread Chen-Yu Tsai
a "needs_edp_reset" field to the tcon quirks structure, and adds quirks and compatible strings for the 2 documented TCONs. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_tcon.c | 27 +++ drivers/gpu/drm/sun4i/sun4i_tcon.h | 1 + 2 files changed, 28 insertion

Re: [PATCH] phy: allwinner: sun4i-usb: poll vbus changes on A23/A33 when driving VBUS

2018-03-15 Thread Chen-Yu Tsai
Hi Kishon, On Fri, Feb 16, 2018 at 7:20 PM, Kishon Vijay Abraham I <kis...@ti.com> wrote: > > > On Friday 19 January 2018 08:15 PM, Maxime Ripard wrote: >> On Fri, Jan 19, 2018 at 05:25:41PM +0800, Chen-Yu Tsai wrote: >>> The AXP223 PMIC, like the AXP221,

Re: [PATCH] phy: allwinner: sun4i-usb: poll vbus changes on A23/A33 when driving VBUS

2018-03-15 Thread Chen-Yu Tsai
Hi Kishon, On Fri, Feb 16, 2018 at 7:20 PM, Kishon Vijay Abraham I wrote: > > > On Friday 19 January 2018 08:15 PM, Maxime Ripard wrote: >> On Fri, Jan 19, 2018 at 05:25:41PM +0800, Chen-Yu Tsai wrote: >>> The AXP223 PMIC, like the AXP221, does not generate VBUS ch

[PATCH 3/4] ARM: dts: sun8i: a33: Enable PMIC power supplies on A33-OLinuXino

2018-03-11 Thread Chen-Yu Tsai
The A33-OLinuXino has a DC jack wired to the onboard PMIC's ACIN pins. There is also a battery connector, wired to the PMIC's battery charger. Enable the power supplies for both these components. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- arch/arm/boot/dts/sun8i-a33-olinuxino.d

[PATCH 2/4] ARM: dts: sun8i: a33: Drop sunxi-common-regulators.dtsi for A33-OLinuXino

2018-03-11 Thread Chen-Yu Tsai
None of the common regulators defined in sunxi-common-regulators.dtsi are used for the A33-OLinuXino. Drop the include. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- arch/arm/boot/dts/sun8i-a33-olinuxino.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/sun

[PATCH 3/4] ARM: dts: sun8i: a33: Enable PMIC power supplies on A33-OLinuXino

2018-03-11 Thread Chen-Yu Tsai
The A33-OLinuXino has a DC jack wired to the onboard PMIC's ACIN pins. There is also a battery connector, wired to the PMIC's battery charger. Enable the power supplies for both these components. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a33-olinuxino.dts | 8 1 file

[PATCH 2/4] ARM: dts: sun8i: a33: Drop sunxi-common-regulators.dtsi for A33-OLinuXino

2018-03-11 Thread Chen-Yu Tsai
None of the common regulators defined in sunxi-common-regulators.dtsi are used for the A33-OLinuXino. Drop the include. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a33-olinuxino.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-a33-olinuxino.dts b/arch

[PATCH 0/4] ARM: dts: sun8i: a33: Improvements for A33-OLinuXino

2018-03-11 Thread Chen-Yu Tsai
Hi, Here are some cleanup and improvements for the A33-OLinuXino device tree. The first two patches drop some unneeded bits. The latter two enable peripherals that we now support. ChenYu Chen-Yu Tsai (4): ARM: dts: sun8i: a33: Drop GPIO pinmux settings for A33-OLinuXino ARM: dts: sun8i: a33

[PATCH 1/4] ARM: dts: sun8i: a33: Drop GPIO pinmux settings for A33-OLinuXino

2018-03-11 Thread Chen-Yu Tsai
Normal GPIO usage does not need an additional pinmix setting. Exclusive usage of the pin will be guaranteed by the driver. Drop the extra pinmux settings. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- arch/arm/boot/dts/sun8i-a33-olinuxino.dts | 23 +-- 1 file chan

[PATCH 0/4] ARM: dts: sun8i: a33: Improvements for A33-OLinuXino

2018-03-11 Thread Chen-Yu Tsai
Hi, Here are some cleanup and improvements for the A33-OLinuXino device tree. The first two patches drop some unneeded bits. The latter two enable peripherals that we now support. ChenYu Chen-Yu Tsai (4): ARM: dts: sun8i: a33: Drop GPIO pinmux settings for A33-OLinuXino ARM: dts: sun8i: a33

[PATCH 1/4] ARM: dts: sun8i: a33: Drop GPIO pinmux settings for A33-OLinuXino

2018-03-11 Thread Chen-Yu Tsai
Normal GPIO usage does not need an additional pinmix setting. Exclusive usage of the pin will be guaranteed by the driver. Drop the extra pinmux settings. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a33-olinuxino.dts | 23 +-- 1 file changed, 1 insertion(+), 22

[PATCH 4/4] ARM: dts: sun8i: a33: Enable A33 internal audio codec on A33-OLinuXino

2018-03-11 Thread Chen-Yu Tsai
to the microphone jack as well, but in a manner that is confusing and likely does not provide power. This part is left out of this patch. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- arch/arm/boot/dts/sun8i-a33-olinuxino.dts | 23 +++ 1 file changed, 23 insertions(+) diff --git a/ar

[PATCH 4/4] ARM: dts: sun8i: a33: Enable A33 internal audio codec on A33-OLinuXino

2018-03-11 Thread Chen-Yu Tsai
to the microphone jack as well, but in a manner that is confusing and likely does not provide power. This part is left out of this patch. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a33-olinuxino.dts | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/sun8i

[PATCH] ARM: dts: sun8i: reference tablet design: Enable PMIC power supplies

2018-03-11 Thread Chen-Yu Tsai
The A23/A33 reference tablet design has a DC barrel tied to the ACIN of the PMIC. And being a tablet, it has a Li-Po battery. Enable both power supplies in the device tree. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi | 8

[PATCH] ARM: dts: sun8i: reference tablet design: Enable PMIC power supplies

2018-03-11 Thread Chen-Yu Tsai
The A23/A33 reference tablet design has a DC barrel tied to the ACIN of the PMIC. And being a tablet, it has a Li-Po battery. Enable both power supplies in the device tree. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi | 8 1 file changed, 8

Re: [PATCH 0/4] ARM: sunxi: Clean and improvements for multi-cluster SMP

2018-03-10 Thread Chen-Yu Tsai
On Thu, Mar 8, 2018 at 11:00 PM, Chen-Yu Tsai <w...@csie.org> wrote: > Hi, > > This series is a bit of cleanup and improvement for the new > multi-cluster SMP code for Allwinner A80 and A83T (soon) SoCs. > > The first patch is just a typo fix. > > The seco

Re: [PATCH 0/4] ARM: sunxi: Clean and improvements for multi-cluster SMP

2018-03-10 Thread Chen-Yu Tsai
On Thu, Mar 8, 2018 at 11:00 PM, Chen-Yu Tsai wrote: > Hi, > > This series is a bit of cleanup and improvement for the new > multi-cluster SMP code for Allwinner A80 and A83T (soon) SoCs. > > The first patch is just a typo fix. > > The second and third patch add the use of

[PATCH 4/4] ARM: sunxi: mc-smp: Split out SoC-specific device node lookup sequence

2018-03-08 Thread Chen-Yu Tsai
and groups the device node lookup sequence, and adds new data structures to have the newly created function tied to the enable method string. This structure can also be used to encode other differences between the SoCs. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- Hi Mylene, I suggest y

[PATCH 3/4] ARM: dts: sun9i: Add enable-method for SMP support for the A80 SoC

2018-03-08 Thread Chen-Yu Tsai
to all CPU nodes. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- arch/arm/boot/dts/sun9i-a80.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi index b1c86b76ac3c..82a770a5ba46 100644 --- a/arch/arm/boot/dts/sun

[PATCH 4/4] ARM: sunxi: mc-smp: Split out SoC-specific device node lookup sequence

2018-03-08 Thread Chen-Yu Tsai
and groups the device node lookup sequence, and adds new data structures to have the newly created function tied to the enable method string. This structure can also be used to encode other differences between the SoCs. Signed-off-by: Chen-Yu Tsai --- Hi Mylene, I suggest you use this patch

[PATCH 3/4] ARM: dts: sun9i: Add enable-method for SMP support for the A80 SoC

2018-03-08 Thread Chen-Yu Tsai
to all CPU nodes. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi index b1c86b76ac3c..82a770a5ba46 100644 --- a/arch/arm/boot/dts/sun9i-a80.dtsi +++ b/arch

[PATCH 0/4] ARM: sunxi: Clean and improvements for multi-cluster SMP

2018-03-08 Thread Chen-Yu Tsai
ave a look. Regards ChenYu Chen-Yu Tsai (4): ARM: sunxi: mc-smp: Fix "lookback" typo ARM: sunxi: mc-smp: Use DT enable-method for sun9i A80 SMP ARM: dts: sun9i: Add enable-method for SMP support for the A80 SoC ARM: sunxi: mc-smp: Split out SoC-specific device node lookup sequ

[PATCH 0/4] ARM: sunxi: Clean and improvements for multi-cluster SMP

2018-03-08 Thread Chen-Yu Tsai
ave a look. Regards ChenYu Chen-Yu Tsai (4): ARM: sunxi: mc-smp: Fix "lookback" typo ARM: sunxi: mc-smp: Use DT enable-method for sun9i A80 SMP ARM: dts: sun9i: Add enable-method for SMP support for the A80 SoC ARM: sunxi: mc-smp: Split out SoC-specific device node lookup sequ

[PATCH 2/4] ARM: sunxi: mc-smp: Use DT enable-method for sun9i A80 SMP

2018-03-08 Thread Chen-Yu Tsai
support is changed into the .prepare_cpus callback in the smp_operations structure. Instead of panicing when resources are missing like on some platforms, our code merely guards against engaging SMP or CPU hotplug and returns an error. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- Documen

[PATCH 2/4] ARM: sunxi: mc-smp: Use DT enable-method for sun9i A80 SMP

2018-03-08 Thread Chen-Yu Tsai
support is changed into the .prepare_cpus callback in the smp_operations structure. Instead of panicing when resources are missing like on some platforms, our code merely guards against engaging SMP or CPU hotplug and returns an error. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree

[PATCH 1/4] ARM: sunxi: mc-smp: Fix "lookback" typo

2018-03-08 Thread Chen-Yu Tsai
The sunxi_mc_smp_lookback function is modeled after the mcpm_loopback function in the MCPM framework. "lookback" was a typo introduced when the new function was added. Signed-off-by: Chen-Yu Tsai <w...@csie.org> --- arch/arm/mach-sunxi/mc_smp.c | 4 ++-- 1 file changed, 2

[PATCH 1/4] ARM: sunxi: mc-smp: Fix "lookback" typo

2018-03-08 Thread Chen-Yu Tsai
The sunxi_mc_smp_lookback function is modeled after the mcpm_loopback function in the MCPM framework. "lookback" was a typo introduced when the new function was added. Signed-off-by: Chen-Yu Tsai --- arch/arm/mach-sunxi/mc_smp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletion

<    4   5   6   7   8   9   10   11   12   13   >