From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 100A7E00777; Thu, 17 Jul 2014 01:04:50 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [212.27.42.5 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5F115E006B5 for ; Thu, 17 Jul 2014 01:04:44 -0700 (PDT) Received: from e6520eb (unknown [88.170.243.169]) (Authenticated sender: eukrea) by smtp5-g21.free.fr (Postfix) with ESMTPSA id C76CDD4803C; Thu, 17 Jul 2014 10:04:39 +0200 (CEST) Date: Thu, 17 Jul 2014 10:04:39 +0200 From: Eric =?ISO-8859-1?B?QuluYXJk?= To: Stuart Longland Message-ID: <20140717100439.56994409@e6520eb> In-Reply-To: <53C76469.8000402@vrt.com.au> References: <53C76469.8000402@vrt.com.au> Organization: =?ISO-8859-1?B?RXVrculh?= Electromatique X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Cc: meta-freescale@yoctoproject.org Subject: Re: mxs-auart and LED triggers X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 08:04:50 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Stuart, Le Thu, 17 Jul 2014 15:51:37 +1000, Stuart Longland a =E9crit : > 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. >=20 > 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. >=20 > Presently, I use it to indicate mmc0 activity. I'm not sure if there's > an equivalent for serial ports. >=20 > I did a bit of searching, both for general purpose serial triggers > through to auart-related triggers, nothing seemed to show up. >=20 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? >=20 you need to add the right hooks in the serial driver similar to what is done in the CAN driver. Best regards, Eric