summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/freescale/pinctrl-imx.h
diff options
context:
space:
mode:
authorAdrian Alonso <aalonso@freescale.com>2015-09-26 00:05:59 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-10-03 00:37:06 +0300
commite7b37a522aa92da5f47106aa07b6c1fc58bfd922 (patch)
tree6a874faeb1bbfa8583e95304eb02ad2304a840fb /drivers/pinctrl/freescale/pinctrl-imx.h
parentee1635180a8437b8ea4ea2233fd3d3ab1ae95a49 (diff)
downloadlinux-e7b37a522aa92da5f47106aa07b6c1fc58bfd922.tar.xz
pinctrl: freescale: imx: allow mux_reg offset zero
Allow mux_reg offset zero to be a valid pin_id, on imx7d mux_conf reg offset is zero for iomuxc-lspr controller Signed-off-by: Adrian Alonso <aalonso@freescale.com> Acked-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/freescale/pinctrl-imx.h')
-rw-r--r--drivers/pinctrl/freescale/pinctrl-imx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-imx.h b/drivers/pinctrl/freescale/pinctrl-imx.h
index 2a5fe729fe06..2a592f657c18 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx.h
+++ b/drivers/pinctrl/freescale/pinctrl-imx.h
@@ -85,6 +85,7 @@ struct imx_pinctrl_soc_info {
};
#define SHARE_MUX_CONF_REG 0x1
+#define ZERO_OFFSET_VALID 0x2
#define NO_MUX 0x0
#define NO_PAD 0x0