Home
last modified time | relevance | path

Searched +full:src +full:- +full:5 +full:v +full:- +full:ocp (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/dts/bindings/ppc/
Dnxp,nx20p3483.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [base.yaml, i2c-device.yaml]
11 irq-gpios:
12 type: phandle-array
15 snk-ovp:
19 Sink high-voltage overvoltage protection threshold in millivolts.
22 src-hv:
25 If set, source role will use high-voltage path instead of 5V.
27 src-hv-ocp:
31 Source high-voltage overcurrent protection threshold in milliamperes.
[all …]
/Zephyr-latest/drivers/usb_c/ppc/
Dnxp_nx20p3483.c3 * SPDX-License-Identifier: Apache-2.0
23 "HV SRC OCP Threshold", "5V SRC OCP Threshold", "Device Control ",
37 /** Boolean value whether to use high-voltage source if true or 5V source if false */
39 /** Overcurrent protection threshold for 5V source role */
63 const struct nx20p3483_cfg *cfg = dev->config; in read_reg()
66 ret = i2c_reg_read_byte(cfg->bus.bus, cfg->bus.addr, reg, value); in read_reg()
77 const struct nx20p3483_cfg *cfg = dev->config; in write_reg()
80 ret = i2c_reg_write_byte(cfg->bus.bus, cfg->bus.addr, reg, value); in write_reg()
94 return -EINVAL; in nx20p3483_set_snk_ovp_limit()
170 const struct nx20p3483_cfg *cfg = dev->config; in nx20p3483_set_vbus_sink()
[all …]