Lines Matching full:syscon
8 #include <syscon.h>
19 * This API requires the given device has alerady been bound to syscon driver.
21 * compatible = "syscon", "simple-mfd";
23 * compatible = "simple-mfd", "syscon";
63 struct udevice *syscon; in syscon_regmap_lookup_by_phandle() local
68 name, &syscon); in syscon_regmap_lookup_by_phandle()
70 dev_dbg(dev, "unable to find syscon device\n"); in syscon_regmap_lookup_by_phandle()
74 r = syscon_get_regmap(syscon); in syscon_regmap_lookup_by_phandle()
127 UCLASS_DRIVER(syscon) = {
129 .name = "syscon",
135 { .compatible = "syscon" },
140 .name = "syscon",
149 * Linux-compatible syscon-to-regmap
150 * The syscon node can be bound to another driver, but still works
151 * as a syscon provider.
161 if (!ofnode_device_is_compatible(node, "syscon")) in syscon_node_to_regmap()
168 /* force bound to syscon class */ in syscon_node_to_regmap()
169 ret = device_bind_driver_to_node(parent, "syscon", in syscon_node_to_regmap()