Lines Matching +full:npm1300 +full:- +full:regulator
3 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/drivers/regulator.h>
14 #include <zephyr/dt-bindings/regulator/npm1300.h>
15 #include <zephyr/drivers/mfd/npm1300.h>
37 printk("Error: button device %s is not ready\n", button1.port->name); in configure_ui()
43 printk("Error %d: failed to configure %s pin %d\n", ret, button1.port->name, in configure_ui()
48 printk("Set up button at %s pin %d\n", button1.port->name, button1.pin); in configure_ui()
98 printk("I: %s%d.%04d ", ((current.val1 < 0) || (current.val2 < 0)) ? "-" : "", in read_sensors()
101 printk("T: %s%d.%02d\n", ((temp.val1 < 0) || (temp.val2 < 0)) ? "-" : "", abs(temp.val1), in read_sensors()
115 printk("Error: Regulator device is not ready\n"); in main()
125 /* Cycle regulator control GPIOs when first button pressed */ in main()