All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Noralf Trønnes" <noralf-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
To: Martin Sperl <kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>,
	"linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Subject: Re: spi: bcm2835: driver for "auxiliar" spi1/spi2
Date: Thu, 18 Jun 2015 12:19:04 +0200	[thread overview]
Message-ID: <55829B18.4030609@tronnes.org> (raw)
In-Reply-To: <5582933E.1050500-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>


Den 18.06.2015 11:45, skrev Martin Sperl:
> Quick question: for the auxiliar spi1 and spi2 of the BCM2835 chipset
> should I create a separate driver - say spi-bcm2835aux.c - or incorporate
> it into the exising spi-bcm2835.c driver.
>
> Note that the register set for the auxiliar spi devices is totally 
> different
> so any code-overlap with the existing spi-bcm2835.c would be minimal.
>

There is also an aux mini uart that shares interrupt with spi1/2.
The AUXIRQ register determines the interrupt source. How should this
sharing be done? This uart is really only useful on the Compute Module
since it's pins overlap the pl011 uart pins on the other boards.
This is how the mini uart is used/setup downstream:
https://github.com/raspberrypi/linux/pull/1008

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2015-06-18 10:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-18  9:45 spi: bcm2835: driver for "auxiliar" spi1/spi2 Martin Sperl
     [not found] ` <5582933E.1050500-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org>
2015-06-18 10:19   ` Noralf Trønnes [this message]
     [not found]     ` <55829B18.4030609-L59+Z2yzLopAfugRpC6u6w@public.gmane.org>
2015-06-18 10:58       ` Mark Brown
     [not found]         ` <20150618105848.GE14071-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-06-18 11:37           ` Martin Sperl
2015-06-25 17:42           ` Jakub Kiciński
2015-07-07 13:51             ` Mark Brown
2015-06-18 10:38   ` Mark Brown

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=55829B18.4030609@tronnes.org \
    --to=noralf-l59+z2yzlopafugrpc6u6w@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org \
    --cc=linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@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 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.