|
|
Subscribe / Log in / New account

x86: Add support for Atheros AR1520 GPS devices

From:  "Luis R. Rodriguez" <lrodriguez@atheros.com>
To:  <akpm@linux-foundation.org>, <mingo@redhat.com>, <tglx@linutronix.de>, <hpa@zytor.com>
Subject:  [RFC 0/2] x86: Add support for Atheros AR1520 GPS devices
Date:  Fri, 6 May 2011 15:09:38 -0700
Message-ID:  <1304719780-27347-1-git-send-email-lrodriguez@atheros.com>
Cc:  <x86@kernel.org>, <linux-kernel@vger.kernel.org>, <linux-wireless@vger.kernel.org>, <allen.kao@atheros.com>, <roman.gezikov@atheros.com>, <joonas.viskari@atheros.com>, "Luis R. Rodriguez" <lrodriguez@atheros.com>
Archive‑link:  Article

These two patches adds support for the Atheros AR1520 GPS device,
currently only pegged onto an mrst platform. This creates a character
device called ar1520 and lets userspace talk to it through it. My only
concern against this approach is that it this requires a custom userspace
application for reseting the device, waking it up and for blocking reads
through ioctl. The character device can be used to read/write data to it
as well.

I'll try to get more information and details on the userspace application
and document stuff here:

http://wireless.kernel.org/en/users/Drivers/ar5120

In the meantime some review and testing would be appreciated as I modified
the original code a bit.

Allen Kao (2):
  misc: add Atheros ar1520 GPS support
  x86: add Atheros ar1520 platform support for mrst

 arch/x86/platform/mrst/mrst.c |   18 ++
 drivers/misc/Kconfig          |   10 +
 drivers/misc/Makefile         |    1 +
 drivers/misc/ar1520.c         |  406 +++++++++++++++++++++++++++++++++++++++++
 include/linux/ar1520.h        |   49 +++++
 5 files changed, 484 insertions(+), 0 deletions(-)
 create mode 100644 drivers/misc/ar1520.c
 create mode 100644 include/linux/ar1520.h

-- 
1.7.4.15.g7811d

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds