Add an RTC node to the Lenovo Thinkpad x13s device tree.
This commit is contained in:
parent
74ed555245
commit
3172e0bd01
@ -4,6 +4,7 @@ ONLY_FOR_ARCHS= ${GCC4_ARCHS} ${CLANG_ARCHS}
|
||||
|
||||
COMMENT= Device Tree Blobs
|
||||
VERSION= 6.1
|
||||
REVISION= 0
|
||||
|
||||
# XXX Updating this port has a high chance of breaking drivers as breaking
|
||||
# XXX changes are frequently made to device trees in linux. See commit log
|
||||
|
@ -159,7 +159,7 @@ Index: arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
|
||||
vreg_l7d: ldo7 {
|
||||
regulator-name = "vreg_l7d";
|
||||
regulator-min-microvolt = <3072000>;
|
||||
@@ -161,14 +282,221 @@
|
||||
@@ -161,18 +282,229 @@
|
||||
};
|
||||
};
|
||||
|
||||
@ -381,7 +381,15 @@ Index: arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
|
||||
&qup0 {
|
||||
status = "okay";
|
||||
};
|
||||
@@ -207,7 +535,7 @@
|
||||
|
||||
+&pmk8280_rtc {
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
&qup0_i2c4 {
|
||||
clock-frequency = <400000>;
|
||||
|
||||
@@ -207,7 +539,7 @@
|
||||
clock-frequency = <400000>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
@ -390,7 +398,7 @@ Index: arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
|
||||
|
||||
status = "okay";
|
||||
|
||||
@@ -219,12 +547,7 @@
|
||||
@@ -219,12 +551,7 @@
|
||||
interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
|
||||
vdd-supply = <&vreg_misc_3p3>;
|
||||
|
||||
@ -403,7 +411,7 @@ Index: arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
|
||||
};
|
||||
|
||||
touchpad@2c {
|
||||
@@ -235,9 +558,6 @@
|
||||
@@ -235,9 +562,6 @@
|
||||
interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>;
|
||||
vdd-supply = <&vreg_misc_3p3>;
|
||||
|
||||
@ -413,7 +421,7 @@ Index: arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
|
||||
wakeup-source;
|
||||
};
|
||||
|
||||
@@ -339,6 +659,13 @@
|
||||
@@ -339,6 +663,13 @@
|
||||
};
|
||||
};
|
||||
|
||||
@ -427,7 +435,7 @@ Index: arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
|
||||
&pmc8280c_gpios {
|
||||
edp_bl_pwm: edp-bl-pwm-state {
|
||||
pins = "gpio8";
|
||||
@@ -346,29 +673,119 @@
|
||||
@@ -346,29 +677,119 @@
|
||||
};
|
||||
};
|
||||
|
||||
@ -550,7 +558,7 @@ Index: arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
|
||||
qup0_i2c4_default: qup0-i2c4-default-state {
|
||||
pins = "gpio171", "gpio172";
|
||||
function = "qup4";
|
||||
@@ -384,7 +801,7 @@
|
||||
@@ -384,7 +805,7 @@
|
||||
};
|
||||
|
||||
tpad_default: tpad-default-state {
|
||||
@ -559,7 +567,7 @@ Index: arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts
|
||||
pins = "gpio182";
|
||||
function = "gpio";
|
||||
bias-disable;
|
||||
@@ -392,13 +809,13 @@
|
||||
@@ -392,13 +813,13 @@
|
||||
};
|
||||
|
||||
ts0_default: ts0-default-state {
|
||||
|
@ -52,7 +52,7 @@ Index: arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi
|
||||
&spmi_bus {
|
||||
pmk8280: pmic@0 {
|
||||
compatible = "qcom,pmk8350", "qcom,spmi-pmic";
|
||||
@@ -20,11 +64,37 @@
|
||||
@@ -20,11 +64,45 @@
|
||||
|
||||
pmk8280_pon_pwrkey: pwrkey {
|
||||
compatible = "qcom,pmk8350-pwrkey";
|
||||
@ -87,11 +87,19 @@ Index: arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi
|
||||
+ #size-cells = <0>;
|
||||
+ #thermal-sensor-cells = <1>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
+ pmk8280_rtc: rtc@6100 {
|
||||
+ compatible = "qcom,pmk8350-rtc";
|
||||
+ reg = <0x6100>, <0x6200>;
|
||||
+ reg-names = "rtc", "alarm";
|
||||
+ interrupts-extended = <&spmi_bus 0 0x62 0x1 IRQ_TYPE_EDGE_RISING>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
};
|
||||
|
||||
pmc8280_1: pmic@1 {
|
||||
@@ -33,6 +103,13 @@
|
||||
@@ -33,6 +111,13 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
@ -105,7 +113,7 @@ Index: arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi
|
||||
pmc8280_1_gpios: gpio@8800 {
|
||||
compatible = "qcom,pm8350-gpio", "qcom,spmi-gpio";
|
||||
reg = <0x8800>;
|
||||
@@ -77,6 +154,13 @@
|
||||
@@ -77,6 +162,13 @@
|
||||
reg = <0x3 SPMI_USID>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
@ -1,5 +1,6 @@
|
||||
FW_DRIVER= arm64-qcom-dtb
|
||||
FW_VER= 1.1
|
||||
REVISION= 0
|
||||
|
||||
WRKDIST= ${WRKDIR}
|
||||
DISTFILES=
|
||||
@ -9,7 +10,7 @@ DISTFILES=
|
||||
PERMIT_PACKAGE= firmware
|
||||
PERMIT_DISTFILES= Yes
|
||||
|
||||
BUILD_DEPENDS= sysutils/dtb>=6.1
|
||||
BUILD_DEPENDS= sysutils/dtb>=6.1p0
|
||||
|
||||
DTBS= sc8280xp-lenovo-thinkpad-x13s.dtb
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user