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

2014-02-06 Thread Code Kipper
On 6 February 2014 16:05, Olliver Schinagl  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 a new dump?I can wait and see
>> how much effort a backport takes when the next one comes.
>>
> We have the a23 sdk dump; which is a new kernel with updated stuff; you
> could try integrating that into the current stuff as a starter?
>
>>
>> Sure...can you point to where to look?. I can't see any a23 related
branches on github.
CK

> It's fairly straightforward to work around platform differences without
>> #ifdefs so I'll tackle that one first,
>> BR,
>> CK
>>
>>
>> On 6 February 2014 15:27, Olliver Schinagl > > wrote:
>>
>> On 05-02-14 08:21, Code Kipper wrote:
>>
>> 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
>>
>> I'm not sure if this is a great idea as it makes backporting stuff
>> from newer dumps much harder. I think your efforts are better used
>> in possibly starting to clean it up in a seperate branch so that it
>> can go upstream into mainline? Mind you, no DMA yet there.
>>
>> Otherwise try to see if you can make the driver without #ifdefs so
>> sunxi_soc works for sun4i, sun5i, sun7i without compile time
>> differences.
>>
>> Oliver
>>
>> https://groups.google.com/__forum/#!msg/linux-sunxi/__
>> u3OE9vO-MvM/WNDo3KjXT3gJ
>> > u3OE9vO-MvM/WNDo3KjXT3gJ>.
>>
>> I took onboard the comments that were made and I've started to
>> break the
>> patches down into smaller more easily manageable chunks.
>>
>> These are my current plans:
>> 1)Update the wiki with the register and bit details.
>> 2)First patch set removes all the unnecessary headers.
>> 3)Next patch set removes all the magic numbers that I'm finding.
>> 4)Break down the tidy up patches that I first submitted,
>> basically it
>> was formatting and removal of Chinese comments.
>> 5)Remove headers which aren't shared across files.
>> 6)Major refactoring in preparation for mainlining activities.
>>
>> Does anybody have anything to add to this and is anybody else
>> working on
>> the audio drivers at the moment?. I'm currently working my way
>> through
>> the sunxi-codec driver which brings me to my next question. Can
>> anybody
>> recommend a A20(or A31) tablet preferably 10" which I get hold of
>> quickly in Europe?, I need this so I can make sure these codec
>> changes
>> aren't breaking things.
>>
>> Thanks in advance,
>> CK.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "linux-sunxi" group.
>> To unsubscribe from this group and stop receiving emails from
>> it, send
>> an email to linux-sunxi+unsubscribe@__googlegroups.com
>> .
>> For more options, visit
>> https://groups.google.com/__groups/opt_out
>> .
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "linux-sunxi" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to linux-sunxi+unsubscribe@__googlegroups.com
>> .
>> For more options, visit https://groups.google.com/__groups/opt_out
>> .
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "linux-sunxi" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to linux-sunxi+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to linux-sunxi+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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

2014-02-06 Thread Code Kipper
On 6 February 2014 16:32, Code Kipper  wrote:

> On 6 February 2014 16:05, Olliver Schinagl 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 a new dump?I can wait and see
>>> how much effort a backport takes when the next one comes.
>>>
>> We have the a23 sdk dump; which is a new kernel with updated stuff; you
>> could try integrating that into the current stuff as a starter?
>>
>>>
>>> Sure...can you point to where to look?. I can't see any a23 related
> branches on github.
> CK
>
No worries. Found it here http://dl.linux-sunxi.org/SDK/A23-v1.0/unpacked/


>  It's fairly straightforward to work around platform differences without
>>> #ifdefs so I'll tackle that one first,
>>> BR,
>>> CK
>>>
>>>
>>> On 6 February 2014 15:27, Olliver Schinagl >> > wrote:
>>>
>>> On 05-02-14 08:21, Code Kipper wrote:
>>>
>>> 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
>>>
>>> I'm not sure if this is a great idea as it makes backporting stuff
>>> from newer dumps much harder. I think your efforts are better used
>>> in possibly starting to clean it up in a seperate branch so that it
>>> can go upstream into mainline? Mind you, no DMA yet there.
>>>
>>> Otherwise try to see if you can make the driver without #ifdefs so
>>> sunxi_soc works for sun4i, sun5i, sun7i without compile time
>>> differences.
>>>
>>> Oliver
>>>
>>> https://groups.google.com/__forum/#!msg/linux-sunxi/__
>>> u3OE9vO-MvM/WNDo3KjXT3gJ
>>> >> u3OE9vO-MvM/WNDo3KjXT3gJ>.
>>>
>>> I took onboard the comments that were made and I've started to
>>> break the
>>> patches down into smaller more easily manageable chunks.
>>>
>>> These are my current plans:
>>> 1)Update the wiki with the register and bit details.
>>> 2)First patch set removes all the unnecessary headers.
>>> 3)Next patch set removes all the magic numbers that I'm finding.
>>> 4)Break down the tidy up patches that I first submitted,
>>> basically it
>>> was formatting and removal of Chinese comments.
>>> 5)Remove headers which aren't shared across files.
>>> 6)Major refactoring in preparation for mainlining activities.
>>>
>>> Does anybody have anything to add to this and is anybody else
>>> working on
>>> the audio drivers at the moment?. I'm currently working my way
>>> through
>>> the sunxi-codec driver which brings me to my next question. Can
>>> anybody
>>> recommend a A20(or A31) tablet preferably 10" which I get hold of
>>> quickly in Europe?, I need this so I can make sure these codec
>>> changes
>>> aren't breaking things.
>>>
>>> Thanks in advance,
>>> CK.
>>>
>>> --
>>> You received this message because you are subscribed to the
>>> Google
>>> Groups "linux-sunxi" group.
>>> To unsubscribe from this group and stop receiving emails from
>>> it, send
>>> an email to linux-sunxi+unsubscribe@__googlegroups.com
>>> .
>>> For more options, visit
>>> https://groups.google.com/__groups/opt_out
>>> .
>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "linux-sunxi" group.
>>> To unsubscribe from this group and stop receiving emails from it,
>>> send an email to linux-sunxi+unsubscribe@__googlegroups.com
>>> .
>>> For more options, visit https://groups.google.com/__groups/opt_out
>>> .
>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "linux-sunxi" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to linux-sunxi+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "linux-sunxi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to linux-sunxi+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To uns

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

2014-02-06 Thread Olliver Schinagl

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 a new dump?I can wait and see
how much effort a backport takes when the next one comes.
We have the a23 sdk dump; which is a new kernel with updated stuff; you 
could try integrating that into the current stuff as a starter?


It's fairly straightforward to work around platform differences without
#ifdefs so I'll tackle that one first,
BR,
CK


On 6 February 2014 15:27, Olliver Schinagl mailto:oliver+l...@schinagl.nl>> wrote:

On 05-02-14 08:21, Code Kipper wrote:

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

I'm not sure if this is a great idea as it makes backporting stuff
from newer dumps much harder. I think your efforts are better used
in possibly starting to clean it up in a seperate branch so that it
can go upstream into mainline? Mind you, no DMA yet there.

Otherwise try to see if you can make the driver without #ifdefs so
sunxi_soc works for sun4i, sun5i, sun7i without compile time
differences.

Oliver


https://groups.google.com/__forum/#!msg/linux-sunxi/__u3OE9vO-MvM/WNDo3KjXT3gJ

.
I took onboard the comments that were made and I've started to
break the
patches down into smaller more easily manageable chunks.

These are my current plans:
1)Update the wiki with the register and bit details.
2)First patch set removes all the unnecessary headers.
3)Next patch set removes all the magic numbers that I'm finding.
4)Break down the tidy up patches that I first submitted,
basically it
was formatting and removal of Chinese comments.
5)Remove headers which aren't shared across files.
6)Major refactoring in preparation for mainlining activities.

Does anybody have anything to add to this and is anybody else
working on
the audio drivers at the moment?. I'm currently working my way
through
the sunxi-codec driver which brings me to my next question. Can
anybody
recommend a A20(or A31) tablet preferably 10" which I get hold of
quickly in Europe?, I need this so I can make sure these codec
changes
aren't breaking things.

Thanks in advance,
CK.

--
You received this message because you are subscribed to the Google
Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from
it, send
an email to linux-sunxi+unsubscribe@__googlegroups.com
.
For more options, visit
https://groups.google.com/__groups/opt_out
.


--
You received this message because you are subscribed to the Google
Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to linux-sunxi+unsubscribe@__googlegroups.com
.
For more options, visit https://groups.google.com/__groups/opt_out
.


--
You received this message because you are subscribed to the Google
Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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

2014-02-06 Thread Code Kipper
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 a new dump?I can wait and see how much
effort a backport takes when the next one comes.

It's fairly straightforward to work around platform differences without
#ifdefs so I'll tackle that one first,
BR,
CK


On 6 February 2014 15:27, Olliver Schinagl  wrote:

> On 05-02-14 08:21, Code Kipper wrote:
>
>> 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
>>
> I'm not sure if this is a great idea as it makes backporting stuff from
> newer dumps much harder. I think your efforts are better used in possibly
> starting to clean it up in a seperate branch so that it can go upstream
> into mainline? Mind you, no DMA yet there.
>
> Otherwise try to see if you can make the driver without #ifdefs so
> sunxi_soc works for sun4i, sun5i, sun7i without compile time differences.
>
> Oliver
>
>> https://groups.google.com/forum/#!msg/linux-sunxi/
>> u3OE9vO-MvM/WNDo3KjXT3gJ.
>> I took onboard the comments that were made and I've started to break the
>> patches down into smaller more easily manageable chunks.
>>
>> These are my current plans:
>> 1)Update the wiki with the register and bit details.
>> 2)First patch set removes all the unnecessary headers.
>> 3)Next patch set removes all the magic numbers that I'm finding.
>> 4)Break down the tidy up patches that I first submitted, basically it
>> was formatting and removal of Chinese comments.
>> 5)Remove headers which aren't shared across files.
>> 6)Major refactoring in preparation for mainlining activities.
>>
>> Does anybody have anything to add to this and is anybody else working on
>> the audio drivers at the moment?. I'm currently working my way through
>> the sunxi-codec driver which brings me to my next question. Can anybody
>> recommend a A20(or A31) tablet preferably 10" which I get hold of
>> quickly in Europe?, I need this so I can make sure these codec changes
>> aren't breaking things.
>>
>> Thanks in advance,
>> CK.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "linux-sunxi" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to linux-sunxi+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to linux-sunxi+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


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

2014-02-06 Thread Olliver Schinagl

On 05-02-14 08:21, Code Kipper wrote:

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
I'm not sure if this is a great idea as it makes backporting stuff from 
newer dumps much harder. I think your efforts are better used in 
possibly starting to clean it up in a seperate branch so that it can go 
upstream into mainline? Mind you, no DMA yet there.


Otherwise try to see if you can make the driver without #ifdefs so 
sunxi_soc works for sun4i, sun5i, sun7i without compile time differences.


Oliver

https://groups.google.com/forum/#!msg/linux-sunxi/u3OE9vO-MvM/WNDo3KjXT3gJ.
I took onboard the comments that were made and I've started to break the
patches down into smaller more easily manageable chunks.

These are my current plans:
1)Update the wiki with the register and bit details.
2)First patch set removes all the unnecessary headers.
3)Next patch set removes all the magic numbers that I'm finding.
4)Break down the tidy up patches that I first submitted, basically it
was formatting and removal of Chinese comments.
5)Remove headers which aren't shared across files.
6)Major refactoring in preparation for mainlining activities.

Does anybody have anything to add to this and is anybody else working on
the audio drivers at the moment?. I'm currently working my way through
the sunxi-codec driver which brings me to my next question. Can anybody
recommend a A20(or A31) tablet preferably 10" which I get hold of
quickly in Europe?, I need this so I can make sure these codec changes
aren't breaking things.

Thanks in advance,
CK.

--
You received this message because you are subscribed to the Google
Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[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 comments that were made and I've started to break the
patches down into smaller more easily manageable chunks.

These are my current plans:
1)Update the wiki with the register and bit details.
2)First patch set removes all the unnecessary headers.
3)Next patch set removes all the magic numbers that I'm finding.
4)Break down the tidy up patches that I first submitted, basically it was
formatting and removal of Chinese comments.
5)Remove headers which aren't shared across files.
6)Major refactoring in preparation for mainlining activities.

Does anybody have anything to add to this and is anybody else working on
the audio drivers at the moment?. I'm currently working my way through the
sunxi-codec driver which brings me to my next question. Can anybody
recommend a A20(or A31) tablet preferably 10" which I get hold of quickly
in Europe?, I need this so I can make sure these codec changes aren't
breaking things.

Thanks in advance,
CK.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.