pinctrl: Add support in VM for Volcano SoC
Add pinctrl support for VM in Volcano SoC. Change-Id: Iaa2cb0e69ab62d183b4bc87246147b8beadfd663 Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
This commit is contained in:
parent
c9ed6697ee
commit
4af01a8313
@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/module.h>
|
||||
@ -2157,8 +2157,20 @@ static const struct msm_pinctrl_soc_data volcano_pinctrl = {
|
||||
.egpio_func = 11,
|
||||
};
|
||||
|
||||
static const struct msm_pinctrl_soc_data volcano_vm_pinctrl = {
|
||||
.pins = volcano_pins,
|
||||
.npins = ARRAY_SIZE(volcano_pins),
|
||||
.functions = volcano_functions,
|
||||
.nfunctions = ARRAY_SIZE(volcano_functions),
|
||||
.groups = volcano_groups,
|
||||
.ngroups = ARRAY_SIZE(volcano_groups),
|
||||
.ngpios = 168,
|
||||
.egpio_func = 11,
|
||||
};
|
||||
|
||||
static const struct of_device_id volcano_pinctrl_of_match[] = {
|
||||
{ .compatible = "qcom,volcano-pinctrl", .data = &volcano_pinctrl },
|
||||
{ .compatible = "qcom,volcano-vm-pinctrl", .data = &volcano_vm_pinctrl },
|
||||
{},
|
||||
};
|
||||
|
||||
@ -2198,3 +2210,4 @@ module_exit(volcano_pinctrl_exit);
|
||||
MODULE_DESCRIPTION("QTI volcano pinctrl driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DEVICE_TABLE(of, volcano_pinctrl_of_match);
|
||||
MODULE_SOFTDEP("pre: qcom_tlmm_vm_irqchip");
|
||||
|
Loading…
Reference in New Issue
Block a user