* shutdown callback needed in serio?
@ 2011-09-19 19:18 Joey Oravec
0 siblings, 0 replies; only message in thread
From: Joey Oravec @ 2011-09-19 19:18 UTC (permalink / raw)
To: linux-input; +Cc: Dmitry Torokhov
Howdy,
I'm writing a serio-based kernel driver for a uart-based chip that my
company makes. This chip is used on embedded systems and implements
several features: gpio, rtc, interrupt controller, etc.
One of the features is a power/reset controller. We support one family
of ARM chips that cannot even reboot themselves. This family has a
single reset request line that gets asserted for several reasons:
writing to the shutdown register, low-power suspend, hardware watchdog,
etc. For normal cases the host should send a serial message to setup the
desired action (reboot, powerdown) then write to the shutdown register.
Normally shutdown or suspend callbacks are available, but serio does not
expose these. Should I try to register a child platform_device with
these callbacks? How is this going to work during reboot and shutdown
since inputattach must be running in userspace to keep the line
discipline alive? Will serio disconnect before any the kernel sends
shutdown notifications?
-joey
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-19 19:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-19 19:18 shutdown callback needed in serio? Joey Oravec
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.