On Sun, Oct 26, 2025 at 07:20:41PM +0100, Karel Balej wrote:
> Add a node for the phone's WiFi serviced by the Marvell SD8777 chip a
> communication with which happens over the SDIO. Also enable a regulator
> without which it is not possible to connect to networks although they
> are discovered properly.
> 
> Signed-off-by: Karel Balej <[email protected]>
> ---
>  .../mmp/pxa1908-samsung-coreprimevelte.dts        | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git 
> a/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts 
> b/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts
> index b2ce5edd9c6a..36d6ae4e902e 100644
> --- a/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts
> +++ b/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts
> @@ -475,6 +475,14 @@ ldo14: ldo14 {
>                               regulator-min-microvolt = <1200000>;
>                               regulator-max-microvolt = <3300000>;
>                       };
> +
> +                     /*
> +                      * Needs to be enabled in order for the WiFi to be able
> +                      * to connect to networks.
> +                      */
> +                     ldo15 {
> +                             regulator-always-on;

Do we have a min/max voltage for this regulator?

> +                     };
>               };
>       };
>  };
> @@ -523,6 +531,13 @@ &sdh1 {
>       pinctrl-1 = <&sdh1_fast_pins_0 &sdh1_fast_pins_1 &sdh1_pins_2>;
>       bus-width = <4>;
>       non-removable;
> +     #address-cells = <1>;
> +     #size-cells = <0>;

I wonder if this should have:

        vmmc-supply = <&ldo16>;

rather than regulator-always-on above.

Brian

> +
> +     wifi@1 {
> +             compatible = "marvell,sd8777";
> +             reg = <1>;
> +     };
>  };
>  
>  &pwm3 {
> -- 
> 2.51.1
> 

Reply via email to