Re: Nokia N900 sound driver and ECI GPIOs

2017-01-02 Thread joerg Reisenweber
On Mon 02 January 2017 21:01:01 Pali Rohár wrote: > On Monday 02 January 2017 19:49:45 Aaro Koskinen wrote: > > The schematic shows ECI(5:0), but only 3 are connected/used. There > > were 3 other GPIOs reserved but not used in the final product. > > Are you sure that this is truth (maybe you have

Re: Nokia N900 sound driver and ECI GPIOs

2017-01-02 Thread joerg Reisenweber
On Mon 02 January 2017 09:51:50 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

Re: Nokia N900 sound driver and ECI GPIOs

2017-01-02 Thread joerg Reisenweber
On Mon 02 January 2017 11:01:48 Jarkko Nikula wrote: > Hi > > On 01/02/2017 12:36 AM, Pavel Machek wrote: > >> Jarkko, you are listed as original author of that driver. Do you (or > >> anybody else) remember what that rx51_set_eci_switches() function is > >> doing? And what gpio 178 controls? I wa

Re: Nokia N900 sound driver and ECI GPIOs

2017-01-02 Thread joerg Reisenweber
On Mon 02 January 2017 16:36:38 Peter Ujfalusi wrote: > On 01/02/2017 02:58 PM, Pali Rohár wrote: > > 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,

Re: Nokia N900: musb is in wrong state after boot

2016-06-10 Thread joerg Reisenweber
On Fri 10 June 2016 12:04:43 Nishanth Menon wrote: > I think there was some unfortunately choice of words used in the > thread. It is TI intention to support community effort [...] > software, unfortunately these modes do not tend to be well tested and > the typical "official disclaimer" is "Not fo

Re: Nokia N900: musb is in wrong state after boot

2016-06-10 Thread joerg Reisenweber
On Fri 10 June 2016 10:59:40 Bin Liu wrote: > The musb ug says the testmde is not used in normal operation, so my > opinion is force_host should not be used for hacking n900 host mode if > this is for real product development or support. You're aware N900 OS aka maemo is a) FOSS, and b) EOL at lea

Re: Nokia N900: musb is in wrong state after boot

2016-06-10 Thread joerg Reisenweber
On Fri 10 June 2016 10:08:08 Bin Liu wrote: > Hi, > > On Thu, Jun 09, 2016 at 11:25:57PM +0200, joerg Reisenweber wrote: > > On Thu 09 June 2016 15:58:56 Bin Liu wrote: > > > But I am not sure how this will fix n900 host mode problem, since > > > testmod

Re: Nokia N900: musb is in wrong state after boot

2016-06-09 Thread joerg Reisenweber
On Thu 09 June 2016 15:58:56 Bin Liu wrote: > But I am not sure how this will fix n900 host mode problem, since > testmode is not used in normal operation. Please see http://talk.maemo.org/showthread.php?p=685367 and http://maemo.org/packages/view/hostmode-gui/ which indeed is _no_ normal hostmo

Re: Nokia N900: musb is in wrong state after boot

2016-06-08 Thread joerg Reisenweber
On Wed 08 June 2016 15:04:02 Sergei Shtylyov wrote: > On 6/8/2016 1:02 PM, Felipe Balbi wrote: > >> * Pali Rohár [160607 05:53]: > Tony, what do you think about that patch? > >>> > >>> Tony, PING > >> > >> Yeah I don't know, AFAIK we don't have a generic way to > >> force MUSB to change mod

Re: Nokia N900: musb is in wrong state after boot

2016-06-08 Thread joerg Reisenweber
On Wed 08 June 2016 13:02:00 Felipe Balbi wrote: > Hi, > > Tony Lindgren writes: > > Yeah I don't know, AFAIK we don't have a generic way to > > force MUSB to change mode without ID pin. If you have figured > #define MUSB_TEST_FORCE_HOST 0x80 > > Can someone confirm on MUSB's docs (and actual r

Re: Nokia N900: musb is in wrong state after boot

2016-01-21 Thread joerg Reisenweber
On Thu 21 January 2016 11:21:13 Tony Lindgren wrote: > Do you have some pointer > to the "certain resistor value on ID to GND" spec? Is it maybe part of > the carkit related parts of the USB spec? ""Three additional ID pin states are defined[4] at the nominal resistance values of 124 kΩ, 68 kΩ, a

Re: Nokia N900: musb is in wrong state after boot

2016-01-21 Thread joerg Reisenweber
On Thu 21 January 2016 09:41:46 Tony Lindgren wrote: > Then for supporting the USB host mode.. We should add regulator support > to the USB PHY driver so if the ID pin is grounded, the PHY driver enables > the VBUS regulator. That too seems to need some coordination between the > drivers/phy/phy-tw

Re: Nokia N900: musb is in wrong state after boot

2016-01-21 Thread joerg Reisenweber
On Thu 21 January 2016 09:40:07 Pali Rohár wrote: > On Tuesday 19 January 2016 12:33:15 Tony Lindgren wrote: > > Hi, > > > > * Pali Rohár [160109 07:16]: > > > Hello, > > > > > > when I boot 4.4.0-rc7+ kernel compiled with g_nokia into zImage on Nokia > > > N900 into userspace then usb gadget (g

Re: [PATCH v2] RX-51: Add missing max_current to rx51_lp5523_led_config

2013-09-23 Thread joerg Reisenweber
.chan_nr= 6, > .led_current= 50, > + .max_current= 100, > }, { > .name = "lp5523:kb5", > .chan_nr= 7, > .led_current= 50, > + .max_current = 1