]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ARM: dts: sun6i: a31s: bpi-m2: add missing regulators
authorPhilipp Rossak <embed3d@gmail.com>
Wed, 14 Feb 2018 14:10:25 +0000 (15:10 +0100)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Mon, 9 Apr 2018 13:41:08 +0000 (10:41 -0300)
commit0dedc0c91da880dc6e167df95d798da2c4ad30ac
tree1bc695187d4e992008487117bf44defb861b6c05
parent6a13489f991b37548f714003ba73c4cd2c364446
ARM: dts: sun6i: a31s: bpi-m2: add missing regulators

BugLink: http://bugs.launchpad.net/bugs/1762370
commit 70b8d21496758dd7ff600ec9de0ee3812fac7a40 upstream.

This patch fixes a bootproblem with the Bananapi M2 board. Since there
are some regulators missing we add them right now. Those values come
from the schematic, below you can find a small overview:

* reg_aldo1:  3,3V, powers the wifi
* reg_aldo2:  2,5V, powers the IO of the RTL8211E
* reg_aldo3:  3,3V, powers the audio

* reg_dldo1:  3,0V, powers the RTL8211E
* reg_dldo2:  2,8V, powers the analog part of the csi
* reg_dldo3:  3,3V, powers misc
* reg_eldo1:  1,8V, powers the csi
* reg_ldo_io1:1,8V, powers the gpio

* reg_dc5ldo: needs to be always on

This patch updates also 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.

Fixes: 7daa21370075 ("ARM: dts: sunxi: Add regulators for Sinovoip BPI-M2")
Cc: <stable@vger.kernel.org>
Signed-off-by: Philipp Rossak <embed3d@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts