Lines Matching +full:out +full:- +full:gpio
4 * SPDX-License-Identifier: Apache-2.0
18 #include <zephyr/dt-bindings/gpio/nordic-nrf-gpio.h>
76 return -1; in validate_addr_blk()
85 end_addr = start_addr + len - 1; in rpu_validate_addr()
97 LOG_ERR("Address validation failed - pls check memmory map and re-try"); in rpu_validate_addr()
98 return -1; in rpu_validate_addr()
103 return -1; in rpu_validate_addr()
106 cfg->qspi_slave_latency = (*hl_flag) ? rpu_7002_memmap[selected_blk][2] : 0; in rpu_validate_addr()
116 LOG_ERR("Host IRQ GPIO %s is not ready", host_irq_spec.port->name); in rpu_irq_config()
117 return -ENODEV; in rpu_irq_config()
123 goto out; in rpu_irq_config()
131 goto out; in rpu_irq_config()
142 goto out; in rpu_irq_config()
147 out: in rpu_irq_config()
158 goto out; in rpu_irq_remove()
165 goto out; in rpu_irq_remove()
168 out: in rpu_irq_remove()
177 LOG_ERR("IOVDD GPIO %s is not ready", iovdd_ctrl_spec.port->name); in rpu_gpio_config()
178 return -ENODEV; in rpu_gpio_config()
182 LOG_ERR("BUCKEN GPIO %s is not ready", bucken_spec.port->name); in rpu_gpio_config()
183 return -ENODEV; in rpu_gpio_config()
188 LOG_ERR("BUCKEN GPIO configuration failed..."); in rpu_gpio_config()
194 LOG_ERR("IOVDD GPIO configuration failed..."); in rpu_gpio_config()
199 LOG_DBG("GPIO configuration done...\n"); in rpu_gpio_config()
210 LOG_ERR("BUCKEN GPIO remove failed..."); in rpu_gpio_remove()
216 LOG_ERR("IOVDD GPIO remove failed..."); in rpu_gpio_remove()
220 LOG_DBG("GPIO remove done...\n"); in rpu_gpio_remove()
230 LOG_ERR("BUCKEN GPIO set failed..."); in rpu_pwron()
238 LOG_ERR("IOVDD GPIO set failed..."); in rpu_pwron()
242 /* Settling time for iovdd nRF7002 DK/EK - switch (TCK106AG): ~600us */ in rpu_pwron()
247 /* When a single GPIO is used, we need a total wait time after bucken assertion in rpu_pwron()
265 LOG_ERR("BUCKEN GPIO set failed..."); in rpu_pwroff()
271 LOG_ERR("IOVDD GPIO set failed..."); in rpu_pwroff()
283 return -1; in rpu_read()
287 return qdev->hl_read(addr, data, len); in rpu_read()
289 return qdev->read(addr, data, len); in rpu_read()
298 return -1; in rpu_write()
301 return qdev->write(addr, data, len); in rpu_write()
403 qdev->write(0x048C20, &rpu_clks, 4); in rpu_clks_on()
415 /* UCCP_SOC_FAB_MST_READ_IDLE - HW reset value */ in rpu_validate_comms()
425 return -1; in rpu_validate_comms()
442 goto out; in rpu_init()
468 out: in rpu_init()
508 goto out; in rpu_disable()
512 goto out; in rpu_disable()
518 goto out; in rpu_disable()
524 out: in rpu_disable()