From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Patrick Menschel <menschel.p@posteo.de>,
gianluca <gianlucarenzi@eurek.it>
Cc: linux-can <linux-can@vger.kernel.org>
Subject: Re: Testing CAN on Allwinner A20 / Banana Pi
Date: Mon, 21 Mar 2016 17:14:03 +0100 [thread overview]
Message-ID: <56F01DCB.6060902@pengutronix.de> (raw)
In-Reply-To: <56EFF1B2.9050404@posteo.de>
[-- Attachment #1.1: Type: text/plain, Size: 857 bytes --]
On 03/21/2016 02:05 PM, Patrick Menschel wrote:
> Thanks for the advice,
>
> in my case the sunxi_defconfig already had the driver selected, so no
> change necessary.
> Apparently only the device tree information is missing in the mainline
> kernel. If that were to change, it would work out of the box if a
> transceiver is added.
The CAN node should be added with no status attribute to the SoC dtsi,
so it's disabled. In the board dts you set status = "okay". The pinctrl
goes into the dtsi if there's only one possibility, otherwise into the
board dts.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
next prev parent reply other threads:[~2016-03-21 16:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-12 8:51 Testing CAN on Allwinner A20 / Banana Pi Patrick Menschel
2015-09-12 9:13 ` Marc Kleine-Budde
2015-09-12 13:40 ` Patrick Menschel
2016-03-19 12:27 ` Patrick Menschel
2016-03-19 12:33 ` Marc Kleine-Budde
2016-03-19 12:50 ` Patrick Menschel
2016-03-19 12:53 ` Marc Kleine-Budde
2016-03-21 9:27 ` gianluca
2016-03-21 13:05 ` Patrick Menschel
2016-03-21 16:14 ` Marc Kleine-Budde [this message]
2016-03-21 17:08 ` Patrick Menschel
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=56F01DCB.6060902@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=gianlucarenzi@eurek.it \
--cc=linux-can@vger.kernel.org \
--cc=menschel.p@posteo.de \
/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 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.