From: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
To: John Crispin <blogic-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] i2c: MIPS: adds ralink I2C driver
Date: Sat, 11 Oct 2014 06:24:23 +0200 [thread overview]
Message-ID: <20141011042423.GA1267@katana> (raw)
In-Reply-To: <1412970186-16030-1-git-send-email-blogic-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 465 bytes --]
Hi John,
> +#define REG_CONFIG_REG 0x00
> +#define REG_CLKDIV_REG 0x04
> +#define REG_DEVADDR_REG 0x08
> +#define REG_ADDR_REG 0x0C
> +#define REG_DATAOUT_REG 0x10
> +#define REG_DATAIN_REG 0x14
> +#define REG_STATUS_REG 0x18
> +#define REG_STARTXFR_REG 0x1C
> +#define REG_BYTECNT_REG 0x20
The register set looks like the one from i2c-xlr.c, only that they are
32 bit apart instead of 8. Can you check if you can reuse that driver?
Thanks,
Wolfram
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2014-10-11 4:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-10 19:43 [PATCH] i2c: MIPS: adds ralink I2C driver John Crispin
[not found] ` <1412970186-16030-1-git-send-email-blogic-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
2014-10-11 4:24 ` Wolfram Sang [this message]
2014-10-11 7:14 ` John Crispin
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=20141011042423.GA1267@katana \
--to=wsa-z923lk4zbo2bacvfa/9k2g@public.gmane.org \
--cc=blogic-p3rKhJxN3npAfugRpC6u6w@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.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