lkml.org 
[lkml]   [2016]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] ACPI / gpio: Updates to properties
Date
Hi,

This series brings couple of useful GPIO related properties from Device
Tree to ACPI _DSD device properties:

- Names for GPIO lines
- GPIO hogging
- Holes in GPIO property lists

We are using these to get Intel Galileo better supported in the mainline
kernel (but these may be useful for other boards as well). For example SPI
chip select on Galileo is connected to a GPIO line so we need to be able to
describe it in ACPI, and at the same time allow native chip selects.

GPIO hogging can be used to set initial state of certain GPIOs available on
the headers regardless of the BIOS settings (which may be wrong as it knows
nothing about which devices have been connected).

Mika Westerberg (5):
ACPI / documentation: Use recommended name in GPIO property names
ACPI / gpio: Add support for naming GPIOs
ACPI / gpio: Add hogging support
ACPI / property: Allow holes in reference properties
ACPI / gpio: Allow holes in list of GPIOs for a device

Documentation/acpi/gpio-properties.txt | 72 ++++++++++++++--
drivers/acpi/property.c | 116 +++++++++++++++++++-------
drivers/gpio/gpiolib-acpi.c | 147 ++++++++++++++++++++++++++++++---
include/linux/acpi.h | 3 +
4 files changed, 292 insertions(+), 46 deletions(-)

--
2.9.3

\
 
 \ /
  Last update: 2016-09-23 16:59    [W:0.276 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site