Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dts: msm8909-1gb-qrd-skue: add quirky for lenovo-lxf-p5100 #491

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

exkc
Copy link
Contributor

@exkc exkc commented Feb 2, 2025

No description provided.

Comment on lines +11 to +12
qcom,msm-id = <QCOM_ID_MSM8909 0>,
<QCOM_ID_MSM8909 0x00 0x102 0x00 0x109 0x00 0x113 0x00>;

Choose a reason for hiding this comment

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

Will this work?

Suggested change
qcom,msm-id = <QCOM_ID_MSM8909 0>,
<QCOM_ID_MSM8909 0x00 0x102 0x00 0x109 0x00 0x113 0x00>;
qcom,msm-id = <QCOM_ID_MSM8909 0>, <QCOM_ID_MSM8209 0>,
<QCOM_ID_APQ8009 0>, <QCOM_ID_MSM8609 0>;

https://github.com/msm8916-mainline/lk2nd/blob/main/lk2nd/include/dt-bindings/arm/qcom%2Cids.h#L112
https://github.com/msm8916-mainline/lk2nd/blob/main/lk2nd/include/dt-bindings/arm/qcom%2Cids.h#L119
https://github.com/msm8916-mainline/lk2nd/blob/main/lk2nd/include/dt-bindings/arm/qcom%2Cids.h#L126

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that dont work

Choose a reason for hiding this comment

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

Suggested change
qcom,msm-id = <QCOM_ID_MSM8909 0>,
<QCOM_ID_MSM8909 0x00 0x102 0x00 0x109 0x00 0x113 0x00>;
qcom,msm-id = <QCOM_ID_MSM8909 0>,
<QCOM_ID_MSM8909 0 QCOM_ID_MSM8209 0 QCOM_ID_APQ8009 0 QCOM_ID_MSM8609 0>;

@exkc exkc closed this Feb 6, 2025
@exkc exkc reopened this Feb 6, 2025
@exkc
Copy link
Contributor Author

exkc commented Feb 6, 2025

missclick i will test it later

@@ -4,7 +4,12 @@
#include <lk2nd.dtsi>

/ {
qcom,msm-id = <QCOM_ID_MSM8909 0>;
//some variant of lxf_p5100 bootloder is quirky and they only select
Copy link
Member

Choose a reason for hiding this comment

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

I'd appreciate C style comments (/* */)

@@ -4,7 +4,12 @@
#include <lk2nd.dtsi>

/ {
qcom,msm-id = <QCOM_ID_MSM8909 0>;
//some variant of lxf_p5100 bootloder is quirky and they only select
//<QCOM_ID_MSM8909 0x00 0x102 0x00 0x109 0x00 0x113 0x00>
Copy link
Member

Choose a reason for hiding this comment

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

As already suggested, please decode those constants to appropriate QCOM_ID and split to two-cell values. Don't think you need to repeat the array twice. I'd also actually appreciate if you can isolate your device to one specific msm-id, not add all of them (i.e. to know if it matches 3g-only 8209 or wifi only 8009)

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