Re: [PATCH 1/3] arm: dts: sun6i: a31s: bpi-m2: update mmc supply nodes

From: Philipp Rossak
Date: Sun Feb 11 2018 - 17:15:25 EST


Am Freitag, den 09.02.2018, 18:52 +0100 schrieb Philipp Rossak:
> This patch updates the vmmc-supply properties on the mmc0 and mmc2
> node to use the allready existent regulators.
> We can now remove the sunxi-common-regulators.dtsi include since we
> don't need it anymore.
>
> Signed-off-by: Philipp Rossak <embed3d@xxxxxxxxx>
> ---
> Âarch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts | 5 ++---
> Â1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts
> b/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts
> index 51e6f1d21c32..a8d86211c8f3 100644
> --- a/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts
> +++ b/arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts
> @@ -42,7 +42,6 @@
> Â
> Â/dts-v1/;
> Â#include "sun6i-a31s.dtsi"
> -#include "sunxi-common-regulators.dtsi"
> Â#include <dt-bindings/gpio/gpio.h>
> Â
> Â/ {
> @@ -118,7 +117,7 @@
> Â&mmc0 {
> Â pinctrl-names = "default";
> Â pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_bpi_m2>;
> - vmmc-supply = <&reg_vcc3v0>;
> + vmmc-supply = <&reg_dcdc1>;
> Â bus-width = <4>;
> Â cd-gpios = <&pio 0 4 GPIO_ACTIVE_HIGH>; /* PA4 */
> Â cd-inverted;
> @@ -132,7 +131,7 @@
> Â&mmc2 {
> Â pinctrl-names = "default";
> Â pinctrl-0 = <&mmc2_pins_a>;
> - vmmc-supply = <&reg_vcc3v0>;
> + vmmc-supply = <&reg_dcdc1>;
^^
this here is wrong! this should be &reg_aldo1
> Â mmc-pwrseq = <&mmc2_pwrseq>;
> Â bus-width = <4>;
> Â non-removable;

Philipp