All of lore.kernel.org
 help / color / mirror / Atom feed
* ITE8708 on ASUS PN50 uses a 16 byte io region
@ 2020-09-26  8:22 Michael Zimmermann
  2020-09-26 11:30 ` Sean Young
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Zimmermann @ 2020-09-26  8:22 UTC (permalink / raw)
  To: Sean Young; +Cc: linux-media

Hi,

here's the resource descriptor from my DSDT:
Name (BUF0, ResourceTemplate ()
{
    IO (Decode16,
        0x0000,             // Range Minimum
        0x0000,             // Range Maximum
        0x01,               // Alignment
        0x10,               // Length
        _Y1A)
    IRQNoFlags (_Y1B)
        {}
    DMA (Compatibility, NotBusMaster, Transfer8, )
        {}
})

As you can see it uses 16 bytes for the IO region while the driver
drivers/media/rc/ite-cir.c expects 8.
I don't see any obvious reason why they do that since they only seem
to write two words in there, and if I edit the DSDT to change the
length from 0x10 to 0x8 the linux driver detects the device properly
it works just fine.

So is this a bug on ASUS' side or should we just accept longer regions
for the same device type?

Thanks
Michael

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-11-18 12:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-26  8:22 ITE8708 on ASUS PN50 uses a 16 byte io region Michael Zimmermann
2020-09-26 11:30 ` Sean Young
2020-09-26 12:32   ` Michael Zimmermann
2020-09-26 13:33     ` Sean Young
2020-09-26 14:18       ` Michael Zimmermann
2020-09-26 22:03         ` Sean Young
2020-11-17 21:47           ` Michael Zimmermann
2020-11-18 12:15             ` Sean Young

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.