[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9f12148b-6462-4ffa-b665-325571db78f0@oss.qualcomm.com>
Date: Sat, 14 Jun 2025 21:22:33 +0200
From: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
To: git@...tzsch.eu, Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>
Cc: ~postmarketos/upstreaming@...ts.sr.ht, phone-devel@...r.kernel.org,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] arm64: dts: qcom: msm8976-longcheer-l9360: Add
initial device tree
On 6/13/25 12:37 AM, André Apitzsch via B4 Relay wrote:
> From: André Apitzsch <git@...tzsch.eu>
>
> This dts adds support for BQ Aquaris X5 Plus (Longcheer L9360) released
> in 2016.
>
> Add a device tree with initial support for:
>
> - GPIO keys
> - NFC
> - SDHCI
> - Status LED
> - Touchscreen
>
> Signed-off-by: André Apitzsch <git@...tzsch.eu>
> ---
[...]
> + /delete-node/ tz-apps@...00000;
please remove nodes through a &label reference only
in this specific case, the address matches, so you may want
to simply override reg with the bigger size instead
[...]
> +
> + rmi4-f01@1 {
> + reg = <0x1>;
> + syna,nosleep-mode = <1>; /* Allow sleeping */
> + };
> +
> + rmi4-f12@12 {
> + reg = <0x12>;
> + syna,sensor-type = <1>; /* Touchscreen */
Please remove these commends
[...]
> + };
> + };
> +};
> +
> +&blsp2_uart2 {
> + status = "okay";
> +};
> +
> +&gcc {
> + vdd_gfx-supply = <&pm8004_s5>;
> +};
> +
> +&pm8004_spmi_regulators {
> + vdd_s2-supply = <&vph_pwr>;
> + vdd_s5-supply = <&vph_pwr>;
> +
> + /* Cluster 1 supply */
> + pm8004_s2: s2 {
> + /* regulator-min-microvolt = <500000>; */
> + /* Set .95V to prevent unstabilities until CPR for this SoC is done */
That may take a while.. ;)
[...]
> +
> + sdc2_default: sdc2-default-state {
> + clk-pins {
> + pins = "sdc2_clk";
> + bias-disable;
> + drive-strength = <16>;
> + };
> + cmd-pins {
> + pins = "sdc2_cmd";
> + bias-pull-up;
> + drive-strength = <10>;
> + };
> + data-pins {
> + pins = "sdc2_data";
> + bias-pull-up;
> + drive-strength = <10>;
> + };
> + };
> +
> + sdc2_sleep: sdc2-sleep-state {
> + clk-pins {
> + pins = "sdc2_clk";
> + bias-disable;
> + drive-strength = <2>;
> + };
> + cmd-pins {
> + pins = "sdc2_cmd";
> + bias-pull-up;
> + drive-strength = <2>;
> + };
> + data-pins {
> + pins = "sdc2_data";
> + bias-pull-up;
> + drive-strength = <2>;
> + };
> + };
Please move these definitions into msm8976.dtsi
Konrad
Powered by blists - more mailing lists