From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Adam Skladowski <a39.skl@gmail.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Kees Cook <kees@kernel.org>,
Tony Luck <tony.luck@intel.com>,
"Guilherme G. Piccoli" <gpiccoli@igalia.com>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org
Subject: Re: [PATCH 5/7] arm64: dts: qcom: Add LeEco Le2
Date: Mon, 17 Aug 2026 17:57:28 +0200 [thread overview]
Message-ID: <3021cb06-7219-4e54-8188-e9cef09aa1ec@oss.qualcomm.com> (raw)
In-Reply-To: <20260810-next-patches-v1-5-79a779d76173@gmail.com>
On 8/10/26 6:55 PM, Adam Skladowski wrote:
> Add a devicetree for the LeEco Le2 smartphone, which is based
> on the Eldarion/MSM8976 SoC.
[...]
> + reserved-memory {
> +
> + ramoops {
Stray \n above
> + compatible = "ramoops";
> + no-map;
> + reg = <0 0x9ff00000 0 0x100000>;
> + record-size = <0x10000>;
> + console-size = <0x60000>;
> + ftrace-size = <0x10000>;
> + pmsg-size = <0x20000>;
> + ecc-size = <16>;
> + };
> +
> + /delete-node/ memory@83000000;
Referring to nodes by their node names is fragile. In this case, you fell
victim to that since this node doesn't exist. The more modern approach is
to assign a label at the definition site and then do /delete-node/ &foo
[...]
> +&blsp1_i2c4 {
> + status = "okay";
> +
> + rmi4-i2c-dev@4b {
Node names must be generic, so touchscreen@
> + reg = <0x4b>;
> + compatible = "syna,rmi4-i2c";
> + interrupts-extended = <&tlmm 65 0x2008>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + vdd-supply = <&pm8950_l17>;
> + vio-supply = <&pm8950_l6>;
> +
> + syna,reset-delay-ms = <100>;
> + syna,startup-delay-ms = <500>;
> + rmi4-f01@1 {
Let's keep a \n between properties and the following subnodes
[...]
> +&blsp2_i2c2 {
> + status = "okay";
> +
> + haptics: haptics@5a {
> + compatible = "ti,drv2604";
> + reg = <0x5a>;
> + enable-gpios = <&tlmm 109 GPIO_ACTIVE_HIGH>;
> + mode = <DRV260X_LRA_MODE>;
> + library-sel = <DRV260X_LIB_LRA>;
> + };
> +
> + tiusb320: tusb320@47 {
I'm not super sure what this chip is, typec@ or extcon@?
> + compatible = "ti,tusb320";
> + reg = <0x47>;
> + interrupts-extended = <&tlmm 21 IRQ_TYPE_EDGE_RISING>;
> + };
> +};
> +
> +&blsp2_i2c4 {
> + status = "okay";
> + led-controller@45 {
Let's add a \n beforehand
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + compatible = "awinic,aw2013";
> + reg = <0x45>;
> + vcc-supply = <&pm8950_l10>;
> +
> + led@0 {
> + reg = <0>;
> + led-max-microamp = <5000>;
> + function = LED_FUNCTION_INDICATOR;
> + color = <LED_COLOR_ID_RED>;
> + };
> + led@1 {
And an \n between each subnode
[...]
> +&otg {
> + status = "okay";
Let's keep 'status' last and with a \n before it
> + extcon = <&tiusb320>,<0>;
The second extcon is optional, you can drop it
from the chipidea bindings:
minItems: 1
items:
- description: vbus extcon
maxItems: 1
- description: id extcon
maxItems: 1
Konrad
next prev parent reply other threads:[~2026-08-17 15:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-10 16:55 [PATCH 0/7] arm64: dts: qcom: Add 3 new devices Adam Skladowski
2026-08-10 16:55 ` [PATCH 1/7] dt-bindings: vendor-prefixes: Add LeEco Adam Skladowski
2026-08-14 10:33 ` Krzysztof Kozlowski
2026-08-10 16:55 ` [PATCH 2/7] dt-bindings: arm: qcom: Document Motorola Moto One Adam Skladowski
2026-08-14 10:33 ` Krzysztof Kozlowski
2026-08-10 16:55 ` [PATCH 3/7] arm64: dts: qcom: Add Motorola One Adam Skladowski
2026-08-11 9:12 ` Dmitry Baryshkov
2026-08-17 15:59 ` Konrad Dybcio
2026-08-10 16:55 ` [PATCH 4/7] dt-bindings: arm: qcom: Document LeEco Le2 Adam Skladowski
2026-08-14 10:34 ` Krzysztof Kozlowski
2026-08-10 16:55 ` [PATCH 5/7] arm64: dts: qcom: Add " Adam Skladowski
2026-08-11 9:16 ` Dmitry Baryshkov
2026-08-17 15:57 ` Konrad Dybcio [this message]
2026-08-10 16:55 ` [PATCH 6/7] dt-bindings: arm: qcom: Document Xiaomi Redmi 9T Adam Skladowski
2026-08-14 10:34 ` Krzysztof Kozlowski
2026-08-10 16:55 ` [PATCH 7/7] arm64: dts: qcom: Add " Adam Skladowski
2026-08-11 9:19 ` Dmitry Baryshkov
2026-08-17 16:08 ` Konrad Dybcio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3021cb06-7219-4e54-8188-e9cef09aa1ec@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=a39.skl@gmail.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gpiccoli@igalia.com \
--cc=kees@kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=tony.luck@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®