[Letux-kernel] Letux OS: Kernel 4.19-rc4

H. Nikolaus Schaller hns at goldelico.com
Sun Sep 23 09:25:53 CEST 2018


> Am 22.09.2018 um 19:12 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> On Sat, 22 Sep 2018 18:49:58 +0200
> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> 
>> Hi,
>> 
>>> Am 22.09.2018 um 18:44 schrieb Andreas Kemnade <andreas at kemnade.info>:
>>> 
>>> On Sat, 22 Sep 2018 13:30:08 +0200
>>> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
>>> 
>>>> Hi,
>>>> 
>>>>> Am 22.09.2018 um 12:28 schrieb Andreas Kemnade <andreas at kemnade.info>:
>>>>> 
>>>>> On Tue, 18 Sep 2018 08:30:58 +0200
>>>>> H. Nikolaus Schaller <hns at goldelico.com> wrote:
>>>>> 
>>>>>> Hi all,
>>>>>> I have finally updated our kernel trees to
>>>>>> 
>>>>>> 	letux-4.14.70
>>>>>> 	letux-4.18.8
>>>>>> 	letux-4.19-rc4
>>>>>> 
>>>>>> and as usual there are binaries and sources at the known locations.
>>>>>> 
>>>>>> Regarding 4.19-rc4 we have quite some construction sites, unfortunately
>>>>>> with some regressions.
>>>>>> 
>>>>>> Here is the list of (significantly) broken things that I am aware of:
>>>>>> 
>>>>>> Pyra:
>>>>>> * OMAP5 TILER is no longer scanning through the frame buffer and appears to fetch from a fixed address
>>>>>> * "reboot" hangs if timer8 is in use
>>>>>> * bq2429x charger driver is far from being perfect (sometimes does not detect USB unplug/replug and charging does not start)
>>>>>> * AESS does not load firmware and even without, audio is broken
>>>>>> * PVR/SGX integration is missing
>>>>>> * sd/eMMC switch driver is missing
>>>>>> 
>>>>>> GTA04:
>>>>>> * camera driver is still not stable and incomplete
>>>>>> * PVR/SGX integration is incomplete
>>>>> 
>>>>> [   63.866882] twl4030_voice_set_tristate codec=01a1e884 1
>>>>> [   63.874877] pps pps0: new PPS source pps.-1
>>>>> [   63.879333] pps pps0: Registered IRQ 166 as PPS source
>>>>> [   63.894653] TPS Voice IF is tristated
>>>>> [   63.910339] wwan_on_off_is_powered_on: USB phy event 0
>>>>> [   63.921508] omap-twl4030 sound: ASoC: failed to init TWL4030 HiFi: -22
>>>>> [   63.942443] wwan_on_off_is_powered_on: in-off invalid
>>>>> [   63.968627] omap-twl4030 sound: ASoC: failed to instantiate card -22
>>>>> [   64.004302] wwan_on_off_is_powered_on: return 'true'
>>>>> [   64.009735] wwan_on_off_rfkill_set_block: blocked: 0
>>>>> [   64.046234] asoc-simple-card sound_telephony: gtm601 <-> 49026000.mcbsp mapping ok
>>>>> [   64.059814] omap-twl4030 sound: devm_snd_soc_register_card() failed: -22
>>>>> [   64.078491] wwan_on_off_set_power:on = 1
>>>>> [   64.082611] wwan_on_off_is_powered_on: USB phy event 0
>>>>> [   64.094482] omap-twl4030: probe of sound failed with error -22
>>>>> 
>>>>> 
>>>>> root at gta04:~# arecord -l
>>>>> **** List of CAPTURE Hardware Devices ****
>>>>> card 0: voice [GTA04 voice], device 0: 49026000.mcbsp-gtm601 gtm601-0 []
>>>>> Subdevices: 1/1
>>>>> Subdevice #0: subdevice #0
>>>>> card 1: fmradio [GTA04 fm-radio], device 0: 48074000.mcbsp-Si47xx Si47xx-0 []
>>>>> Subdevices: 1/1
>>>>> Subdevice #0: subdevice #0
>>>>> root at gta04:~#
>>>>> 
>>>>> Well, that is rather incomplete.
>>>>> So the only thing I can to is to create a phone to radio adapter....
>>>> 
>>>> Well, may be another lost commit from applying DT rework.
>>>> 
>>> This helps:
>>> 
>>> diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/arm/boot/dts/omap3-gta04a5.dts
>>> index f9d30974d05e..cc9a2bca730b 100644
>>> --- a/arch/arm/boot/dts/omap3-gta04a5.dts
>>> +++ b/arch/arm/boot/dts/omap3-gta04a5.dts
>>> @@ -25,10 +25,6 @@
>>>               };
>>>       };
>>> 
>>> -       sound {
>>> -               ti,jack-det-gpio = <&twl_gpio 2 GPIO_ACTIVE_HIGH>;      /* GTA04A5 only */
>>> -       };
>>> -
>> 
>> interesting finding!
>> 
>> The question is: why?
>> 
>> AFAIR we did have it before. But maybe not 100% the same.
>> 
> git diff letux-4.18 letux-4.19-rc4 -- arch/arm/boot/dts/omap3-gta04a5.dts
> @ -26,11 +26,7 @@
>        };
> 
>        sound {
> -//             ti,jack-det-gpio = <&twl_gpio 2 GPIO_ACTIVE_HIGH>;    /* GTA04A5 only */
> -       };
> -
> -       modem_en: modem { /* control modem power through rfkill */
> -               on-indicator-gpio = <&twl_gpio 6 GPIO_ACTIVE_HIGH>;     /* GTA04A5 only: reset_out feedback from modem */
> +               ti,jack-det-gpio = <&twl_gpio 2 GPIO_ACTIVE_HIGH>;      /* GTA04A5 only */
>        };
> 
> It was commented out.

Ah, I see. It was commented out by the branch work/letux-base/dt-gta04a5
which is no longer merged. So it looks that our dt-upstream branch is incomplete
and missing some parts.

It will be easier to compare as soon as the 30 gta04 patches arrive upstream
and the dt-upstream is shortened and the branches it replaces have to be
rebased. Ideally they would become empty... Or they show some remaining diffs.

BR and thanks for finding!

I have added a patch that just comments out the jack-det-gpio. Maybe someone
we find someone who looks why it fails. At the moment it seems to be more
important to have any sound than (better) headset detection working.

Nikolaus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20180923/b0de9e97/attachment.asc>


More information about the Letux-kernel mailing list