From: Heiner Kallweit <hkallweit1@gmail.com>
To: linux-media@vger.kernel.org
Subject: Can't access CIR wakeup registers of Nuvoton 6779D
Date: Fri, 27 Nov 2015 23:15:29 +0100 [thread overview]
Message-ID: <5658D601.2000907@gmail.com> (raw)
I have a Zotac CI321 mini-PC which uses a Nuvoton 6779D (or compatible) Super-IO
for infrared remote control. The normal CIR part works flawlessly however I can't
access the wakeup registers.
Resource allocation works normal, /proc/ioports reports:
0220-022e : nuvoton-cir-wake
02e0-02ee : nuvoton-cir
Also configuring the logical device works normal as can be seen in the debug output.
However all reads to this ioport region fail.
I tried manually changing the ioport region but this didn't help either.
Meanwhile I'm wondering whether there might be stripped down versions of this chip
w/o the wake functionality as I'm running out of other ideas.
Appreciate any hint.
[ 7608.622878] nuvoton_cir: nuvoton-cir: Dump CIR logical device registers:
[ 7608.622949] nuvoton_cir: * CR CIR ACTIVE : 0x1
[ 7608.623005] nuvoton_cir: * CR CIR BASE ADDR: 0x2e0
[ 7608.623059] nuvoton_cir: * CR CIR IRQ NUM: 0x3
[ 7608.623109] nuvoton_cir: nuvoton-cir: Dump CIR registers:
[ 7608.623166] nuvoton_cir: * IRCON: 0x36
[ 7608.623210] nuvoton_cir: * IRSTS: 0x0
[ 7608.623255] nuvoton_cir: * IREN: 0x60
[ 7608.623299] nuvoton_cir: * RXFCONT: 0x0
[ 7608.623344] nuvoton_cir: * CP: 0x0
[ 7608.623388] nuvoton_cir: * CC: 0x0
[ 7608.623432] nuvoton_cir: * SLCH: 0x7
[ 7608.623478] nuvoton_cir: * SLCL: 0xd0
[ 7608.623524] nuvoton_cir: * FIFOCON: 0x23
[ 7608.623569] nuvoton_cir: * IRFIFOSTS: 0x96
[ 7608.623614] nuvoton_cir: * SRXFIFO: 0x84
[ 7608.623659] nuvoton_cir: * TXFCONT: 0x0
[ 7608.623706] nuvoton_cir: * STXFIFO: 0x0
[ 7608.623762] nuvoton_cir: * FCCH: 0x0
[ 7608.623808] nuvoton_cir: * FCCL: 0x0
[ 7608.623853] nuvoton_cir: * IRFSM: 0x14
[ 7608.623904] nuvoton_cir: nuvoton-cir: Dump CIR WAKE logical device registers:
[ 7608.623979] nuvoton_cir: * CR CIR WAKE ACTIVE : 0x1
[ 7608.624039] nuvoton_cir: * CR CIR WAKE BASE ADDR: 0x220
[ 7608.624097] nuvoton_cir: * CR CIR WAKE IRQ NUM: 0x3
[ 7608.624151] nuvoton_cir: nuvoton-cir: Dump CIR WAKE registers
[ 7608.624210] nuvoton_cir: * IRCON: 0xff
[ 7608.624258] nuvoton_cir: * IRSTS: 0xff
[ 7608.624308] nuvoton_cir: * IREN: 0xff
[ 7608.624356] nuvoton_cir: * FIFO CMP DEEP: 0xff
[ 7608.624404] nuvoton_cir: * FIFO CMP TOL: 0xff
[ 7608.624453] nuvoton_cir: * FIFO COUNT: 0xff
[ 7608.624502] nuvoton_cir: * SLCH: 0xff
[ 7608.624550] nuvoton_cir: * SLCL: 0xff
[ 7608.625897] nuvoton_cir: * FIFOCON: 0xff
[ 7608.627204] nuvoton_cir: * SRXFSTS: 0xff
[ 7608.628481] nuvoton_cir: * SAMPLE RX FIFO: 0xff
[ 7608.629393] nuvoton_cir: * WR FIFO DATA: 0xff
[ 7608.630157] nuvoton_cir: * RD FIFO ONLY: 0xff
[ 7608.630906] nuvoton_cir: * RD FIFO ONLY IDX: 0xff
[ 7608.631648] nuvoton_cir: * FIFO IGNORE: 0xff
[ 7608.632380] nuvoton_cir: * IRFSM: 0xff
[ 7608.633085] nuvoton_cir: nuvoton-cir: Dump CIR WAKE FIFO (len 255)
reply other threads:[~2015-11-27 22:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5658D601.2000907@gmail.com \
--to=hkallweit1@gmail.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox