Skip to content

lk2nd: Add support for OPPO A33 (ql790)#699

Draft
William-Practice wants to merge 3 commits into
msm8916-mainline:mainfrom
William-Practice:main
Draft

lk2nd: Add support for OPPO A33 (ql790)#699
William-Practice wants to merge 3 commits into
msm8916-mainline:mainfrom
William-Practice:main

Conversation

@William-Practice

Copy link
Copy Markdown

WIP: need testing on actual hardware

*
* Board-IDs from downstream CAF kernel DTS (oppo-a33-master):
* A33: <0x21010b 5>, <0x22010b 5>, <0x23010b 5>, <0x1000b 5>, <0x1000b 0>
* A33m: <0x1010b 7>, <0x1000b 5>, <0x1010b 5>, <0x3010b 5>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<0x1000b 5>, <0x1010b 5>, <0x3010b 5> is used by msm8916-qrd-skui by the way.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, kept only unique board-ids. A33m dropped due to conflicts.

qcom,board-id = <0x21010b 5>,
<0x22010b 5>,
<0x23010b 5>,
<0x1000b 5>,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<0x1000b 5> conflicts with msm8916-qrd-skui.

Comment on lines +14 to +15
* A33: <0x21010b 5>, <0x22010b 5>, <0x23010b 5>, <0x1000b 5>, <0x1000b 0>
* A33m: <0x1010b 7>, <0x1000b 5>, <0x1010b 5>, <0x3010b 5>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The values of board-id doesn't overlap a lot and it could have been split into 2 devices trees.

@TravMurav TravMurav left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also squash all commits into one. If you haven't yet tested this on real hardware, please make this into a draft until you've done

Comment thread lk2nd/device/dts/msm8916/msm8916-oppo-a33.dts Outdated
};

&lk2nd {
model = "OPPO A33";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be added to Documentation/devices.md

Comment thread lk2nd/device/dts/msm8916/msm8916-oppo-a33.dts Outdated
Comment thread lk2nd/device/dts/msm8916/rules.mk Outdated
Comment on lines +26 to +28
qcom,board-id = <0x21010b 5>,
<0x22010b 5>,
<0x23010b 5>;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which one your device actually needs? Let's for now keep only the on without which the device doesn't boot.

Comment thread Documentation/devices.md Outdated
- Motorola Moto E (2015) - surnia
- Motorola Moto G (2015) - osprey
- Motorola Moto G4 Play - harpia
- OPPO A33 (ql790) - William-Practice

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this really the device codename?

@William-Practice

William-Practice commented May 31, 2026 via email

Copy link
Copy Markdown
Author

Comment thread lk2nd/device/dts/msm8916/msm8916-oppo-a33.dts Outdated
Yeah

Co-authored-by: Raymond Hackley <raymondhackley@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants