Skip to content

Commit 52214a1

Browse files
1337MisomTravMurav
authored andcommitted
dts: msm8952: add support for Fossil Gen 6 (hoki)
1 parent 8b4af0b commit 52214a1

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

Documentation/devices.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383

8484
- Alcatel Idol 4 (6055*)
8585
- BQ X5 Plus (Longcheer L9360)
86+
- Fossil Gen 6 (hoki)
8687
- HMD Global Nokia 5 (nd1)
8788
- HMD Global Nokia 6 (ple)
8889
- Huawei Honor 7C (aum-l41) (quirky - see comment in `lk2nd/device/dts/msm8952/msm8937-huawei-aum.dts`)

lk2nd/device/dts/msm8952/rules.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ ADTBS += \
2121
$(LOCAL_DIR)/msm8956-xiaomi-hydrogen.dtb \
2222
$(LOCAL_DIR)/msm8976-qrd.dtb \
2323
$(LOCAL_DIR)/sdm429-lenovo-tbx505x.dtb \
24+
$(LOCAL_DIR)/sdm429w-fossil-hoki.dtb \
2425
$(LOCAL_DIR)/sdm439-xiaomi-pine.dtb \
2526

2627
DTBS += \
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
#include <skeleton64.dtsi>
3+
#include <lk2nd.dtsi>
4+
5+
/ {
6+
qcom,msm-id = <QCOM_ID_SDA429W 0x00>;
7+
qcom,board-id = <0x10b 0x0a>;
8+
/* Bootloader appears to really want to access symbols */
9+
__symbols__ {};
10+
};
11+
12+
&lk2nd {
13+
model = "Fossil Gen 6 (hoki)";
14+
compatible = "fossil,hoki";
15+
lk2nd,match-bootloader = "HOKI*";
16+
17+
lk2nd,dtb-files = "sdm429w-fossil-hoki";
18+
19+
gpio-keys {
20+
compatible = "gpio-keys";
21+
22+
up {
23+
lk2nd,code = <KEY_VOLUMEUP>;
24+
gpios = <&tlmm 35 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
25+
};
26+
27+
down {
28+
lk2nd,code = <KEY_VOLUMEDOWN>;
29+
gpios = <&pmic_pon GPIO_PMIC_RESIN 0>;
30+
};
31+
32+
power {
33+
lk2nd,code = <KEY_POWER>;
34+
gpios = <&pmic_pon GPIO_PMIC_PWRKEY 0>;
35+
};
36+
};
37+
};

0 commit comments

Comments
 (0)