All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@gmail.com>
To: Baptiste Clenet <bapclenet@gmail.com>
Cc: linux-wpan@vger.kernel.org
Subject: Re: At86rf212B(driver at86rf230), Ralink MT7228, cs1 always high
Date: Sun, 31 May 2015 14:34:31 +0200	[thread overview]
Message-ID: <20150531123430.GC1476@omega> (raw)
In-Reply-To: <CAPpUg6Pa7xOOScRSf5qvBEJqEdBp_=e5J_Ozbmd10CgbnCgjcA@mail.gmail.com>

On Fri, May 29, 2015 at 11:28:48AM +0200, Baptiste Clenet wrote:
> Hi,
> 
> I'm working on the board Ralink MT7228 with an Atmel AT86RF212B by SPI.
> I've configured the transceiver to be on cs1. I plugged cs from the
> transceiver to pin 6 of MT7228.
> I've edited spi-mt7621.c to allow two slave on SPI master as follow:
> 

sorry, I have no idea what you mean and did there. To make the
chipselect right I suppose this part of spi subsystem, you don't need
(if you don't doing hacks) to touch anything at driver layer. What you
need is to tell the spi subsystem the right configuration so the spi
controller can do the right thing.

I also tried to google "Ralink MT7228" without luck.

Do you boot via device tree or the old way?

- Alex

  reply	other threads:[~2015-05-31 12:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-29  9:28 At86rf212B(driver at86rf230), Ralink MT7228, cs1 always high Baptiste Clenet
2015-05-31 12:34 ` Alexander Aring [this message]
2015-06-01  7:00   ` Baptiste Clenet
2015-06-01  7:28     ` Alexander Aring
2015-06-01  7:55       ` Baptiste Clenet

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=20150531123430.GC1476@omega \
    --to=alex.aring@gmail.com \
    --cc=bapclenet@gmail.com \
    --cc=linux-wpan@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 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.