Re: [PATCH 4/6] arm64: dts: qcom: Add sm6115-motorola-common

From: Konrad Dybcio

Date: Thu Dec 03 2026 - 08:51:38 EST


On 11/9/26 11:14 PM, Val Packett wrote:
> Add the shared dtsi for sm6115/sm4250-based Motorola smartphones,
> with support for:
>
> * Simple framebuffer from bootloader
> * Power, volume, and assistant buttons (PMI632)
> * Charging LED, haptics/vibrator (PMI632)
> * USB Type-C with dual-role USB 2.0 (PMI632)
> * eMMC onboard storage and microSD card slot
> * Wi-Fi, Bluetooth (WCN3990)
>
> Signed-off-by: Val Packett <val@xxxxxxxxxxxx>
> ---

[...]

> + chosen {
> + #address-cells = <2>;
> + #size-cells = <2>;
> + ranges;
> +
> + framebuffer0: framebuffer@5c000000 {
> + compatible = "simple-framebuffer";
> + memory-region = <&cont_splash_memory>;
> + width = <720>;
> + height = <1600>;
> + stride = <(720 * 4)>;
> + format = "a8r8g8b8";
> +
> + clocks = <&gcc GCC_DISP_AHB_CLK>,
> + <&gcc GCC_DISP_HF_AXI_CLK>;
> + vddio-supply = <&vreg_l9a>;

Please build-test the patches!

[...]

> +&pmi632_vbus {
> + regulator-min-microamp = <500000>;
> + regulator-max-microamp = <1000000>;
> + status = "okay";

Let's keep a \n before status, uniformly

[...]

> +&sdc2_state_off {
> + cd-pins {
> + pins = "gpio88";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;
> + };
> +};
> +
> +&sdc2_state_on {
> + cd-pins {
> + pins = "gpio88";
> + function = "gpio";
> + drive-strength = <2>;
> + /* This is odd, but it only works with pull *up* and ACTIVE_HIGH */
> + bias-pull-up;

Have you tried pull-down?

[...]

> +&uart3 {
> + status = "okay";
> +
> + interrupts-extended = <&intc GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
> + <&tlmm 11 IRQ_TYPE_EDGE_FALLING>;

Please align the '<'s

[...]

> +&usb {
> + status = "okay";

status last, please

Konrad