From: Nico Becker <nico.becker@gmx.de>
To: linux-serial@vger.kernel.org
Subject: MAX3107 driver faulty
Date: Fri, 18 Feb 2011 14:31:51 +0100 [thread overview]
Message-ID: <4D5E74C7.3040700@gmx.de> (raw)
Hello,
i want to use the MAX3107 driver,
thats included in the kernel 2.6.37.
I think the driver is faulty.
I have done several changes,
before the driver works rudimentary.
I have check the datasheet and found
inconsistence between chip and driver.
In AutoCTS AutoRTS Mode the Register
txdisable and rxdisable should be set.
But txdisable isnt set, so the max3107 sends
data even the cts signal is high.
The IntOscen Flag (enable internal Oscilator) is never set.
Different register write operations are done in one stream.
Example: http://lxr.free-electrons.com/ident?a=arm;i=max3107_register_init
But in the datasheet it is explained:
"If the SPI burst address is different to 0x00, the MAX3107
automatically increments the register address after each SPI data
byte."
So it is impossible to write in the register 0x1D, 0x1C, 0x1B
in one stream.
after the first address 0x1D the maxim increment the address
automatically to 0x1E.
Have somebody test the driver,
or have although trouble with the chip?
Because i am really new with the kernel hacking,
what are the next steps, build an patch?
thanks a lot
next reply other threads:[~2011-02-18 13:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 13:31 Nico Becker [this message]
2011-02-18 14:00 ` MAX3107 driver faulty Wolfram Sang
2011-02-18 13:54 ` Alan Cox
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=4D5E74C7.3040700@gmx.de \
--to=nico.becker@gmx.de \
--cc=linux-serial@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;
as well as URLs for NNTP newsgroup(s).