[linux-sunxi] Changes to the sunxi audio drivers.

2014-02-04 Thread Code Kipper
Hi, A while ago I submitted a load of patches basically cleaning up the audio drivers to get rid of every checkpatch error and to delete stuff which I thought wasn't needed. The thread can be seen here https://groups.google.com/forum/#!msg/linux-sunxi/u3OE9vO-MvM/WNDo3KjXT3gJ. I took onboard the

Re: [linux-sunxi] Changes to the sunxi audio drivers.

2014-02-06 Thread Code Kipper
On 6 February 2014 16:32, Code Kipper codekip...@gmail.com wrote: On 6 February 2014 16:05, Olliver Schinagl oliver+l...@schinagl.nlwrote: On 06-02-14 15:43, Code Kipper wrote: That's fine.I'll update the wiki with the notes that I've made on the registers and I'll try to maintain my

Re: [linux-sunxi] Changes to the sunxi audio drivers.

2014-02-06 Thread Code Kipper
On 6 February 2014 16:05, Olliver Schinagl oliver+l...@schinagl.nl wrote: On 06-02-14 15:43, Code Kipper wrote: That's fine.I'll update the wiki with the notes that I've made on the registers and I'll try to maintain my changes on my fork for now. Do you know how often Allwinner produce

Re: [linux-sunxi] Testing of Line In my A20 board.

2014-02-13 Thread Code Kipper
Hi Puneet, I've looked a bit at the sound driver but have yet to test any line inputs. I can confirm that hdmi audio works; this I verified using soundtest, mplayer and xbmc. It's been a while since I've looked at hdmi audio but here is the notes that I made at the time. test the hdmi speakers

Re: [linux-sunxi] Testing of Line In my A20 board.

2014-02-14 Thread Code Kipper
Hi Puneet, you're going to have to look into the alsa world for answers on this. I did have a similar issue a few years ago on my HTPC and I think this link helped solve it http://forum.xbmc.org/showthread.php?tid=70754. I haven't got the conf to hand to show you. I recall also looking here for

Re: [linux-sunxi] Testing of Line In my A20 board.

2014-02-18 Thread Code Kipper
Hi Puneet, can you run 'arecord -iL' and paste back the result. I don't think anything else needs to be done to the script as capture is enabled. Is there any sound settings in Android that you can change?, I've not got any Axx devices to hand with audio in so I'm working a bit blind here. Is

Re: [linux-sunxi] i2s audio codec support for sun7i

2014-02-19 Thread Code Kipper
Hi Puneet, Can you see if there are any objects/kernel modules in your sound/soc/sunxi/i2s directory?, it looks like that is a description that needs updating as there doesn't seem to be any platform checks in the KConfig. There is also no mention of i2s any of the sunxi def configs. So if you've

Re: [linux-sunxi] i2s audio codec support for sun7i

2014-02-19 Thread Code Kipper
Hi Puneet, I'm not sure if I2S is currently supported on the sun7i. Looking at sound/soc/Kconfig I see this: if SOUND_SUNXI source sound/soc/sunxi/Kconfig source sound/soc/sunxi/hdmiaudio/Kconfig source sound/soc/sunxi/spdif/Kconfig # i2s needs various adjustments for sun7i if ARCH_SUN4I ||

Re: [linux-sunxi] i2s audio codec support for sun7i

2014-02-19 Thread Code Kipper
On 20 February 2014 08:15, Code Kipper codekip...@gmail.com wrote: Hi Puneet, I'm not sure if I2S is currently supported on the sun7i. Looking at sound/soc/Kconfig I see this: if SOUND_SUNXI source sound/soc/sunxi/Kconfig source sound/soc/sunxi/hdmiaudio/Kconfig source sound/soc/sunxi

Re: [linux-sunxi] Unable to play 720p video in Ubuntu

2014-03-19 Thread Code Kipper
This may be an issue with the audio/hdmi drivers so could be relevant to this mailing list. Is anybody using HD video + audio?, I've not plugged my box into my TV for months so can't really comment on the current status. I may be able to take a look but I will need the following: upload the

Re: [linux-sunxi] Trying out sunxi-next on Mele-A2000

2014-03-26 Thread Code Kipper
Hi Stefan, I also have the A2000 and did have problems with it booting until MrNuke fixed the MMC(the latest on sunxi-devel is 3.14.0.rc6). My setup is very similar to yours(running Debian headless although without any external devices). Looking at the size of the kernel then it seems that you

Re: [linux-sunxi] Trying out sunxi-next on Mele-A2000

2014-03-26 Thread Code Kipper
maybe I'm wrong about needing to use Hans' u-boot. According to this thread it's only required for A13, A20 https://groups.google.com/forum/#!msg/linux-sunxi/DC1QtgONxPM/MDfCtlv4fFIJ. CK On 26 March 2014 15:10, Code Kipper codekip...@gmail.com wrote: Hi Stefan, I also have the A2000 and did

[linux-sunxi] Re: MK808C wiki page.

2014-03-28 Thread Code Kipper
Hi Luc, Nickpic awayThere is a button above the HDMI conector and I guess this is for triggering FEL mode. As a SD card user I've never had the need to go down this path but I could have a go over the weekend. As for ADB I saw when I was connected to my Q8H that it was detecting the USB

Re: [linux-sunxi] MK802 device pages.

2014-04-02 Thread Code Kipper
On 2 April 2014 17:59, Luc Verhaegen l...@skynet.be wrote: Hi, After Codekipper improved the originally horribly mk802 page, i went and split it out. There are now mostly NDHed MK802 and variants pages available at: http://linux-sunxi.org/Rikomagic_mk802

Re: [linux-sunxi] Audio support for up-to-date kernel

2014-04-05 Thread Code Kipper
On 5 April 2014 18:57, Stefan Monnier monn...@iro.umontreal.ca wrote: I've been using the 3.4 kernel for a while now but have just switched to sunxi-devel because the 3.4 kept freezing (I partly worked around it by rebooting via cron once a day, which reduced the occurrence of the problem,

Re: [linux-sunxi] Re: i2s audio codec support for sun7i

2014-04-08 Thread Code Kipper
On 8 April 2014 07:27, Puneet B punit...@gmail.com wrote: Hi CodeKipper, I compiled i2s codec as you suggest. It compiled successfully. but i am get struck in integrating alsa codec to i2s. Did you follow Jon's instructions? you're most probably missing the glue layer. If you're still

Re: [linux-sunxi] Re: i2s audio codec support for sun7i

2014-04-08 Thread Code Kipper
On 8 April 2014 14:34, Dennis Kerrisk dennisk8...@gmail.com wrote: Yes, I have i2s running on an A10 mars board. I just enabled the sunxi i2s in the kernel config, built the kernel and it worked. But the mars board has LED's on the I2S pins, so they are almost impossible to use as I2s. I

Re: [linux-sunxi] Re: i2s audio codec support for sun7i

2014-04-08 Thread Code Kipper
On 8 April 2014 15:25, Dennis Kerrisk dennisk8...@gmail.com wrote: I tried attaching my .config file, but it said it was not allowed. So here it is: # # Automatically generated make config: don't edit # Linux/arm 3.0.101-2 Kernel Configuration This looks very wrongwhat are you trying to

Re: [linux-sunxi] Re: i2s audio codec support for sun7i

2014-04-08 Thread Code Kipper
On 8 April 2014 19:16, Dennis Kerrisk dennisk8...@gmail.com wrote: Here is the correct one. # # Automatically generated file; DO NOT EDIT. # Linux/arm 3.4.79 Kernel Configuration # chop CONFIG_SND_SOC=y CONFIG_SOUND_SUNXI=y CONFIG_SND_SUNXI_SOC_CODEC=y CONFIG_SND_SUNXI_SOC_HDMIAUDIO=y

Re: [linux-sunxi] Re: Olimex A20 board I2s not starting for clock failure.

2014-04-09 Thread Code Kipper
0n 9 April 2014 15:13, Dennis Kerrisk dennisk8...@gmail.com wrote: Oops I grapped the wrong lines of code, Here are the correct ones: if(clk_set_parent(i2s_moduleclk, i2s_pll2clk)){ printk(try to set parent of i2s_moduleclk to i2s_pll2ck failed! line = %d\n,__LINE__);

Re: [linux-sunxi] Re: A20 I2S Input/output error whan trying to play

2014-04-10 Thread Code Kipper
On 9 April 2014 21:18, Dennis Kerrisk dennisk8...@gmail.com wrote: Thanks I will check out what I did on the A10 board. I did notice some differences in sunxi-i2sdma.c There are some if CONFIG_ARCH_SUN4I || CONFIG_ARCH_SUN5I that don't include the CONFIG_ARCH_SUN7I. And if I include

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-18 Thread Code Kipper
Hi Dennis, I guess if aplay sees it then you've also added the change to the fex file for your board(I see that the all the olimex boards have spdif disabled in sunxi-boards). Do you see the spdif illuminate?, if not then the gpio needs setting up correctly. I've got some patches for the tidy up

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-18 Thread Code Kipper
On 18 April 2014 20:14, Dennis Kerrisk dennisk8...@gmail.com wrote: What do you mean see the spdif illuminate?, I am currently just checking the pins with a scope. I see no activity on the pins, so I probably need to set up the gpio. If it's an optical connection you have then you should see

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-18 Thread Code Kipper
On 18 April 2014 20:31, Dennis Kerrisk dennisk8...@gmail.com wrote: Yes I have modified my .fex file. I will look into the gpio. The I2s works on my A10 board but not my A20 board, so I am tracking down why. If you could also put your fex somewhere then I can compare the settings to the

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-18 Thread Code Kipper
On 18 April 2014 20:53, Dennis Kerrisk dennisk8...@gmail.com wrote: Here is my .fex file. Hi Dennis, well for starters all the examples of A20 fexs in sunxi-boards only have the spdif_dout gpio selected. Do you need all three connections?, what external device are you connecting to. The code

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-19 Thread Code Kipper
On 18 April 2014 20:53, Dennis Kerrisk dennisk8...@gmail.com wrote: Here is my .fex file. I've also noticed that i2s is declared twice in the fex. CK -- You received this message because you are subscribed to the Google Groups linux-sunxi group. To unsubscribe from this group and stop

Re: [linux-sunxi] Olimex A20 SPDIF output

2014-04-21 Thread Code Kipper
On 21 April 2014 20:30, Dennis Kerrisk dennisk8...@gmail.com wrote: How do I set up the gpio correctly? You will need to ensure that the pins that you're using are only declared once in the fex on a enabled driver). The muxing required for the spdif is as described in the fex file, the driver

Re: [linux-sunxi] [PATCH] Add support for consumer infrared devices on A20

2014-04-28 Thread Code Kipper
I am going away for few days for not being too noisy. There's nothing wrong with being too noisy. Absolutely, thank you for working on this. +1 on that. I was thinking about contacting Wingrime about taking on this driver as I thought it would be quite a nice one to start mainlining

Re: [linux-sunxi] [PATCH v6 2/3] ARM: sunxi: Add driver for sunxi IR controller

2014-05-14 Thread Code Kipper
Hi Alexander, although this patch is targeting sunxi ARM based hardware it doesn't have to be tied to this architecture. Could you rename the patch to something like [media] rc: add sunxi-ir driver. This is typical of the commit headers that you see in this directory. On 13 May 2014 20:39,

Re: [linux-sunxi] Documentation for SPDIF hardware missing from A20 manual

2014-06-16 Thread Code Kipper
Hi Jon, I've added this page to the wiki http://linux-sunxi.org/SPDIF which I extracted from the driver. For a while I've been tidying up all of the audio related drivers for 3.4 to get a better understanding of the system. These patches have been posted here. Now that Turl has kindly delivered a

Re: [linux-sunxi] Wifi on Cubietruck, 3.16

2014-07-05 Thread Code Kipper
lioka on irc had it working with 3.14 and linux next back in May. have you checked your config for missing parts? These are what I use for my A2000 to get wifi working on linux-next +# CHANGES FOR WIFI +CONFIG_MODULES=y +CONFIG_WIRELESS=y +CONFIG_CFG80211=y +CONFIG_MAC80211=y +CONFIG_WLAN=y

Re: [linux-sunxi] Wifi+Bt driver in linux-sunxi

2014-07-17 Thread Code Kipper
Hi Punith, 'dack' added instructions to the MK808C page for the rtl8723as driver for both BT WIFI. I can confirm that it works for WIFI on the linux-sunxi branch, however I've not tried BT but i'm sure it works. I will look soon at getting this working on linux-next. BR, CK On 17 July 2014

Re: [linux-sunxi] Compiling android kernel using android source files

2014-07-24 Thread Code Kipper
So what? This is a ml not a wiki, on the wiki you can find a lot of related stuff. I never said that it wasbut it was put together by the community working with sunxi to avoid flooding the arm-netbook ml. I'm not much of an irc'er but I'd like to think that I can post something here

Re: [linux-sunxi] Re: Report on recently added audio support

2014-09-07 Thread Code Kipper
BTW, I'd love to use this code on my Mele A2000 (sun4i). Hi Stefan, just add this patch to the head of Emilios branch. BR, CK Should I expect the DTS patch used for cubietruck to work on my Mele as well? If not (seems likely), could someone give me some hints as to what changes should be

Re: [linux-sunxi] Re: Report on recently added audio support

2014-10-07 Thread Code Kipper
On 7 October 2014 03:54, Stefan Monnier monn...@iro.umontreal.ca wrote: Look in the kernel source at the generic A10 and A20 dtsi files. They will have a definition for pll2 in them. It looks like that definition is not in the DTS you are using. See session below: AFAICT there is a

Re: [linux-sunxi] Re: DMAEngine and audio support on A20

2014-12-09 Thread Code Kipper
On 8 December 2014 at 17:27, Stefan Monnier monn...@iro.umontreal.ca wrote: Is there still some plan to merge this into mainline? What's is there left to do for that? Yes, I have not forgotten about it :) I got busy with other things but now I got some time to work on this again. Any

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: dts: sun6i: Add dts file for CSQ CS908 board

2014-12-15 Thread Code Kipper
usb0 (otg): usb-a receptacle 1 (labeled 1 on the box, 0 on the print) usb1 (ehci): routed to internal wifi usb2 (ehci): usb-a receptacle 2 (labeled 2 on both the box and the print) I'm using fel mode with an usb-a - usb-a cable connected to usb0 on the cs908. The cs908 has no fel button, so

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: dts: sun6i: Add dts file for CSQ CS908 board

2014-12-15 Thread Code Kipper
On 15 December 2014 at 12:38, Hans de Goede hdego...@redhat.com wrote: Hi, On 15-12-14 11:21, Code Kipper wrote: usb0 (otg): usb-a receptacle 1 (labeled 1 on the box, 0 on the print) usb1 (ehci): routed to internal wifi usb2 (ehci): usb-a receptacle 2 (labeled 2 on both the box

Re: [linux-sunxi] Re: DMAEngine and audio support on A20

2015-01-28 Thread Code Kipper
On 28 January 2015 at 15:31, Jens Lucius m...@custotec.de wrote: Hi Any news about the DMA or audio codec for mainline? I tried to rebase the patches based in the latest sunxi-next, but failed because it seems the /include/sound/soc.h has changed which leads me to this error: |

Re: [linux-sunxi] [PATCH 3.4 0/4] Various fixes to make linux-sunxi work with new u-boot

2015-03-15 Thread Code Kipper
On 15 March 2015 at 12:12, Paul Kocialkowski cont...@paulk.fr wrote: Le mardi 24 février 2015 à 11:58 +0200, Siarhei Siamashka a écrit : On Sat, 21 Feb 2015 16:47:20 +0100 Hans de Goede hdego...@redhat.com wrote: Hi all, Newer u-boot versions may chose a different (better) PLL6 / PLL5

Re: [linux-sunxi] [PATCH 3.4 0/4] Various fixes to make linux-sunxi work with new u-boot

2015-03-15 Thread Code Kipper
On 15 March 2015 at 12:23, Code Kipper codekip...@gmail.com wrote: On 15 March 2015 at 12:12, Paul Kocialkowski cont...@paulk.fr wrote: Le mardi 24 février 2015 à 11:58 +0200, Siarhei Siamashka a écrit : On Sat, 21 Feb 2015 16:47:20 +0100 Hans de Goede hdego...@redhat.com wrote: Hi all

Re: Re: Re: [linux-sunxi] how to build an linux image for A31S

2015-03-09 Thread Code Kipper
On 9 March 2015 at 08:01, Code Kipper codekip...@gmail.com wrote: On 9 March 2015 at 07:41, Quink wantl...@gmail.com wrote: If the serial port is usable, maybe you can boot into fel mode by press '2' in serial terminal and then power on the device. I've tried connecting just a USB-A-USB

[linux-sunxi] Re: [PATCH] ARM: sun7i: dt: Add new MK808C device

2015-03-07 Thread Code Kipper
On 4 March 2015 at 21:34, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Tue, Mar 03, 2015 at 09:22:32PM +0100, Code Kipper wrote: + +/ { + model = mk808c; + compatible = mk808c, allwinner,sun7i-a20; the compatible must be of the format vendor,device. Please add

Re: Re: Re: [linux-sunxi] how to build an linux image for A31S

2015-03-08 Thread Code Kipper
On 9 March 2015 at 03:56, li lijiamin...@163.com wrote: Hi pere canadell, the device is http://linux-sunxi.org/VidOn_Box, but i can't find the image for it. Best Regards, stone Hi Stone I don't think you'll have any chance of getting anything other than VidOn's firmware onto this device

Re: Re: Re: [linux-sunxi] how to build an linux image for A31S

2015-03-09 Thread Code Kipper
to keep this for now as an Android box I didn't investigate any further. I do have a USB-A cable somewhere that just has the data lines connected so I can try with this and the unit's PSU. CK On Mon, Mar 9, 2015 at 1:28 PM, Code Kipper codekip...@gmail.com wrote: On 9 March 2015 at 03:56, li

Re: [linux-sunxi] Openwrt on Cubietruck

2015-03-25 Thread Code Kipper
On 24 March 2015 at 21:12, ramanan vtm vtm...@gmail.com wrote: Hello, I successfully compiled the OpenWRT trunk Rev:44951. Uboot starts from SSD. However, it hangs at 'Starting kernel ...' message for a few seconds and everything dies out. I'm sure it's because the kernel is not loading

Re: [linux-sunxi] Openwrt on Cubietruck

2015-03-31 Thread Code Kipper
wingrime on irc is the guy upstreaming the sunxi patches for openwrt. See if he's online. BR, I made a mistake with the name here...you should be looking out for wigyori. I've done some snooping around and this patch looks to be in the works. https://patchwork.ozlabs.org/patch/438420/ Maybe you

Re: [linux-sunxi] Openwrt on Cubietruck

2015-03-26 Thread Code Kipper
On 26 March 2015 at 19:17, Code Kipper codekip...@gmail.com wrote: On 26 March 2015 at 18:41, ramanan vtm vtm...@gmail.com wrote: Thanks for the fast response! I've dd'ed the openwrt-sunxi-Cubietruck-sdcard-vfat-ext4.img onto the sdcard. After 'Starting kernel ...' the screen goes blank. I

Re: [linux-sunxi] Openwrt on Cubietruck

2015-03-26 Thread Code Kipper
On 26 March 2015 at 18:41, ramanan vtm vtm...@gmail.com wrote: Thanks for the fast response! I've dd'ed the openwrt-sunxi-Cubietruck-sdcard-vfat-ext4.img onto the sdcard. After 'Starting kernel ...' the screen goes blank. I have the following files on the boot partition: boot.scr, dtb and

Re: [linux-sunxi] orange pi plus (Allwinner H3 based) has a Debian server image available since today

2015-04-27 Thread Code Kipper
On 28 April 2015 at 02:54, Julian Calaby julian.cal...@gmail.com wrote: Hi All, On Tue, Apr 28, 2015 at 10:30 AM, Julian Calaby julian.cal...@gmail.com wrote: Hi Mark, On Tue, Apr 28, 2015 at 8:29 AM, m...@markvdb.be wrote: No sources I guess :-( But maybe something useful to be gleaned

Re: [linux-sunxi] orange pi plus (Allwinner H3 based) has a Debian server image available since today

2015-04-27 Thread Code Kipper
On 28 April 2015 at 07:11, Code Kipper codekip...@gmail.com wrote: On 28 April 2015 at 02:54, Julian Calaby julian.cal...@gmail.com wrote: Hi All, On Tue, Apr 28, 2015 at 10:30 AM, Julian Calaby julian.cal...@gmail.com wrote: Hi Mark, On Tue, Apr 28, 2015 at 8:29 AM, m...@markvdb.be

Re: [linux-sunxi] ARM: sunxi: dts: split IR pins for A10 and A20

2015-05-02 Thread Code Kipper
This is v2 of the patch after Maxime's comments. Was trying to add versioning comments to below the commit message but for some reason adding --subject to the send-email command seemed to cancel out the --dry-run. So it's out in the wild. CK On 2 May 2015 at 13:36, codekip...@gmail.com wrote:

Re: [linux-sunxi] Releasing A83T kernel tree

2015-04-19 Thread Code Kipper
Hi Kevin, on the master track you're missing arch/arm/mach-sunxi/pm/standby/gen_check_code so builds for sun9i etc can't be completed. I've added it from the cubieboard A80 git and it seems to build ok. Any chance of the H3 def config? as I see it's mentioned in the code.It would be nice to

Re: [linux-sunxi][PATCH] ARM: sun7i: dt: Add new Olimex A20 EVB device

2015-08-20 Thread Code Kipper
On 20 August 2015 at 17:45, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi, On Wed, Aug 19, 2015 at 06:43:16PM +0200, codekip...@gmail.com wrote: From: Marcus Cooper codekip...@gmail.com The A20-SOM-EVB is a reference design of a 2-layer board for the A20-SOM. It expands

[linux-sunxi] SPDIF and I2S on top of sunxi-wip

2015-07-28 Thread Code Kipper
Hi All, I've just pushed a load of patches towards my github fork https://github.com/codekipper/linux-sunxi/commits/audio_mainlining which now gives spdif functionality to the Mele A1000 boards. There is also additional patches that bring I2S into the kernel however I've not had a chance to verify

Re: [linux-sunxi] [PATCH] pinctrl: sun4i: add spdif to pin description.

2015-08-11 Thread Code Kipper
On 11 August 2015 at 18:48, Chen-Yu Tsai w...@csie.org wrote: On Wed, Aug 12, 2015 at 12:19 AM, codekip...@gmail.com wrote: From: Marcus Cooper codekip...@gmail.com Signed-off-by: Marcus Cooper codekip...@gmail.com --- drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c | 9 ++--- 1 file

Re: [linux-sunxi] [PATCH] pinctrl: sun4i: add spdif to pin description.

2015-08-12 Thread Code Kipper
On 12 August 2015 at 10:34, Hans de Goede hdego...@redhat.com wrote: Hi, On 12-08-15 07:31, Code Kipper wrote: On 11 August 2015 at 18:48, Chen-Yu Tsai w...@csie.org wrote: On Wed, Aug 12, 2015 at 12:19 AM, codekip...@gmail.com wrote: From: Marcus Cooper codekip...@gmail.com Signed

Re: [linux-sunxi] [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support

2015-10-21 Thread Code Kipper
On 21 October 2015 at 18:13, Jens Kuske wrote: > Hi everyone, > > This is v3 of my patch series introducing basic kernel support for Allwinner's > H3 SoC. It mainly adds basic clocks and pinctrl. It also adds interrupts, > timers, watchdog, RTC, dmaengine, MMC and UARTs,

Re: [linux-sunxi] [PATCH 0/6] ARM: sunxi: Introduce Allwinner H3 support

2015-10-21 Thread Code Kipper
On 21 October 2015 at 19:11, Code Kipper <codekip...@gmail.com> wrote: > On 21 October 2015 at 18:13, Jens Kuske <jensku...@gmail.com> wrote: >> Hi everyone, >> >> This is v3 of my patch series introducing basic kernel support for >> Allwinner's >> H3

[linux-sunxi] Re: [PATCH v2 4/4] ASOC: sunxi: Add support for the spdif block

2015-10-06 Thread Code Kipper
On 6 October 2015 at 11:00, Maxime Ripard <maxime.rip...@free-electrons.com> wrote: > On Fri, Oct 02, 2015 at 08:44:03AM +0200, Code Kipper wrote: >> >> +config SND_SOC_SUNXI_DAI_SPDIF >> >> +tristate >> >> + depends on OF >&g

Re: [linux-sunxi] Re: A20 mainline kernel questions

2015-08-31 Thread Code Kipper
On 31 August 2015 at 08:31, Andrea Venturi wrote: > > > Il giorno domenica 30 agosto 2015 13:55:14 UTC+2, Alexis Jeandet ha scritto: >> >> Hi Andrea, >> >> Indeed my song is mono, so that may explain the issue. >> > > ok > >> >> I also continued to investigate the code

Re: [linux-sunxi][PATCH v5] ARM: sun7i: dt: Add new Olimex A20 EVB device

2015-10-01 Thread Code Kipper
>> +_dcdc2 { >> + regulator-always-on; >> + regulator-min-microvolt = <100>; >> + regulator-max-microvolt = <1425000>; > > You also changed that since v4, for an unknown reason, and without > mentionning it in the changelog... AAARRRHHHcould you kindly fix this for

[linux-sunxi] Re: [PATCH v2 4/4] ASOC: sunxi: Add support for the spdif block

2015-10-02 Thread Code Kipper
>> +config SND_SOC_SUNXI_DAI_SPDIF >> +tristate >> + depends on OF >> +select SND_SOC_GENERIC_DMAENGINE_PCM >> +select REGMAP_MMIO >> + >> +config SND_SOC_SUNXI_MACHINE_SPDIF >> +tristate "APB on-chip sun4i/sun5i/sun7i SPDIF" >> + depends on OF >> +

[linux-sunxi] Re: [PATCH v2 1/4] dt-bindings: add sunxi SPDIF transceiver bindings

2015-10-01 Thread Code Kipper
>> + >> + - compatible : should be one of the following: >> +- "allwinner,sun4i-a10-spdif": for the Allwinner A10 SoC >> +- "allwinner,sun7i-a20-spdif": for the Allwinner A20 SoC >> +- "allwinner,sun6i-a31-spdif": for the Allwinner A31 SoC > > Are all these compatibles

Re: [linux-sunxi][alsa-devel][PATCH 3/3] ASOC: sunxi: Add support for the spdif block

2015-09-28 Thread Code Kipper
On 28 September 2015 at 10:25, Maxime Ripard wrote: > On Thu, Sep 24, 2015 at 04:30:05PM +0200, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> The sun4i, sun6i and sun7i SoC families have an SPDIF >> block which is capable of

Re: [linux-sunxi][alsa-devel][PATCH 0/3]Add SPDIF support for Allwinner SoCs

2015-09-23 Thread Code Kipper
Hi All, I'm getting a "fatal: 'send-email'" response with the last patch(even though the dry run of the patch series worked) and I've not been able to work around it. I'll post it as soon as I can work out what the issue is, BR, CK On 23 September 2015 at 20:04, wrote: >

Re: [linux-sunxi][alsa-devel][PATCH 0/3]Add SPDIF support for Allwinner SoCs

2015-09-24 Thread Code Kipper
On 23 September 2015 at 20:41, Code Kipper <codekip...@gmail.com> wrote: > Hi All, > I'm getting a "fatal: 'send-email'" response with the last patch(even > though the dry run of the patch series worked) and I've not been able > to work around it. I'll post it as

Re: [linux-sunxi][alsa-devel][PATCH 3/3] ASOC: sunxi: Add support for the spdif block

2015-09-24 Thread Code Kipper
On 24 September 2015 at 19:29, Mark Brown wrote: > On Thu, Sep 24, 2015 at 04:30:05PM +0200, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> The sun4i, sun6i and sun7i SoC families have an SPDIF >> block which is capable of playback and capture.

Re: [linux-sunxi][PATCH v3] ARM: sun7i: dt: Add new Olimex A20 EVB device

2015-09-25 Thread Code Kipper
On 25 September 2015 at 08:52, Maxime Ripard wrote: > On Wed, Sep 23, 2015 at 08:47:50PM +0200, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> The A20-SOM-EVB is a reference design of a 2-layer board for the >> A20-SOM. >> It

Re: [linux-sunxi][PATCH v3] ARM: sun7i: dt: Add new Olimex A20 EVB device

2015-09-25 Thread Code Kipper
On 25 September 2015 at 08:52, Maxime Ripard wrote: > On Wed, Sep 23, 2015 at 08:47:50PM +0200, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> The A20-SOM-EVB is a reference design of a 2-layer board for the >> A20-SOM. >> It

[linux-sunxi] Re: [PATCH v2 1/4] dt-bindings: add sunxi SPDIF transceiver bindings

2015-10-05 Thread Code Kipper
On 5 October 2015 at 10:41, Maxime Ripard <maxime.rip...@free-electrons.com> wrote: > On Fri, Oct 02, 2015 at 07:24:20AM +0200, Code Kipper wrote: >> >> + >> >> + - compatible : should be one of the following: >> >> +- "all

Re: [linux-sunxi] [PATCH v3 1/2] sun4i-codec: add "FM-In" and "Line-In" playback controls (volume and muting switch).

2015-12-05 Thread Code Kipper
> #define SUN4I_CODEC_DAC_ACTL_DACAENR (31) > #define SUN4I_CODEC_DAC_ACTL_DACAENL (30) > #define SUN4I_CODEC_DAC_ACTL_MIXEN (29) > +#define SUN4I_CODEC_DAC_ACTL_LINEIN_OUTPUT_VOLUME (26) /* 1 bit */ > +#define

Re: [linux-sunxi] [PATCH v3 2/2] sun4i-codec: add "FM-In" and "Line-In" playback controls (volume and muting switch), including DAPM.

2015-12-05 Thread Code Kipper
On 6 December 2015 at 07:13, Danny Milosavljevic wrote: > Signed-off-by: Danny Milosavljevic > --- > sound/soc/sunxi/sun4i-codec.c | 34 ++ > 1 file changed, 22 insertions(+), 12 deletions(-) > > diff --git

Re: [linux-sunxi][PATCH 2/2] ARM: dts: sun4i: Add rikomagic mk802+ board

2015-12-08 Thread Code Kipper
> > Are there any differences between the Rikomagic and the generic MK802? Hi Julian, In the covering letter I mention this https://groups.google.com/d/msg/linux-sunxi/Az9Dy6tPfqQ/ZMYwKWznAAAJ and also that we could always use the original mk802 dts for the differences. BR, CK > > You could

Re: [linux-sunxi][PATCH 0/2] ARM: dts: sun4i: mk802 variant patches

2015-12-10 Thread Code Kipper
On 9 December 2015 at 12:16, Code Kipper <codekip...@gmail.com> wrote: > On 9 December 2015 at 10:20, Maxime Ripard > <maxime.rip...@free-electrons.com> wrote: >> Hi, >> >> On Tue, Dec 08, 2015 at 07:48:52PM +0100, codekip...@gmail.com wrote: >>&

Re: [linux-sunxi][PATCH 1/2] ARM: dts: sun7i: Add Itead Ibox support

2015-12-13 Thread Code Kipper
On 11 December 2015 at 11:59, Maxime Ripard wrote: > Hi, > > On Tue, Dec 08, 2015 at 07:29:03PM +0100, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> The Itead Ibox is a multi board device based on the Allwinner A20 SoC. >> It

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 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. > >

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

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

2016-02-05 Thread Code Kipper
On 5 February 2016 at 10:27, Maxime Ripard wrote: > Hi, > > On Thu, Feb 04, 2016 at 12:09:22PM +0100, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> The sun4i, sun5i and sun7i SoC families have an SPDIF >> block which is capable

Re: [linux-sunxi][PATCH] ARM: dts: sun4i: Enable USB DRC on the MK8082

2016-02-12 Thread Code Kipper
NAK...doohhh got the name of the device wrong in both subject and description. V2 sent. On 12 February 2016 at 12:54, wrote: > From: Marcus Cooper > > Enable the otg/drc usb controller on the MK8082. > > Signed-off-by: Marcus Cooper

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

2016-02-09 Thread Code Kipper
On 9 February 2016 at 19:34, Maxime Ripard wrote: > Hi, > > On Tue, Feb 09, 2016 at 10:29:16AM +0100, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> Enable the otg/drc usb controller on the Itead Ibox device. >> >> Note this board

Re: [linux-sunxi] Re: Ditter V21 HDMI Android TV stick - FEL mode?

2016-02-01 Thread Code Kipper
Hi Fabio, I struggled with getting the fex file for the two A31 devices I have. The simplest way is to try to locate an update file for the device and try and extract it from there. Here is some discussions on IRC I had with Wens http://irclog.whitequark.org/linux-sunxi/2014-11-18#10892942. I

[linux-sunxi] Re: [PATCH v3 2/2] ASOC: sunxi: Add support for the SPDIF block

2016-02-03 Thread Code Kipper
On 2 February 2016 at 22:17, Maxime Ripard wrote: > Hi, > > It looks mostly good on my side, a few comments though. > > On Tue, Feb 02, 2016 at 03:49:54PM +0100, codekip...@gmail.com wrote: >> +#ifdef CONFIG_PM >> +static int sun4i_spdif_runtime_suspend(struct

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

2016-02-02 Thread Code Kipper
On 2 February 2016 at 23:31, Maxime Ripard wrote: > Hi, > > On Tue, Feb 02, 2016 at 03:49:53PM +0100, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> Add devicetree bindings for the SPDIF transceiver found on >> found on Allwinners

Re: [linux-sunxi] Anyone tested BPi IR receiver under 4.4?

2016-01-22 Thread Code Kipper
On 21 January 2016 at 23:30, Dan MacDonald <allc...@gmail.com> wrote: > Thanks for explaining that Code Kipper! > > With your help I have been able to get IR (mostly) working under 4.4.0 so I > have updated my 'Remote controlled BananaPi music alarm clock' guide here > with

Re: [linux-sunxi] Anyone tested BPi IR receiver under 4.4?

2016-01-23 Thread Code Kipper
On 23 January 2016 at 17:58, Dan MacDonald <allc...@gmail.com> wrote: > Hi Code Kipper, Hans and sun-xi list > > I'm still struggling to get IR apps (irw/irexec and keybinder) to work under > 4.4 on my BPi. So far evtest is the only thing thats worked although thats > no use

Re: [linux-sunxi] Anyone tested BPi IR receiver under 4.4?

2016-01-22 Thread Code Kipper
On 22 January 2016 at 11:48, Dan MacDonald <allc...@gmail.com> wrote: > Hi Code kipper > > Are you saying I should be able configure lirc to trigger shell commands > without any need for using the keybinding app? I'm pretty sure you can. I was looking here http://www.lirc.org/

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

2016-02-21 Thread Code Kipper
On 22 February 2016 at 04:12, Mark Brown wrote: > On Sun, Feb 21, 2016 at 12:13:36PM +0100, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> For now just the SPDIF transmitter has been tested on a Mele A2000(A10) >> and a Itead Ibox(A20). > >

Re: [linux-sunxi][PATCH 3/5] ARM: dts: sunxi: Add the SPDIF to the A10 and A20

2016-03-14 Thread Code Kipper
On 13 March 2016 at 22:50, Maxime Ripard wrote: > Hi, > > On Sat, Feb 27, 2016 at 05:18:27PM +0100, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> Add the SPDIF transceiver controller and clock to the A10 and >> A20 dtsi. >> >>

[linux-sunxi] Re: [PATCH] sun7i: Add support for the Itead Core EVB

2016-03-18 Thread Code Kipper
Please ignoreforgot that I'd added all the relevant emails to my git config. CK On 17 March 2016 at 14:33, wrote: > From: Marcus Cooper > > --- > arch/arm/dts/Makefile | 1 + > arch/arm/dts/sun7i-a20-itead-core-evb.dts |

[linux-sunxi] Re: [PATCH 0/2] ARM: dt: sunxi: Add Itead Ibox support

2016-03-15 Thread Code Kipper
On 15 March 2016 at 18:34, wrote: > From: Marcus Cooper > > This patch delivers the uboot changes required for the Itead Ibox A20. As > there > are a few Itead variants out there based on their A10/A20 core module; I have > created a common dtsi for

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

2016-03-12 Thread Code Kipper
Hi Danny, I've got some patches to go which covers pretty much everything that we can manage with the sun4i-codec. I'm only lacking testing of certain bits as I don't have capable hardware(i.e. FM capture). I've ignored the phone out part of the A20 as I couldn't find the pins. I'll try to upload

[linux-sunxi] sun4i audio updates

2016-03-20 Thread Code Kipper
Hi all, I've been playing with the audio on sun4i for some time now and have placed a branch on my github with all my changes https://github.com/codekipper/linux-sunxi/commits/kevin. Most of this is WIP but I'm pretty confident that I've covered everything with the sun4i-codec. It's just that

Re: [linux-sunxi] sun4i audio updates

2016-03-20 Thread Code Kipper
On 20 March 2016 at 10:53, Danny Milosavljevic wrote: > Hi CK, > >>I've been playing with the audio on sun4i for some time now and have placed a >>branch on my github with all my changes >> https://github.com/codekipper/linux-sunxi/commits/kevin. > > Good to hear! > > On

Re: [linux-sunxi] sun4i audio updates

2016-03-20 Thread Code Kipper
On 20 March 2016 at 10:16, Peter Korsgaard <pe...@korsgaard.com> wrote: >>>>>> "Code" == Code Kipper <codekip...@gmail.com> writes: > > > Hi all, > > I've been playing with the audio on sun4i for some time now and have > > placed a br

Re: [linux-sunxi] sun4i audio updates

2016-03-25 Thread Code Kipper
On 25 March 2016 at 14:36, Robin Humble <r...@cita.utoronto.ca> wrote: > On Sun, Mar 20, 2016 at 12:53:45PM +0100, Code Kipper wrote: >>On 20 March 2016 at 10:53, Danny Milosavljevic <dan...@scratchpost.org> wrote: >>>>I've been playing with the audio on sun4i

Re: [linux-sunxi] AP6210 is not getting clock - linux 4.3.5

2016-03-01 Thread Code Kipper
On 1 March 2016 at 12:51, wrote: > Hi All, > > I am porting Linux 4.3.5 in A31 - Humming bird Kit. The kernel is running > and I want to enable the Bluetooth. This kit has AP6210 Module which has > both Wifi+BT as we know. I was unable to load firmware/driver to the >

Re: [linux-sunxi] USB OTG on A20 Lime2 board does not work with mainline kernel

2016-05-04 Thread Code Kipper
On 4 May 2016 at 11:44, Christo Radev wrote: > Hi to All, > > > I am trying to use USB OTG on A20-Olinuxino-Lime2-eMMC with own build of > Armbian 5.11, U-Boot 2016.05--rec1, mainline kernel 4.5.2 and Debian Jessie > without success. I have tested: I don't think Wens

Re: [linux-sunxi] Re: [PATCH v1 1/1] add missing UARTs pins for AllWinner H3 DTS + add new I2C entries for AllWinner H3 DTS

2016-04-19 Thread Code Kipper
On 19 April 2016 at 17:11, Chen-Yu Tsai wrote: > On Tue, Apr 19, 2016 at 10:46 PM, wrote: >> Hi ChenYu, >> >> Thanks for your comments. >> >> On Tuesday, April 19, 2016 at 7:11:50 AM UTC-4, Chen-Yu Tsai wrote: >>> Hi, >>> >>> >

  1   2   >