[linux-sunxi] Re: sun8i audio codec - need help with dmaengine

2016-07-06 Thread boobwrt
Hi codeKipper, i try to not use an syscon for the moment, all in one driver. I don't know if there is a probability that work but for now i have something code to compile :) here is my template to add regmap bus to my driver : http://pastebin.com/T98Th9Eu -- You received this message because

Re: [linux-sunxi] Re: [PATCH 1/4] brcmfmac: Add brcm,nvram_file_name dt property

2016-07-06 Thread 'Arend Van Spriel' via linux-sunxi
On 6-7-2016 15:42, Arnd Bergmann wrote: > On Wednesday, July 6, 2016 10:08:55 AM CEST Arend Van Spriel wrote: >> On Tue, Jul 5, 2016 at 3:43 PM, Arnd Bergmann wrote: >>> On Monday, July 4, 2016 8:36:05 PM CEST Arend van Spriel wrote: On 04-07-16 16:54, Arnd Bergmann wrote:

Re: [linux-sunxi] Re: [PATCH 1/4] brcmfmac: Add brcm,nvram_file_name dt property

2016-07-06 Thread Arnd Bergmann
On Wednesday, July 6, 2016 10:08:55 AM CEST Arend Van Spriel wrote: > On Tue, Jul 5, 2016 at 3:43 PM, Arnd Bergmann wrote: > > On Monday, July 4, 2016 8:36:05 PM CEST Arend van Spriel wrote: > >> On 04-07-16 16:54, Arnd Bergmann wrote: > >> > On Monday, July 4, 2016 11:08:38 AM

Re: [linux-sunxi] Re: sun8i audio codec - need help with dmaengine

2016-07-06 Thread Code Kipper
Hi Boobwrt, I've also restarted looking at the h3 codec(although I will try and get i2s working on my orange pi 2 first). Looking at the PRCM if you could get something to read and write using syscon that would be the first step...this was an old attempt

[linux-sunxi] [PATCH 8/9] ARM: dts: sun7i: bananapi-m1-plus: Add PMIC regulators and OPPs for cpufreq

2016-07-06 Thread Chen-Yu Tsai
The Bananapi M1+, like other Allwinner A20 based boards, uses the AXP209 PMIC to supply its power. The vendor FEX file's DVFS table suggests the board's CPU power rail has a voltage drop of 25 ~ 50 mV. Add the PMIC regulator nodes and copy the DVFS table from the FEX file. Signed-off-by: Chen-Yu

[linux-sunxi] [PATCH 4/9] ARM: dts: sun7i: lamobo-r1: Enable audio codec

2016-07-06 Thread Chen-Yu Tsai
Lamobo R1 has a headphone jack for audio output, and an onboard microphone. These are tied to the SoC's internal audio codec. Enable the audio codec. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts | 4 1 file changed, 4 insertions(+) diff --git

[linux-sunxi] [PATCH 0/9] ARM: dts: sun7i: BPI-M1+ and Lamobo-R1 fixes

2016-07-06 Thread Chen-Yu Tsai
Hi Maxime, These are a bunch of fixes I did to get my boards running. Some of them are cleanups, while others enable hardware that we already support on other boards, such as USB or the audio codec. Regards ChenYu Chen-Yu Tsai (9): ARM: dts: sun7i: lamobo-r1: Fix USB-based WiFi module power

[linux-sunxi] [PATCH 3/9] ARM: dts: sun7i: lamobo-r1: Fix GPIO flags in reg_ahci_5v

2016-07-06 Thread Chen-Yu Tsai
reg_ahci_5v uses a GPIO in active high mode. Use the proper macro, instead of just 0 for the GPIO flags. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[linux-sunxi] [PATCH 1/9] ARM: dts: sun7i: lamobo-r1: Fix USB-based WiFi module power

2016-07-06 Thread Chen-Yu Tsai
On the Lamobo R1, USB2 is connected to the RTL8192CU WiFi module. The power enable pin is connected to PH12. Fix the enable pin the reg_usb2_vbus. Also disable ohci1, as the WiFi module is USB 2.0 capable. Signed-off-by: Chen-Yu Tsai ---

[linux-sunxi] [PATCH 9/9] ARM: dts: sun7i: bananapi-m1-plus: Enable USB OTG

2016-07-06 Thread Chen-Yu Tsai
The Bananapi M1+ supports USB OTG, with the PMIC doing VBUS sensing. Enable the USB OTG related functions. This also enables the previously missing USB PHY node, which also handles some initial setup for the normal USB hosts. Signed-off-by: Chen-Yu Tsai ---

[linux-sunxi] [PATCH 6/9] ARM: dts: sun7i: bananapi-m1-plus: Unify suffix for board specific labels

2016-07-06 Thread Chen-Yu Tsai
The dts file uses "bananapi" for some labels and "bananapim1plus" for other. Use the shortened "bpi_m1p" suffix for all board specific labels. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts | 16 1 file changed, 8 insertions(+),

[linux-sunxi] [PATCH 7/9] ARM: dts: sun7i: bananapi-m1-plus: red LED is power LED

2016-07-06 Thread Chen-Yu Tsai
The red led on the Bananapi M1+ is wired to light up as soon as the board is powered, and continues to be lit while the GPIO is floating. Rename the LED to "pwr", remove the default trigger, and mark it as default on. Also fix the pinmux node that was specifying a different pin for this LED.

[linux-sunxi] [PATCH 5/9] ARM: dts: sun7i: bananapi-m1-plus: Reindent whole file using tabs

2016-07-06 Thread Chen-Yu Tsai
The bananapi-m1-plus dts file was indented using 4 spaces, without tabs. This does not match the code style. Reindent the whole file before we do anything else. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts | 272 +++ 1 file

[linux-sunxi] [PATCH 2/9] ARM: dts: sun7i: lamobo-r1: Remove usb1 vbus regulator

2016-07-06 Thread Chen-Yu Tsai
USB1 VBUS is directly tied to the 5V rail on the board. It is not individually controllable. Drop the regulator. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts | 5 - 1 file changed, 5 deletions(-) diff --git

Re: [linux-sunxi] Re: [PATCH 1/4] brcmfmac: Add brcm,nvram_file_name dt property

2016-07-06 Thread 'Arend Van Spriel' via linux-sunxi
On Tue, Jul 5, 2016 at 3:43 PM, Arnd Bergmann wrote: > On Monday, July 4, 2016 8:36:05 PM CEST Arend van Spriel wrote: >> On 04-07-16 16:54, Arnd Bergmann wrote: >> > On Monday, July 4, 2016 11:08:38 AM CEST Arend Van Spriel wrote: >> > >> > In

[linux-sunxi] Re: sun8i audio codec - need help with dmaengine

2016-07-06 Thread moinejf
On Monday, July 4, 2016 at 12:27:06 PM UTC+2, boo...@gmail.com wrote: > Hello > > I try to make a driver for audio codec in OP PC sun8i. > I starting from sun4i-codec.c driver for A10-A20 SOC because H3 have major > same register related audiocodec datasheet. [snip] Hi, I have audio working in