Re: [linux-sunxi] [PATCH 1/8] ARM: sunxi_defconfig: Enable simple panel

2017-02-12 Thread Chen-Yu Tsai
On Sun, Feb 12, 2017 at 1:43 AM, Priit Laes wrote: > From: Jonathan Liu > This needs a commit message about why these need to be enabled, like "Most Allwinner tablets use the same design of a dumb LCD panel coupled with a PWM controlled backlight." Also the subject does not mention CONFIG_BAC

[linux-sunxi] Re: [PATCH 2/8] ARM: sun4i: Add display blocks for the sun4i dtsi.

2017-02-13 Thread Chen-Yu Tsai
On Mon, Feb 13, 2017 at 5:16 PM, Maxime Ripard wrote: > Hi, > > On Sat, Feb 11, 2017 at 07:43:59PM +0200, Priit Laes wrote: >> Added basic display pipeline consisting of tcon, display backend and >> frontend blocks. >> >> Signed-off-by: Priit Laes >> --- >> arch/arm/boot/dts/sun4i-a10.dtsi | 104

Re: [linux-sunxi] [PATCH 1/8] dt-bindings: fix for Allwinner H5 pinctrl's compatible

2017-02-13 Thread Chen-Yu Tsai
ned-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Re: [linux-sunxi] [PATCH 2/8] dt: bindings: add binding for Allwinner A64 R_PIO pinctrl

2017-02-13 Thread Chen-Yu Tsai
> Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegro

Re: [linux-sunxi] [PATCH 3/8] pinctrl: sunxi: Add A64 R_PIO controller support

2017-02-13 Thread Chen-Yu Tsai
v/null > +++ b/drivers/pinctrl/sunxi/pinctrl-sun50i-a64-r.c > @@ -0,0 +1,143 @@ > +/* > + * Allwinner A64 SoCs special pins pinctrl driver. > + * > + * Based on pinctrl-sun8i-a23-r.c > + * > + * Copyright (C) 2016 Icenowy Zheng > + * Icenowy Zheng > + * >

Re: [linux-sunxi] Re: Allwinner A31 framebuffer fails with new CCU clock bindings

2017-02-13 Thread Chen-Yu Tsai
On Tue, Feb 14, 2017 at 5:41 AM, Bob Ham wrote: > On Mon, 2017-02-13 at 10:52 +0100, Maxime Ripard wrote: >> On Sat, Feb 11, 2017 at 12:08:40PM +, Bob Ham wrote: >> > On IRC, MoeIcenowy requested the contents >> > of /sys/kernel/debug/clk/clk_summary. I don't know how useful it will >> > be b

Re: [linux-sunxi] Fw: [WIP PATCH] Add preliminary support for Banana Pi M2U.

2017-02-14 Thread Chen-Yu Tsai
On Tue, Feb 14, 2017 at 4:59 PM, Danny Milosavljevic wrote: > This adds preliminary support for Banana Pi M2U (and R40). > > Unfortunately, I get the following error message in the end: Try https://github.com/wens/u-boot-sunxi/tree/r40 instead. :) ChenYu -- You received this message because yo

Re: [linux-sunxi] Re: [PATCH v3 3/3] sunxi: add support for Lichee Pi Zero

2017-02-15 Thread Chen-Yu Tsai
On Thu, Feb 16, 2017 at 9:32 AM, André Przywara wrote: > On 14/02/17 07:36, Maxime Ripard wrote: >> On Mon, Feb 13, 2017 at 04:12:04PM +0800, Icenowy Zheng wrote: >>> >>> 2017年2月13日 15:17于 Maxime Ripard 写道: Hi, On Sat, Feb 11, 2017 at 07:11:02PM +0800, Icenowy Zheng wrote:

[linux-sunxi] [PATCH 0/7] drm/sun4i: Various fixes and cleanups part 1

2017-02-16 Thread Chen-Yu Tsai
these. Patch 1 and 2 fix up possible memory and object leakage, but unless the user keeps unloading and loading the modules, it won't leak past a few times. Regards ChenYu Chen-Yu Tsai (7): drm/sun4i: Move drm_mode_config_cleanup call to main driver drm/sun4i: Fix up error path cle

[linux-sunxi] [PATCH 2/7] drm/sun4i: Fix up error path cleanup for master bind function

2017-02-16 Thread Chen-Yu Tsai
. This requires the patch "drm/sun4i: Move drm_mode_config_cleanup call to main driver", which splits out drm_mode_config_cleanup from sun4i_framebuffer_free so we can call it separately. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_drv.c | 16 +++- 1 file c

[linux-sunxi] [PATCH 4/7] drm/sun4i: Fix kcalloc element size in sun4i_layers_init

2017-02-16 Thread Chen-Yu Tsai
ray. Change it to sizeof(*layers) to avoid wasting a lot of memory. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_layer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_layer.c b/drivers/gpu/drm/sun4i/sun4i_layer.c index 5d53c977b

[linux-sunxi] [PATCH 6/7] drm/sun4i: Save newly created layer in layers array in sun4i_layers_init

2017-02-16 Thread Chen-Yu Tsai
-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_layer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_layer.c b/drivers/gpu/drm/sun4i/sun4i_layer.c index 92ecc967dcb1..41bc0f860f5c 100644 --- a/drivers/gpu/drm/sun4i/sun4i_layer.c +++ b/drivers/gpu/drm/sun4i/sun4i_layer.c

[linux-sunxi] [PATCH 1/7] drm/sun4i: Move drm_mode_config_cleanup call to main driver

2017-02-16 Thread Chen-Yu Tsai
drm_mode_config_cleanup is the complement of drm_mode_config_init, which is called in the bind function of sun4i_drv. drm_mode_config_cleanup should be put in the unbind function to match. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_drv.c | 1 + drivers/gpu/drm/sun4i

[linux-sunxi] [PATCH 7/7] drm/sun4i: Make sun4i_crtc_init return ERR_PTR style error codes

2017-02-16 Thread Chen-Yu Tsai
sun4i_crtc_init can fail for a number of reasons. Instead of returning a NULL pointer when it fails, pass back the encountered error using ERR_PTR. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_crtc.c | 4 ++-- drivers/gpu/drm/sun4i/sun4i_drv.c | 4 ++-- 2 files changed, 4

[linux-sunxi] [PATCH 5/7] drm/sun4i: Drop useless assignment in sun4i_layers_init

2017-02-16 Thread Chen-Yu Tsai
The assignment found in the main loop in sun4i_layers_init: struct sun4i_layer *layer = layers[i]; is useless as it gets overwritten by the next line: layer = sun4i_layer_init_one(drm, plane); Drop the assignment. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i

[linux-sunxi] [PATCH 3/7] drm/sun4i: Check return value of drm_vblank_init

2017-02-16 Thread Chen-Yu Tsai
drm_vblank_init can fail due to insufficient memory. Ignoring the error and proceeding may cause the kernel to dereference an invalid pointer when vblank is enabled. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_drv.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion

[linux-sunxi] [PATCH 08/11] drm/sun4i: tv: Switch to drm_of_find_possible_crtcs

2017-02-23 Thread Chen-Yu Tsai
tiple tcons/crtcs. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_tv.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_tv.c b/drivers/gpu/drm/sun4i/sun4i_tv.c index c6f47222e8fc..32ed5fdf0c4d 100644 --- a/drivers/gpu/drm/

[linux-sunxi] [PATCH 00/11] drm/sun4i: Various fixes and cleanups part 2

2017-02-23 Thread Chen-Yu Tsai
kend and tcon to sun4i_crtc. Please have a look. Notably, I do not have hardware to test patch 8, though I do not expect any problems. Still to come is the actual work of supporting many display pipelines. Regards ChenYu Chen-Yu Tsai (11): drm/sun4i: Make sunxi_rgb2yuv_coef constant

[linux-sunxi] [PATCH 03/11] drm/sun4i: Add end of list element for sun4i_layers_init's returned list

2017-02-23 Thread Chen-Yu Tsai
The number of defined planes in sun4i_layer is unknown to other parts of the sun4i drm driver. Since the return value of sun4i_layers_init is a list of layers, make it return 1 more empty layer as an end of list guard value. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_layer.c

[linux-sunxi] [PATCH 11/11] drm/sun4i: Add backend and tcon pointers to sun4i_crtc

2017-02-23 Thread Chen-Yu Tsai
to pass the pointers in through sun4i_crtc_init as parameters. This would make it easier to support multiple display pipelines layer on. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_crtc.c | 12 +--- drivers/gpu/drm/sun4i/sun4i_crtc.h | 3 ++- 2 files changed, 7 insertions

[linux-sunxi] [PATCH 07/11] drm/sun4i: Drop hardcoded .possible_crtcs values from layers

2017-02-23 Thread Chen-Yu Tsai
set it for overlay planes. We also fix the value set for the RGB encoder, by referencing the crtc set in sun4i_drv. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_crtc.c | 9 + drivers/gpu/drm/sun4i/sun4i_layer.c | 3 ++- drivers/gpu/drm/sun4i/sun4i_rgb.c | 3 ++- 3

[linux-sunxi] [PATCH 05/11] drm/sun4i: Initialize crtc from tcon bind function

2017-02-23 Thread Chen-Yu Tsai
from the sun4i-drm module to the sun4i-tcon module to avoid circular dependencies between the two modules. This is because sun4i-drm also calls into sun4i-tcon. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/Makefile | 4 ++-- drivers/gpu/drm/sun4i/sun4i_drv.c | 8 drivers/gpu

[linux-sunxi] [PATCH 01/11] drm/sun4i: Make sunxi_rgb2yuv_coef constant

2017-02-23 Thread Chen-Yu Tsai
sunxi_rgb2yuv_coef is a table of RGB-to-YUV conversion coefficients. They are programmed into the hardware, and can be declared constant. Reported-by: Priit Laes Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[linux-sunxi] [PATCH 02/11] drm/sun4i: Set drm_crtc.port to the underlying TCON's output port node

2017-02-23 Thread Chen-Yu Tsai
The way drm_of_find_possible_crtcs is it tries to match the remote-endpoint of the given node's various endpoints to all the crtc's .port field. Thus we need to set drm_crtc.port to the output port node of the underlying TCON. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/su

[linux-sunxi] [PATCH 06/11] drm/sun4i: Drop primary layer pointer from sun4i_drv

2017-02-23 Thread Chen-Yu Tsai
through the returned layers to find the primary and cursor layers. And drop the pointer from the sun4i_drv structure. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_crtc.c | 25 + drivers/gpu/drm/sun4i/sun4i_drv.h | 1 - drivers/gpu/drm/sun4i/sun4i_layer.c

[linux-sunxi] [PATCH 10/11] drm/sun4i: Add backend pointer to sun4i_layer

2017-02-23 Thread Chen-Yu Tsai
pointer in through sun4i_layers_init as a parameter. This would make it easier to support multiple display pipelines layer on. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_layer.c | 8 +++- drivers/gpu/drm/sun4i/sun4i_layer.h | 1 + 2 files changed, 4 insertions(+), 5 deletions

[linux-sunxi] [PATCH 09/11] drm/sun4i: rgb: Pass tcon pointer when initializing RGB encoder

2017-02-23 Thread Chen-Yu Tsai
. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_rgb.c | 27 +-- drivers/gpu/drm/sun4i/sun4i_rgb.h | 2 +- drivers/gpu/drm/sun4i/sun4i_tcon.c | 2 +- 3 files changed, 11 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_rgb.c b/drivers/gpu

[linux-sunxi] [PATCH 04/11] drm/sun4i: Move layers from sun4i_drv to sun4i_crtc

2017-02-23 Thread Chen-Yu Tsai
. Moving the layers into the crtc facilitates binding them to the crtc explicitly, by setting the corresponding bit in their .possible_crtcs fields right after the crtc is initialized. This is done in a later patch. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_crtc.c | 8

Re: [linux-sunxi] Re: [PATCH RFC] drm/sun4i: rgb: Add 5% tolerance to dot clock frequency check

2017-02-24 Thread Chen-Yu Tsai
On Wednesday 07 Dec 2016 10:26:25 Chen-Yu Tsai wrote: >> > > On Wed, Dec 7, 2016 at 1:29 AM, Maxime Ripard wrote: >> > > > On Thu, Nov 24, 2016 at 07:22:31PM +0800, Chen-Yu Tsai wrote: >> > > >> The panels shipped with Allwinner devices are very &quo

Re: [linux-sunxi] [PATCH 2/3] pwm: sunxi: Add A64 support

2017-02-25 Thread Chen-Yu Tsai
On Sat, Feb 25, 2017 at 3:42 PM, Icenowy Zheng wrote: > A64 PWM controller has same register layout as sun4i driver, so it works > by adding A64 specific data. > > Signed-off-by: Icenowy Zheng > --- > drivers/pwm/pwm-sun4i.c | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/drive

Re: [linux-sunxi] Re: [PATCH] arm64: dts: allwinner: add support for Pinebook

2017-02-25 Thread Chen-Yu Tsai
On Sun, Feb 26, 2017 at 12:55 AM, Icenowy Zheng wrote: > > > 26.02.2017, 00:38, "Rask Ingemann Lambertsen" : >> On Sat, Feb 25, 2017 at 03:00:32PM +0800, Icenowy Zheng wrote: >> [...] >>> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts >>> b/arch/arm64/boot/dts/allwinner/sun50

[linux-sunxi] Re: [PATCH v5 5/7] arm: dts: sun8i: split Allwinner H3 .dtsi

2017-02-25 Thread Chen-Yu Tsai
Hi, On Sun, Feb 26, 2017 at 9:19 AM, Icenowy Zheng wrote: > From: Andre Przywara > > The new Allwinner H5 SoC is pin-compatible to the H3 SoC, but with the > Cortex-A7 cores replaced by Cortex-A53 cores and the MMC controller > updated. So we should really share almost the whole .dtsi. > In prep

[linux-sunxi] Re: [PATCH v5 6/7] arm64: dts: allwinner: add Allwinner H5 .dtsi

2017-02-26 Thread Chen-Yu Tsai
On Sun, Feb 26, 2017 at 4:55 PM, Rask Ingemann Lambertsen wrote: > On Sun, Feb 26, 2017 at 09:19:55AM +0800, Icenowy Zheng wrote: >> From: Andre Przywara >> >> The Allwinner H5 SoC is pin-compatible to the H3 SoC, but uses >> Cortex-A53 cores instead. >> Based on the now shared base .dtsi describ

[linux-sunxi] Re: [PATCH 0/6] sunxi: update Pine64/A64 DTs

2017-02-26 Thread Chen-Yu Tsai
On Mon, Feb 27, 2017 at 8:26 AM, Andre Przywara wrote: > Hi, > > in the wake of the sunxi DM enablement series it became apparent that > the current device tree files for the A64 SoC and its board are outdated. > > Since Linux v4.10-rc1 there are now basic .dts files for the Allwinner > A64 SoC an

[linux-sunxi] Re: [PATCH 1/6] sunxi: GPIO: introduce sunxi_gpio_setup_dt_pins()

2017-02-26 Thread Chen-Yu Tsai
On Mon, Feb 27, 2017 at 8:26 AM, Andre Przywara wrote: > Instead of hard-coding GPIO pins used for a certain peripheral, we > should just use the pinctrl information from the DT. > The sun8i-emac driver has some simple implementation of that, so > let's just generalize this and move the code into

Re: [linux-sunxi] [PATCH v2 4/6] sunxi: fix an error when setting DLDO on AXP818

2017-02-26 Thread Chen-Yu Tsai
On Sun, Feb 26, 2017 at 7:52 AM, Icenowy Zheng wrote: > The driver of AXP818 PMIC have a serious bug when setting DLDOs' voltage > -- the register offset of ELDO is wrongly used instead of DLDO. > > Fix this problem. > > Signed-off-by: Icenowy Zheng Reviewed-by: Chen-Yu

[linux-sunxi] Re: [PATCH 0/6] sunxi: update Pine64/A64 DTs

2017-02-27 Thread Chen-Yu Tsai
Hi, On Mon, Feb 27, 2017 at 5:53 PM, Andre Przywara wrote: > Hi, > > On 27/02/17 03:30, Chen-Yu Tsai wrote: >> On Mon, Feb 27, 2017 at 8:26 AM, Andre Przywara >> wrote: >>> Hi, >>> >>> in the wake of the sunxi DM enablement series it became app

Re: [linux-sunxi] [PATCH 1/3] phy: sun4i-usb: support automatically switch PHY0 route to MUSB/HCI

2017-02-28 Thread Chen-Yu Tsai
On Tue, Feb 28, 2017 at 11:27 PM, Icenowy Zheng wrote: > On newer Allwinner SoCs (H3 and after), the PHY0 node is routed to both > MUSB controller for peripheral and host support (the host support is > slightly broken), and a pair of EHCI/OHCI controllers, which provide a > better support for host

Re: [linux-sunxi] [PATCH 2/3] ARM: dts: sun8i: add usb_otg and OHCI/EHCI for usbc0 on H3

2017-02-28 Thread Chen-Yu Tsai
On Tue, Feb 28, 2017 at 11:27 PM, Icenowy Zheng wrote: > Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI > or MUSB controller. > > Add device nodes for these controllers. > > Signed-off-by: Icenowy Zheng > --- > arch/arm/boot/dts/sun8i-h3.dtsi | 36

Re: [linux-sunxi] [PATCH 2/3] ARM: dts: sun8i: add usb_otg and OHCI/EHCI for usbc0 on H3

2017-02-28 Thread Chen-Yu Tsai
On Tue, Feb 28, 2017 at 11:57 PM, Icenowy Zheng wrote: > > > 28.02.2017, 23:46, "Chen-Yu Tsai" : >> On Tue, Feb 28, 2017 at 11:27 PM, Icenowy Zheng wrote: >>> Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI >>> or MUSB cont

Re: [linux-sunxi] Re: [RFC PATCH 4/9] clk: sunxi-ng: support R40 SoC

2017-02-28 Thread Chen-Yu Tsai
Hi Icenowy, On Fri, Feb 24, 2017 at 8:20 AM, Maxime Ripard wrote: > On Wed, Feb 22, 2017 at 01:54:58PM +0800, Icenowy Zheng wrote: >> >> 2017年2月22日 07:03于 Maxime Ripard 写道: >> > >> > Hi, >> > >> > On Sat, Feb 18, 2017 at 01:37:17AM +0800, Icenowy Zheng wrote: >> > > Allwinner R40 SoC have a clock

Re: [linux-sunxi] [PATCH 5/5] pinctrl: sunxi: Add A64 R_PIO controller support

2017-02-28 Thread Chen-Yu Tsai
NCTRL_SUN8I_H3) += pinctrl-sun8i-h3.o >> obj-$(CONFIG_PINCTRL_SUN8I_H3_R) += pinctrl-sun8i-h3-r.o >> diff --git a/drivers/pinctrl/sunxi/pinctrl-sun50i-a64-r.c >> b/drivers/pinctrl/sunxi/pinctrl-sun50i-a64-r.c >> new file mode 100644 >> index 000

Re: [linux-sunxi] [PATCH 1/5] pinctrl: sunxi: refactor pinctrl choice selecting for ARM64

2017-02-28 Thread Chen-Yu Tsai
On Wed, Mar 1, 2017 at 2:55 AM, Icenowy Zheng wrote: > > > 01.03.2017, 02:15, "Andre Przywara" : >> Hi Icenowy, >> >> (first thing: could you create your series with --cover-letter and fill >> this in? There you could explain what this series is about and also >> state things like dependencies fro

[linux-sunxi] [PATCH] sunxi: Add boards/sunxi and arch/arm/mach-sunxi to sunxi MAINTAINERS entry

2017-02-28 Thread Chen-Yu Tsai
-Yu Tsai --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index eaa2c3bbb860..4eee53f5a9f6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -168,9 +168,12 @@ F: arch/arm/include/asm/arch-stv0991/ ARM SUNXI M: Jagan Teki M: Maxime Ripard +S

[linux-sunxi] [PATCH 02/12] sunxi: Enable AXP221s in I2C mode with the R40 SoC

2017-02-28 Thread Chen-Yu Tsai
The R40 SoC uses the AXP221s in I2C mode to supply power. Some regulator's common usages have changed, and also the recommended voltage for existing usages have changed. Update the defaults to match. Signed-off-by: Chen-Yu Tsai --- arch/arm/mach-sunxi/pmic_bus.c | 7 +++ board/

[linux-sunxi] [PATCH 04/12] sunxi: Add mmc[1-3] pinmux settings for R40

2017-02-28 Thread Chen-Yu Tsai
The PIO is generally compatible with the A20, except that it routes the full 8 bits and eMMC reset pins for mmc2. Signed-off-by: Chen-Yu Tsai --- board/sunxi/board.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/board/sunxi/board.c b/board/sunxi/board.c

[linux-sunxi] [PATCH 10/12] sunxi: Fix CPUCFG address for R40

2017-02-28 Thread Chen-Yu Tsai
The R40 has the CPUCFG block at the same address as the A20. Fix it. Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h b/arch/arm/include/asm/arch

[linux-sunxi] [PATCH 05/12] sunxi: Set PLL lock enable bits for R40

2017-02-28 Thread Chen-Yu Tsai
According to the BSP released by Banana Pi, the R40 (sun8iw11p1) has an extra "PLL lock control" register in the CCU, which controls whether the individual PLL lock status bits in each PLL's control register work or not. This patch enables it for all the PLLs. Signed-off-b

[linux-sunxi] [PATCH 00/12] sunxi: Add support for R40 SoC

2017-02-28 Thread Chen-Yu Tsai
or the Bananapi M2 Ultra. Please have a look. Regards ChenYu Chen-Yu Tsai (12): sunxi: Add initial support for R40 sunxi: Enable AXP221s in I2C mode with the R40 SoC sunxi: Fix watchdog reset function for R40 sunxi: Add mmc[1-3] pinmux settings for R40 sunxi: Set PLL lock enable bits f

[linux-sunxi] [PATCH 03/12] sunxi: Fix watchdog reset function for R40

2017-02-28 Thread Chen-Yu Tsai
The watchdog found on the R40 SoC is the older variant found on the A20. Add the proper "#if defines" to make it work. Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/arch-sunxi/timer.h| 5 ++--- arch/arm/include/asm/arch-sunxi/watchdog.h | 5 - arch/arm/mach-sun

[linux-sunxi] [PATCH 11/12] sunxi: Add PSCI support for R40

2017-02-28 Thread Chen-Yu Tsai
PSCI implementation for CPU bring-up and hotplug for the R40. Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/psci.c | 35 --- board/sunxi/Kconfig | 3 +++ 2 files changed, 35 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/armv7/sunxi/p

[linux-sunxi] [PATCH 07/12] gpio: sunxi: Add compatible string for R40 PIO

2017-02-28 Thread Chen-Yu Tsai
The PIO on the R40 SoC is mostly compatible with the A20. Only a few pin functions for mmc2 were added to the PC pingroup, to support 8 bit eMMCs. Signed-off-by: Chen-Yu Tsai --- drivers/gpio/sunxi_gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/sunxi_gpio.c b/drivers

[linux-sunxi] [PATCH 08/12] sunxi: Use H3/A64 DRAM initialization code for R40

2017-02-28 Thread Chen-Yu Tsai
The R40 seems to have a variant of the memory controller found in the H3 and A64 SoCs. Adapt the code for use on the R40. The changes are based on released DRAM code and comparing register dumps from boot0. Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/arch-sunxi/cpu.h | 1

[linux-sunxi] [PATCH 01/12] sunxi: Add initial support for R40

2017-02-28 Thread Chen-Yu Tsai
w. Signed-off-by: Chen-Yu Tsai --- arch/arm/mach-sunxi/board.c| 10 +++--- arch/arm/mach-sunxi/cpu_info.c | 2 ++ board/sunxi/Kconfig| 9 +++-- board/sunxi/board.c| 19 ++- 4 files changed, 30 insertions(+), 10 deletions(-) diff --git a/arc

[linux-sunxi] [PATCH 09/12] sunxi: Enable SPL for R40

2017-02-28 Thread Chen-Yu Tsai
Now that we can do DRAM initialization for the R40, we can enable SPL support for it. Signed-off-by: Chen-Yu Tsai --- board/sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 9854ef0a599e..3df9f8197c57 100644 --- a/board/sunxi

[linux-sunxi] [PATCH 12/12] sunxi: Add support for Bananapi M2 Ultra

2017-02-28 Thread Chen-Yu Tsai
The Bananapi M2 Ultra is the first publicly available development board featuring the R40 SoC. This patch add barebone dtsi/dts files for the R40 and Bananapi M2 Ultra, as well as a defconfig for it. Signed-off-by: Chen-Yu Tsai --- arch/arm/dts/Makefile| 2 + arch/arm

[linux-sunxi] [PATCH 06/12] sunxi: Provide defaults for R40 DRAM settings

2017-02-28 Thread Chen-Yu Tsai
These values were taken from the Banana Pi M2 Ultra fex file found in the released vendor BSP. This is the only publicly available R40 device at the time of this writing. Signed-off-by: Chen-Yu Tsai --- board/sunxi/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/sunxi

Re: [linux-sunxi] Re: [U-Boot] [PATCH v2] sunxi: add NanoPi NEO Air defconfig

2017-02-28 Thread Chen-Yu Tsai
On Sat, Feb 25, 2017 at 4:26 PM, Jagan Teki wrote: > On Mon, Feb 13, 2017 at 1:22 PM, Maxime Ripard > wrote: >> On Sun, Feb 12, 2017 at 04:21:40PM +0100, Jelle van der Waa wrote: >>> Add support for the NanoPi NEO Air H3 board from friendlyarm.com . This >>> board contains WiFi, Bluetooth, 8GB eM

[linux-sunxi] Re: [PATCH 01/12] sunxi: Add initial support for R40

2017-03-01 Thread Chen-Yu Tsai
On Wed, Mar 1, 2017 at 6:55 PM, Maxime Ripard wrote: > Hi Chen-Yu > > On Wed, Mar 01, 2017 at 03:04:36PM +0800, Chen-Yu Tsai wrote: >> The R40 is the successor to the A20. It is a hybrid of the A20, A33 >> and the H3. >> >> The R40's PIO controller is com

Re: [linux-sunxi] [PATCH 6/8] power: axp209: Add support for voltage rate control on LDO3

2017-03-01 Thread Chen-Yu Tsai
On Thu, Mar 2, 2017 at 12:02 AM, Olliver Schinagl wrote: > Hey Marcus, > > On 01-03-17 16:10, Marcus Weseloh wrote: >> >> Hi Oliver, >> >> 2017-03-01 13:52 GMT+01:00 Olliver Schinagl > >: >> >> +#define AXP209_VRC_LDO3_EN BIT(3) >> +#define AXP209_VRC

Re: [linux-sunxi] Re: [PATCH 2/4] clk: sunxi-ng: Add sun7i-a20 CCU driver

2017-03-02 Thread Chen-Yu Tsai
On Thu, Mar 2, 2017 at 10:21 PM, Maxime Ripard wrote: > Hi Priit, > > On Wed, Mar 01, 2017 at 11:38:14PM +0200, Priit Laes wrote: >> > > +/* PLL2 - Audio clock */ >> > > +static struct ccu_nm pll_audio_base_clk = { >> > > > > > > + .enable = BIT(31), >> > > > > > > + .n = _SUN

Re: [linux-sunxi] [PATCH v2 01/12] ASoC: sun8i-codec-analog: split out mic2

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:36 PM, Icenowy Zheng wrote: > Allwinner V3s features an analog codec without MIC2. > > Split out this part, in order to prepare for the V3s analog codec. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai -- You received this message because you

Re: [linux-sunxi] [PATCH v2 02/12] ASoC: sun8i-codec-analog: split out line in

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:36 PM, Icenowy Zheng wrote: > Allwinner V3s features an analog codec without LINEIN. > > Split out this part, in order to prepare for the V3s analog codec. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai -- You received this message because you

Re: [linux-sunxi] Re: [PATCH v2 03/12] ASoC: sun8i-codec-analog: split out mbias

2017-03-05 Thread Chen-Yu Tsai
has_hmic; > bool has_linein; > bool has_lineout; > + bool has_mbias; > bool has_mic2; > }; Please incorporate this into the patch in the next version, with Acked-by: Chen-Yu Tsai > > >> diff --git a/sound/soc/sunxi/sun8i-codec-analog.c

[linux-sunxi] Re: [PATCH v2 06/12] dmaengine: sun6i: make gate bit in sun8i's DMA engines a common quirk

2017-03-05 Thread Chen-Yu Tsai
s unused in past releases, so no need to CC stable. Normally when you mention "also " in your commit message, it is a good indicator you should split your patch, unless it is something really trivial like an extra whitespace cleanup, or splitting the patch would break the build. Once split, pl

Re: [linux-sunxi] [PATCH v2 04/12] ASoC: sun8i-codec-analog: add support for V3s SoC

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > The V3s SoC features an analog codec with headphone support but without > mic2 and linein. You should also make new mixer control sets, with out linein and mic2, and split out the mixer widget for V3s. Otherwise ALSA is going to export MIC2 a

Re: [linux-sunxi] [PATCH v2 07/12] dmaengine: sun6i: support V3s SoC variant

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > Allwinner V3s has a DMA engine similar to the ones from A31, but with > fewer channels and DRQs. > > Add support for it. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai -- You received this message because you

Re: [linux-sunxi] [PATCH v2 05/12] ASoC: sun4i-codec: Add support for V3s codec

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > The codec in the V3s is similar to the one found on the A31. One key > difference is the analog path controls are routed through the PRCM > block. This is supported by the sun8i-codec-analog driver, and tied > into this codec driver with the a

Re: [linux-sunxi] [PATCH v2 08/12] ARM: dts: sun8i: restore the inclusion of ccu headers in V3s DTSI

2017-03-05 Thread Chen-Yu Tsai
> + clocks = <&ccu CLK_USB_PHY0>; > clock-names = "usb0_phy"; > - resets = <&ccu 0>; > + resets = <&ccu RST_USB_PHY0>; >

Re: [linux-sunxi] [PATCH v2 09/12] ARM: dts: sun8i: add DMA engine in V3s DTSI

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > Allwinner V3s SoC features a DMA engine. > > Add it in the DTSI file. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai -- You received this message because you are subscribed to the Google Groups "li

Re: [linux-sunxi] [PATCH v2 05/12] ASoC: sun4i-codec: Add support for V3s codec

2017-03-05 Thread Chen-Yu Tsai
On Mon, Mar 6, 2017 at 12:05 PM, Chen-Yu Tsai wrote: > On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: >> The codec in the V3s is similar to the one found on the A31. One key >> difference is the analog path controls are routed through the PRCM >> block. This is support

[linux-sunxi] Re: [PATCH v2 10/12] ARM: dts: sun8i: add audio codec support into V3s DTSI

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > Allwinner V3s SoC features an internal audio codec like the one in H3, > and a analog codec like the one in H3/A23 (but much simpler). > > Add them in the DTSI file. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai

Re: [linux-sunxi] [PATCH v2 11/12] ARM: dts: sun8i: add pinmux for V3s mmc1

2017-03-05 Thread Chen-Yu Tsai
t; + > + mmc1_pins: mmc1@0 { This seems to be the only possible configuration. In that case, please drop the @0 from the node name. We shouldn't be adding them anyway, since it causes warnings from the device tree compiler. Otherwise, Acked-

Re: [linux-sunxi] [PATCH v2 12/12] ARM: dts: sun8i: add device tree for Lichee Pi Zero with Dock

2017-03-05 Thread Chen-Yu Tsai
On Sun, Mar 5, 2017 at 9:37 PM, Icenowy Zheng wrote: > Lichee Pi Zero features a dock, which adds some functions, and should be > soldered with the core board of Lichee Pi Zero. > > Add support for the dock as a new dts, as soldering is needed to make > the dock usable and there's functions enable

[linux-sunxi] [PATCH v2 06/13] sunxi: Set PLL lock enable bits for R40

2017-03-06 Thread Chen-Yu Tsai
According to the BSP released by Banana Pi, the R40 (sun8iw11p1) has an extra "PLL lock control" register in the CCU, which controls whether the individual PLL lock status bits in each PLL's control register work or not. This patch enables it for all the PLLs. Signed-off-by: Chen

[linux-sunxi] [PATCH v2 02/13] sunxi: Add initial support for R40

2017-03-06 Thread Chen-Yu Tsai
w. Signed-off-by: Chen-Yu Tsai --- arch/arm/mach-sunxi/board.c| 10 +++--- arch/arm/mach-sunxi/cpu_info.c | 2 ++ board/sunxi/Kconfig| 7 +++ board/sunxi/board.c| 19 ++- 4 files changed, 30 insertions(+), 8 deletions(-) diff --git a/arch/arm/

[linux-sunxi] [PATCH v2 11/13] sunxi: Fix CPUCFG address for R40

2017-03-06 Thread Chen-Yu Tsai
The R40 has the CPUCFG block at the same address as the A20. Fix it. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- arch/arm/include/asm/arch-sunxi/cpu_sun4i.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h b/arch

[linux-sunxi] [PATCH v2 04/13] sunxi: Fix watchdog reset function for R40

2017-03-06 Thread Chen-Yu Tsai
The watchdog found on the R40 SoC is the older variant found on the A20. Add the proper "#if defines" to make it work. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- arch/arm/include/asm/arch-sunxi/timer.h| 5 ++--- arch/arm/include/asm/arch-sunxi/watchdog.h | 5 -

[linux-sunxi] [PATCH v2 00/13] sunxi: Add support for R40 SoC

2017-03-06 Thread Chen-Yu Tsai
dds a PSCI implementation for the R40. As the register layout is slightly erratic, we just use a macro for the ones that can't fit into the cpucfg register definition structure. Patch 13 adds a board dts and defconfig for the Bananapi M2 Ultra. Please have a look. Regards ChenYu Chen-

[linux-sunxi] [PATCH v2 10/13] sunxi: Enable SPL for R40

2017-03-06 Thread Chen-Yu Tsai
Now that we can do DRAM initialization for the R40, we can enable SPL support for it. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- board/sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index be9f6922fa2f..333872006918

[linux-sunxi] [PATCH v2 13/13] sunxi: Add support for Bananapi M2 Ultra

2017-03-06 Thread Chen-Yu Tsai
The Bananapi M2 Ultra is the first publicly available development board featuring the R40 SoC. This patch add barebone dtsi/dts files for the R40 and Bananapi M2 Ultra, as well as a defconfig for it. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- arch/arm/dts/Makefile

[linux-sunxi] [PATCH v2 07/13] sunxi: Provide defaults for R40 DRAM settings

2017-03-06 Thread Chen-Yu Tsai
These values were taken from the Banana Pi M2 Ultra fex file found in the released vendor BSP. This is the only publicly available R40 device at the time of this writing. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- board/sunxi/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff

[linux-sunxi] [PATCH v2 08/13] gpio: sunxi: Add compatible string for R40 PIO

2017-03-06 Thread Chen-Yu Tsai
The PIO on the R40 SoC is mostly compatible with the A20. Only a few pin functions for mmc2 were added to the PC pingroup, to support 8 bit eMMCs. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- drivers/gpio/sunxi_gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio

[linux-sunxi] [PATCH v2 01/13] sunxi: Split up long Kconfig lines

2017-03-06 Thread Chen-Yu Tsai
e it easier to add, remove, or modify one item at a time. Signed-off-by: Chen-Yu Tsai --- board/sunxi/Kconfig | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 3e0e2624737e..ab22146c6e96 100644 --- a/board/s

[linux-sunxi] [PATCH v2 09/13] sunxi: Use H3/A64 DRAM initialization code for R40

2017-03-06 Thread Chen-Yu Tsai
The R40 seems to have a variant of the memory controller found in the H3 and A64 SoCs. Adapt the code for use on the R40. The changes are based on released DRAM code and comparing register dumps from boot0. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- arch/arm/include/asm/arch-sunxi

[linux-sunxi] [PATCH v2 05/13] sunxi: Add mmc[1-3] pinmux settings for R40

2017-03-06 Thread Chen-Yu Tsai
The PIO is generally compatible with the A20, except that it routes the full 8 bits and eMMC reset pins for mmc2. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- board/sunxi/board.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/board/sunxi

[linux-sunxi] [PATCH v2 03/13] sunxi: Enable AXP221s in I2C mode with the R40 SoC

2017-03-06 Thread Chen-Yu Tsai
The R40 SoC uses the AXP221s in I2C mode to supply power. Some regulator's common usages have changed, and also the recommended voltage for existing usages have changed. Update the defaults to match. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- arch/arm/mach-sunxi/pmic_bus.c

[linux-sunxi] [PATCH v2 12/13] sunxi: Add PSCI support for R40

2017-03-06 Thread Chen-Yu Tsai
PSCI implementation for CPU bring-up and hotplug for the R40. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- arch/arm/cpu/armv7/sunxi/psci.c | 35 --- board/sunxi/Kconfig | 3 +++ 2 files changed, 35 insertions(+), 3 deletions(-) diff --git a

Re: [linux-sunxi] Re: [PATCH v7 1/6] ARM: dts: sun8i: drop skeleton.dtsi inclusion in H3 DTSI

2017-03-06 Thread Chen-Yu Tsai
On Mon, Mar 6, 2017 at 6:46 PM, Icenowy Zheng wrote: > > > 06.03.2017, 18:35, "Maxime Ripard" : >> Hi, >> >> On Mon, Mar 06, 2017 at 07:31:33AM +0800, Icenowy Zheng wrote: >>> The skeleton.dtsi file is now deprecated, and do not exist in ARM64 >>> environment. >>> >>> Since we will soon reuse m

Re: [linux-sunxi] [PATCH v3 0/5] Add dual-role OTG support for Allwinner H3

2017-03-06 Thread Chen-Yu Tsai
On Tue, Mar 7, 2017 at 8:24 AM, Icenowy Zheng wrote: > > > 07.03.2017, 07:48, "Ondřej Jirman" : >> Hi Icenowy, >> >> when I was trying to add OTG support I found an issue with powercycling. >> When I have USB cable connecting PC and the OTG port on the SBC, when >> the board enables the vbus, it w

[linux-sunxi] Re: [PATCH 12/15] drm/sun4i: tcon: multiply the vtotal when not in interlace

2017-03-07 Thread Chen-Yu Tsai
Hi, On Tue, Mar 7, 2017 at 4:56 PM, Maxime Ripard wrote: > It appears that the total vertical resolution needs to be doubled when > we're not in interlaced. Make sure that is the case. This is true for both channels, though we handle them differently. > > Signed-off-by: Maxime Ripard > --- >

[linux-sunxi] [PATCH 0/2] ARM: dts: sunxi: Remove no longer used pinctrl/sun4i-a10.h header

2017-03-07 Thread Chen-Yu Tsai
gards ChenYu Chen-Yu Tsai (2): ARM: dts: sun8i-a23-q8-tablet: Drop pinmux setting for codec PA gpio ARM: dts: sunxi: Remove no longer used pinctrl/sun4i-a10.h header arch/arm/boot/dts/sun4i-a10-a1000.dts| 1 - arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 1 -

[linux-sunxi] [PATCH 1/2] ARM: dts: sun8i-a23-q8-tablet: Drop pinmux setting for codec PA gpio

2017-03-07 Thread Chen-Yu Tsai
sunxi specific pinctrl bindings that use the pinctrl header by dropping the pinmux setting for the audio codec's PA (external amplifier) control GPIO. The pin is pulled down externally. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a23-q8-tablet.dts | 10 -- 1 file c

[linux-sunxi] [PATCH 2/2] ARM: dts: sunxi: Remove no longer used pinctrl/sun4i-a10.h header

2017-03-07 Thread Chen-Yu Tsai
m/boot/dts/sun?i*.* arch/arm/boot/dts/sun9i-a80.dtsi was then edited to remove the extra empty line. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun4i-a10-a1000.dts| 1 - arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 1 - arch/arm/boot/dts/sun4i-

Re: [linux-sunxi] [PATCH 14/15] ARM: sun5i: a10s: Add the HDMI controller node

2017-03-07 Thread Chen-Yu Tsai
Hi, On Tue, Mar 7, 2017 at 4:56 PM, Maxime Ripard wrote: > The A10s has an HDMI controller connected to the second TCON channel. Add > it to our DT. > > Signed-off-by: Maxime Ripard > --- > arch/arm/boot/dts/sun5i-a10s.dtsi | 34 - > arch/arm/boot/dts/sun5i.dtsi

[linux-sunxi] Re: [PATCH 15/15] ARM: sun5i: a10s-olinuxino: Enable HDMI

2017-03-07 Thread Chen-Yu Tsai
On Tue, Mar 7, 2017 at 4:56 PM, Maxime Ripard wrote: > The A10s Olinuxino has an HDMI connector. Make sure we can use it. > > Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai -- You received this message because you are subscribed to the Google Groups "linux-sunxi" gr

[linux-sunxi] Re: [PATCH 8/15] drm/sun4i: tcon: Add channel debug

2017-03-07 Thread Chen-Yu Tsai
On Tue, Mar 7, 2017 at 4:56 PM, Maxime Ripard wrote: > While all functions have debug logs, the channel enable and disable are not > logged. Make sure this is the case. > > Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai -- You received this message because you are subsc

[linux-sunxi] Re: [PATCH 7/15] dt-bindings: display: sun4i: Add allwinner,tcon-channel property

2017-03-07 Thread Chen-Yu Tsai
t runtime definitely sounds plausible. > > Add an extra property, allwinner,tcon-channel, to specify for a given > endpoint which TCON channel it is connected to, while falling back to the > previous mechanism if that property is missing. > > Signed-off-by: Maxime Ripard Acked-by:

[linux-sunxi] Re: [PATCH 6/15] dt-bindings: display: sun4i: Add HDMI display bindings

2017-03-07 Thread Chen-Yu Tsai
On Tue, Mar 7, 2017 at 4:56 PM, Maxime Ripard wrote: > One of the possible output of the display pipeline, on the SoCs that have > it, is the HDMI controller. > > Add a binding for it. > > Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai TODO: A31 will also need a D

[linux-sunxi] Re: [PATCH 10/15] drm/sun4i: tcon: Switch mux on only for composite

2017-03-07 Thread Chen-Yu Tsai
On Tue, Mar 7, 2017 at 4:56 PM, Maxime Ripard wrote: > Even though that mux is undocumented, it seems like it needs to be set to 1 > when using composite, and 0 when using HDMI. > > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/sun4i/sun4i_tcon.c | 7 ++- > 1 file changed, 6 insertion

<    1   2   3   4   5   6   7   8   9   10   >