[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250403-upstream-adp5055-v3-0-8eb170f4f94e@analog.com>
Date: Thu, 3 Apr 2025 10:43:09 +0800
From: Alexis Czezar Torreno <alexisczezar.torreno@...log.com>
To: Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
"Rob
Herring" <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
"Conor
Dooley" <conor+dt@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
"Alexis
Czezar Torreno" <alexisczezar.torreno@...log.com>
Subject: [PATCH v3 0/2] Add support for ADP5055 triple buck regulator.
Introduce a regulator driver support for ADP5055. The device combines 3
high performance buck regulators in a 43-termminal land grid array
package. The device enables direct connection to high input voltages up
to 18V with no preregulator. Channel 1 and 2 deliver a programmable
output current of 3.5A or 7.5A or provide a single output with up to 14A
in parallel operation. Channel 3 has a programmable output current of
1.5A or 3A.
Signed-off-by: Alexis Czezar Torreno <alexisczezar.torreno@...log.com>
---
Changes in v3:
- Improved commit message,
- adp5055-regulator.c
- Regulator node names are now lowercase
- Edited to support changes in bindings
- adi,adp5055-regulator.yaml
- Improved property definitions
- Improved text wrapping
- Moved device 'adi,hw-en-array-gpios' to 'enable-gpios' per regulator
- Changed 'channels' to regulators named buck[0-2]
- Added missing ref to regulator schema
- Link to v2: https://lore.kernel.org/r/20250320-upstream-adp5055-v2-0-aac2d3705802@analog.com
Changes in v2:
- Kconfig - fixed indention problem, occured due to using spaces rather tabs
- adp5055-regulator.c
- Turned initial comment block into c++ style, using // per line
- Merged the similar read/write ranges variable called access_ranges_table
- Set max_register value correctly to 0xE0 instead of 0xFF
- Fixed issue where ndescs was an error code. replaced with -EINVAL
- Enable/disable ops functions, now use helpers like regulator_enable_regmap
- Added config.ena_gpiod for the regulator config
- Used of_parse_cb to do per regulator properties, new function added
- Migrated some yaml properties to the core regulator function
-adi,adp5055-regulator.yaml
- Moved property power_saving_mode to set/get mode under 'IDLE' mode
- Moved property output-discharge-func to core func set_active_discharge
- Moved property enable-delay-us to core function set_ramp_delay.
- Removed property disable-delay-us, as suggested to not worry about
- adjusted sample device tree to match changes due to use of of_parse_cb
- Link to v1: https://lore.kernel.org/r/20250225-upstream-adp5055-v1-0-a5a7f8e46986@analog.com
---
Alexis Czezar Torreno (2):
regulator: dt-bindings: adi,adp5055-regulator: Add adp5055 support
regulator: adp5055: Add driver for adp5055
.../bindings/regulator/adi,adp5055-regulator.yaml | 157 +++++++
MAINTAINERS | 7 +
drivers/regulator/Kconfig | 11 +
drivers/regulator/Makefile | 1 +
drivers/regulator/adp5055-regulator.c | 470 +++++++++++++++++++++
5 files changed, 646 insertions(+)
---
base-commit: 7fef39f0e82ff02282797d9ae2589b39b16ab614
change-id: 20250225-upstream-adp5055-adbe6262f984
Best regards,
--
Alexis Czezar Torreno <alexisczezar.torreno@...log.com>
Powered by blists - more mailing lists