From 11b642b447064af6f269e870da2eb14a26227947 Mon Sep 17 00:00:00 2001 From: ivangilmercano Date: Fri, 29 Nov 2024 12:20:25 +0800 Subject: [PATCH] Add README documentation for ADP105x - ADP1051 Signed-off-by: ivangilmercano --- drivers/power/adp1050/README.rst | 10 +++++++--- projects/adp1050/Makefile | 6 +++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/power/adp1050/README.rst b/drivers/power/adp1050/README.rst index 2d09163e12a..30691ec6253 100644 --- a/drivers/power/adp1050/README.rst +++ b/drivers/power/adp1050/README.rst @@ -5,15 +5,16 @@ Supported Devices ----------------- `ADP1050 `_ +`ADP1051 `_ Overview -------- -The ADP1050 is an advanced digital controller with a PMBus™ interface targeting +The ADP1050 and ADP1051 is an advanced digital controller with a PMBus™ interface targeting high density, high efficiency dc-to-dc power conversion. This controller implements voltage mode control with high speed, input voltage feedforward operation for enhanced transient and noise performance. -The ADP1050 has four programmable pulse-width modulation (PWM) outputs capable +ADP1050 and ADP1051 has four programmable pulse-width modulation (PWM) outputs capable of controlling most high efficiency power supply topologies, with the added control of synchronous rectification (SR). @@ -21,6 +22,7 @@ Applications ------------ ADP1050 +ADP1051 ------- * High density, isolated dc-to-dc power supplies @@ -181,6 +183,7 @@ ADP1050 Driver Initialization Example .flgi_param = NULL, .syni_param = NULL, .on_off_config = ADP1050_ON_OFF_DEFAULT_CFG, + .device_id = ID_ADP1051, }; ret = adp1050_init(&adp1050_desc, &adp1050_ip); if (ret) @@ -207,7 +210,7 @@ and each of them has a total of 2 channel attributes: Output Channel Attributes ------------------------- -OUTA/OUTB/SR1/SR2 channels are thee output channels of the ADP1050 IIO device +OUTA/OUTB/OUTC/SR1/SR2 channels are thee output channels of the ADP1050 IIO device and each of them has a total of 7 channel attributes: * ``enable - state of the channel`` @@ -245,6 +248,7 @@ Debug Attributes * ``status_temperature - TEMPERATURE status byte value of the device`` * ``status_cml - CML status byte value of the device`` * ``status_word - Status word value of the device`` +* ``status_iout - IOUT status byte value of the device`` ADP1050 IIO Driver Initialization Example ----------------------------------------- diff --git a/projects/adp1050/Makefile b/projects/adp1050/Makefile index 03726052cb6..fcee5523391 100644 --- a/projects/adp1050/Makefile +++ b/projects/adp1050/Makefile @@ -2,8 +2,8 @@ BASIC_EXAMPLE = n IIO_EXAMPLE = y -include ../../tools/scripts/generic_variables.mk + include ../../tools/scripts/generic_variables.mk -include src.mk + include src.mk -include ../../tools/scripts/generic.mk \ No newline at end of file + include ../../tools/scripts/generic.mk \ No newline at end of file