From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 6/6] tty: serial: Add 8250-core based omap driver Date: Wed, 16 Jul 2014 05:32:09 -0700 Message-ID: <20140716123208.GA18374@atomide.com> References: <1404928177-26554-1-git-send-email-bigeasy@linutronix.de> <1404928177-26554-7-git-send-email-bigeasy@linutronix.de> <20140710070948.GH28884@atomide.com> <53BEB5AF.7010604@linutronix.de> <20140711064151.GJ28884@atomide.com> <53C66C0D.5060501@linutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:20670 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751409AbaGPMdf (ORCPT ); Wed, 16 Jul 2014 08:33:35 -0400 Content-Disposition: inline In-Reply-To: <53C66C0D.5060501@linutronix.de> Sender: linux-serial-owner@vger.kernel.org List-Id: linux-serial@vger.kernel.org To: Sebastian Andrzej Siewior Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Felipe Balbi , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org * Sebastian Andrzej Siewior [140716 05:14]: > On 07/11/2014 08:41 AM, Tony Lindgren wrote: > > > > If the RX pin does not wake it up, you need to configure the > > pinctrl-single entry for it, and configure that pin as a wake-up > > interrupt. See the interrupts-extended entry in omap3-beagle-xm.dts. > > This does not help. Checking the manual, there is not something like > PIN_OFF_WAKEUPENABLE for am33xx. There is just INPUT/OUTPUT, pull > up/down + enabled/disabled and the mux_mode. For the interrupt, the HW > referenced as omap3_pmx_core touches some bits in the pinmux register > which do not exists on am33xx. Right, on am33xx there's no IO chain wake-up path. AFAIK the only way to provide wake events on am33xx would be to mux the RX pin temporarily to a GPIO input. And sounds like that may work only if the GPIO is in the first GPIO bank that's always on. I don't know if the other GPIO banks on am33xx can provide wake up events. > So I have nothing on HW around that could test wakeup scenario. Bummer :( I'll give it a try again for the next revision. Regards, Tony