-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branches 'rebase/dts', 'rebase/hl', 'rebase/fb', 'rebase/ro', '…
…rebase/elp' and 'rebase/sd09' into rebase/next
- Loading branch information
Showing
88 changed files
with
4,923 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <QCOM_ID_APQ8026 0x20000>; | ||
qcom,board-id = <QCOM_BOARD_ID_MTP 3005>; | ||
}; | ||
|
||
&lk2nd { | ||
model = "ASUS ZenWatch 2"; | ||
compatible = "asus,sparrow"; | ||
|
||
lk2nd,dtb-files = "apq8026-asus-sparrow"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <QCOM_ID_APQ8026 0x20000>; | ||
qcom,board-id = <QCOM_BOARD_ID_MTP 4>; | ||
}; | ||
|
||
&lk2nd { | ||
model = "Huawei Watch"; | ||
compatible = "huawei,sturgeon"; | ||
|
||
lk2nd,dtb-files = "apq8026-huawei-sturgeon"; | ||
|
||
gpio-keys { | ||
compatible = "gpio-keys"; | ||
|
||
power { | ||
lk2nd,code = <KEY_HOME>; | ||
gpios = <&pmic_pon GPIO_PMIC_PWRKEY 0>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <QCOM_ID_APQ8026 0x20000>; | ||
qcom,board-id = <132 0x0a>; | ||
|
||
/* The bootloader checks the compatible too... */ | ||
compatible = "qcom,apq8026"; | ||
}; | ||
|
||
&lk2nd { | ||
model = "LG G Watch R"; | ||
compatible = "lg,lenok"; | ||
|
||
lk2nd,dtb-files = "apq8026-lg-lenok"; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <0xC708FF01 3 0x20000>, | ||
<0xC708FF01 9 0x20000>; | ||
}; | ||
|
||
&lk2nd { | ||
/* rev 3 */ | ||
|
||
matissewifi { | ||
model = "Samsung Galaxy Tab 4 10.1 WiFi (SM-T530)"; | ||
compatible = "samsung,matisse-wifi", "samsung,matisse"; | ||
lk2nd,match-bootloader = "T530*"; | ||
|
||
lk2nd,dtb-files = "apq8026-samsung-matisse-wifi"; | ||
|
||
gpio-keys { | ||
compatible = "gpio-keys"; | ||
home { | ||
lk2nd,code = <KEY_HOME>; | ||
gpios = <&tlmm 108 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
down { | ||
lk2nd,code = <KEY_VOLUMEDOWN>; | ||
gpios = <&tlmm 107 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
up { | ||
lk2nd,code = <KEY_VOLUMEUP>; | ||
gpios = <&tlmm 106 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
}; | ||
}; | ||
|
||
/* rev 9 */ | ||
|
||
milletwifi { | ||
model = "Samsung Galaxy Tab 4 8.0 WiFi (SM-T330)"; | ||
compatible = "samsung,milletwifi", "samsung,millet"; | ||
lk2nd,match-bootloader = "T330*"; | ||
|
||
//FIXME: lk2nd,dtb-files = "apq8026-samsung-millet-wifi"; | ||
|
||
gpio-keys { | ||
compatible = "gpio-keys"; | ||
home { | ||
lk2nd,code = <KEY_HOME>; | ||
gpios = <&tlmm 108 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
down { | ||
lk2nd,code = <KEY_VOLUMEDOWN>; | ||
gpios = <&tlmm 107 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
up { | ||
lk2nd,code = <KEY_VOLUMEUP>; | ||
gpios = <&tlmm 106 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
}; | ||
}; | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <0x91 0x42 0x283C0>; | ||
}; | ||
|
||
&lk2nd { | ||
model = "Motorola Moto G 2013"; | ||
compatible = "motorola,falcon"; | ||
|
||
// FIXME: lk2nd,dtb-files = "msm8226-motorola-falcon"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <0x9E08FF01 7 0x20000>; | ||
}; | ||
|
||
&lk2nd { | ||
/* rev 7 */ | ||
|
||
ms013g { | ||
model = "Samsung Galaxy Grand 2"; | ||
compatible = "samsung,ms013g"; | ||
|
||
//FIXME: lk2nd,dtb-files = "apq8026-samsung-ms013g"; | ||
|
||
gpio-keys { | ||
compatible = "gpio-keys"; | ||
down { | ||
lk2nd,code = <KEY_VOLUMEDOWN>; | ||
gpios = <&tlmm 107 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
up { | ||
lk2nd,code = <KEY_VOLUMEUP>; | ||
gpios = <&tlmm 106 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/* | ||
* Compile lk2nd with the following flags so that various lk2nd functionality | ||
* works fine, e.g. fastboot oem lk_log && fastboot get_staged /dev/stdout | ||
* | ||
* SCRATCH_ADDR=0x20000000 SCRATCH_ADDR_512MAP=0x20000000 SCRATCH_SIZE_512MAP=0x10000000 | ||
* | ||
* On this device the memory at 0x10000000 (default scratch memory address) | ||
* allows writes but any read just returns zeroes. From Linux perspective this | ||
* is reserved memory so we need to choose a different memory address. | ||
*/ | ||
|
||
/ { | ||
/* Actually htc,project-id */ | ||
qcom,msm-id = <293 0 0>; | ||
}; | ||
|
||
&lk2nd { | ||
memul { | ||
model = "HTC One Mini 2"; | ||
compatible = "htc,memul"; | ||
lk2nd,match-cmdline = "* mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_mem_lg_novatek_35521_720p_video *"; | ||
|
||
// FIXME: lk2nd,dtb-files = "msm8926-htc-memul"; | ||
|
||
gpio-keys { | ||
compatible = "gpio-keys"; | ||
down { | ||
lk2nd,code = <KEY_VOLUMEDOWN>; | ||
gpios = <&tlmm 107 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
up { | ||
lk2nd,code = <KEY_VOLUMEUP>; | ||
gpios = <&tlmm 108 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <0xc8 0x1f51 0x00>; | ||
}; | ||
|
||
&lk2nd { | ||
model = "Huawei Ascend G6-L11 vb"; | ||
compatible = "huawei,g6-l11-vb"; | ||
|
||
//FIXME: lk2nd,dtb-files = "msm8926-huawei-g6-l11"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <0x91 0x44 0x82D0>; | ||
}; | ||
|
||
&lk2nd { | ||
|
||
model = "Motorola Moto G 4G 2013"; | ||
compatible = "motorola,peregrine"; | ||
|
||
//FIXME: lk2nd,dtb-files = "msm8926-motorola-peregrine"; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <0xC808FF01 2 0x10001>; | ||
}; | ||
|
||
&lk2nd { | ||
/* rev 2 */ | ||
matisselte { | ||
model = "Samsung Galaxy Tab 4 10.1 LTE (SM-T535)"; | ||
compatible = "samsung,matisselte", "samsung,matisse"; | ||
lk2nd,match-bootloader = "T535*"; | ||
|
||
lk2nd,dtb-files = "msm8926-samsung-matisse", "apq8026-samsung-matisse-wifi"; | ||
|
||
gpio-keys { | ||
compatible = "gpio-keys"; | ||
home { | ||
lk2nd,code = <KEY_HOME>; | ||
gpios = <&tlmm 108 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
down { | ||
lk2nd,code = <KEY_VOLUMEDOWN>; | ||
gpios = <&tlmm 107 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
up { | ||
lk2nd,code = <KEY_VOLUMEUP>; | ||
gpios = <&tlmm 106 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; | ||
}; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
|
||
#include <skeleton64.dtsi> | ||
#include <lk2nd.dtsi> | ||
|
||
/ { | ||
qcom,msm-id = <QCOM_ID_MSM8926 0>; | ||
qcom,board-id = <QCOM_BOARD_ID_MTP 0>; | ||
}; | ||
|
||
&lk2nd { | ||
coolpad-8730l { | ||
model = "Coolpad 8730L"; | ||
compatible = "coolpad,8730l"; | ||
lk2nd,match-panel; | ||
|
||
//FIXME: lk2nd,dtb-files = "msm8926-coolpad-8730l"; | ||
|
||
panel { | ||
compatible = "lk2nd,panel"; | ||
qcom,mdss_dsi_otm1283a_boyi_hd_video {}; | ||
qcom,mdss_dsi_hx8394a_lide_hd_video {}; | ||
qcom,mdss_dsi_hx8394a_yashi_hd_video {}; | ||
qcom,mdss_dsi_hx8394a_yashi_cmi_hd_video {}; | ||
qcom,mdss_dsi_otm1283a_boyi_auo_hd_video {}; | ||
qcom,mdss_dsi_otm1283a_lide_cpt_hd_video {}; | ||
}; | ||
}; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,22 @@ | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
LOCAL_DIR := $(GET_LOCAL_DIR) | ||
|
||
# NOTE: lenok wants to be first to be able to boot. | ||
ADTBS += \ | ||
$(LOCAL_DIR)/apq8026-lg-lenok.dtb \ | ||
|
||
QCDTBS += \ | ||
$(LOCAL_DIR)/apq8026-asus-sparrow.dtb \ | ||
$(LOCAL_DIR)/apq8026-huawei-sturgeon.dtb \ | ||
$(LOCAL_DIR)/apq8026-samsung.dtb \ | ||
$(LOCAL_DIR)/msm8226-motorola-falcon.dtb \ | ||
$(LOCAL_DIR)/msm8226-samsung.dtb \ | ||
$(LOCAL_DIR)/msm8926-htc-memul.dtb \ | ||
$(LOCAL_DIR)/msm8926-huawei-g6-l11-vb.dtb \ | ||
$(LOCAL_DIR)/msm8926-motorola-peregrine.dtb \ | ||
$(LOCAL_DIR)/msm8926-samsung.dtb \ | ||
$(LOCAL_DIR)/msm8926-v2-720p-mtp.dtb \ | ||
|
||
|
||
DTBS += \ | ||
$(LOCAL_DIR)/lumia.dtb \ |
Oops, something went wrong.