[PATCH v8 3/8] power: pmic: add the base MAX77663 PMIC support

Tom Rini trini at konsulko.com
Tue Oct 24 21:17:57 CEST 2023


On Tue, Oct 24, 2023 at 10:41:05AM +0300, Svyatoslav Ryhel wrote:

> Add support to bind the regulators/child nodes with the pmic.
> Also adds the pmic i2c based read/write functions to access pmic
> registers.
> 
> Signed-off-by: Svyatoslav Ryhel <clamor95 at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
[snip]
> diff --git a/drivers/power/pmic/max77663.c b/drivers/power/pmic/max77663.c
> new file mode 100644
> index 0000000000..4070235d3c
> --- /dev/null
> +++ b/drivers/power/pmic/max77663.c
> @@ -0,0 +1,86 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +/*
> + *  Copyright(C) 2023 Svyatoslav Ryhel <clamor95 at gmail.com>
> + */
> +
> +#include <common.h>

Should have noted sooner, sorry. Please don't use <common.h> in new
code, and audit the include list you have as well (this one looks
reasonable I suspect, all the same, so general advice).

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231024/897bec8e/attachment.sig>


More information about the U-Boot mailing list