Skip to content

arm64: dts: qcom: msm8916-vivo-pd1505f: Add initial device tree and Panel#442

Closed
QuiXan wants to merge 9 commits intomsm8916-mainline:wip/msm8916/7.0from
QuiXan:wip/msm8916/7.0
Closed

arm64: dts: qcom: msm8916-vivo-pd1505f: Add initial device tree and Panel#442
QuiXan wants to merge 9 commits intomsm8916-mainline:wip/msm8916/7.0from
QuiXan:wip/msm8916/7.0

Conversation

@QuiXan
Copy link
Copy Markdown

@QuiXan QuiXan commented Apr 14, 2026

No description provided.

@QuiXan
Copy link
Copy Markdown
Author

QuiXan commented Apr 14, 2026

For me, fixing these problems is too difficult. If possible, please directly help me correct them.

These work fine on my device.

Oh right, the kernel needs to enable the smb3xx driver in order to ensure the battery and charging work properly.

@QuiXan QuiXan changed the title arm64: dts: qcom: msm8916-vivo-y31a: Add initial device tree and Panel arm64: dts: qcom: msm8916-vivo-pd1505f: Add initial device tree and Panel Apr 14, 2026
Copy link
Copy Markdown
Member

@TravMurav TravMurav left a comment

Choose a reason for hiding this comment

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

Thanks for the submission! Please see some comments below.

On top of this, I have to mention that due to maintenance load we don't accept DTS submissions that aren't (partially) sent upstream. Almost everything you've added should be possible to submit and get accepted in mainline Linux (i.e. Torvalds's tree), with an exception of the device panel driver (and corresponding DTS nodes additions) and, if you rely on that, non-upstreamed charger drivers.

I'd expect this submission to have four commits:

  • Document DT bindings for your device;
  • Add your device dts;
  • Update your dts to add display panel
  • (optionally) !squash commit generated by l-p-d with the panel driver that you need.

Then the first two commits can be sent to LKML and backported to this tree.

For examples on how submissions to LKML are prepared and handled, you can refer to recent examples:

You can read the reviews left upstream on previous versions of those patchsets to see how review on LKML goes and maybe see some information relevant to you.

Comment on lines +134 to +135
pinctrl-names = "default";
pinctrl-0 = <&ts_int_default &ts_rst_default>;
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.

Suggested change
pinctrl-names = "default";
pinctrl-0 = <&ts_int_default &ts_rst_default>;
pinctrl-0 = <&ts_int_default>, <&ts_rst_default>;
pinctrl-names = "default";

Comment on lines +56 to +57
pinctrl-names = "default";
pinctrl-0 = <&lcd_bl_en_default>;
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.

-names always last

Suggested change
pinctrl-names = "default";
pinctrl-0 = <&lcd_bl_en_default>;
pinctrl-0 = <&lcd_bl_en_default>;
pinctrl-names = "default";

Comment on lines +125 to +126
interrupt-parent = <&tlmm>;
interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
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.

please always interrupts-extended

Comment on lines +159 to +166
pm8916_l17: l17 {
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <2850000>;
};
pm8916_l16: l16 {
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <2850000>;
};
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.

Sort please

pm8916_l2: l2 {
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on; /* 可能需要保持常开 */
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.

I don't understand the comment here...

This regulator is part of reference design and is already enabled in the dtsi you include.

https://elixir.bootlin.com/linux/v6.19.11/source/arch/arm64/boot/dts/qcom/msm8916-pm8916.dtsi#L95-L99

Comment on lines +279 to +280
vdd-supply = <&pm8916_l2>;
vddcx-supply = <&rpmpd MSM8916_VDDCX>;
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.

do you actually need this? I don't think this is correct

@@ -0,0 +1,421 @@
// SPDX-License-Identifier: GPL-2.0-only
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.

Please limit this to only the panel you can verify working on a real device, and make a submission to https://github.com/msm8916-mainline/linux-panel-drivers.

You can include the commit that was generated by linux-panel-drivers generate.sh script, please keep that commit exactly as it was generated then.

@QuiXan QuiXan closed this by deleting the head repository Apr 20, 2026
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.

2 participants