linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* M25P80 Regulator Question
@ 2013-11-01 17:44 Rhyland Klein
       [not found] ` <5273E881.8080401-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Rhyland Klein @ 2013-11-01 17:44 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-01 18:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-01 17:44 M25P80 Regulator Question Rhyland Klein
     [not found] ` <5273E881.8080401-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-11-01 18:02   ` 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

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).