mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-14 12:37:32 +00:00
arm64: dts: mt8173-elm: fix supported values for regulator-allowed-modes of da9211
According to the datasheet the allowed modes for the da9211
regulator are sync and auto mode. This should be changed in the
devicetree. This also fix an error message
'BUCKA: invalid regulator-allowed-modes element 0'
since value 0 is invalid.
Fixes: 689b937bed
("arm64: dts: mediatek: add mt8173 elm and hana board")
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Tested-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20200903142819.24487-1-dafna.hirschfeld@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
parent
9123e3a74e
commit
9d955478a8
1 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
#include <dt-bindings/input/input.h>
|
#include <dt-bindings/input/input.h>
|
||||||
#include <dt-bindings/input/linux-event-codes.h>
|
#include <dt-bindings/input/linux-event-codes.h>
|
||||||
|
#include <dt-bindings/regulator/dlg,da9211-regulator.h>
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
#include "mt8173.dtsi"
|
#include "mt8173.dtsi"
|
||||||
|
|
||||||
|
@ -294,7 +295,8 @@ da9211_vcpu_reg: BUCKA {
|
||||||
regulator-max-microamp = <4400000>;
|
regulator-max-microamp = <4400000>;
|
||||||
regulator-ramp-delay = <10000>;
|
regulator-ramp-delay = <10000>;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
regulator-allowed-modes = <0 1>;
|
regulator-allowed-modes = <DA9211_BUCK_MODE_SYNC
|
||||||
|
DA9211_BUCK_MODE_AUTO>;
|
||||||
};
|
};
|
||||||
|
|
||||||
da9211_vgpu_reg: BUCKB {
|
da9211_vgpu_reg: BUCKB {
|
||||||
|
|
Loading…
Reference in a new issue