Re: [linux-sunxi][PATCH] ARM: dts: sun7i: Enable USB DRC on Olimex A20 EVB

2016-02-08 Thread Code Kipper
On 8 February 2016 at 16:43, Hans de Goede wrote: > Hi, > > On 08-02-16 16:29, codekip...@gmail.com wrote: >> >> From: Marcus Cooper >> >> Enable the otg/drc usb controller on the Olimex A20 EVB. > > > Does the A20 EVB not have some form of Vbus detect

[linux-sunxi] Re: [PATCH 07/11] ARM: dts: sunxi: Add dtsi file for AXP809 PMIC

2016-02-08 Thread Mark Brown
On Mon, Feb 08, 2016 at 10:56:05PM +0800, Chen-Yu Tsai wrote: > On Mon, Feb 8, 2016 at 10:53 PM, Mark Brown wrote: > > On Sat, Feb 06, 2016 at 08:42:24PM +0800, Chen-Yu Tsai wrote: > >> Mark, may I assume you are OK with this DTS include listing > >> the regulators, even if

Re: [linux-sunxi][PATCH] ARM: dts: sun7i: Enable USB DRC on Olimex A20 EVB

2016-02-08 Thread Hans de Goede
Hi, On 08-02-16 16:29, codekip...@gmail.com wrote: From: Marcus Cooper Enable the otg/drc usb controller on the Olimex A20 EVB. Does the A20 EVB not have some form of Vbus detect for the OTG port hooked up ? That does not sound right. Please double check. Regards,

[linux-sunxi] Re: [PATCH 05/11] drivers: pinctrl: add driver for Allwinner A64 SoC

2016-02-08 Thread Rob Herring
On Thu, Feb 04, 2016 at 05:51:51PM +0100, Maxime Ripard wrote: > Hi Andre, > > On Tue, Feb 02, 2016 at 04:53:58PM +, Andre Przywara wrote: > > > So, droping it in the filenames, why not. But I'd really like to keep > > > the same compatible scheme. > > > > And I still don't get this: in the

[linux-sunxi][PATCH] ARM: dts: sun7i: Enable USB DRC on Itead Ibox

2016-02-08 Thread codekipper
From: Marcus Cooper Enable the otg/drc usb controller on the Itead Ibox device. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sun7i-a20-itead-ibox.dts | 14 ++ arch/arm/boot/dts/sunxi-itead-core-common.dtsi | 9 + 2

[linux-sunxi] Re: [PATCH 07/11] clk: sunxi: add generic allwinner,sunxi name

2016-02-08 Thread Andre Przywara
Hi, On 08/02/16 15:57, Rob Herring wrote: > On Mon, Feb 01, 2016 at 05:39:26PM +, Andre Przywara wrote: >> The only difference between the different compatible matches at the >> end of clk-sunxi.c are the critical clocks. Two SoCs get away so far >> without any, so there is no reason to

Re: [linux-sunxi][PATCH] ARM: dts: sun7i: Enable USB DRC on Itead Ibox

2016-02-08 Thread Hans de Goede
Hi, On 08-02-16 16:59, codekip...@gmail.com wrote: From: Marcus Cooper Enable the otg/drc usb controller on the Itead Ibox device. Signed-off-by: Marcus Cooper Same remark as with your Olimex A20 EVB board patch, please also provide a vbus

[linux-sunxi] Re: [PATCH v5 0/2] ASoC: Add SPDIF support for Allwinner SoCs

2016-02-08 Thread Code Kipper
NAK...last bunch of changes introduced a warning which slipped through, I'll fix that and send a new patch series. CK On 8 February 2016 at 16:26, wrote: > From: Marcus Cooper > > This patch set adds support for the Allwinner SPDIF transceiver. > >

[linux-sunxi] Re: [PATCH 07/11] clk: sunxi: add generic allwinner,sunxi name

2016-02-08 Thread Rob Herring
On Mon, Feb 01, 2016 at 05:39:26PM +, Andre Przywara wrote: > The only difference between the different compatible matches at the > end of clk-sunxi.c are the critical clocks. Two SoCs get away so far > without any, so there is no reason to enumerate those SoCs in here > explicitly, though we

[linux-sunxi] Re: [PATCH 05/11] drivers: pinctrl: add driver for Allwinner A64 SoC

2016-02-08 Thread Andre Przywara
Hi, On 08/02/16 15:54, Rob Herring wrote: > On Thu, Feb 04, 2016 at 05:51:51PM +0100, Maxime Ripard wrote: >> Hi Andre, >> >> On Tue, Feb 02, 2016 at 04:53:58PM +, Andre Przywara wrote: So, droping it in the filenames, why not. But I'd really like to keep the same compatible scheme.

[linux-sunxi] Re: [PATCH v3 4/5] ARM: dts: sun8i-h3: Add R_PIO controller node to the dtsi

2016-02-08 Thread Krzysztof Adamski
On Fri, Feb 05, 2016 at 05:46:32PM +0800, Chen-Yu Tsai wrote: On Thu, Feb 4, 2016 at 7:33 AM, Krzysztof Adamski wrote: Add the corresponding device node for R_PIO on H3 to the dtsi. Support for the controller was added in earlier commit. Signed-off-by: Krzysztof Adamski

[linux-sunxi] Re: [PATCH 10/11] arm64: dts: add Allwinner A64 SoC .dtsi

2016-02-08 Thread Andre Przywara
Hi, On 05/02/16 08:50, Maxime Ripard wrote: > Hi Andre, > > On Mon, Feb 01, 2016 at 05:39:29PM +, Andre Przywara wrote: >> The Allwinner A64 SoC is low-cost SoC with 4 ARM Cortex-A53 cores >> and the typical tablet / TV box peripherals. >> The Soc is based on the (32-bit) Allwinner H3 chip,

[linux-sunxi] [PATCH] ARM: dts: sunxi: Fix #interrupt-cells for PIO in H3

2016-02-08 Thread Krzysztof Adamski
pinctrl-sunxi uses 3 cells to describe interrupt, not 2. It's bank number, pin number and flags. Signed-off-by: Krzysztof Adamski --- arch/arm/boot/dts/sun8i-h3.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi

[linux-sunxi] Re: [PATCH 07/11] ARM: dts: sunxi: Add dtsi file for AXP809 PMIC

2016-02-08 Thread Chen-Yu Tsai
On Tue, Feb 9, 2016 at 12:22 AM, Mark Brown wrote: > On Mon, Feb 08, 2016 at 10:56:05PM +0800, Chen-Yu Tsai wrote: >> On Mon, Feb 8, 2016 at 10:53 PM, Mark Brown wrote: >> > On Sat, Feb 06, 2016 at 08:42:24PM +0800, Chen-Yu Tsai wrote: > >> >> Mark, may I

[linux-sunxi] Re: [PATCH 07/11] ARM: dts: sunxi: Add dtsi file for AXP809 PMIC

2016-02-08 Thread Chen-Yu Tsai
On Mon, Feb 8, 2016 at 10:53 PM, Mark Brown wrote: > On Sat, Feb 06, 2016 at 08:42:24PM +0800, Chen-Yu Tsai wrote: > >> Mark, may I assume you are OK with this DTS include listing >> the regulators, even if their sections are empty? > > If it has no content why have it? I'd

[linux-sunxi][PATCH] ARM: dts: sun7i: Enable USB DRC on Olimex A20 EVB

2016-02-08 Thread codekipper
From: Marcus Cooper Enable the otg/drc usb controller on the Olimex A20 EVB. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 24 1 file changed, 24 insertions(+) diff --git

[linux-sunxi] [PATCH v5 2/2] ASoC: sunxi: Add support for the SPDIF block

2016-02-08 Thread codekipper
From: Marcus Cooper The sun4i, sun5i and sun7i SoC families have an SPDIF block which is capable of playback and capture. This patch enables the playback of this block for the sun4i families. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/Kconfig

[linux-sunxi] [PATCH v5 0/2] ASoC: Add SPDIF support for Allwinner SoCs

2016-02-08 Thread codekipper
From: Marcus Cooper This patch set adds support for the Allwinner SPDIF transceiver. For now just the SPDIF transmitter has been tested on a Mele A2000(A10) and a Itead Ibox(A20). In order for this patch set to be functional we require an audio clock patch which will be

[linux-sunxi] [PATCH v5 1/2] dt-bindings: sunxi :add sun4i SPDIF transceiver

2016-02-08 Thread codekipper
From: Marcus Cooper Add devicetree bindings for the SPDIF transceiver found on found on Allwinners A10 and A20 SoCs. Signed-off-by: Marcus Cooper --- .../bindings/sound/sunxi,sun4i-spdif.txt | 39 ++ 1 file changed, 39

[linux-sunxi] [PATCH] pinctrl: sunxi: set pin function as input on export

2016-02-08 Thread Krzysztof Adamski
Default function of a pin in sunxi SoCs is "disabled". By default gpios exported by sysfs are set as input and indeed, when reading "direction" file you will get "in". The "value" pin won't return proper value, though, confusing user of this interface. This patch sets direction of a GPIO as input

[linux-sunxi] Re: [PATCH v2 18/51] mtd: docg3: use mtd_set_ecclayout() where appropriate

2016-02-08 Thread Robert Jarzmik
Boris Brezillon writes: > Use the mtd_set_ecclayout() helper instead of directly assigning the > mtd->ecclayout field. > > Signed-off-by: Boris Brezillon Acked-by: Robert Jarzmik Cheers. -- Robert

[linux-sunxi] Re: [PATCH 07/11] ARM: dts: sunxi: Add dtsi file for AXP809 PMIC

2016-02-08 Thread Mark Brown
On Sat, Feb 06, 2016 at 08:42:24PM +0800, Chen-Yu Tsai wrote: > Mark, may I assume you are OK with this DTS include listing > the regulators, even if their sections are empty? If it has no content why have it? -- You received this message because you are subscribed to the Google Groups

[linux-sunxi] [PATCH v6 2/2] ASoC: sunxi: Add support for the SPDIF block

2016-02-08 Thread codekipper
From: Marcus Cooper The sun4i, sun5i and sun7i SoC families have an SPDIF block which is capable of playback and capture. This patch enables the playback of this block for the sun4i families. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/Kconfig

[linux-sunxi] [PATCH v6 0/2] ASoC: Add SPDIF support for Allwinner SoCs

2016-02-08 Thread codekipper
From: Marcus Cooper This patch set adds support for the Allwinner SPDIF transceiver. For now just the SPDIF transmitter has been tested on a Mele A2000(A10) and a Itead Ibox(A20). In order for this patch set to be functional we require an audio clock patch which will be

Re: [linux-sunxi][PATCH] ARM: dts: sun7i: Enable USB DRC on Itead Ibox

2016-02-08 Thread Code Kipper
On 8 February 2016 at 17:14, Hans de Goede wrote: > Hi, > > On 08-02-16 16:59, codekip...@gmail.com wrote: >> >> From: Marcus Cooper >> >> Enable the otg/drc usb controller on the Itead Ibox device. >> >> Signed-off-by: Marcus Cooper

Re: [linux-sunxi][PATCH] ARM: dts: sun7i: Enable USB DRC on Itead Ibox

2016-02-08 Thread Hans de Goede
Hi, On 08-02-16 17:56, Code Kipper wrote: On 8 February 2016 at 17:14, Hans de Goede wrote: Hi, On 08-02-16 16:59, codekip...@gmail.com wrote: From: Marcus Cooper Enable the otg/drc usb controller on the Itead Ibox device. Signed-off-by: Marcus

[linux-sunxi] Re: [PATCH] ARM: dts: sunxi: Fix #interrupt-cells for PIO in H3

2016-02-08 Thread Maxime Ripard
On Mon, Feb 08, 2016 at 10:31:14AM +0100, Krzysztof Adamski wrote: > pinctrl-sunxi uses 3 cells to describe interrupt, not 2. It's bank > number, pin number and flags. > > Signed-off-by: Krzysztof Adamski Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux,

[linux-sunxi] [PATCH v6 1/2] dt-bindings: sunxi :add sun4i SPDIF transceiver

2016-02-08 Thread codekipper
From: Marcus Cooper Add devicetree bindings for the SPDIF transceiver found on found on Allwinners A10 and A20 SoCs. Signed-off-by: Marcus Cooper --- .../bindings/sound/sunxi,sun4i-spdif.txt | 39 ++ 1 file changed, 39

[linux-sunxi] Re: [PATCH] pinctrl: sunxi: set pin function as input on export

2016-02-08 Thread Maxime Ripard
Hi, On Mon, Feb 08, 2016 at 03:37:22PM +0100, Krzysztof Adamski wrote: > Default function of a pin in sunxi SoCs is "disabled". By default gpios > exported by sysfs are set as input and indeed, when reading "direction" > file you will get "in". The "value" pin won't return proper value, > though,