Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
c4a2fed3
Commit
c4a2fed3
authored
Jan 19, 2018
by
Linus Walleij
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gpio-drivers-only-driver-h' into devel
parents
adbf0299
7220c43a
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
18 additions
and
19 deletions
+18
-19
drivers/gpio/gpio-74x164.c
drivers/gpio/gpio-74x164.c
+2
-3
drivers/gpio/gpio-adp5520.c
drivers/gpio/gpio-adp5520.c
+1
-2
drivers/gpio/gpio-adp5588.c
drivers/gpio/gpio-adp5588.c
+1
-1
drivers/gpio/gpio-altera.c
drivers/gpio/gpio-altera.c
+2
-1
drivers/gpio/gpio-amd8111.c
drivers/gpio/gpio-amd8111.c
+1
-1
drivers/gpio/gpio-arizona.c
drivers/gpio/gpio-arizona.c
+1
-1
drivers/gpio/gpio-bcm-kona.c
drivers/gpio/gpio-bcm-kona.c
+4
-4
drivers/gpio/gpio-bt8xx.c
drivers/gpio/gpio-bt8xx.c
+1
-1
drivers/gpio/gpio-crystalcove.c
drivers/gpio/gpio-crystalcove.c
+1
-1
drivers/gpio/gpio-cs5535.c
drivers/gpio/gpio-cs5535.c
+1
-1
drivers/gpio/gpio-da9052.c
drivers/gpio/gpio-da9052.c
+1
-1
drivers/gpio/gpio-da9055.c
drivers/gpio/gpio-da9055.c
+1
-1
drivers/gpio/gpio-davinci.c
drivers/gpio/gpio-davinci.c
+1
-1
No files found.
drivers/gpio/gpio-74x164.c
View file @
c4a2fed3
...
...
@@ -9,12 +9,11 @@
* published by the Free Software Foundation.
*/
#include <linux/gpio/consumer.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <linux/spi/spi.h>
#include <linux/gpio.h>
#include <linux/
of_gpio
.h>
#include <linux/gpio
/driver
.h>
#include <linux/
gpio/consumer
.h>
#include <linux/slab.h>
#include <linux/module.h>
...
...
drivers/gpio/gpio-adp5520.c
View file @
c4a2fed3
...
...
@@ -12,8 +12,7 @@
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/mfd/adp5520.h>
#include <linux/gpio.h>
#include <linux/gpio/driver.h>
struct
adp5520_gpio
{
struct
device
*
master
;
...
...
drivers/gpio/gpio-adp5588.c
View file @
c4a2fed3
...
...
@@ -12,7 +12,7 @@
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/gpio.h>
#include <linux/gpio
/driver
.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
...
...
drivers/gpio/gpio-altera.c
View file @
c4a2fed3
...
...
@@ -18,7 +18,8 @@
#include <linux/io.h>
#include <linux/module.h>
#include <linux/of_gpio.h>
#include <linux/gpio/driver.h>
#include <linux/of_gpio.h>
/* For of_mm_gpio_chip */
#include <linux/platform_device.h>
#define ALTERA_GPIO_MAX_NGPIO 32
...
...
drivers/gpio/gpio-amd8111.c
View file @
c4a2fed3
...
...
@@ -28,7 +28,7 @@
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/gpio.h>
#include <linux/gpio
/driver
.h>
#include <linux/pci.h>
#include <linux/spinlock.h>
...
...
drivers/gpio/gpio-arizona.c
View file @
c4a2fed3
...
...
@@ -15,7 +15,7 @@
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/gpio.h>
#include <linux/gpio
/driver
.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/seq_file.h>
...
...
drivers/gpio/gpio-bcm-kona.c
View file @
c4a2fed3
...
...
@@ -17,7 +17,7 @@
#include <linux/bitops.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/gpio.h>
#include <linux/gpio
/driver
.h>
#include <linux/of_device.h>
#include <linux/of_irq.h>
#include <linux/init.h>
...
...
@@ -127,7 +127,7 @@ static int bcm_kona_gpio_get_dir(struct gpio_chip *chip, unsigned gpio)
u32
val
;
val
=
readl
(
reg_base
+
GPIO_CONTROL
(
gpio
))
&
GPIO_GPCTR0_IOTR_MASK
;
return
val
?
GPIOF_DIR_IN
:
GPIOF_DIR_OUT
;
return
!!
val
;
}
static
void
bcm_kona_gpio_set
(
struct
gpio_chip
*
chip
,
unsigned
gpio
,
int
value
)
...
...
@@ -144,7 +144,7 @@ static void bcm_kona_gpio_set(struct gpio_chip *chip, unsigned gpio, int value)
raw_spin_lock_irqsave
(
&
kona_gpio
->
lock
,
flags
);
/* this function only applies to output pin */
if
(
bcm_kona_gpio_get_dir
(
chip
,
gpio
)
==
GPIOF_DIR_IN
)
if
(
bcm_kona_gpio_get_dir
(
chip
,
gpio
)
==
1
)
goto
out
;
reg_offset
=
value
?
GPIO_OUT_SET
(
bank_id
)
:
GPIO_OUT_CLEAR
(
bank_id
);
...
...
@@ -170,7 +170,7 @@ static int bcm_kona_gpio_get(struct gpio_chip *chip, unsigned gpio)
reg_base
=
kona_gpio
->
reg_base
;
raw_spin_lock_irqsave
(
&
kona_gpio
->
lock
,
flags
);
if
(
bcm_kona_gpio_get_dir
(
chip
,
gpio
)
==
GPIOF_DIR_IN
)
if
(
bcm_kona_gpio_get_dir
(
chip
,
gpio
)
==
1
)
reg_offset
=
GPIO_IN_STATUS
(
bank_id
);
else
reg_offset
=
GPIO_OUT_STATUS
(
bank_id
);
...
...
drivers/gpio/gpio-bt8xx.c
View file @
c4a2fed3
...
...
@@ -46,7 +46,7 @@
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/spinlock.h>
#include <linux/gpio.h>
#include <linux/gpio
/driver
.h>
#include <linux/slab.h>
/* Steal the hardware definitions from the bttv driver. */
...
...
drivers/gpio/gpio-crystalcove.c
View file @
c4a2fed3
...
...
@@ -18,7 +18,7 @@
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/gpio
/driver
.h>
#include <linux/seq_file.h>
#include <linux/bitops.h>
#include <linux/regmap.h>
...
...
drivers/gpio/gpio-cs5535.c
View file @
c4a2fed3
...
...
@@ -12,7 +12,7 @@
#include <linux/spinlock.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/gpio
/driver
.h>
#include <linux/io.h>
#include <linux/cs5535.h>
#include <asm/msr.h>
...
...
drivers/gpio/gpio-da9052.c
View file @
c4a2fed3
...
...
@@ -15,7 +15,7 @@
#include <linux/fs.h>
#include <linux/uaccess.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/gpio
/driver
.h>
#include <linux/syscalls.h>
#include <linux/seq_file.h>
...
...
drivers/gpio/gpio-da9055.c
View file @
c4a2fed3
...
...
@@ -13,7 +13,7 @@
*/
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/gpio
/driver
.h>
#include <linux/mfd/da9055/core.h>
#include <linux/mfd/da9055/reg.h>
...
...
drivers/gpio/gpio-davinci.c
View file @
c4a2fed3
...
...
@@ -9,7 +9,7 @@
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#include <linux/gpio.h>
#include <linux/gpio
/driver
.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/clk.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment