* [PATCH] iio: accel: kxcjk-1013: add support for kxcj9-1008
@ 2014-08-19 15:25 Daniel Baluta
2014-08-30 11:44 ` Daniel Baluta
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Baluta @ 2014-08-19 15:25 UTC (permalink / raw
To: jic23
Cc: srinivas.pandruvada, o.v.kravchenko, swarren, daniel.baluta,
pmeerw, linux-iio, linux-kernel
This patch adds support for KXCJ9-1008 3-axis acceleromenter sensor.
KXCJ9-1008 uses the same register definitions as KXCJK-1013.
The specification for KXCJ9-1008 can be downloaded from:
http://www.kionix.com/sites/default/files/KXCJ9-1008%20Specifications%20Rev%205.pdf
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
---
drivers/iio/accel/Kconfig | 2 +-
drivers/iio/accel/kxcjk-1013.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
index 5704d6b..01b857e 100644
--- a/drivers/iio/accel/Kconfig
+++ b/drivers/iio/accel/Kconfig
@@ -97,7 +97,7 @@ config KXCJK1013
select IIO_TRIGGERED_BUFFER
help
Say Y here if you want to build a driver for the Kionix KXCJK-1013
- triaxial acceleration sensor.
+ triaxial acceleration sensor. This driver also supports KXCJ9-1008.
To compile this driver as a module, choose M here: the module will
be called kxcjk-1013.
diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c
index 57c515b..70a5679 100644
--- a/drivers/iio/accel/kxcjk-1013.c
+++ b/drivers/iio/accel/kxcjk-1013.c
@@ -932,12 +932,14 @@ static const struct dev_pm_ops kxcjk1013_pm_ops = {
static const struct acpi_device_id kx_acpi_match[] = {
{"KXCJ1013", 0},
+ {"KXCJ1008", 0},
{ },
};
MODULE_DEVICE_TABLE(acpi, kx_acpi_match);
static const struct i2c_device_id kxcjk1013_id[] = {
{"kxcjk1013", 0},
+ {"kxcj91008", 0},
{}
};
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] iio: accel: kxcjk-1013: add support for kxcj9-1008
2014-08-19 15:25 [PATCH] iio: accel: kxcjk-1013: add support for kxcj9-1008 Daniel Baluta
@ 2014-08-30 11:44 ` Daniel Baluta
2014-08-30 20:09 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Baluta @ 2014-08-30 11:44 UTC (permalink / raw
To: Daniel Baluta, Jonathan Cameron
Cc: Srinivas Pandruvada, Oleksandr Kravchenko, swarren,
Peter Meerwald, linux-iio, Linux Kernel Mailing List
On Tue, Aug 19, 2014 at 6:25 PM, Daniel Baluta <daniel.baluta@intel.com> wrote:
> This patch adds support for KXCJ9-1008 3-axis acceleromenter sensor.
> KXCJ9-1008 uses the same register definitions as KXCJK-1013.
>
> The specification for KXCJ9-1008 can be downloaded from:
> http://www.kionix.com/sites/default/files/KXCJ9-1008%20Specifications%20Rev%205.pdf
>
> Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Hi Jonathan,
Any comments on this?
On Monday I will send a patch that adds support KXTJ2-1009 and its
based on this patch.
I can squash them together if you want.
Daniel.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] iio: accel: kxcjk-1013: add support for kxcj9-1008
2014-08-30 11:44 ` Daniel Baluta
@ 2014-08-30 20:09 ` Jonathan Cameron
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2014-08-30 20:09 UTC (permalink / raw
To: Daniel Baluta
Cc: Srinivas Pandruvada, Oleksandr Kravchenko, swarren,
Peter Meerwald, linux-iio, Linux Kernel Mailing List
On 30/08/14 12:44, Daniel Baluta wrote:
> On Tue, Aug 19, 2014 at 6:25 PM, Daniel Baluta <daniel.baluta@intel.com> wrote:
>> This patch adds support for KXCJ9-1008 3-axis acceleromenter sensor.
>> KXCJ9-1008 uses the same register definitions as KXCJK-1013.
>>
>> The specification for KXCJ9-1008 can be downloaded from:
>> http://www.kionix.com/sites/default/files/KXCJ9-1008%20Specifications%20Rev%205.pdf
>>
>> Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
>
> Hi Jonathan,
>
> Any comments on this?
Sorry, I was just being slow!
Anyhow, applied to the togreg branch of iio.git - initially pushed out as testing
for the autobuilders to play.
>
> On Monday I will send a patch that adds support KXTJ2-1009 and its
> based on this patch.
> I can squash them together if you want.
A separate patch would be great - I'm guessing htis one is a little more involved!
Jonathan
>
> Daniel.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-30 20:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-19 15:25 [PATCH] iio: accel: kxcjk-1013: add support for kxcj9-1008 Daniel Baluta
2014-08-30 11:44 ` Daniel Baluta
2014-08-30 20:09 ` Jonathan Cameron
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.