From: "Eric Bénard" <eric@eukrea.com>
To: Stuart Longland <stuartl@vrt.com.au>
Cc: meta-freescale@yoctoproject.org
Subject: Re: mxs-auart and LED triggers
Date: Thu, 17 Jul 2014 10:04:39 +0200 [thread overview]
Message-ID: <20140717100439.56994409@e6520eb> (raw)
In-Reply-To: <53C76469.8000402@vrt.com.au>
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
prev parent reply other threads:[~2014-07-17 8:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-17 5:51 mxs-auart and LED triggers Stuart Longland
2014-07-17 8:04 ` Eric Bénard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140717100439.56994409@e6520eb \
--to=eric@eukrea.com \
--cc=meta-freescale@yoctoproject.org \
--cc=stuartl@vrt.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.