Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8aad111 authored by Raghavendra Kakarla's avatar Raghavendra Kakarla
Browse files

drivers: irqchip: qcom: Add MSM8953 gpio pin data for MPM



Add the mpm gpio pin input mapping for msm8953 chip.

Change-Id: I10e590e29bca31e461f727099c4798c2dbe0cfb8
Signed-off-by: default avatarRaghavendra Kakarla <rkakarla@codeaurora.org>
parent 07b2f400
Loading
Loading
Loading
Loading
+57 −0
Original line number Diff line number Diff line
@@ -22,3 +22,60 @@ const struct mpm_pin mpm_msm8953_gic_chip_data[] = {
	{88, 222}, /* ee0_krait_hlos_spmi_periph_irq */
	{-1},
};

const struct mpm_pin mpm_msm8953_gpio_chip_data[] = {
	{3, 38},
	{4, 1},
	{5, 5},
	{6, 9},
	{8, 37},
	{9, 36},
	{10, 13},
	{11, 35},
	{12, 17},
	{13, 21},
	{14, 54},
	{15, 34},
	{16, 31},
	{17, 58},
	{18, 28},
	{19, 42},
	{20, 25},
	{21, 12},
	{22, 43},
	{23, 44},
	{24, 45},
	{25, 46},
	{26, 48},
	{27, 65},
	{28, 93},
	{29, 97},
	{30, 63},
	{31, 70},
	{32, 71},
	{33, 72},
	{34, 81},
	{35, 85},
	{36, 90},
	{50, 67},
	{51, 73},
	{52, 74},
	{53, 62},
	{59, 59},
	{60, 60},
	{61, 61},
	{62, 86},
	{63, 87},
	{64, 91},
	{65, 129},
	{66, 130},
	{67, 131},
	{68, 132},
	{69, 133},
	{70, 137},
	{71, 138},
	{72, 139},
	{73, 140},
	{74, 141},
	{-1},
};
+4 −0
Original line number Diff line number Diff line
@@ -547,6 +547,10 @@ static const struct of_device_id mpm_gic_chip_data_table[] = {
MODULE_DEVICE_TABLE(of, mpm_gic_chip_data_table);

static const struct of_device_id mpm_gpio_chip_data_table[] = {
	{
		.compatible = "qcom,mpm-gpio-msm8953",
		.data = mpm_msm8953_gpio_chip_data,
	},
	{}
};

+1 −0
Original line number Diff line number Diff line
@@ -22,5 +22,6 @@ struct mpm_pin {
};

extern const struct mpm_pin mpm_msm8953_gic_chip_data[];
extern const struct mpm_pin mpm_msm8953_gpio_chip_data[];

#endif /* __QCOM_MPM_H__ */