* [PATCH v2 1/2] msm: i2c: Add msm_qup_i2c.h
2010-09-02 23:29 [PATCH v2 0/2] i2c: QUP based bus driver for Qualcomm MSM chipsets Kenneth Heitke
@ 2010-09-02 23:29 ` Kenneth Heitke
0 siblings, 0 replies; 4+ messages in thread
From: Kenneth Heitke @ 2010-09-02 23:29 UTC (permalink / raw)
To: khali, ben-linux, srinidhi.kasagar, tsoni
Cc: linux-arm-msm, Kenneth Heitke, David Brown, Daniel Walker,
Bryan Huntsman, Russell King, linux-arm-kernel, linux-kernel
Defines the platform data used by the MSM QUP I2C driver.
Signed-off-by: Kenneth Heitke <kheitke@codeaurora.org>
---
arch/arm/mach-msm/include/mach/msm_qup_i2c.h | 28 ++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/mach-msm/include/mach/msm_qup_i2c.h
diff --git a/arch/arm/mach-msm/include/mach/msm_qup_i2c.h b/arch/arm/mach-msm/include/mach/msm_qup_i2c.h
new file mode 100644
index 0000000..e26684b
--- /dev/null
+++ b/arch/arm/mach-msm/include/mach/msm_qup_i2c.h
@@ -0,0 +1,28 @@
+/*
+ * Qualcomm MSM QUP i2c Controller Platform Data
+ *
+ * Copyright (c) 2010, Code Aurora Forum. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+#ifndef __MSM_QUP_I2C_MSM_H
+#define __MSM_QUP_I2C_MSM_H
+
+struct msm_i2c_platform_data {
+ int bus_freq; /* I2C bus frequency (Hz) */
+ int src_clk_rate; /* I2C controller clock rate (Hz) */
+};
+
+#endif /* __MSM_QUP_I2C_MSM_H */
--
1.7.1.1
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 0/2] i2c: QUP based bus driver for Qualcomm MSM chipsets
@ 2010-09-02 23:44 Kenneth Heitke
2010-09-02 23:44 ` [PATCH v2 1/2] msm: i2c: Add msm_qup_i2c.h Kenneth Heitke
0 siblings, 1 reply; 4+ messages in thread
From: Kenneth Heitke @ 2010-09-02 23:44 UTC (permalink / raw)
To: khali, ben-linux, srinidhi.kasagar, tsoni
Cc: linux-arm-msm, linux-i2c, linux-kernel, Kenneth Heitke
Hi,
These patches incorporated requested changes from the v1 revision.
[PATCH 1/2] is for the header file that defines the platform data used
by the driver. This patch can be picked up by the i2c maintainers but
also needs to be acked by the msm maintainers (linux-arm-msm).
[PATCH 2/2] contains the QUP I2C driver.
Revision history:
v2: incorporated feedback from the following people:
ben-linux@fluff.org
srinidhi.kasagar@stericsson.com
tsoni@codeaurora.org
Kenneth Heitke (2):
msm: i2c: Add msm_qup_i2c.h
i2c: QUP based bus driver for Qualcomm MSM chipsets
arch/arm/mach-msm/include/mach/msm_qup_i2c.h | 28 +
drivers/i2c/busses/Kconfig | 12 +
drivers/i2c/busses/Makefile | 1 +
drivers/i2c/busses/i2c-qup.c | 1105 ++++++++++++++++++++++++++
4 files changed, 1146 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/mach-msm/include/mach/msm_qup_i2c.h
create mode 100644 drivers/i2c/busses/i2c-qup.c
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/2] msm: i2c: Add msm_qup_i2c.h
2010-09-02 23:44 [PATCH v2 0/2] i2c: QUP based bus driver for Qualcomm MSM chipsets Kenneth Heitke
@ 2010-09-02 23:44 ` Kenneth Heitke
2010-09-07 23:31 ` David Brown
0 siblings, 1 reply; 4+ messages in thread
From: Kenneth Heitke @ 2010-09-02 23:44 UTC (permalink / raw)
To: khali, ben-linux, srinidhi.kasagar, tsoni
Cc: linux-arm-msm, linux-i2c, linux-kernel, Kenneth Heitke,
David Brown, Daniel Walker, Bryan Huntsman, Russell King,
linux-arm-kernel
Defines the platform data used by the MSM QUP I2C driver.
Signed-off-by: Kenneth Heitke <kheitke@codeaurora.org>
---
arch/arm/mach-msm/include/mach/msm_qup_i2c.h | 28 ++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/mach-msm/include/mach/msm_qup_i2c.h
diff --git a/arch/arm/mach-msm/include/mach/msm_qup_i2c.h b/arch/arm/mach-msm/include/mach/msm_qup_i2c.h
new file mode 100644
index 0000000..e26684b
--- /dev/null
+++ b/arch/arm/mach-msm/include/mach/msm_qup_i2c.h
@@ -0,0 +1,28 @@
+/*
+ * Qualcomm MSM QUP i2c Controller Platform Data
+ *
+ * Copyright (c) 2010, Code Aurora Forum. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+#ifndef __MSM_QUP_I2C_MSM_H
+#define __MSM_QUP_I2C_MSM_H
+
+struct msm_i2c_platform_data {
+ int bus_freq; /* I2C bus frequency (Hz) */
+ int src_clk_rate; /* I2C controller clock rate (Hz) */
+};
+
+#endif /* __MSM_QUP_I2C_MSM_H */
--
1.7.1.1
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/2] msm: i2c: Add msm_qup_i2c.h
2010-09-02 23:44 ` [PATCH v2 1/2] msm: i2c: Add msm_qup_i2c.h Kenneth Heitke
@ 2010-09-07 23:31 ` David Brown
0 siblings, 0 replies; 4+ messages in thread
From: David Brown @ 2010-09-07 23:31 UTC (permalink / raw)
To: Kenneth Heitke
Cc: khali, ben-linux, srinidhi.kasagar, tsoni, linux-arm-msm,
linux-i2c, linux-kernel, David Brown, Daniel Walker,
Bryan Huntsman, Russell King, linux-arm-kernel
On Thu, Sep 02, 2010 at 05:44:19PM -0600, Kenneth Heitke wrote:
> Defines the platform data used by the MSM QUP I2C driver.
>
> Signed-off-by: Kenneth Heitke <kheitke@codeaurora.org>
> ---
> arch/arm/mach-msm/include/mach/msm_qup_i2c.h | 28 ++++++++++++++++++++++++++
> 1 files changed, 28 insertions(+), 0 deletions(-)
> create mode 100644 arch/arm/mach-msm/include/mach/msm_qup_i2c.h
Acked-by: David Brown <davidb@codeaurora.org>
It's probably easiest to just keep this patch together with the other
one, and bring them both into the I2C code together.
David
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-09-07 23:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-02 23:44 [PATCH v2 0/2] i2c: QUP based bus driver for Qualcomm MSM chipsets Kenneth Heitke
2010-09-02 23:44 ` [PATCH v2 1/2] msm: i2c: Add msm_qup_i2c.h Kenneth Heitke
2010-09-07 23:31 ` David Brown
-- strict thread matches above, loose matches on Subject: below --
2010-09-02 23:29 [PATCH v2 0/2] i2c: QUP based bus driver for Qualcomm MSM chipsets Kenneth Heitke
2010-09-02 23:29 ` [PATCH v2 1/2] msm: i2c: Add msm_qup_i2c.h Kenneth Heitke
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).