hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/pinctrl/tegra/pinctrl-tegra20.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Pinctrl data for the NVIDIA Tegra20 pinmux
34 *
....@@ -8,15 +9,6 @@
89 * Derived from code:
910 * Copyright (C) 2010 Google, Inc.
1011 * Copyright (C) 2010 NVIDIA Corporation
11
- *
12
- * This program is free software; you can redistribute it and/or modify it
13
- * under the terms and conditions of the GNU General Public License,
14
- * version 2, as published by the Free Software Foundation.
15
- *
16
- * This program is distributed in the hope it will be useful, but WITHOUT
17
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
19
- * more details.
2012 */
2113
2214 #include <linux/clk-provider.h>
....@@ -1997,13 +1989,13 @@
19971989 .tri_reg = ((tri_r) - TRISTATE_REG_A), \
19981990 .tri_bank = 0, \
19991991 .tri_bit = tri_b, \
2000
- .parked_bit = -1, \
20011992 .einput_bit = -1, \
20021993 .odrain_bit = -1, \
20031994 .lock_bit = -1, \
20041995 .ioreset_bit = -1, \
20051996 .rcv_sel_bit = -1, \
20061997 .drv_reg = -1, \
1998
+ .parked_bitmask = 0, \
20071999 }
20082000
20092001 /* Pin groups with only pull up and pull down control */
....@@ -2017,7 +2009,7 @@
20172009 .pupd_bank = 2, \
20182010 .pupd_bit = pupd_b, \
20192011 .drv_reg = -1, \
2020
- .parked_bit = -1, \
2012
+ .parked_bitmask = 0, \
20212013 }
20222014
20232015 /* Pin groups for drive strength registers (configurable version) */
....@@ -2033,7 +2025,7 @@
20332025 .tri_reg = -1, \
20342026 .drv_reg = ((r) - PINGROUP_REG_A), \
20352027 .drv_bank = 3, \
2036
- .parked_bit = -1, \
2028
+ .parked_bitmask = 0, \
20372029 .hsm_bit = hsm_b, \
20382030 .schmitt_bit = schmitt_b, \
20392031 .lpmd_bit = lpmd_b, \