OSDN Git Service

ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix WiFi regulator definitions
authorChen-Yu Tsai <wens@csie.org>
Wed, 9 Jan 2019 15:02:55 +0000 (23:02 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 9 Jan 2019 15:32:11 +0000 (16:32 +0100)
commite5c6e693be831c1bba9b4f8f1da597fb5514deca
treeea4dcc2beda249d5aa643bb165ce08acd8da365b
parenta5a4bc14914faf219336d71c71595975b8112ff7
ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix WiFi regulator definitions

The design of the Bananapi M2 Ultra has both DLDO1 and DLDO2 regulators
provide power to the WiFi+BT module, which is based on the Broadcom
BCM43438 or BCM43430 chip. Each regulator output from the PMIC can supply
up to 200 mA. The datasheet of the chip suggests a maximum power draw of
up to 360 mA when transmitting, thus requiring two outputs from the PMIC
to handle the load. However the device tree only references one of them,
leaving the other unused and possibly turned off.

This patch marks both as always-on, since we don't have a proper binding
to specify two regulators as "bound together". The name and constraints
of DLDO2 are also added.

Fixes: da7ac948fa93 ("ARM: dts: sun8i: Add board dts file for Banana Pi M2
      Ultra")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts