forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'pinctrl-v6.2-2' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/linusw/linux-pinctrl Pull pin control fixes from Linus Walleij: - Compilation fix for Sunplus sp7021 - Add some missing headers after a cleanup to the Nomadik driver - Fix pull type and mux routes on Rockchip RK3568 * tag 'pinctrl-v6.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: pinctrl: rockchip: fix mux route data for rk3568 pinctrl: rockchip: fix reading pull type on rk3568 pinctrl: nomadik: Add missing header(s) pinctrl: sp7021: fix unused function warning
- Loading branch information
Showing
10 changed files
with
76 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,30 +7,34 @@ | |
* Rewritten based on work by Prafulla WADASKAR <[email protected]> | ||
* Copyright (C) 2011-2013 Linus Walleij <[email protected]> | ||
*/ | ||
#include <linux/kernel.h> | ||
#include <linux/init.h> | ||
#include <linux/device.h> | ||
#include <linux/platform_device.h> | ||
#include <linux/io.h> | ||
#include <linux/bitops.h> | ||
#include <linux/clk.h> | ||
#include <linux/device.h> | ||
#include <linux/err.h> | ||
#include <linux/gpio/driver.h> | ||
#include <linux/spinlock.h> | ||
#include <linux/init.h> | ||
#include <linux/interrupt.h> | ||
#include <linux/slab.h> | ||
#include <linux/of_device.h> | ||
#include <linux/io.h> | ||
#include <linux/kernel.h> | ||
#include <linux/of_address.h> | ||
#include <linux/bitops.h> | ||
#include <linux/of_device.h> | ||
#include <linux/platform_device.h> | ||
#include <linux/seq_file.h> | ||
#include <linux/slab.h> | ||
#include <linux/spinlock.h> | ||
|
||
/* Since we request GPIOs from ourself */ | ||
#include <linux/pinctrl/consumer.h> | ||
#include <linux/pinctrl/machine.h> | ||
#include <linux/pinctrl/pinconf.h> | ||
#include <linux/pinctrl/pinctrl.h> | ||
#include <linux/pinctrl/pinmux.h> | ||
#include <linux/pinctrl/pinconf.h> | ||
/* Since we request GPIOs from ourself */ | ||
#include <linux/pinctrl/consumer.h> | ||
#include "pinctrl-nomadik.h" | ||
|
||
#include "../core.h" | ||
#include "../pinctrl-utils.h" | ||
|
||
#include "pinctrl-nomadik.h" | ||
|
||
/* | ||
* The GPIO module in the Nomadik family of Systems-on-Chip is an | ||
* AMBA device, managing 32 pins and alternate functions. The logic block | ||
|
@@ -907,8 +911,6 @@ static int nmk_gpio_get_mode(struct nmk_gpio_chip *nmk_chip, int offset) | |
return (afunc ? NMK_GPIO_ALT_A : 0) | (bfunc ? NMK_GPIO_ALT_B : 0); | ||
} | ||
|
||
#include <linux/seq_file.h> | ||
|
||
static void nmk_gpio_dbg_show_one(struct seq_file *s, | ||
struct pinctrl_dev *pctldev, struct gpio_chip *chip, | ||
unsigned offset, unsigned gpio) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters