Re: [PATCH 06/11] arm64: dts: meson-g12a-x96-max: add regulators

From: Neil Armstrong
Date: Sat Mar 16 2019 - 10:42:03 EST




Le 15/03/2019 23:05, Martin Blumenstingl a Ãcrit :
> Hi Neil and Guillaume,
>
> On Mon, Mar 11, 2019 at 11:04 AM Neil Armstrong <narmstrong@xxxxxxxxxxxx> wrote:
>>
>> From: Guillaume La Roque <glaroque@xxxxxxxxxxxx>
>>
>> Add system regulators for the X96 Max Set-Top-Box.
> the hint from the "meson-g12a-sei510: add regulators" patch would be
> great here as well:
> Still missing
> * VDD_EE (0.8V - PWM controlled)
> * VDD_CPU(PWM controlled)
> * VDDQ1_5
>
> I'm not sure whether this board also has VDDQ1_5 though, but VDD_EE
> and VDD_CPU should be very similar (or even identical)
>
>>
>> Signed-off-by: Guillaume La Roque <glaroque@xxxxxxxxxxxx>
>> Signed-off-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
>> ---
>> .../boot/dts/amlogic/meson-g12a-x96-max.dts | 65 +++++++++++++++++++
>> 1 file changed, 65 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts
>> index 0edbd00b358f..21e5de48613e 100644
>> --- a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts
>> +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts
>> @@ -21,6 +21,71 @@
>> device_type = "memory";
>> reg = <0x0 0x0 0x0 0x40000000>;
>> };
>> +
>> + flash_1v8: regulator-flash_1v8 {
>> + compatible = "regulator-fixed";
>> + regulator-name = "FLASH_1V8";
>> + regulator-min-microvolt = <1800000>;
>> + regulator-max-microvolt = <1800000>;
>> + vin-supply = <&vcc_3v3>;
>> + regulator-always-on;
>> + };
>> +
>> + main_12v: regulator-main_12v {
>> + compatible = "regulator-fixed";
>> + regulator-name = "12V";
>> + regulator-min-microvolt = <12000000>;
>> + regulator-max-microvolt = <12000000>;
>> + regulator-always-on;
>> + };
> mine has a 5V DC in. can you please check this on your board?

Indeed it's a bad copy/paste from SEI510

>
>
> Regards
> Martin
>