pinctrl-sdm660.c (34069d12e239ae8f36dd96c378e4622fb1c42a76) | pinctrl-sdm660.c (68a2f05fec4939922aef6710d55c14398a5825f3) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2016, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2018, Craig Tatlor. 5 */ 6 7#include <linux/module.h> 8#include <linux/of.h> --- 1385 unchanged lines hidden (view full) --- 1394 SDC_QDSD_PINGROUP(sdc1_cmd, 0x9a000, 11, 3), 1395 SDC_QDSD_PINGROUP(sdc1_data, 0x9a000, 9, 0), 1396 SDC_QDSD_PINGROUP(sdc2_clk, 0x9b000, 14, 6), 1397 SDC_QDSD_PINGROUP(sdc2_cmd, 0x9b000, 11, 3), 1398 SDC_QDSD_PINGROUP(sdc2_data, 0x9b000, 9, 0), 1399 SDC_QDSD_PINGROUP(sdc1_rclk, 0x9a000, 15, 0), 1400}; 1401 | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2016, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2018, Craig Tatlor. 5 */ 6 7#include <linux/module.h> 8#include <linux/of.h> --- 1385 unchanged lines hidden (view full) --- 1394 SDC_QDSD_PINGROUP(sdc1_cmd, 0x9a000, 11, 3), 1395 SDC_QDSD_PINGROUP(sdc1_data, 0x9a000, 9, 0), 1396 SDC_QDSD_PINGROUP(sdc2_clk, 0x9b000, 14, 6), 1397 SDC_QDSD_PINGROUP(sdc2_cmd, 0x9b000, 11, 3), 1398 SDC_QDSD_PINGROUP(sdc2_data, 0x9b000, 9, 0), 1399 SDC_QDSD_PINGROUP(sdc1_rclk, 0x9a000, 15, 0), 1400}; 1401 |
1402static const struct msm_gpio_wakeirq_map sdm660_mpm_map[] = { 1403 { 1, 3 }, { 5, 4 }, { 9, 5 }, { 10, 6 }, { 66, 7 }, { 22, 8 }, { 25, 9 }, { 28, 10 }, 1404 { 58, 11 }, { 41, 13 }, { 43, 14 }, { 40, 15 }, { 42, 16 }, { 46, 17 }, { 50, 18 }, 1405 { 44, 19 }, { 56, 21 }, { 45, 22 }, { 68, 23 }, { 69, 24 }, { 70, 25 }, { 71, 26 }, 1406 { 72, 27 }, { 73, 28 }, { 64, 29 }, { 2, 30 }, { 13, 31 }, { 111, 32 }, { 74, 33 }, 1407 { 75, 34 }, { 76, 35 }, { 82, 36 }, { 17, 37 }, { 77, 38 }, { 47, 39 }, { 54, 40 }, 1408 { 48, 41 }, { 101, 42 }, { 49, 43 }, { 51, 44 }, { 86, 45 }, { 90, 46 }, { 91, 47 }, 1409 { 52, 48 }, { 55, 50 }, { 6, 51 }, { 65, 53 }, { 67, 55 }, { 83, 56 }, { 84, 57 }, 1410 { 85, 58 }, { 87, 59 }, { 21, 63 }, { 78, 64 }, { 113, 65 }, { 60, 66 }, { 98, 67 }, 1411 { 30, 68 }, { 31, 70 }, { 29, 71 }, { 107, 76 }, { 109, 83 }, { 103, 84 }, { 105, 85 }, 1412}; 1413 |
|
1402static const struct msm_pinctrl_soc_data sdm660_pinctrl = { 1403 .pins = sdm660_pins, 1404 .npins = ARRAY_SIZE(sdm660_pins), 1405 .functions = sdm660_functions, 1406 .nfunctions = ARRAY_SIZE(sdm660_functions), 1407 .groups = sdm660_groups, 1408 .ngroups = ARRAY_SIZE(sdm660_groups), 1409 .ngpios = 114, 1410 .tiles = sdm660_tiles, 1411 .ntiles = ARRAY_SIZE(sdm660_tiles), | 1414static const struct msm_pinctrl_soc_data sdm660_pinctrl = { 1415 .pins = sdm660_pins, 1416 .npins = ARRAY_SIZE(sdm660_pins), 1417 .functions = sdm660_functions, 1418 .nfunctions = ARRAY_SIZE(sdm660_functions), 1419 .groups = sdm660_groups, 1420 .ngroups = ARRAY_SIZE(sdm660_groups), 1421 .ngpios = 114, 1422 .tiles = sdm660_tiles, 1423 .ntiles = ARRAY_SIZE(sdm660_tiles), |
1424 .wakeirq_map = sdm660_mpm_map, 1425 .nwakeirq_map = ARRAY_SIZE(sdm660_mpm_map), |
|
1412}; 1413 1414static int sdm660_pinctrl_probe(struct platform_device *pdev) 1415{ 1416 return msm_pinctrl_probe(pdev, &sdm660_pinctrl); 1417} 1418 1419static const struct of_device_id sdm660_pinctrl_of_match[] = { --- 29 unchanged lines hidden --- | 1426}; 1427 1428static int sdm660_pinctrl_probe(struct platform_device *pdev) 1429{ 1430 return msm_pinctrl_probe(pdev, &sdm660_pinctrl); 1431} 1432 1433static const struct of_device_id sdm660_pinctrl_of_match[] = { --- 29 unchanged lines hidden --- |