File tree Expand file tree Collapse file tree 25 files changed +151
-271
lines changed
drivers/pinctrl/freescale Expand file tree Collapse file tree 25 files changed +151
-271
lines changed Original file line number Diff line number Diff line change 1
- /*
2
- * Core driver for the imx pin controller
3
- *
4
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
5
- * Copyright (C) 2012 Linaro Ltd.
6
- *
7
- * Author: Dong Aisheng <dong.aisheng@linaro.org>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
- */
1
+ // SPDX-License-Identifier: GPL-2.0+
2
+ //
3
+ // Core driver for the imx pin controller
4
+ //
5
+ // Copyright (C) 2012 Freescale Semiconductor, Inc.
6
+ // Copyright (C) 2012 Linaro Ltd.
7
+ //
8
+ // Author: Dong Aisheng <dong.aisheng@linaro.org>
14
9
15
10
#include <linux/err.h>
16
11
#include <linux/init.h>
Original file line number Diff line number Diff line change
1
+ /* SPDX-License-Identifier: GPL-2.0+ */
1
2
/*
2
3
* IMX pinmux core definitions
3
4
*
4
5
* Copyright (C) 2012 Freescale Semiconductor, Inc.
5
6
* Copyright (C) 2012 Linaro Ltd.
6
7
*
7
8
* Author: Dong Aisheng <dong.aisheng@linaro.org>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
9
*/
14
10
15
11
#ifndef __DRIVERS_PINCTRL_IMX_H
Original file line number Diff line number Diff line change 1
- /*
2
- * Core driver for the imx pin controller in imx1/21/27
3
- *
4
- * Copyright (C) 2013 Pengutronix
5
- * Author: Markus Pargmann <mpa@pengutronix.de>
6
- *
7
- * Based on pinctrl-imx.c:
8
- * Author: Dong Aisheng <dong.aisheng@linaro.org>
9
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
10
- * Copyright (C) 2012 Linaro Ltd.
11
- *
12
- * This program is free software; you can redistribute it and/or modify
13
- * it under the terms of the GNU General Public License as published by
14
- * the Free Software Foundation; either version 2 of the License, or
15
- * (at your option) any later version.
16
- */
1
+ // SPDX-License-Identifier: GPL-2.0+
2
+ //
3
+ // Core driver for the imx pin controller in imx1/21/27
4
+ //
5
+ // Copyright (C) 2013 Pengutronix
6
+ // Author: Markus Pargmann <mpa@pengutronix.de>
7
+ //
8
+ // Based on pinctrl-imx.c:
9
+ // Author: Dong Aisheng <dong.aisheng@linaro.org>
10
+ // Copyright (C) 2012 Freescale Semiconductor, Inc.
11
+ // Copyright (C) 2012 Linaro Ltd.
17
12
18
13
#include <linux/bitops.h>
19
14
#include <linux/err.h>
Original file line number Diff line number Diff line change 1
- /*
2
- * i.MX1 pinctrl driver based on imx pinmux core
3
- *
4
- * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
10
- */
1
+ // SPDX-License-Identifier: GPL-2.0+
2
+ //
3
+ // i.MX1 pinctrl driver based on imx pinmux core
4
+ //
5
+ // Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
11
6
12
7
#include <linux/init.h>
13
8
#include <linux/of.h>
Original file line number Diff line number Diff line change
1
+ /* SPDX-License-Identifier: GPL-2.0+ */
1
2
/*
2
3
* IMX pinmux core definitions
3
4
*
4
5
* Copyright (C) 2012 Freescale Semiconductor, Inc.
5
6
* Copyright (C) 2012 Linaro Ltd.
6
7
*
7
8
* Author: Dong Aisheng <dong.aisheng@linaro.org>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
9
*/
14
10
15
11
#ifndef __DRIVERS_PINCTRL_IMX1_H
Original file line number Diff line number Diff line change 1
- /*
2
- * i.MX21 pinctrl driver based on imx pinmux core
3
- *
4
- * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
10
- */
1
+ // SPDX-License-Identifier: GPL-2.0+
2
+ //
3
+ // i.MX21 pinctrl driver based on imx pinmux core
4
+ //
5
+ // Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru>
11
6
12
7
#include <linux/init.h>
13
8
#include <linux/of.h>
Original file line number Diff line number Diff line change 1
- /*
2
- * Freescale i.MX23 pinctrl driver
3
- *
4
- * Author: Shawn Guo <shawn.guo@linaro.org>
5
- * Copyright 2012 Freescale Semiconductor, Inc.
6
- *
7
- * The code contained herein is licensed under the GNU General Public
8
- * License. You may obtain a copy of the GNU General Public License
9
- * Version 2 or later at the following locations:
10
- *
11
- * http://www.opensource.org/licenses/gpl-license.html
12
- * http://www.gnu.org/copyleft/gpl.html
13
- */
1
+ // SPDX-License-Identifier: GPL-2.0+
2
+ //
3
+ // Freescale i.MX23 pinctrl driver
4
+ //
5
+ // Author: Shawn Guo <shawn.guo@linaro.org>
6
+ // Copyright 2012 Freescale Semiconductor, Inc.
14
7
15
8
#include <linux/init.h>
16
9
#include <linux/of_device.h>
Original file line number Diff line number Diff line change 1
- /*
2
- * imx25 pinctrl driver.
3
- *
4
- * Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
5
- *
6
- * This driver was mostly copied from the imx51 pinctrl driver which has:
7
- *
8
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
9
- * Copyright (C) 2012 Linaro, Inc.
10
- *
11
- * Author: Denis Carikli <denis@eukrea.com>
12
- *
13
- * This program is free software; you can redistribute it and/or modify
14
- * it under the terms of the GNU General Public License version 2 as published
15
- * by the Free Software Foundation.
16
- */
1
+ // SPDX-License-Identifier: GPL-2.0
2
+ //
3
+ // imx25 pinctrl driver.
4
+ //
5
+ // Copyright 2013 Eukréa Electromatique <denis@eukrea.com>
6
+ //
7
+ // This driver was mostly copied from the imx51 pinctrl driver which has:
8
+ //
9
+ // Copyright (C) 2012 Freescale Semiconductor, Inc.
10
+ // Copyright (C) 2012 Linaro, Inc.
11
+ //
12
+ // Author: Denis Carikli <denis@eukrea.com>
17
13
18
14
#include <linux/err.h>
19
15
#include <linux/init.h>
Original file line number Diff line number Diff line change 1
- /*
2
- * imx27 pinctrl driver based on imx pinmux core
3
- *
4
- * Copyright (C) 2013 Pengutronix
5
- *
6
- * Author: Markus Pargmann <mpa@pengutronix.de>
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version.
12
- */
1
+ // SPDX-License-Identifier: GPL-2.0+
2
+ //
3
+ // imx27 pinctrl driver based on imx pinmux core
4
+ //
5
+ // Copyright (C) 2013 Pengutronix
6
+ //
7
+ // Author: Markus Pargmann <mpa@pengutronix.de>
13
8
14
9
#include <linux/err.h>
15
10
#include <linux/init.h>
Original file line number Diff line number Diff line change 1
- /*
2
- * Freescale i.MX28 pinctrl driver
3
- *
4
- * Author: Shawn Guo <shawn.guo@linaro.org>
5
- * Copyright 2012 Freescale Semiconductor, Inc.
6
- *
7
- * The code contained herein is licensed under the GNU General Public
8
- * License. You may obtain a copy of the GNU General Public License
9
- * Version 2 or later at the following locations:
10
- *
11
- * http://www.opensource.org/licenses/gpl-license.html
12
- * http://www.gnu.org/copyleft/gpl.html
13
- */
1
+ // SPDX-License-Identifier: GPL-2.0+
2
+ //
3
+ // Freescale i.MX28 pinctrl driver
4
+ //
5
+ // Author: Shawn Guo <shawn.guo@linaro.org>
6
+ // Copyright 2012 Freescale Semiconductor, Inc.
14
7
15
8
#include <linux/init.h>
16
9
#include <linux/of_device.h>
Original file line number Diff line number Diff line change 1
- /*
2
- * imx35 pinctrl driver.
3
- *
4
- * This driver was mostly copied from the imx51 pinctrl driver which has:
5
- *
6
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
7
- * Copyright (C) 2012 Linaro, Inc.
8
- *
9
- * Author: Dong Aisheng <dong.aisheng@linaro.org>
10
- *
11
- * This program is free software; you can redistribute it and/or modify
12
- * it under the terms of the GNU General Public License version 2 as published
13
- * by the Free Software Foundation.
14
- */
1
+ // SPDX-License-Identifier: GPL-2.0
2
+ //
3
+ // imx35 pinctrl driver.
4
+ //
5
+ // This driver was mostly copied from the imx51 pinctrl driver which has:
6
+ //
7
+ // Copyright (C) 2012 Freescale Semiconductor, Inc.
8
+ // Copyright (C) 2012 Linaro, Inc.
9
+ //
10
+ // Author: Dong Aisheng <dong.aisheng@linaro.org>
15
11
16
12
#include <linux/err.h>
17
13
#include <linux/init.h>
Original file line number Diff line number Diff line change 1
- /*
2
- * imx50 pinctrl driver based on imx pinmux core
3
- *
4
- * Copyright (C) 2013 Greg Ungerer <gerg@uclinux.org>
5
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
6
- * Copyright (C) 2012 Linaro, Inc.
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License as published by
10
- * the Free Software Foundation; either version 2 of the License, or
11
- * (at your option) any later version.
12
- */
1
+ // SPDX-License-Identifier: GPL-2.0+
2
+ //
3
+ // imx50 pinctrl driver based on imx pinmux core
4
+ //
5
+ // Copyright (C) 2013 Greg Ungerer <gerg@uclinux.org>
6
+ // Copyright (C) 2012 Freescale Semiconductor, Inc.
7
+ // Copyright (C) 2012 Linaro, Inc.
13
8
14
9
#include <linux/err.h>
15
10
#include <linux/init.h>
Original file line number Diff line number Diff line change 1
- /*
2
- * imx51 pinctrl driver based on imx pinmux core
3
- *
4
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
5
- * Copyright (C) 2012 Linaro, Inc.
6
- *
7
- * Author: Dong Aisheng <dong.aisheng@linaro.org>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
- */
1
+ // SPDX-License-Identifier: GPL-2.0+
2
+ //
3
+ // imx51 pinctrl driver based on imx pinmux core
4
+ //
5
+ // Copyright (C) 2012 Freescale Semiconductor, Inc.
6
+ // Copyright (C) 2012 Linaro, Inc.
7
+ //
8
+ // Author: Dong Aisheng <dong.aisheng@linaro.org>
14
9
15
10
#include <linux/err.h>
16
11
#include <linux/init.h>
Original file line number Diff line number Diff line change 1
- /*
2
- * imx53 pinctrl driver based on imx pinmux core
3
- *
4
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
5
- * Copyright (C) 2012 Linaro, Inc.
6
- *
7
- * Author: Dong Aisheng <dong.aisheng@linaro.org>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
- */
1
+ // SPDX-License-Identifier: GPL-2.0+
2
+ //
3
+ // imx53 pinctrl driver based on imx pinmux core
4
+ //
5
+ // Copyright (C) 2012 Freescale Semiconductor, Inc.
6
+ // Copyright (C) 2012 Linaro, Inc.
7
+ //
8
+ // Author: Dong Aisheng <dong.aisheng@linaro.org>
14
9
15
10
#include <linux/err.h>
16
11
#include <linux/init.h>
Original file line number Diff line number Diff line change 1
- /*
2
- * Freescale imx6dl pinctrl driver
3
- *
4
- * Author: Shawn Guo <shawn.guo@linaro.org>
5
- * Copyright (C) 2013 Freescale Semiconductor, Inc.
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
10
- */
1
+ // SPDX-License-Identifier: GPL-2.0
2
+ //
3
+ // Freescale imx6dl pinctrl driver
4
+ //
5
+ // Author: Shawn Guo <shawn.guo@linaro.org>
6
+ // Copyright (C) 2013 Freescale Semiconductor, Inc.
11
7
12
8
#include <linux/err.h>
13
9
#include <linux/init.h>
Original file line number Diff line number Diff line change 1
- /*
2
- * imx6q pinctrl driver based on imx pinmux core
3
- *
4
- * Copyright (C) 2012 Freescale Semiconductor, Inc.
5
- * Copyright (C) 2012 Linaro, Inc.
6
- *
7
- * Author: Dong Aisheng <dong.aisheng@linaro.org>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
13
- */
1
+ // SPDX-License-Identifier: GPL-2.0+
2
+ //
3
+ // imx6q pinctrl driver based on imx pinmux core
4
+ //
5
+ // Copyright (C) 2012 Freescale Semiconductor, Inc.
6
+ // Copyright (C) 2012 Linaro, Inc.
7
+ //
8
+ // Author: Dong Aisheng <dong.aisheng@linaro.org>
14
9
15
10
#include <linux/err.h>
16
11
#include <linux/init.h>
Original file line number Diff line number Diff line change 1
- /*
2
- * Freescale imx6sl pinctrl driver
3
- *
4
- * Author: Shawn Guo <shawn.guo@linaro.org>
5
- * Copyright (C) 2013 Freescale Semiconductor, Inc.
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
10
- */
1
+ // SPDX-License-Identifier: GPL-2.0
2
+ //
3
+ // Freescale imx6sl pinctrl driver
4
+ //
5
+ // Author: Shawn Guo <shawn.guo@linaro.org>
6
+ // Copyright (C) 2013 Freescale Semiconductor, Inc.
11
7
12
8
#include <linux/err.h>
13
9
#include <linux/init.h>
You can’t perform that action at this time.
0 commit comments