summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts
diff options
context:
space:
mode:
authorKatsuhiro Suzuki <suzuki.katsuhiro@socionext.com>2018-02-28 12:32:47 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-15 17:19:04 +0300
commit8191f4db123455e90a6508b13d87aa21f8ca6f1d (patch)
tree00a9ed959baecddb2795a356189b15054df58938 /arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts
parentc73730ee4c9a2ef3d5f45f31cf780a15c02927a5 (diff)
downloadlinux-8191f4db123455e90a6508b13d87aa21f8ca6f1d.tar.xz
arm64: dts: uniphier: add fixed regulators for audio codec
This patch adds regulators that have fixed voltage for audio codec on UniPhier LD11/20 Global boards. This patch fixes warnings about TAS57xx audio codec such as "tas571x 0-001b: 0-001b supply AVDD not found, using dummy regulator". Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts')
-rw-r--r--arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts b/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts
index bcf384a7e75b..6bee22eac00b 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts
@@ -39,6 +39,20 @@
reg = <0 0x80000000 0 0xc0000000>;
};
+ dvdd_reg: reg-fixed {
+ compatible = "regulator-fixed";
+ regulator-name = "DVDD";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
+ amp_vcc_reg: reg-fixed {
+ compatible = "regulator-fixed";
+ regulator-name = "AMP_VCC";
+ regulator-min-microvolt = <12000000>;
+ regulator-max-microvolt = <12000000>;
+ };
+
sound {
compatible = "audio-graph-card";
label = "UniPhier LD20";
@@ -103,6 +117,12 @@
reset-gpios = <&gpio UNIPHIER_GPIO_PORT(0, 0) GPIO_ACTIVE_LOW>;
pdn-gpios = <&gpio UNIPHIER_GPIO_PORT(0, 1) GPIO_ACTIVE_LOW>;
#sound-dai-cells = <0>;
+ AVDD-supply = <&dvdd_reg>;
+ DVDD-supply = <&dvdd_reg>;
+ PVDD_A-supply = <&amp_vcc_reg>;
+ PVDD_B-supply = <&amp_vcc_reg>;
+ PVDD_C-supply = <&amp_vcc_reg>;
+ PVDD_D-supply = <&amp_vcc_reg>;
port@0 {
tas_speaker: endpoint {