Re: [Gta04-owner] Upstream status Was: New LetuxOS kernels

2019-01-07 Thread Denis 'GNUtoo' Carikli
On Thu, 3 Jan 2019 21:07:43 +0100
Andreas Kemnade  wrote:

> I have created a new page because the older was more like status
> of an ancient letux kernel following mainline (at that time we had
> the 2.6.32 hw validation kernel following a beagle hw validation
> kernel and a newer kernel nearer to mainline).
> 
> I hope I have listed most things I know about.
> 
> https://projects.goldelico.com/p/gta04-kernel/page/UpstreamStatus/
Thanks a lot.

Denis.


pgpacqFevwpW5.pgp
Description: OpenPGP digital signature
___
Gta04-owner mailing list
Gta04-owner@goldelico.com
http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner


Re: [Gta04-owner] Upstream status Was: New LetuxOS kernels

2019-01-03 Thread Andreas Kemnade
On Thu, 3 Jan 2019 21:07:43 +0100
Andreas Kemnade  wrote:

> On Sat, 22 Dec 2018 14:52:04 +0100
> Denis 'GNUtoo' Carikli  wrote:
> 
> > On Fri, 21 Dec 2018 18:37:30 +0100
> > "H. Nikolaus Schaller"  wrote:
> >   
> > > Hi Denis,
> > Hi,
> >   
> > > Well, there are some things missing:
> > > * GPS
> > 
> > Upstream has that in omap4-gta04.dtsi:  
> > > antenna-detect {
> > >   compatible = "gpio-keys";
> > >
> > >   gps_antenna_button: gps-antenna-button {
> > >   label = "GPS_EXT_ANT";
> > >   linux,input-type = ;
> > >   linux,code = ;
> > >   gpios = < 16 GPIO_ACTIVE_HIGH>; /* GPIO144 */
> > >   interrupt-parent = <>;
> > >   interrupts = <16 IRQ_TYPE_EDGE_BOTH>;
> > >   debounce-interval = <10>;
> > >   wakeup-source;
> > >   };
> > > };
> > Does that mean that the GPS is finally upstream?
> >   
> > > * Modem power enable through rfkill unblock wwan
> > That seem to be completely missing indeed.
> >   
> > > * more audio functions like codecs and hardware voice routing
> > Upstream has that:  
> > > sound_telephony {
> > >   compatible = "simple-audio-card";
> > >   simple-audio-card,name = "GTA04 voice";
> > >   simple-audio-card,bitclock-master = <_link_master>;
> > >   simple-audio-card,frame-master = <_link_master>;
> > >   simple-audio-card,format = "i2s";
> > >   simple-audio-card,bitclock-inversion;
> > >   simple-audio-card,frame-inversion;
> > >   simple-audio-card,cpu {
> > >   sound-dai = <>;
> > >   };
> > >
> > >   telephony_link_master: simple-audio-card,codec {
> > >   sound-dai = <_codec>;
> > >   };
> > > };
> > >
> > > gtm601_codec: gsm_codec {
> > >   compatible = "option,gtm601";
> > >   #sound-dai-cells = <0>;
> > > };
> > So this means that we have the modem CODEC supported but as I
> > understand there is no hardware voice routing (I didn't do extensive
> > checks on that though).
> >   
> > > And some other not so big things, like the iio-input-bridge (map
> > > iio-accelerometer to /dev/input/event). Some topics are known to be
> > > inacceptable (touch screen pre-calibration from device-tree).
> >   
> > > If you need write access to update that page, please let me know.
> > That would be a good idea. I'll try to find the time to update the
> > status.
> > 
> > Thanks a lot for the information.
> >  
> I have created a new page because the older was more like status
> of an ancient letux kernel following mainline (at that time we had
> the 2.6.32 hw validation kernel following a beagle hw validation kernel
> and a newer kernel nearer to mainline).
> 
> I hope I have listed most things I know about.
> 
> https://projects.goldelico.com/p/gta04-kernel/page/UpstreamStatus/
> 
Oh, there is also a lot of out-of-date information here:

https://projects.goldelico.com/p/gta04-kernel/page/Platforms/

Regards,
Andreas


pgpbHQ_9Oz38S.pgp
Description: OpenPGP digital signature
___
Gta04-owner mailing list
Gta04-owner@goldelico.com
http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner


Re: [Gta04-owner] Upstream status Was: New LetuxOS kernels

2019-01-03 Thread Andreas Kemnade
On Sat, 22 Dec 2018 14:52:04 +0100
Denis 'GNUtoo' Carikli  wrote:

> On Fri, 21 Dec 2018 18:37:30 +0100
> "H. Nikolaus Schaller"  wrote:
> 
> > Hi Denis,  
> Hi,
> 
> > Well, there are some things missing:
> > * GPS  
> 
> Upstream has that in omap4-gta04.dtsi:
> > antenna-detect {
> > compatible = "gpio-keys";
> >
> > gps_antenna_button: gps-antenna-button {
> > label = "GPS_EXT_ANT";
> > linux,input-type = ;
> > linux,code = ;
> > gpios = < 16 GPIO_ACTIVE_HIGH>; /* GPIO144 */
> > interrupt-parent = <>;
> > interrupts = <16 IRQ_TYPE_EDGE_BOTH>;
> > debounce-interval = <10>;
> > wakeup-source;
> > };
> > };  
> Does that mean that the GPS is finally upstream?
> 
> > * Modem power enable through rfkill unblock wwan  
> That seem to be completely missing indeed.
> 
> > * more audio functions like codecs and hardware voice routing  
> Upstream has that:
> > sound_telephony {
> > compatible = "simple-audio-card";
> > simple-audio-card,name = "GTA04 voice";
> > simple-audio-card,bitclock-master = <_link_master>;
> > simple-audio-card,frame-master = <_link_master>;
> > simple-audio-card,format = "i2s";
> > simple-audio-card,bitclock-inversion;
> > simple-audio-card,frame-inversion;
> > simple-audio-card,cpu {
> > sound-dai = <>;
> > };
> >
> > telephony_link_master: simple-audio-card,codec {
> > sound-dai = <_codec>;
> > };
> > };
> >
> > gtm601_codec: gsm_codec {
> > compatible = "option,gtm601";
> > #sound-dai-cells = <0>;
> > };  
> So this means that we have the modem CODEC supported but as I
> understand there is no hardware voice routing (I didn't do extensive
> checks on that though).
> 
> > And some other not so big things, like the iio-input-bridge (map
> > iio-accelerometer to /dev/input/event). Some topics are known to be
> > inacceptable (touch screen pre-calibration from device-tree).  
> 
> > If you need write access to update that page, please let me know.  
> That would be a good idea. I'll try to find the time to update the
> status.
> 
> Thanks a lot for the information.
>
I have created a new page because the older was more like status
of an ancient letux kernel following mainline (at that time we had
the 2.6.32 hw validation kernel following a beagle hw validation kernel
and a newer kernel nearer to mainline).

I hope I have listed most things I know about.

https://projects.goldelico.com/p/gta04-kernel/page/UpstreamStatus/

Regards,
Andreas


pgpU__Kvg09SO.pgp
Description: OpenPGP digital signature
___
Gta04-owner mailing list
Gta04-owner@goldelico.com
http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner


Re: [Gta04-owner] Upstream status Was: New LetuxOS kernels

2018-12-29 Thread Andreas Kemnade
Hi,

On Sat, 22 Dec 2018 14:52:04 +0100
Denis 'GNUtoo' Carikli  wrote:

> On Fri, 21 Dec 2018 18:37:30 +0100
> "H. Nikolaus Schaller"  wrote:
> 
> > Hi Denis,  
> Hi,
> 
> > Well, there are some things missing:
> > * GPS  
> 
> Upstream has that in omap4-gta04.dtsi:
> > antenna-detect {
> > compatible = "gpio-keys";
> >
> > gps_antenna_button: gps-antenna-button {
> > label = "GPS_EXT_ANT";
> > linux,input-type = ;
> > linux,code = ;
> > gpios = < 16 GPIO_ACTIVE_HIGH>; /* GPIO144 */
> > interrupt-parent = <>;
> > interrupts = <16 IRQ_TYPE_EDGE_BOTH>;
> > debounce-interval = <10>;
> > wakeup-source;
> > };
> > };  
> Does that mean that the GPS is finally upstream?
> 
I have a v2 of my patchset waiting for review. Probably just needs some
polishing. I do not expect more than a v3. No principial objections
anymore.

Regards,
Andreas


pgpgONgbMEcc9.pgp
Description: OpenPGP digital signature
___
Gta04-owner mailing list
Gta04-owner@goldelico.com
http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner


Re: [Gta04-owner] Upstream status Was: New LetuxOS kernels

2018-12-22 Thread H. Nikolaus Schaller
Hi Dneis,

> Am 22.12.2018 um 14:52 schrieb Denis 'GNUtoo' Carikli :
> 
> On Fri, 21 Dec 2018 18:37:30 +0100
> "H. Nikolaus Schaller"  wrote:
> 
>> Hi Denis,
> Hi,
> 
>> Well, there are some things missing:
>> * GPS
> 
> Upstream has that in omap4-gta04.dtsi:
>> antenna-detect {
>>  compatible = "gpio-keys";
>> 
>>  gps_antenna_button: gps-antenna-button {
>>  label = "GPS_EXT_ANT";
>>  linux,input-type = ;
>>  linux,code = ;
>>  gpios = < 16 GPIO_ACTIVE_HIGH>; /* GPIO144 */
>>  interrupt-parent = <>;
>>  interrupts = <16 IRQ_TYPE_EDGE_BOTH>;
>>  debounce-interval = <10>;
>>  wakeup-source;
>>  };
>> };
> Does that mean that the GPS is finally upstream?

No, that is just the detection of an external antenna (antenna-button). Not the 
GPS receiver hook up.

> 
>> * Modem power enable through rfkill unblock wwan
> That seem to be completely missing indeed.
> 
>> * more audio functions like codecs and hardware voice routing
> Upstream has that:
>> sound_telephony {
>>  compatible = "simple-audio-card";
>>  simple-audio-card,name = "GTA04 voice";
>>  simple-audio-card,bitclock-master = <_link_master>;
>>  simple-audio-card,frame-master = <_link_master>;
>>  simple-audio-card,format = "i2s";
>>  simple-audio-card,bitclock-inversion;
>>  simple-audio-card,frame-inversion;
>>  simple-audio-card,cpu {
>>  sound-dai = <>;
>>  };
>> 
>>  telephony_link_master: simple-audio-card,codec {
>>  sound-dai = <_codec>;
>>  };
>> };
>> 
>> gtm601_codec: gsm_codec {
>>  compatible = "option,gtm601";
>>  #sound-dai-cells = <0>;
>> };
> So this means that we have the modem CODEC supported but as I
> understand there is no hardware voice routing (I didn't do extensive
> checks on that though).

Yes. This needs tristate and some other magic.

> 
>> And some other not so big things, like the iio-input-bridge (map
>> iio-accelerometer to /dev/input/event). Some topics are known to be
>> inacceptable (touch screen pre-calibration from device-tree).
> 
>> If you need write access to update that page, please let me know.
> That would be a good idea. I'll try to find the time to update the
> status.

Are you already registered as a user? Then PM me your user name.

BR and thanks,
Nikolaus

___
Gta04-owner mailing list
Gta04-owner@goldelico.com
http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner


Re: [Gta04-owner] Upstream status Was: New LetuxOS kernels

2018-12-21 Thread H. Nikolaus Schaller
Hi Denis,

> Am 21.12.2018 um 18:25 schrieb Denis 'GNUtoo' Carikli :
> 
> On Sat, 17 Nov 2018 19:18:49 +0100
> "H. Nikolaus Schaller"  wrote:
> 
>> Hi,
> Hi,
> 
>> I have (so far silently) updated the kernels to
>> 
>>  letux-4.18.19
>>  letux-4.19.2
>>  letux-4.20-rc2
>> 
>> All kernels have got quite some significant improvements
>> during the last releases.
> [...]
>> More information and change log can be found here:
>> 
>>  http://projects.goldelico.com/p/gta04-kernel/
>>  http://download.goldelico.com/letux-kernel/letux-4.20-rc2/src/CHANGES
> 
> Does someone knows what is still missing upstream?
> 
> I looked at the device tree[1][2][3][4], and I didn't spot anything
> missing.

Well, there are some things missing:
* GPS
* Modem power enable through rfkill unblock wwan
* more audio functions like codecs and hardware voice routing

And some other not so big things, like the iio-input-bridge (map 
iio-accelerometer to /dev/input/event).
Some topics are known to be inacceptable (touch screen pre-calibration from 
device-tree).

> 
> I also looked at the status[5] but it seems outdated, which is good
> news given that a lot of things are now upstream.

If you need write access to update that page, please let me know.

> I also tried getting that from the git history but there is a huge
> number of commits between letux-4.20-rc7 and v4.20-rc7 (last upstream
> tag in that branch).

Yes, it is the result of a big merge of all feature branches (also for other 
supported platforms) done by this script and mergefile:

http://git.goldelico.com/?p=letux-kernel.git;a=blob;f=Letux/scripts/merge;h=bccb7288eed521f716aaf5784af1282ac80cc6ab;hb=refs/heads/letux-4.20-rc7
http://git.goldelico.com/?p=letux-kernel.git;a=blob;f=Letux/scripts/mergefile;h=764a8d96ad481b9f8bd68aa4e79c4e9932da44c8;hb=refs/heads/letux-4.20-rc7

Basically we have a series like linux-next, i.e. linus/v4.20-rc* plus merge of 
all feature branches.

The GTA04-DT things mainly come from:

http://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/letux/dt-gta04-v4

BR,
Nikolaus


> 
> References:
> ---
> [1]https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/omap3-gta04.dtsi?h=v4.20-rc7
> [2]https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/omap3-gta04a5.dts?h=v4.20-rc7
> [3]https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/omap3-gta04a4.dts?h=v4.20-rc7
> [4]https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/omap3-gta04a3.dts?h=v4.20-rc7
> [5]https://projects.goldelico.com/p/gta04-kernel/page/Platforms/
> 
> Denis.

___
Gta04-owner mailing list
Gta04-owner@goldelico.com
http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner