[yocto] Power off IC over Yocto

Christian Ege k4230r6 at gmail.com
Tue Dec 15 10:46:59 PST 2015


Am 15.12.2015 7:45 nachm. schrieb "Christian Ege" <k4230r6 at gmail.com>:
>
> Hi,
>
> Am 15.12.2015 6:45 nachm. schrieb "simo" <sazzalin at settopsurvey.com>:
> >
> > I am using a Gumtix Overo board and we create and expansion board that
> > power Overo and other devices by external power supply IC.
> >
> > Our expansion board with power supply are connected by I2C bus 2 in
> > overo (not the same i2C that TW4030 or tps6595 is connected).
> >
> > Using the Linux  command shutdown we would like to power off the hole
> > system.
> > We would like to close the linux and last thing send a command over I2C
> > to our power supply IC in order it disconnect the physical power.
> >
> > Our question is:
> >
> > Where we have to implement that function?
> > Is there any example of it?
> I guess you can use
> http://lxr.free-electrons.com/source/kernel/reboot.c
>
register_reboot_notifier is your friend
> You have to create some kernel module doing this or write a kernel patch.
>
> Regards,
> Christian
>
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151215/93481308/attachment.html>


More information about the yocto mailing list