lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sun, 11 Dec 2022 07:54:49 +0100
From:   Christophe JAILLET <christophe.jaillet@...adoo.fr>
To:     martin.botka@...ainline.org
Cc:     angelogioacchino.delregno@...ainline.org, broonie@...nel.org,
        devicetree@...r.kernel.org, jamipkettunen@...ainline.org,
        jtrmal@...il.com, konrad.dybcio@...ainline.org,
        krzysztof.kozlowski+dt@...aro.org, lee@...nel.org,
        lgirdwood@...il.com, linux-kernel@...r.kernel.org,
        marijn.suijten@...ainline.org, martin.botka1@...il.com,
        paul.bouchara@...ainline.org, robh+dt@...nel.org,
        takuya@...uya.tech, wens@...e.org
Subject: Re: [PATCH v2 3/3] regulator: axp20x: Add support for AXP1530 variant

Le 10/12/2022 à 00:46, Martin Botka a écrit :
> AXP1530 has a few regulators that are controlled via I2C Bus.
> 
> Add support for them.
> 
> Signed-off-by: Martin Botka <martin.botka-KtrmGDJU8+nZ+VzJOa5vwg@...lic.gmane.org>
> ---
>   drivers/regulator/axp20x-regulator.c | 44 ++++++++++++++++++++++++++++
>   1 file changed, 44 insertions(+)
> 
> diff --git a/drivers/regulator/axp20x-regulator.c b/drivers/regulator/axp20x-regulator.c
> index d260c442b788..ca422311a996 100644
> --- a/drivers/regulator/axp20x-regulator.c
> +++ b/drivers/regulator/axp20x-regulator.c

[...]

> @@ -1252,6 +1292,10 @@ static int axp20x_regulator_probe(struct platform_device *pdev)
>   		drivevbus = of_property_read_bool(pdev->dev.parent->of_node,
>   						  "x-powers,drive-vbus-en");
>   		break;
> +		case AXP1530_ID:

Nit: indentation.

> +		regulators = axp1530_regulators;
> +		nregulators = AXP1530_REG_ID_MAX;
> +		break;
>   	default:
>   		dev_err(&pdev->dev, "Unsupported AXP variant: %ld\n",
>   			axp20x->variant);

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ