All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rhyland Klein <rklein-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: <linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: M25P80 Regulator Question
Date: Fri, 1 Nov 2013 13:44:33 -0400	[thread overview]
Message-ID: <5273E881.8080401@nvidia.com> (raw)

I am looking at enabling support for W25Q32DW  SPI chip on a Tegra
platform. I found that the m25p80 driver already supports the chip, so
enabling it through devicetree is simple:


+       spi@7000da00 {
+               status = "okay";
+               spi-flash@0 {
+                       compatible = "winbond,w25q32dw";
+                       reg = <0>;
+                       spi-max-frequency = <20000000>;
+               };
+       };

However, it seems on our platform, we need to ensure a regulator is on
to be able to access the SPI chip. I was wondering if there is already
some binding defined for such a supply. I looked at the binding doc for
m25p80 and didn't see anything obvious, nor did I find anything else
obvious while looking.

Is there some mechanism for defining this dependency?

Thanks,
Rhyland

-- 
nvpublic
--
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

             reply	other threads:[~2013-11-01 17:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-01 17:44 Rhyland Klein [this message]
     [not found] ` <5273E881.8080401-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-11-01 18:02   ` M25P80 Regulator Question Mark Brown
     [not found]     ` <20131101180243.GY2493-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-11-01 18:05       ` Rhyland Klein
     [not found]         ` <5273ED54.5030101-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-11-01 18:16           ` Mark Brown
     [not found]             ` <20131101181628.GD2493-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2013-11-01 18:17               ` Rhyland Klein

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=5273E881.8080401@nvidia.com \
    --to=rklein-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linux-spi-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 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.