driver: pinctrl: Add reserved GPIOs for Lahaina
Certain GPIOs are reserved for secure world and cannot be accessed by HLOS. Supply "reserved_gpios" to msm_pinctrl to mark these pins as invalid. Change-Id: I896b1cc02221873341cb79db63fd61db155f5590 Signed-off-by: Elliot Berman <eberman@codeaurora.org>
This commit is contained in:
parent
3adfbb92f7
commit
8a987160ac
@ -1836,6 +1836,10 @@ static const struct msm_pingroup lahaina_groups[] = {
|
||||
[206] = UFS_RESET(ufs_reset, 0x1d8000),
|
||||
};
|
||||
|
||||
static const int lahaina_reserved_gpios[] = {
|
||||
52, 53, 54, 55, 56, 57, 58, 59, -1
|
||||
};
|
||||
|
||||
static const struct msm_pinctrl_soc_data lahaina_pinctrl = {
|
||||
.pins = lahaina_pins,
|
||||
.npins = ARRAY_SIZE(lahaina_pins),
|
||||
@ -1843,6 +1847,7 @@ static const struct msm_pinctrl_soc_data lahaina_pinctrl = {
|
||||
.nfunctions = ARRAY_SIZE(lahaina_functions),
|
||||
.groups = lahaina_groups,
|
||||
.ngroups = ARRAY_SIZE(lahaina_groups),
|
||||
.reserved_gpios = lahaina_reserved_gpios,
|
||||
.ngpios = 203,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user