Skip to content

Commit

Permalink
Add Moto G6 (and remove other sdm450 devices)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianbraha authored and barni2000 committed May 6, 2024
1 parent ed70adf commit 02f3f02
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,10 @@ jobs:
platform: msm8953-secondary
artifacts: |
build-*/lk2nd.img
lk2nd-motorola-ali:
name: lk2nd
uses: ./.github/workflows/lk2nd.yml
with:
platform: motorola-ali-secondary
artifacts: |
build-*/lk2nd.img
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and then loaded by lk2nd.
### Supported devices
- Motorola Moto G4 Play (harpia)
- Motorola Moto G5 Plus (potter)
- Motorola Moto G6 (ali) NOTE: Build with motorla-ali-secondary

This comment has been minimized.

Copy link
@julianbraha

julianbraha May 6, 2024

Author

Typo, there's an o missing

- Samsung Galaxy A3 (2015) - SM-A300FU
- Samsung Galaxy A5 (2015) - SM-A500FU
- Samsung Galaxy J5 (2016) - SM-J510FN
Expand Down
4 changes: 4 additions & 0 deletions dts/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ DTBS += \
$(LOCAL_DIR)/msm8916-longcheer-l8150.dtb \
$(LOCAL_DIR)/msm8916-samsung.dtb
endif
ifeq ($(PROJECT), motorola-ali-secondary)
DTBS += \
$(LOCAL_DIR)/sdm450-motorola-ali.dtb
endif
ifeq ($(PROJECT), msm8953-secondary)
DTBS += \
$(LOCAL_DIR)/msm8953-huawei-milan.dtb \
Expand Down
36 changes: 36 additions & 0 deletions dts/sdm450-motorola-ali.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// SPDX-License-Identifier: GPL-2.0-only

/dts-v1/;

/include/ "msm8953.dtsi"

/ {
model = "Motorola Moto G6 (ali)";
compatible = "motorola,ali", "qcom,sdm450", "lk2nd,device";
qcom,msm-id = <0x152 0x00>;
qcom,board-id = <0x41 0xb1a0>,
<0x42 0xb1a0>,
<0x42 0xb1b0>,
<0x42 0xb200>,
<0x43 0xb200>,
<0x43 0xc100>,
<0x43 0xc200>,
<0x44 0xc200>;
lk2nd,pstore = <0xef000000 0xC0000>;

panel {
compatible = "motorola,ali-panel";

qcom,mdss_dsi_mot_auo_565_1080p_vid_v0 {
compatible = "motorola,ali-panel-auo";
};

qcom,mdss_dsi_mot_boe_565_1080p_vid_v0 {
compatible = "motorola,ali-panel-boe";
};

qcom,mdss_dsi_mot_tianma_565_1080p_vid_v0 {
compatible = "motorola,ali-panel-tianma";
};
};
};
2 changes: 2 additions & 0 deletions project/motorola-ali-secondary.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
LOCAL_DIR := $(GET_LOCAL_DIR)
include $(LOCAL_DIR)/msm8953-secondary.mk

0 comments on commit 02f3f02

Please sign in to comment.