All of lore.kernel.org
 help / color / mirror / Atom feed
* mxs-auart and LED triggers
@ 2014-07-17  5:51 Stuart Longland
  2014-07-17  8:04 ` Eric Bénard
  0 siblings, 1 reply; 2+ messages in thread
From: Stuart Longland @ 2014-07-17  5:51 UTC (permalink / raw)
  To: meta-freescale

Hi all,

Not sure if this is the place to ask or not, I'm currently in search for
the upstream project that looks after the i.MX port of the mainline
Linux kernel.

We're busy building a device for polling energy meters over RS-485, and
one of my colleagues asked if it were possible to use the activity LED
on the unit to indicate RS-485 activity.

Presently, I use it to indicate mmc0 activity.  I'm not sure if there's
an equivalent for serial ports.

I did a bit of searching, both for general purpose serial triggers
through to auart-related triggers, nothing seemed to show up.

On a related note, the FlexCAN driver supports turning on/off regulators
when someone brings up or down a CAN interface.  Is there an equivalent
facility on mxs-auart that would turn on a regulator when someone opens
a serial port?

Regards,
-- 
Stuart Longland
Systems Engineer
     _ ___
\  /|_) |                           T: +61 7 3535 9619
 \/ | \ |     38b Douglas Street    F: +61 7 3535 9699
   SYSTEMS    Milton QLD 4064       http://www.vrt.com.au


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mxs-auart and LED triggers
  2014-07-17  5:51 mxs-auart and LED triggers Stuart Longland
@ 2014-07-17  8:04 ` Eric Bénard
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Bénard @ 2014-07-17  8:04 UTC (permalink / raw)
  To: Stuart Longland; +Cc: meta-freescale

Hi Stuart,

Le Thu, 17 Jul 2014 15:51:37 +1000,
Stuart Longland <stuartl@vrt.com.au> a écrit :
> Not sure if this is the place to ask or not, I'm currently in search for
> the upstream project that looks after the i.MX port of the mainline
> Linux kernel.
> 
> We're busy building a device for polling energy meters over RS-485, and
> one of my colleagues asked if it were possible to use the activity LED
> on the unit to indicate RS-485 activity.
> 
> Presently, I use it to indicate mmc0 activity.  I'm not sure if there's
> an equivalent for serial ports.
> 
> I did a bit of searching, both for general purpose serial triggers
> through to auart-related triggers, nothing seemed to show up.
> 
you're right and you will need to add a serial leg trigger and the
right hooks in the driver or the serial core depending the information you want to show on the leds.

> On a related note, the FlexCAN driver supports turning on/off regulators
> when someone brings up or down a CAN interface.  Is there an equivalent
> facility on mxs-auart that would turn on a regulator when someone opens
> a serial port?
> 
you need to add the right hooks in the serial driver similar to what is
done in the CAN driver.

Best regards,
Eric


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-17  8:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-17  5:51 mxs-auart and LED triggers Stuart Longland
2014-07-17  8:04 ` Eric Bénard

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.