Lines Matching full:syscon
3 * SYSCON GPIO driver
14 #include <linux/mfd/syscon.h>
20 /* SYSCON driver is designed to use 32-bit wide registers */
49 struct regmap *syscon; member
63 ret = regmap_read(priv->syscon, in syscon_gpio_get()
78 regmap_update_bits(priv->syscon, in syscon_gpio_set()
94 regmap_update_bits(priv->syscon, in syscon_gpio_dir_in()
112 regmap_update_bits(priv->syscon, in syscon_gpio_dir_out()
142 ret = regmap_write(priv->syscon, in rockchip_gpio_set()
171 priv->syscon, in keystone_gpio_set()
218 priv->syscon = syscon_regmap_lookup_by_phandle(np, "gpio,syscon-dev"); in syscon_gpio_probe()
219 if (IS_ERR(priv->syscon) && np->parent) { in syscon_gpio_probe()
220 priv->syscon = syscon_node_to_regmap(np->parent); in syscon_gpio_probe()
223 if (IS_ERR(priv->syscon)) in syscon_gpio_probe()
224 return PTR_ERR(priv->syscon); in syscon_gpio_probe()
227 ret = of_property_read_u32_index(np, "gpio,syscon-dev", 1, in syscon_gpio_probe()
234 ret = of_property_read_u32_index(np, "gpio,syscon-dev", 2, in syscon_gpio_probe()
260 .name = "gpio-syscon",
268 MODULE_DESCRIPTION("SYSCON GPIO driver");