pmaports/device/linux-samsung-i927/0055-ARM-dts-tegra20-glide-Set-up-VSENSOR-regulator.patch
Sergey Larin 5ccbcf999d
samsung-i927: update kernel to 5.2.1, more updates (!452)
- OTG support
- Charger
- WiFi 5GHz
- RTC bug "fixed" (always-on interrupt - made device overheat!)
- Kernel version bumped to 5.2.1
- Memory timings
- New WM8994 codec board driver (fixes suspend/resume)
- Camera's regulator supported now (saves power at least!)
- Updated panel driver (still not in mainline, idk why)
- MHL support in kernel (fixes boot times and screen, currently disabled in X,
  not tested)
- Other minor kernel chagnes

[ci:skip-build]: already built successfully in CI
2019-07-17 00:15:26 +02:00

52 lines
1.4 KiB
Diff

From de32110f32933b2eb0fc2dbe23951a7771b0941f Mon Sep 17 00:00:00 2001
From: Sergey Larin <cerg2010cerg2010@mail.ru>
Date: Sat, 29 Jun 2019 15:30:57 +0300
Subject: [PATCH] ARM: dts: tegra20-glide: Set up VSENSOR regulator
This is not configured in downstream kernel, but it was identified that
disabling this regulator makes these sensors not working (note: kxtf9
included).
Signed-off-by: Sergey Larin <cerg2010cerg2010@mail.ru>
---
arch/arm/boot/dts/tegra20-glide.dts | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/tegra20-glide.dts b/arch/arm/boot/dts/tegra20-glide.dts
index 74edc637f4d1..c3698603ee69 100644
--- a/arch/arm/boot/dts/tegra20-glide.dts
+++ b/arch/arm/boot/dts/tegra20-glide.dts
@@ -512,6 +512,8 @@
mount-matrix = "0", "1", "0",
"-1", "0", "0",
"0", "0", "-1";
+ vdd-supply = <&vsensor>;
+ vlogic-supply = <&vsensor>;
i2c-gate {
#address-cells = <1>;
@@ -729,12 +731,10 @@
regulator-max-microvolt = <3300000>;
};
- ldo10 {
+ vsensor: ldo10 {
regulator-name = "nvvdd_ldo10,vsensor_1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
- regulator-always-on;
- regulator-boot-on;
};
ldo11 {
@@ -893,6 +893,7 @@
compatible = "asahi-kasei,ak8975";
reg = <0xc>;
gpios = <&gpio TEGRA_GPIO(K, 4) GPIO_ACTIVE_HIGH>;
+ vdd-supply = <&vsensor>;
};
};
--
2.22.0