pinctrl-imx8qm.c (597473720f4dc69749542bfcfed4a927a43d935e) | pinctrl-imx8qm.c (36d640fa90a58b9e95f709b8eb75778a422ad418) |
---|---|
1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (C) 2016 Freescale Semiconductor, Inc. 4 * Copyright 2017~2018 NXP 5 * Dong Aisheng <aisheng.dong@nxp.com> 6 */ 7 8#include <dt-bindings/pinctrl/pads-imx8qm.h> --- 284 unchanged lines hidden (view full) --- 293 .npins = ARRAY_SIZE(imx8qm_pinctrl_pads), 294 .flags = IMX_USE_SCU, 295}; 296 297static const struct of_device_id imx8qm_pinctrl_of_match[] = { 298 { .compatible = "fsl,imx8qm-iomuxc", }, 299 { /* sentinel */ } 300}; | 1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (C) 2016 Freescale Semiconductor, Inc. 4 * Copyright 2017~2018 NXP 5 * Dong Aisheng <aisheng.dong@nxp.com> 6 */ 7 8#include <dt-bindings/pinctrl/pads-imx8qm.h> --- 284 unchanged lines hidden (view full) --- 293 .npins = ARRAY_SIZE(imx8qm_pinctrl_pads), 294 .flags = IMX_USE_SCU, 295}; 296 297static const struct of_device_id imx8qm_pinctrl_of_match[] = { 298 { .compatible = "fsl,imx8qm-iomuxc", }, 299 { /* sentinel */ } 300}; |
301MODULE_DEVICE_TABLE(of, imx8qm_pinctrl_of_match); |
|
301 302static int imx8qm_pinctrl_probe(struct platform_device *pdev) 303{ 304 int ret; 305 306 ret = imx_pinctrl_sc_ipc_init(pdev); 307 if (ret) 308 return ret; --- 10 unchanged lines hidden (view full) --- 319 .probe = imx8qm_pinctrl_probe, 320}; 321 322static int __init imx8qm_pinctrl_init(void) 323{ 324 return platform_driver_register(&imx8qm_pinctrl_driver); 325} 326arch_initcall(imx8qm_pinctrl_init); | 302 303static int imx8qm_pinctrl_probe(struct platform_device *pdev) 304{ 305 int ret; 306 307 ret = imx_pinctrl_sc_ipc_init(pdev); 308 if (ret) 309 return ret; --- 10 unchanged lines hidden (view full) --- 320 .probe = imx8qm_pinctrl_probe, 321}; 322 323static int __init imx8qm_pinctrl_init(void) 324{ 325 return platform_driver_register(&imx8qm_pinctrl_driver); 326} 327arch_initcall(imx8qm_pinctrl_init); |
328 329MODULE_AUTHOR("Aisheng Dong <aisheng.dong@nxp.com>"); 330MODULE_DESCRIPTION("NXP i.MX8QM pinctrl driver"); 331MODULE_LICENSE("GPL v2"); |
|