All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@ti.com>
To: linux-omap@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 7/7] omap: voltage: add a stub header file for external/regulator use
Date: Mon, 29 Aug 2011 11:10:49 -0700	[thread overview]
Message-ID: <1314641449-5089-8-git-send-email-khilman@ti.com> (raw)
In-Reply-To: <1314641449-5089-1-git-send-email-khilman@ti.com>

From: Tero Kristo <t-kristo@ti.com>

Needed as some of the voltage layer functionality is accessed from the
SMPS regulator driver.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
---
 arch/arm/plat-omap/include/plat/voltage.h |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/plat-omap/include/plat/voltage.h

diff --git a/arch/arm/plat-omap/include/plat/voltage.h b/arch/arm/plat-omap/include/plat/voltage.h
new file mode 100644
index 0000000..0a6a482
--- /dev/null
+++ b/arch/arm/plat-omap/include/plat/voltage.h
@@ -0,0 +1,20 @@
+/*
+ * OMAP Voltage Management Routines
+ *
+ * Copyright (C) 2011, Texas Instruments, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __ARCH_ARM_OMAP_VOLTAGE_H
+#define __ARCH_ARM_OMAP_VOLTAGE_H
+
+struct voltagedomain;
+
+struct voltagedomain *voltdm_lookup(const char *name);
+int voltdm_scale(struct voltagedomain *voltdm, unsigned long target_volt);
+unsigned long voltdm_get_voltage(struct voltagedomain *voltdm);
+
+#endif
-- 
1.7.6


WARNING: multiple messages have this Message-ID (diff)
From: khilman@ti.com (Kevin Hilman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 7/7] omap: voltage: add a stub header file for external/regulator use
Date: Mon, 29 Aug 2011 11:10:49 -0700	[thread overview]
Message-ID: <1314641449-5089-8-git-send-email-khilman@ti.com> (raw)
In-Reply-To: <1314641449-5089-1-git-send-email-khilman@ti.com>

From: Tero Kristo <t-kristo@ti.com>

Needed as some of the voltage layer functionality is accessed from the
SMPS regulator driver.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
---
 arch/arm/plat-omap/include/plat/voltage.h |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/plat-omap/include/plat/voltage.h

diff --git a/arch/arm/plat-omap/include/plat/voltage.h b/arch/arm/plat-omap/include/plat/voltage.h
new file mode 100644
index 0000000..0a6a482
--- /dev/null
+++ b/arch/arm/plat-omap/include/plat/voltage.h
@@ -0,0 +1,20 @@
+/*
+ * OMAP Voltage Management Routines
+ *
+ * Copyright (C) 2011, Texas Instruments, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __ARCH_ARM_OMAP_VOLTAGE_H
+#define __ARCH_ARM_OMAP_VOLTAGE_H
+
+struct voltagedomain;
+
+struct voltagedomain *voltdm_lookup(const char *name);
+int voltdm_scale(struct voltagedomain *voltdm, unsigned long target_volt);
+unsigned long voltdm_get_voltage(struct voltagedomain *voltdm);
+
+#endif
-- 
1.7.6

  parent reply	other threads:[~2011-08-29 18:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-29 18:10 [PATCH 0/7] OMAP: voltage cleanup part D: voltage domain Kevin Hilman
2011-08-29 18:10 ` Kevin Hilman
2011-08-29 18:10 ` [PATCH 1/7] OMAP3+: voltage: rename scale and reset functions using voltdm_ prefix Kevin Hilman
2011-08-29 18:10   ` Kevin Hilman
2011-08-29 18:10 ` [PATCH 2/7] OMAP3+: voltage: move/rename curr_volt from vdd_info into struct voltagedomain Kevin Hilman
2011-08-29 18:10   ` Kevin Hilman
2011-08-29 18:10 ` [PATCH 3/7] OMAP3+: voltdm: final removal of omap_vdd_info Kevin Hilman
2011-08-29 18:10   ` Kevin Hilman
2011-08-29 18:10 ` [PATCH 4/7] OMAP3+: voltage: rename omap_voltage_get_nom_volt -> voltdm_get_voltage Kevin Hilman
2011-08-29 18:10   ` Kevin Hilman
2011-08-29 18:10 ` [PATCH 5/7] OMAP3+: voltage: update nominal voltage in voltdm_scale() not VC post-scale Kevin Hilman
2011-08-29 18:10   ` Kevin Hilman
2011-08-29 18:10 ` [PATCH 6/7] OMAP2+: VC: more registers are per-channel starting with OMAP5 Kevin Hilman
2011-08-29 18:10   ` Kevin Hilman
2011-08-29 18:10 ` Kevin Hilman [this message]
2011-08-29 18:10   ` [PATCH 7/7] omap: voltage: add a stub header file for external/regulator use Kevin Hilman
2011-09-07 19:08 ` [PATCH 0/7] OMAP: voltage cleanup part D: voltage domain Jean Pihet
2011-09-07 19:08   ` Jean Pihet

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=1314641449-5089-8-git-send-email-khilman@ti.com \
    --to=khilman@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@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.