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

arm64: dts: qcom: msm8939-huawei-rio: Add initial device tree #385

Open
wants to merge 1 commit into
base: msm8916/6.12.1
Choose a base branch
from

Conversation

bzy-080408
Copy link

@bzy-080408 bzy-080408 commented Dec 27, 2024

Not fully working yet.
Tested peripherals:

  • USB network(need kernel support)
  • USB console(need kernel support)
  • WIFI
  • display
  • touchscreen
  • button
  • GPU
    Untested peripherals:
  • USB OTG
    TODO:
  • most of sensor
  • camera
  • USB charging
  • Audio

@bzy-080408 bzy-080408 force-pushed the msm8916/6.12.1 branch 2 times, most recently from a7f93a3 to c632d86 Compare December 27, 2024 11:13
Comment on lines +14 to +19
qcom,msm-id = <239 0>;
qcom,board-id =
<8054 4>, <8055 4>, <8070 4>, <8071 4>,
<8086 4>, <8087 4>, <8102 4>, <8134 4>,
<8135 4>, <8118 4>;

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 = <239 0>;
qcom,board-id =
<8054 4>, <8055 4>, <8070 4>, <8071 4>,
<8086 4>, <8087 4>, <8102 4>, <8134 4>,
<8135 4>, <8118 4>;

We don't need this when using lk2nd/lk1st.

Comment on lines +163 to +166
/*
* NOTE: vdd is not directly supplied by pm8916_l16, it seems to be a
* fixed regulator that is automatically enabled by pm8916_l16.
*/

Choose a reason for hiding this comment

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

Is it true or just copied from kiwi?

Copy link
Author

Choose a reason for hiding this comment

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

copied from kiwi and it can be used

Choose a reason for hiding this comment

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

How would you know? Is it TRUE?

Comment on lines +364 to +370
mag_reset_default: mag-reset-default-state {
pins = "gpio36";
function = "gpio";
drive-strength = <2>;
bias-disable;
};

Choose a reason for hiding this comment

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

Unused for now.

<8086 4>, <8087 4>, <8102 4>, <8134 4>,
<8135 4>, <8118 4>;

model = "Huawei Maimang 4";

Choose a reason for hiding this comment

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

Suggested change
model = "Huawei Maimang 4";
model = "Huawei G7 Plus / G8 / GX8 / Maimang 4";

Comment on lines +158 to +159
interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
Copy link
Member

Choose a reason for hiding this comment

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

Let's use interrupts-extended

Choose a reason for hiding this comment

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

Suggested change
interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>;

Comment on lines +158 to +159
interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;

Choose a reason for hiding this comment

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

Suggested change
interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>;

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