All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND V2 PATCH 1/3] soc/tegra: fuse: export tegra_sku_info for module use
@ 2014-11-28 11:12 ` Vince Hsu
  0 siblings, 0 replies; 29+ messages in thread
From: Vince Hsu @ 2014-11-28 11:12 UTC (permalink / raw)
  To: swarren-3lzwWm7+Weoh9ZMKESR00Q,
	thierry.reding-Re5JQEeQqe8AvxtiuMwx3w,
	gnurou-Re5JQEeQqe8AvxtiuMwx3w,
	pdeschrijver-DDmLM1+adcrQT0dZR+AlfA,
	bskeggs-H+wXaHxf7aLQT0dZR+AlfA, martin.peres-GANU6spQydw
  Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Vince Hsu

Some Tegra drivers might be complied as kernel modules, and
they need the fuse information for initialization. One
example is the GK20A Nouveau driver. It needs the GPU speedo
value to calculate frequency-voltage table. So export
the tegra_sku_info.

Signed-off-by: Vince Hsu <vinceh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---

v2: add more description why we need this patch

 drivers/soc/tegra/fuse/fuse-tegra.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/soc/tegra/fuse/fuse-tegra.c b/drivers/soc/tegra/fuse/fuse-tegra.c
index 11a5043959dc..011a3363c265 100644
--- a/drivers/soc/tegra/fuse/fuse-tegra.c
+++ b/drivers/soc/tegra/fuse/fuse-tegra.c
@@ -31,6 +31,7 @@
 static u32 (*fuse_readl)(const unsigned int offset);
 static int fuse_size;
 struct tegra_sku_info tegra_sku_info;
+EXPORT_SYMBOL(tegra_sku_info);
 
 static const char *tegra_revision_name[TEGRA_REVISION_MAX] = {
 	[TEGRA_REVISION_UNKNOWN] = "unknown",
-- 
1.9.1

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

end of thread, other threads:[~2014-12-01 23:18 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-28 11:12 [RESEND V2 PATCH 1/3] soc/tegra: fuse: export tegra_sku_info for module use Vince Hsu
2014-11-28 11:12 ` Vince Hsu
     [not found] ` <1417173180-21726-1-git-send-email-vinceh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-11-28 11:12   ` [RESEND PATCH nouveau 2/3] volt: allow non-bios voltage scaling Vince Hsu
2014-11-28 11:12     ` Vince Hsu
     [not found]     ` <1417173180-21726-2-git-send-email-vinceh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-11-29  8:22       ` Alexandre Courbot
2014-11-29  8:22         ` Alexandre Courbot
     [not found]         ` <CAAVeFuJp5pU62-=Bf=+i8nRX09vgZ4De00_f9kQjbp13jJa0+w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-01 22:57           ` Martin Peres
2014-12-01 22:57             ` Martin Peres
2014-11-28 11:13   ` [RESEND PATCH nouveau 3/3] volt: add support for GK20A Vince Hsu
2014-11-28 11:13     ` Vince Hsu
     [not found]     ` <1417173180-21726-3-git-send-email-vinceh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-11-28 11:25       ` Roy Spliet
     [not found]         ` <54785BBA.50800-FA6nBp6kBxZzu6KWmfFNGwC/G2K4zDHf@public.gmane.org>
2014-11-28 11:57           ` Vince Hsu
     [not found]             ` <54786343.4000806-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-11-28 12:09               ` Roy Spliet
     [not found]                 ` <547865EA.10702-FA6nBp6kBxZzu6KWmfFNGwC/G2K4zDHf@public.gmane.org>
2014-11-29  8:44                   ` Alexandre Courbot
     [not found]                     ` <CAAVeFuKY7=WfhAWPiPMkWU8JMg0a7dACqu=BNE+S5SVtdF870w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-01  6:38                       ` Terje Bergström
     [not found]                         ` <547C0CDD.5090506-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2014-12-01  6:48                           ` Alexandre Courbot
     [not found]                             ` <CAAVeFuLBAyBv4u+op-9A7ZqW0wRwYyxHdd9QG_cu6a=x_hv+Sg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-01  6:52                               ` Alexandre Courbot
     [not found]                                 ` <CAAVeFuKH4LxqgwwtQHL4mZSBKPDnoxtdonK2GBO5pg1hCoHMtg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-01  6:57                                   ` Terje Bergström
2014-12-01 10:20                               ` Roy Spliet
2014-12-01 23:00       ` Martin Peres
2014-12-01 23:00         ` Martin Peres
     [not found]         ` <547CF2F9.6040905-GANU6spQydw@public.gmane.org>
2014-12-01 23:18           ` [Nouveau] " Ben Skeggs
2014-12-01 23:18             ` Ben Skeggs
2014-11-29  7:30   ` [RESEND V2 PATCH 1/3] soc/tegra: fuse: export tegra_sku_info for module use Alexandre Courbot
2014-11-29  7:30     ` Alexandre Courbot
2014-12-01 10:01   ` Thierry Reding
2014-12-01 10:01     ` Thierry Reding
2014-12-01 22:23     ` [Nouveau] " Ben Skeggs
2014-12-01 22:23       ` Ben Skeggs

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.