From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: Unhandled LM90 irq 308 on Dalmore? Date: Fri, 20 Dec 2013 09:26:58 -0700 Message-ID: <52B46FD2.1030409@wwwdotorg.org> References: <52B2C5AD.5080405@nvidia.com> <20131219114500.1b1ea0b7@endymion.delvare> <52B3B679.20206@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52B3B679.20206-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Wei Ni , Paul Walmsley , Jean Delvare Cc: "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Guenter Roeck , LM Sensors List-Id: linux-tegra@vger.kernel.org On 12/19/2013 08:16 PM, Wei Ni wrote: > On 12/20/2013 06:36 AM, Paul Walmsley wrote: >> Hi Jean, >> >> On Thu, 19 Dec 2013, Jean Delvare wrote: >> >>> Adding Wei who added interrupt support to the lm90 driver, and moving >>> to the appropriate list. >> >> Thanks for the speedy response and list correction. >> >>> On Thu, 19 Dec 2013 02:08:45 -0800, Paul Walmsley wrote: >>>> Just FYI, the Tegra114 Dalmore board here reports an unhandled IRQ about >>>> two minutes after boot: >>>> >>>> [ 120.950839] irq 308: nobody cared (try booting with the "irqpoll" option) >> >> ... >> >>>> [ 121.019825] handlers: >>>> [ 121.022117] [] irq_default_primary_handler threaded >>>> [] lm90_irq_thread >>>> [ 121.030418] Disabling IRQ #308 >>>> >>>> This is on next-20131218. >>> >>> Which temperature chip is the Tegra114 Dalmore board using? >> >> It's an NCT72. >> >>> Is the interrupt shared with something else? >> >> Doesn't look like it. From /proc/interrupts: >> >> 308: 74181 0 0 0 GPIO 116 lm90 > > Hi, Paul > When I developed it, my Dalmore board used GPIO 116 (GPIO_PO4) as > interrupt line, but according to our downsttream kernel, there also have > other Dalmore board used GPIO 190 (GPIO_PX6). So I think your > problems was caused by it. Please try to change the interrupt line in > dts file. Paul, which board revision of Dalmore do you have? According to the schematics, Dalmore A02 and A03 had TEMP_ALERT routed to GPIO PX6, and that was the only option. Dalmore A04 and A05 can route TEMP_ALERT to either GPIO PO4, or GPIO PX6 using 0-Ohm resistors, with GPIO PO4 being the default stuffing option. Note that upstream Linux *only* supports Dalmore A04, and no other version. If you have a different board revision, it's not expected to work with upstream. IIRC, Eric Brower volunteered to track down the correct board revision for people working on upstream.