Re: Cherryview wake up events
From: Andy Shevchenko
Date: Mon Jan 30 2017 - 17:07:38 EST
On Mon, Jan 30, 2017 at 10:57 PM, Johannes Stezenbach <js@xxxxxxxxx> wrote:
> On Fri, Jan 27, 2017 at 02:30:58PM +0100, Johannes Stezenbach wrote:
>> On Fri, Jan 27, 2017 at 03:21:22PM +0200, Andy Shevchenko wrote:
>> > On Fri, Jan 27, 2017 at 1:38 PM, Johannes Stezenbach <js@xxxxxxxxx> wrote:
>> > > On Fri, Jan 27, 2017 at 12:56:53AM +0200, Andy Shevchenko wrote:
>> > >> Had you tried to add ID to axp20x-i2c.c ?
>> > >
>> > > Nope, since I have no idea if the axp and TI hardware is similar.
>> > I think you would give a try.
>> I'll check it.
> I checked the reference source code, my impression is the
> TI Dollar Cove and and AXP288 are completely different hardware.
Thanks for checking.
Yes, due to not obvious communication to PMIC. I suppose that the IP
core is quite similar in all of them, the difference is just how OS
and other MCUs in SoC communicate with it.
So, basically what it means that I2C direct communication is prohibited here.
>> > > [ 5.331709] i2c_designware 808622C1:06: controller timed out
>> > >
>> > This is known: http://www.spinics.net/lists/intel-gfx/msg117738.html
> Interestingly via this link I found Intel also published
> the TI DCove source in a patch series against an unspecified kernel:
> and some more (the series is quite messy).
> For the Asus E200HA I'm not sure if the charger and coulomb
> counter drivers are needed since charging just works and
> the battery status is reported via ACPI. It seems these
> drivers are only for tablets without ACPI support, right?
Have no idea.
What that code reminds me is MID family of devices. So, power button
is (reasonable) easy to get support of in that case.
Look into drivers/platform/x86/intel_mid_powerbtn.c. I recently
updated it to support Basin Cove on Intel Edison.
With Best Regards,