Re: [PATCH 17/19] arm64: dts: tegra210-smaug: add CPU power rail regulator

Jon Hunter
2018-12-07T15:03:15Z

On 04/12/2018 09:25, Joseph Lo wrote:
> Add CPU power rail regulator for Smaug board.
>
> Signed-off-by: Joseph Lo <josephl@nvidia.com>
> ---
> arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
> index 43cae4798870..b3930a9dd139 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
> +++ b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts
> @@ -1340,6 +1340,25 @@
> status = "okay";
> clock-frequency = <1000000>;
>
> + max77621_cpu: max77621@1b {
> + compatible = "maxim,max77621";
> + reg = <0x1b>;
> + interrupt-parent = <&gpio>;
> + interrupts = <TEGRA_GPIO(Y, 1) IRQ_TYPE_LEVEL_LOW>;
> + regulator-name = "PPVAR_CPU";
> + regulator-min-microvolt = <800000>;
> + regulator-max-microvolt = <1231250>;
> + regulator-ramp-delay = <12500>;
> + regulator-boot-on;
> + regulator-always-on;
> + maxim,dvs-default-state = <1>;
> + maxim,enable-active-discharge;
> + maxim,enable-bias-control;
> + maxim,enable-etr;
> + maxim,enable-gpio = <&max77620 5 0>;
> + maxim,externally-enable;
> + };
> +
> max77620: max77620@3c {
> compatible = "maxim,max77620";
> reg = <0x3c>;
>

Acked-by: Jon Hunter <jonathanh@nvidia.com>

Cheers
Jon

--
nvpublic