From: Gerhard Bertelsmann <info@gerhard-bertelsmann.de>
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>,
Pankajkumar Misra <pankaj.kumar@in.bosch.com>,
linux-can@vger.kernel.org, linux-can-owner@vger.kernel.org
Subject: Re: CAN implementation on A20 Allwinner
Date: Thu, 27 Aug 2015 15:34:24 +0200 [thread overview]
Message-ID: <c05ac4c76aad5f8e94cb98960ccfbc43@mail.rdts.de> (raw)
In-Reply-To: <55DF0F39.10507@pengutronix.de>
Hi Marc,
many thx for your fast answer.
Am 2015-08-27 15:23, schrieb Marc Kleine-Budde:
> On 08/27/2015 03:04 PM, Gerhard Bertelsmann wrote:
>>> It it's sja1000 compatible, it should work out of the box with the
>>> existing sja1000 device tree binding.
>>
>> the Allwinner CAN IP is very similar but not exactly a SJA1000, e g.
>> the
>> registers differ and some are 32 bit wide and not 8 bit.
>
> Which are the registers that have the upper 24 bit used?
CAN_STA_REG status register
CAN_BUS_TIME bus timing
CAN_REC_REG errot counter
Some regs also have a different address
>
>> So the question is: change the sja1000 and the platform file for
>> "quirks" or write a new independent one ?
>
> Depends on the actual differences, but I'd go for quirks first.
>
>> Which way do you prefer or better: which driver will be accepted for
>> mainline ?
>
> The github driver lacks a proper driver model binding, so that's not
> mainline ready.
That would be not a huge problem IMHO ...
>
> Marc
Gerd
next prev parent reply other threads:[~2015-08-27 13:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-27 9:43 Why doesn't the socketcan prio qdisc work for first 10 can frames? Ruan TingQuan (ST-FIR/ENG1-Zhu)
2014-11-27 11:46 ` Oliver Hartkopp
2014-11-27 17:54 ` CAN implementation on A20 Allwinner Pankajkumar Misra (RBEI/EEA2)
2014-11-27 18:28 ` Uwe Bonnes
[not found] ` <58243.88.153.236.115.1417116776.squirrel@webmail.rdts.de>
2014-11-27 19:53 ` Gerhard Bertelsmann
2014-12-02 12:37 ` Marc Kleine-Budde
2015-08-27 13:04 ` Gerhard Bertelsmann
2015-08-27 13:23 ` Marc Kleine-Budde
2015-08-27 13:34 ` Gerhard Bertelsmann [this message]
2015-08-27 13:49 ` Marc Kleine-Budde
2015-08-27 14:29 ` Gerhard Bertelsmann
2015-08-27 14:37 ` Marc Kleine-Budde
2015-08-28 5:41 ` Misra Pankaj Kumar (RBEI/EEA2)
2015-08-28 6:21 ` Marc Kleine-Budde
2015-08-28 9:22 ` Gerhard Bertelsmann
2015-08-28 10:11 ` Marc Kleine-Budde
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=c05ac4c76aad5f8e94cb98960ccfbc43@mail.rdts.de \
--to=info@gerhard-bertelsmann.de \
--cc=bon@elektron.ikp.physik.tu-darmstadt.de \
--cc=linux-can-owner@vger.kernel.org \
--cc=linux-can@vger.kernel.org \
--cc=mkl@pengutronix.de \
--cc=pankaj.kumar@in.bosch.com \
/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).