Skip to content

Y927/7.0#448

Draft
zhangzqs wants to merge 20 commits into
msm8916-mainline:wip/msm8916/7.0from
zhangzqs:y927/7.0
Draft

Y927/7.0#448
zhangzqs wants to merge 20 commits into
msm8916-mainline:wip/msm8916/7.0from
zhangzqs:y927/7.0

Conversation

@zhangzqs

@zhangzqs zhangzqs commented Jul 4, 2026

Copy link
Copy Markdown

No description provided.

Comment on lines +16 to +17
mmc0 = &sdhc_1; // eMMC 固化为 /dev/mmcblk0
mmc1 = &sdhc_2; // SD 卡 固化为 /dev/mmcblk1

Choose a reason for hiding this comment

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

Try English in later revisions but we would leave it be for now.

Comment on lines +40 to +41
regulator-always-on; /* lmdpdg 生成的 panel 驱动不读 vsp/vsn-supply */
regulator-boot-on; /* 必须 always-on,否则 fixed regulator 启动时被拉低,屏黑 */

Choose a reason for hiding this comment

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

It's possible to add vsp/vsn/*-supply to lmdpdg configs.

Comment on lines +50 to +51
regulator-always-on;
regulator-boot-on;

Choose a reason for hiding this comment

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

Ditto.

Comment on lines +54 to +60
/* 预留 lk1st splash framebuffer 不被内核踩踏 */
reserved-memory {
cont-splash@83200000 {
reg = <0 0x83200000 0 0x800000>;
no-map;
};
};

Choose a reason for hiding this comment

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

Not sure why you need this when you are using drm panel driver instead of simpledrm.

monitored-battery = <&battery>;
qcom,fast-charge-safe-current = <900000>; /* 0.9 A 安全限流 */
qcom,fast-charge-safe-voltage = <4200000>; /* PM8916 LBC 浮充上限 4.2V */
}; No newline at end of file

Choose a reason for hiding this comment

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

Try to add EOL here.

zhangzqs added 11 commits July 11, 2026 16:34
The current sink supports 5 mA through 40 mA in 5 mA steps. Document the generic drive-strength values accepted by both PMIC MPP drivers.
PIN_CONFIG_DRIVE_STRENGTH is expressed in mA, but the SPMI MPP driver wrote that value directly to the zero-based three-bit current register. Convert 5-40 mA to and from the hardware encoding and reject unsupported values.
Describe the stock PM8916 MPP2 current-sink connection as a gpio-led at the original 5 mA setting. The active-high GPIO level controls the MPP mode enable bit.
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