Re: Nokia N900 sound driver and ECI GPIOs
From: Pali RohÃr
Date: Mon Jan 02 2017 - 07:58:47 EST
On Monday 02 January 2017 14:53:44 Peter Ujfalusi wrote:
> On 01/02/2017 10:51 AM, Pali RohÃr wrote:
> > On Monday 02 January 2017 10:34:34 Peter Ujfalusi wrote:
> >> On 01/02/2017 12:36 AM, Pavel Machek wrote:
> >>> Are there multi-button headsets compatible with N900?
> >>
> >> Not sure if n900 is capable of handling ECI communication, n9 was. In n9
> >> the PMIC/Audio chip had an ECI core integrated afaik
> >
> > In N9 it is handled by twl5030 chip? Is there documentation for that
> > ECI/ACI part? N900 has twl4030 so we need some chip documentation for
> > adding support for N900...
>
> n9 has twl5031 and the documentation is not public. But the kernel
> source from Nokia have the driver under drivers/mfd/twl5031-aci.c It is
> using the ECI stack to report the changes.
> twl4030 and twl5030 does not have support for ECI, only twl5031.
Ok, so Nokia N900's audio chip (twl4030) does not have support for ECI.
But still as Jarkko wrote there could be an option to supports ECI via
GPIO and ADC.
And there is still mysterious gpio 178 (RX51_ECI_SWITCH_1_GPIO) which
could help us?
--
Pali RohÃr
pali.rohar@xxxxxxxxx