Re: Unhandled LM90 irq 308 on Dalmore?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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] [<c0064408>] irq_default_primary_handler threaded
>>>> [<c0384764>] 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.

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux