[linux-sunxi] [PATCH 4/4] ARM: dts: sun7i: Add PA gpio pin to Wexler TAB7200 tablet

2015-12-18 Thread Aleksei Mamlin
Add PA gpio pin for controlling power of two external amplifiers (NS4890) which are used on the Wexler TAB7200 tablet Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git

[linux-sunxi] [PATCH 2/4] ARM: dts: sun7i: Enable PWM controller on Wexler TAB7200 tablet

2015-12-18 Thread Aleksei Mamlin
Wexler TAB7200 tablet use channel 0 of the PWM controller for backlight dimming Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts

[linux-sunxi] [PATCH 1/4] ARM: dts: sun7i: Enable touchscreen on Wexler TAB7200 tablet

2015-12-18 Thread Aleksei Mamlin
Add a node for the Goodix GT911 touchscreen found on the Wexler TAB7200 tablet Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts | 19 +++ 1 file changed, 19 insertions(+) diff --git

[linux-sunxi] [PATCH 3/4] ARM: dts: sun7i: Add backlight node to Wexler TAB7200 tablet

2015-12-18 Thread Aleksei Mamlin
Add a backlight for controlling the lcd panel backlight on Wexler TAB7200 tablet Signed-off-by: Aleksei Mamlin --- arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git

[linux-sunxi] [PATCH 0/4] ARM: dts: sun7i: Devicetree improvements for the Wexler TAB7200

2015-12-18 Thread Aleksei Mamlin
Hi Maxime, This is a batch of patches with devicetree improvements for Wexler TAB7200 tablet. The first one add Goodix GT911 touchscreen node to dts. The second add PWM node, which need for LCD backlight. The third add LCD backlight support via PWM. The last add PA gpio pin for controlling

[linux-sunxi] [PATCH v3 1/3] ARM: sunxi: Introduce Allwinner for A83T support

2015-12-18 Thread Vishnu Patekar
Allwinner A83T is octa-core cortex-a7 based SoC. It's clock control unit and prcm, pinmux are different from previous sun8i series. Its processor cores are arragned in two clusters 4 cores each, similar to A80. Signed-off-by: Vishnu Patekar ---

[linux-sunxi] [PATCH v3 0/3] Add basic support for Allwinner A83T SOC

2015-12-18 Thread Vishnu Patekar
This patch series adds very basic support for Allwinner A83T SOC. Clock, peripherals, smp support will be added later. Allwinner A83T is octa-core cortex-a7 based SoC. It's clock control unit and prcm, pinmux are different from previous sun8i series. Its processor cores are arragned in two

[linux-sunxi] [PATCH v3 2/3] ARM: dts: sun8i: Add Allwinner A83T dtsi

2015-12-18 Thread Vishnu Patekar
Allwinner A83T is new octa-core cortex-a7 SOC. This adds the basic dtsi, the clocks differs from earlier sun8i SOCs. Signed-off-by: Vishnu Patekar --- arch/arm/boot/dts/sun8i-a83t.dtsi | 206 ++ 1 file changed, 206 insertions(+)

[linux-sunxi] [PATCH v3 3/3] ARM: dts: sun8i: Add A83T HomletV2 Board by Allwinner

2015-12-18 Thread Vishnu Patekar
H8Homlet Proto v2.0 Board is A83T Dev Board by Allwinner. It has UART, ethernet, USB, HDMI, etc ports on it. A83T patches are tested on this board. It has UART, ethernet, USB, HDMI, etc ports on it. For FEL mode it needs USB A-A(Male) cable. I used uart0 which is multiplexed to microsd pins PF2

[linux-sunxi] Re: BUG - Bananapi USB not working on Mainline

2015-12-18 Thread m . silentcreek
Hi, Am Mittwoch, 16. Dezember 2015 02:47:40 UTC+1 schrieb David Tulloh: > Hi, > > I am working on a SinoVoip Bananapi M1 > > With the current mainline USB does not work. I believe that power to the USB > vbus is being disabled during boot. > > Failing build v4.4-rc5 > Working build v4.2.3 >

[linux-sunxi] Re: [PATCH] ARM: dts: sun4i: gemei-g9: Enable PA GPIO pin configuration

2015-12-18 Thread Maxime Ripard
On Fri, Dec 11, 2015 at 11:23:00PM +0200, Priit Laes wrote: > PA GPIO pin (PH15) controls power to external amplifier (FT2012Q). > > Signed-off-by: Priit Laes Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering

Re: [linux-sunxi] BUG - Bananapi USB not working on Mainline

2015-12-18 Thread Maxime Ripard
On Wed, Dec 16, 2015 at 06:15:06PM +1100, David Tulloh wrote: > Thanks for looking in to this, > > On 16 December 2015 at 17:34, Maxime Ripard < > maxime.rip...@free-electrons.com> wrote: > > > Hi, > > > > On Wed, Dec 16, 2015 at 12:47:18PM +1100, David Tulloh wrote: > > > Hi, > > > > > > I am

[linux-sunxi] Re: [PATCH v2 1/3] reset: Add shared reset_control_[de]assert variants

2015-12-18 Thread Maxime Ripard
On Wed, Dec 16, 2015 at 12:21:48PM +0100, Philipp Zabel wrote: > Hi Maxime, > > Am Mittwoch, den 16.12.2015, 11:29 +0100 schrieb Maxime Ripard: > > On Mon, Dec 14, 2015 at 10:50:55AM +0100, Philipp Zabel wrote: > > > Am Montag, den 14.12.2015, 10:36 +0100 schrieb Maxime Ripard: > > > > Hi, > > >

[linux-sunxi] Re: [PATCH v5 1/2] spi: dts: Add new device property to specifcy a wait time between word transmissions

2015-12-18 Thread Maxime Ripard
On Thu, Dec 17, 2015 at 12:40:26PM +0100, Marcus Weseloh wrote: > Adds a new property "spi-word-wait-ns" to the spi-bus binding that allows > SPI slave devices to set a wait time between the transmission of words. > > Signed-off-by: Marcus Weseloh Reviewed-by: Maxime

[linux-sunxi] Re: [PATCH 1/4] ARM: dts: sun7i: Enable touchscreen on Wexler TAB7200 tablet

2015-12-18 Thread Maxime Ripard
Hi, On Fri, Dec 18, 2015 at 11:51:50AM +0300, Aleksei Mamlin wrote: > Add a node for the Goodix GT911 touchscreen found on the Wexler TAB7200 tablet > > Signed-off-by: Aleksei Mamlin > --- > arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts | 19 +++ > 1 file

[linux-sunxi] Re: [PATCH 2/4] ARM: dts: sun7i: Enable PWM controller on Wexler TAB7200 tablet

2015-12-18 Thread Maxime Ripard
On Fri, Dec 18, 2015 at 11:52:08AM +0300, Aleksei Mamlin wrote: > Wexler TAB7200 tablet use channel 0 of the PWM controller for backlight > dimming > > Signed-off-by: Aleksei Mamlin Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and

[linux-sunxi] Re: [PATCH v4 00/58] mtd: nand: refactor the NAND subsystem (part 1)

2015-12-18 Thread Brian Norris
Hi, On Thu, Dec 10, 2015 at 08:59:44AM +0100, Boris Brezillon wrote: > Hello, > > This huge series aims at clarifying the relationship between the mtd and > nand_chip structures and hiding NAND framework internals to NAND > controller drivers. > > The first part of the series (patch 1 to 4) is

Re: [linux-sunxi] Re: [PATCH v2 2/4] ASoC: sun4i-codec: Add support for PA gpio pin

2015-12-18 Thread Maxime Ripard
On Mon, Dec 14, 2015 at 05:07:47PM +0100, Hans de Goede wrote: > >>+static int sun4i_codec_spk_event(struct snd_soc_dapm_widget *w, > >>+struct snd_kcontrol *k, int event) > >>+{ > >>+ struct sun4i_codec *scodec = snd_soc_card_get_drvdata(w->dapm->card); > >>+ > >>+

[linux-sunxi] Re: fel-sdboot.sunxi problems on Cubietruck and A20-OLinuXino-MICRO

2015-12-18 Thread Bernhard Nortmann
Hi Piotr! I've tried this on an A20 Banana Pi (model 1), and entering FEL mode works for me - both with the prebuilt bin/fel-sdboot.sunxi and with a binary freshly compiled from fel-sdboot.c according to instructions. With the SD card prepared and inserted, powering on or resetting the A20

[linux-sunxi] Re: [PATCH v5 2/2] spi: sun4i: Add support for wait time between word transmissions

2015-12-18 Thread Maxime Ripard
Hi, On Thu, Dec 17, 2015 at 12:40:27PM +0100, Marcus Weseloh wrote: > Modifies the sun4i SPI master driver to make use of the > "spi-word-wait-ns" property. This specific SPI controller needs 3 clock > cycles to set up the delay, which makes the minimum non-zero wait time > on this hardware 4

Re: [linux-sunxi] Re: [PATCH v6] sun4i-codec: Add FM, Line and Mic inputs

2015-12-18 Thread Maxime Ripard
On Wed, Dec 16, 2015 at 11:30:51PM +0100, Danny Milosavljevic wrote: > Hi Maxime, > > On Wed, 16 Dec 2015 11:47:36 +0100 > Maxime Ripard wrote: > > > > Because SUN4I_CODEC_AC_MIC_PHONE_CAL is sun7i-specific. > > > > Yet, you're using it in both cases (A10 vs

[linux-sunxi] Re: [PATCH 3/4] ARM: dts: sun7i: Add backlight node to Wexler TAB7200 tablet

2015-12-18 Thread Maxime Ripard
On Fri, Dec 18, 2015 at 11:52:22AM +0300, Aleksei Mamlin wrote: > Add a backlight for controlling the lcd panel backlight on Wexler TAB7200 > tablet > > Signed-off-by: Aleksei Mamlin This one doesn't apply (probably because of some dependency on the first patch). Thanks!

[linux-sunxi] Re: [PATCH v3 2/3] ARM: dts: sun8i: Add Allwinner A83T dtsi

2015-12-18 Thread Maxime Ripard
Hi, On Fri, Dec 18, 2015 at 09:30:50PM +0800, Vishnu Patekar wrote: > Allwinner A83T is new octa-core cortex-a7 SOC. > This adds the basic dtsi, the clocks differs from > earlier sun8i SOCs. > > Signed-off-by: Vishnu Patekar > --- >

[linux-sunxi] Re: [PATCH v4 55/58] mtd: nand: add helpers to access ->priv

2015-12-18 Thread Brian Norris
Hi Boris, On Thu, Dec 10, 2015 at 09:00:39AM +0100, Boris Brezillon wrote: > Add two helpers to access the field reserved for private controller data. > This makes it clearer what this field is reserved for and ease future > refactoring. I agree with the refactoring part, but I'm not sure about

[linux-sunxi] [PATCH v7 0/2] sun4i-codec: Add FM, Line and Mic inputs

2015-12-18 Thread Danny Milosavljevic
Hi, this is the seventh version of the patch set that adds inputs to sun4i-codec. Changes compared to v6 are: - preparation for different A20, A10 controls is now in an extra patch. - all register definitions are now at the top - sun7i-specific things (A20-specific things) are now less

[linux-sunxi] [PATCH v7 2/2] sun4i-codec: Add FM, Line and Mic inputs

2015-12-18 Thread Danny Milosavljevic
This is the second part, actually adding FM, Line and Mic inputs. Signed-off-by: Danny Milosavljevic --- b/sound/soc/sunxi/sun4i-codec.c | 182 +++- 1 file changed, 178 insertions(+), 4 deletions(-) diff --git

[linux-sunxi] [PATCH v7 1/2] sun4i-codec: Add FM, Line and Mic inputs

2015-12-18 Thread Danny Milosavljevic
This is the first part: sun4i-codec: make it possible to use different codec_widgets for A10 and A20. Signed-off-by: Danny Milosavljevic --- b/sound/soc/sunxi/sun4i-codec.c | 45 ++-- 1 file changed, 34 insertions(+), 11

[linux-sunxi] Re: [PATCH v3 1/3] ARM: sunxi: Introduce Allwinner for A83T support

2015-12-18 Thread Rob Herring
On Fri, Dec 18, 2015 at 09:30:49PM +0800, Vishnu Patekar wrote: > Allwinner A83T is octa-core cortex-a7 based SoC. > It's clock control unit and prcm, pinmux are different from previous sun8i > series. > Its processor cores are arragned in two clusters 4 cores each, > similar to A80. > >

[linux-sunxi] Re: [PATCH v5 1/2] spi: dts: Add new device property to specifcy a wait time between word transmissions

2015-12-18 Thread Rob Herring
On Thu, Dec 17, 2015 at 12:40:26PM +0100, Marcus Weseloh wrote: > Adds a new property "spi-word-wait-ns" to the spi-bus binding that allows > SPI slave devices to set a wait time between the transmission of words. > > Signed-off-by: Marcus Weseloh > --- >

[linux-sunxi] Re: [PATCH v5 1/2] spi: dts: Add new device property to specifcy a wait time between word transmissions

2015-12-18 Thread Rob Herring
On Thu, Dec 17, 2015 at 12:40:26PM +0100, Marcus Weseloh wrote: > Adds a new property "spi-word-wait-ns" to the spi-bus binding that allows > SPI slave devices to set a wait time between the transmission of words. > > Signed-off-by: Marcus Weseloh > --- >