SPDX: Convert all of our single license tags to Linux Kernel style
[oweals/u-boot.git] / drivers / pinctrl / nxp / pinctrl-imx.h
index 037c491580849da90cadd99a7644f1c1c7c5788a..b0032455b7cba3f9cbc005fcb25e8b793c54f9a6 100644 (file)
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2016 Peng Fan <van.freenix@gmail.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef __DRIVERS_PINCTRL_IMX_H
  * @base: the address to the controller in virtual memory
  * @input_sel_base: the address of the select input in virtual memory.
  * @flags: flags specific for each soc
+ * @mux_mask: Used when SHARE_MUX_CONF_REG flag is added
  */
 struct imx_pinctrl_soc_info {
        void __iomem *base;
        void __iomem *input_sel_base;
        unsigned int flags;
+       unsigned int mux_mask;
 };
 
 /**
@@ -41,6 +42,7 @@ extern const struct pinctrl_ops imx_pinctrl_ops;
 
 #define SHARE_MUX_CONF_REG     0x1
 #define ZERO_OFFSET_VALID      0x2
+#define CONFIG_IBE_OBE         0x4
 
 #define IOMUXC_CONFIG_SION     (0x1 << 4)