From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: mjg@redhat.com, platform-driver-x86@vger.kernel.org
Subject: [PATCH 4/4] x86, mrst: add msic_thermal platform support
Date: Thu, 15 Dec 2011 22:28:37 +0000 [thread overview]
Message-ID: <20111215222834.9670.16010.stgit@bob.linux.org.uk> (raw)
In-Reply-To: <20111215222702.9670.63670.stgit@bob.linux.org.uk>
From: Mika Westerberg <mika.westerberg@linux.intel.com>
This will let the MSIC driver to create platform device for the thermal
driver.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
---
arch/x86/platform/mrst/mrst.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/x86/platform/mrst/mrst.c b/arch/x86/platform/mrst/mrst.c
index 4c2235d..a9a4732 100644
--- a/arch/x86/platform/mrst/mrst.c
+++ b/arch/x86/platform/mrst/mrst.c
@@ -686,6 +686,11 @@ static void *msic_ocd_platform_data(void *info)
return msic_generic_platform_data(info, INTEL_MSIC_BLOCK_OCD);
}
+static void *msic_thermal_platform_data(void *info)
+{
+ return msic_generic_platform_data(info, INTEL_MSIC_BLOCK_THERMAL);
+}
+
static const struct devs_id __initconst device_ids[] = {
{"bma023", SFI_DEV_TYPE_I2C, 1, &no_platform_data},
{"pmic_gpio", SFI_DEV_TYPE_SPI, 1, &pmic_gpio_platform_data},
@@ -705,6 +710,7 @@ static const struct devs_id __initconst device_ids[] = {
{"msic_audio", SFI_DEV_TYPE_IPC, 1, &msic_audio_platform_data},
{"msic_power_btn", SFI_DEV_TYPE_IPC, 1, &msic_power_btn_platform_data},
{"msic_ocd", SFI_DEV_TYPE_IPC, 1, &msic_ocd_platform_data},
+ {"msic_thermal", SFI_DEV_TYPE_IPC, 1, &msic_thermal_platform_data},
{},
};
prev parent reply other threads:[~2011-12-15 22:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-15 22:27 [PATCH 0/4] MRST/Medfield thermal updates Alan Cox
2011-12-15 22:27 ` [PATCH 1/4] platform-x86: intel_mid_thermal: add msic_thermal alias Alan Cox
2011-12-15 22:28 ` [PATCH 2/4] platform-x86: intel_mid_thermal: convert to use Intel MSIC API Alan Cox
2011-12-15 22:28 ` [PATCH 3/4] platform-x86: intel_mid_thermal: turn off thermistor voltage by default Alan Cox
2011-12-15 22:28 ` Alan Cox [this message]
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=20111215222834.9670.16010.stgit@bob.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=mjg@redhat.com \
--cc=platform-driver-x86@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.