rnel.org> # 3.13
> Cc: Heikki Krogerus <heikki.kroge...@linux.intel.com>
Good catch. FWIW:
Reviewed-by: Heikki Krogerus <heikki.kroge...@linux.intel.com>
> Signed-off-by: Johan Hovold <jo...@kernel.org>
> ---
> net/rfkill/rfkill-gpio.c | 7 ++-
> 1 file c
Pass the rfkill name and type to the device with properties
instead of driver specific platform data.
Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com>
CC: Alexandre Courbot <gnu...@gmail.com>
CC: Thierry Reding <thierry.red...@gmail.com>
CC: Stephen Warren <
This prepares the driver for removal of platform data.
Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com>
---
net/rfkill/rfkill-gpio.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c
No more users for it.
Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com>
---
include/linux/rfkill-gpio.h | 37 -
net/rfkill/Kconfig | 3 +--
net/rfkill/rfkill-gpio.c| 8
3 files changed, 1 insertion(+), 47 del
Helper for finding the type based on name. Useful if the
type needs to be determined based on device property.
Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com>
---
include/linux/rfkill.h | 15 +
net/rfkill/core.c
These are used with BCM43241 Wi-Fi/Bluetooth Combo Device.
Signed-off-by: Heikki Krogerus <heikki.kroge...@linux.intel.com>
---
net/rfkill/rfkill-gpio.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c
index 9312722..ba6d61d
Hi,
On Thu, Aug 13, 2015 at 11:27:46AM +0200, Johannes Berg wrote:
On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote:
+static const char *rfkill_types[NUM_RFKILL_TYPES] = {
+ [RFKILL_TYPE_WLAN] = wlan,
+ [RFKILL_TYPE_BLUETOOTH] = bluetooth,
+ [RFKILL_TYPE_UWB
On Wed, Aug 05, 2015 at 05:07:29PM +0300, Andy Shevchenko wrote:
On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote:
Helper for finding the type based on name. Useful if the
type needs to be determined based on device property.
Signed-off-by: Heikki Krogerus heikki.kroge
On Wed, Aug 05, 2015 at 05:15:28PM +0300, Andy Shevchenko wrote:
On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote:
No more users for it.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
---
include/linux/rfkill-gpio.h | 37
On Wed, Aug 05, 2015 at 05:02:18PM +0300, Andy Shevchenko wrote:
On Wed, 2015-08-05 at 16:39 +0300, Heikki Krogerus wrote:
Marcos for easier creation of build-in property entries.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
---
include/linux/property.h | 35
Marcos for easier creation of build-in property entries.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
---
include/linux/property.h | 35 +++
1 file changed, 35 insertions(+)
diff --git a/include/linux/property.h b/include/linux/property.h
index
Helper for finding the type based on name. Useful if the
type needs to be determined based on device property.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
---
include/linux/rfkill.h | 15 +
net/rfkill/core.c | 57
Pass the rfkill name and type to the device with properties
instead of driver specific platform data.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
CC: Alexandre Courbot gnu...@gmail.com
CC: Thierry Reding thierry.red...@gmail.com
CC: Stephen Warren swar...@wwwdotorg.org
No more users for it.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
---
include/linux/rfkill-gpio.h | 37 -
net/rfkill/Kconfig | 3 +--
net/rfkill/rfkill-gpio.c| 8
3 files changed, 1 insertion(+), 47 deletions
The first patch adds a few helper macros for build-in property
creation and the second makes it possible to get the rfkill type
index based on name. The rest deal with rfkill-gpio.
Cheers,
Heikki Krogerus (5):
device property: helper macros for property entry creation
net: rfkill: add
This prepares the driver for removal of platform data.
Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com
---
net/rfkill/rfkill-gpio.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c
index
On Wed, Oct 08, 2014 at 04:09:50PM +0200, Loic Poulain wrote:
Thanks, it sounds good to use a label instead of index.
However:
- DSD is only compatible with BIOS ACPI 5.1
- gpiod_get_index does not take care of con_id (label) parameter in case of
ACPI (acpi_find_gpio).
- gpiod_get calls
On Wed, Oct 08, 2014 at 10:34:36AM +0200, Loic Poulain wrote:
Some devices don't match the current static gpio mapping:
-BCM4752 (GPS) uses gpio res 0 as host wake irq.
-OBDA8723 (Bluetooth) uses gpio res 0 as controller wake gpio
and res 2 as host wake irq.
To allow more flexibility, this
On Wed, Oct 08, 2014 at 10:34:38AM +0200, Loic Poulain wrote:
Some GPIO based rfkill devices can wake their host up from suspend by
toggling an input (from the host perspective) GPIO.
This patch adds a generic support for that feature by registering a
threaded interrupt routine and thus
19 matches
Mail list logo