[linux-sunxi] Re: [PATCH v2 1/3] regulator: axp20x: add drivevbus support for axp803

2017-12-07 Thread Rob Herring
On Fri, Dec 08, 2017 at 12:34:18AM +0530, 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 > --- > Changes for

[linux-sunxi] Re: [U-Boot] [PATCH] sunxi: Add support for Libre Computer Board ALL-H3-CC H3 ver.

2017-12-07 Thread Chen-Yu Tsai
On Fri, Dec 8, 2017 at 1:01 AM, Jagan Teki wrote: > On Thu, Dec 7, 2017 at 6:30 PM, Chen-Yu Tsai wrote: >> The Libre Computer Board ALL-H3-CC from Libre Technology is a Raspberry >> Pi B+ form factor single board computer based on the Allwinner H3 SoC. >>

[linux-sunxi] Re: [U-Boot] [PATCH] sunxi: Add support for Libre Computer Board ALL-H3-CC H3 ver.

2017-12-07 Thread Jagan Teki
On Fri, Dec 8, 2017 at 7:59 AM, Chen-Yu Tsai wrote: > On Fri, Dec 8, 2017 at 1:01 AM, Jagan Teki wrote: >> On Thu, Dec 7, 2017 at 6:30 PM, Chen-Yu Tsai wrote: >>> The Libre Computer Board ALL-H3-CC from Libre Technology is a Raspberry >>>

[linux-sunxi] Re: [PATCH v2 2/3] arm64: allwinner: axp803: Add drivevbus regulator

2017-12-07 Thread Chen-Yu Tsai
On Fri, Dec 8, 2017 at 3:04 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 > --- > Changes for v2: > - New

[linux-sunxi] Re: [PATCH v2 1/3] regulator: axp20x: add drivevbus support for axp803

2017-12-07 Thread Chen-Yu Tsai
On Fri, Dec 8, 2017 at 3:04 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 > --- >

[linux-sunxi] Re: [PATCH] arm64: allwinner: a64: orangepi-zero-plus2: add usb otg

2017-12-07 Thread Maxime Ripard
On Thu, Dec 07, 2017 at 10:23:18PM +0530, Jagan Teki wrote: > On Thu, Dec 7, 2017 at 7:04 PM, Maxime Ripard > wrote: > > Hi, > > > > On Thu, Dec 07, 2017 at 04:35:48PM +0530, Jagan Teki wrote: > >> Add usb otg support for orangepi-zero-plus2 board: > >> - Add

[linux-sunxi] Re: [PATCH v2 2/3] arm64: allwinner: axp803: Add drivevbus regulator

2017-12-07 Thread Jagan Teki
On Fri, Dec 8, 2017 at 8:22 AM, Chen-Yu Tsai wrote: > On Fri, Dec 8, 2017 at 3:04 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. >> >>

[linux-sunxi] [PATCH 1/2] ARM: dts: sun8i: a83t: add dwmac-sun8i device node

2017-12-07 Thread Chen-Yu Tsai
From: Corentin LABBE The dwmac-sun8i is an ethernet MAC hardware that support 10/100/1000 speed. This patch add support for it on the Allwinner a83t SoC Device-tree. This patch add the emac device node and the related RGMII pins node. Signed-off-by: Corentin Labbe

[linux-sunxi] [PATCH 0/2] ARM: sun8i: a83t: Enable EMAC Ethernet

2017-12-07 Thread Chen-Yu Tsai
Hi, This is my spin on enabling Ethernet on the A83T. It consists of Corentin's dtsi patch plus my board level patch. There's nothing really special about them. ChenYu Chen-Yu Tsai (1): ARM: dts: sun8i: a83t: Enable Ethernet on two boards Corentin LABBE (1): ARM: dts: sun8i: a83t: add

[linux-sunxi] [PATCH 2/2] ARM: dts: sun8i: a83t: Enable Ethernet on two boards

2017-12-07 Thread Chen-Yu Tsai
The Cubietruck Plus has a Realtek RTL8211E RGMII PHY tied to the EMAC. The AXP818 PMIC's regulators provide main power and secondary signaling voltages to the PHY. The latter is always on, as it also supplies the pingroup on the SoC, which has other uses. The Bananapi M3 has a Realtek RTL8211E

[linux-sunxi] Re: [PATCH 1/2] arm64: defconfig: enable MUSB HDRC along with Allwinner glue

2017-12-07 Thread Maxime Ripard
On Wed, Dec 06, 2017 at 11:19:58PM +0530, Jagan Teki wrote: > Allwinner SoCs typically have a Mentor Graphics Inventra MUSB > dual role controller for USB OTG. This is need for verifying > gadget functions, so enable them by default. > > Tested 'otg' mode with mass storage function. > >

[linux-sunxi] Re: [PATCH 2/2] clk: sunxi-ng: sun50i: a64: Add 2x fixed post-divider to MMC module clocks

2017-12-07 Thread Maxime Ripard
On Thu, Dec 07, 2017 at 12:10:39AM +0800, Chen-Yu Tsai wrote: > On Wed, Dec 6, 2017 at 11:56 PM, Maxime Ripard > wrote: > > Hi, > > > > On Wed, Dec 06, 2017 at 10:30:26AM +0800, Chen-Yu Tsai wrote: > >> On Wed, Dec 6, 2017 at 3:59 AM, Maxime Ripard > >>

[linux-sunxi] Re: [PATCH v5 00/11] add pinmuxing support for pins in AXP209 and AXP813 PMICs

2017-12-07 Thread Linus Walleij
On Tue, Dec 5, 2017 at 3:46 PM, Quentin Schulz wrote: > The AXP209 and AXP813 PMICs have several pins (respectively 3 and 2) that can > be used either as GPIOs or for other purposes (ADC or LDO here). > > We already have a GPIO driver for the GPIO use of those

[linux-sunxi] Re: [PATCH 3/8] mfd: axp20x: probe axp20x_adc driver for AXP813

2017-12-07 Thread Quentin Schulz
Hi Chen-Yu, On 07/12/2017 09:54, Chen-Yu Tsai wrote: > On Thu, Dec 7, 2017 at 4:51 PM, Quentin Schulz > wrote: >> Hi Maxime, >> >> On 05/12/2017 09:08, Maxime Ripard wrote: >>> On Mon, Dec 04, 2017 at 03:12:49PM +0100, Quentin Schulz wrote: This makes the

[linux-sunxi] Re: [PATCH 3/8] mfd: axp20x: probe axp20x_adc driver for AXP813

2017-12-07 Thread Chen-Yu Tsai
On Thu, Dec 7, 2017 at 5:03 PM, Quentin Schulz wrote: > Hi Chen-Yu, > > On 07/12/2017 09:54, Chen-Yu Tsai wrote: >> On Thu, Dec 7, 2017 at 4:51 PM, Quentin Schulz >> wrote: >>> Hi Maxime, >>> >>> On 05/12/2017 09:08, Maxime

[linux-sunxi] Re: [PATCH 3/8] mfd: axp20x: probe axp20x_adc driver for AXP813

2017-12-07 Thread Quentin Schulz
Hi Maxime, On 05/12/2017 09:08, Maxime Ripard wrote: > On Mon, Dec 04, 2017 at 03:12:49PM +0100, Quentin Schulz wrote: >> This makes the axp20x_adc driver probe with platform device id >> "axp813-adc". >> >> Signed-off-by: Quentin Schulz >> --- >>

[linux-sunxi] Re: [PATCH] drm/sun4i: Fix uninitialized variables in vi layer

2017-12-07 Thread Maxime Ripard
Hi, On Wed, Dec 06, 2017 at 04:26:03PM +0100, Jernej Skrabec wrote: > min_scale and max_scale in sun8i_vi_layer_atomic_check() can be used > without initialization. > > Fix that. > > Fixes:b862a648de3b (drm/sun4i: Add support for HW scaling to DE2) > > Signed-off-by: Jernej Skrabec

[linux-sunxi] Re: [PATCH 3/8] mfd: axp20x: probe axp20x_adc driver for AXP813

2017-12-07 Thread Chen-Yu Tsai
On Thu, Dec 7, 2017 at 4:51 PM, Quentin Schulz wrote: > Hi Maxime, > > On 05/12/2017 09:08, Maxime Ripard wrote: >> On Mon, Dec 04, 2017 at 03:12:49PM +0100, Quentin Schulz wrote: >>> This makes the axp20x_adc driver probe with platform device id >>>

[linux-sunxi] Re: [PATCH] arm64: allwinner: a64: orangepi-zero-plus2: add usb otg

2017-12-07 Thread Maxime Ripard
Hi, On Thu, Dec 07, 2017 at 04:35:48PM +0530, Jagan Teki wrote: > Add usb otg support for orangepi-zero-plus2 board: > - Add usb_otg node with dr_mode as 'otg' > - USB0-IDDET connected to PA21 > - VBUS connected through DCIN which always on > > Tested mass storage function. > > Signed-off-by:

[linux-sunxi] [PATCH] arm64: allwinner: a64: orangepi-zero-plus2: add usb otg

2017-12-07 Thread Jagan Teki
Add usb otg support for orangepi-zero-plus2 board: - Add usb_otg node with dr_mode as 'otg' - USB0-IDDET connected to PA21 - VBUS connected through DCIN which always on Tested mass storage function. Signed-off-by: Jagan Teki --- Note: Anyone please check vbus

[linux-sunxi] Re: [PATCH v5 9/9] mfd: axp20x: add pinctrl cell for AXP813

2017-12-07 Thread Lee Jones
On Tue, 05 Dec 2017, Quentin Schulz wrote: > As GPIO/pinctrl driver now supports AXP813, add a cell for it. > > Signed-off-by: Quentin Schulz > Acked-by: Maxime Ripard > Acked-by: Linus Walleij >

[linux-sunxi] [PATCH] sunxi: Add support for Libre Computer Board ALL-H3-CC H3 ver.

2017-12-07 Thread Chen-Yu Tsai
The Libre Computer Board ALL-H3-CC from Libre Technology is a Raspberry Pi B+ form factor single board computer based on the Allwinner H3 SoC. The board has 1GB DDR3 SDRAM, provided by 4 2Gb chips. The mounting holes and connectors are in the exact same position as on the Raspberry Pi B+.

[linux-sunxi] Re: [PATCH] sunxi: Add support for Libre Computer Board ALL-H3-CC H3 ver.

2017-12-07 Thread Maxime Ripard
On Thu, Dec 07, 2017 at 09:00:45PM +0800, Chen-Yu Tsai wrote: > The Libre Computer Board ALL-H3-CC from Libre Technology is a Raspberry > Pi B+ form factor single board computer based on the Allwinner H3 SoC. > The board has 1GB DDR3 SDRAM, provided by 4 2Gb chips. The mounting holes > and

[linux-sunxi] Re: [PATCH] arm64: allwinner: a64: orangepi-zero-plus2: add usb otg

2017-12-07 Thread Jagan Teki
On Thu, Dec 7, 2017 at 7:04 PM, Maxime Ripard wrote: > Hi, > > On Thu, Dec 07, 2017 at 04:35:48PM +0530, Jagan Teki wrote: >> Add usb otg support for orangepi-zero-plus2 board: >> - Add usb_otg node with dr_mode as 'otg' >> - USB0-IDDET connected to PA21 >> -

[linux-sunxi] Re: [U-Boot] [PATCH] sunxi: Add support for Libre Computer Board ALL-H3-CC H3 ver.

2017-12-07 Thread Jagan Teki
On Thu, Dec 7, 2017 at 6:30 PM, Chen-Yu Tsai wrote: > The Libre Computer Board ALL-H3-CC from Libre Technology is a Raspberry > Pi B+ form factor single board computer based on the Allwinner H3 SoC. > The board has 1GB DDR3 SDRAM, provided by 4 2Gb chips. The mounting holes > and

[linux-sunxi] [PATCH] ARM: dts: sun8i-h3: Remove allwinner,leds-active-low for non internal PHY

2017-12-07 Thread Corentin Labbe
allwinner,leds-active-low have effect only on boards which us the internal PHY. So this patch remove it from all boards which do not use the internal PHY. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts | 1 -

[linux-sunxi] [PATCH v2 2/3] arm64: allwinner: axp803: Add drivevbus regulator

2017-12-07 Thread Jagan Teki
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 --- Changes for v2: - New patch arch/arm64/boot/dts/allwinner/axp803.dtsi | 5 + 1 file changed, 5 insertions(+)

[linux-sunxi] [PATCH v2 1/3] regulator: axp20x: add drivevbus support for axp803

2017-12-07 Thread Jagan Teki
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 --- Changes for v2: - New patch Documentation/devicetree/bindings/mfd/axp20x.txt | 2 +-

[linux-sunxi] [PATCH v2 3/3] arm64: allwinner: a64: bananapi-m64: add usb otg

2017-12-07 Thread Jagan Teki
Add usb otg support for bananapi-m64 board, - USB-ID connected with PH9 - USB-DRVVBUS controlled by N_VBUSEN pin from PMIC Signed-off-by: Jagan Teki --- Changes for v2: - add drvvbus regulator - add N_VBUSEN pin .../boot/dts/allwinner/sun50i-a64-bananapi-m64.dts |