From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: guptarud@gmail.com, Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] ARM: dts: qcom: msm8960: Add gsbi3 node
Date: Tue, 30 Jan 2024 08:49:17 +0100 [thread overview]
Message-ID: <97ff8fd2-14b7-427e-8ca2-8da42bfcb53e@linaro.org> (raw)
In-Reply-To: <20240129-expressatt_mxt224s_touchscreen-v1-1-fb8552e1c32c@gmail.com>
On 30/01/2024 03:43, Rudraksha Gupta via B4 Relay wrote:
> From: Rudraksha Gupta <guptarud@gmail.com>
>
> Copy gsbi3 node from qcom-apq8064.dtsi and set appropriate properties
>
> Signed-off-by: Rudraksha Gupta <guptarud@gmail.com>
> ---
> arch/arm/boot/dts/qcom/qcom-msm8960-pins.dtsi | 29 +++++++++++++++++++++++++++
> arch/arm/boot/dts/qcom/qcom-msm8960.dtsi | 27 +++++++++++++++++++++++++
> 2 files changed, 56 insertions(+)
>
> diff --git a/arch/arm/boot/dts/qcom/qcom-msm8960-pins.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8960-pins.dtsi
> new file mode 100644
> index 000000000000..c74c6625d276
> --- /dev/null
> +++ b/arch/arm/boot/dts/qcom/qcom-msm8960-pins.dtsi
> @@ -0,0 +1,29 @@
> +// SPDX-License-Identifier: GPL-2.0-only
> +
> +&msmgpio {
> + i2c3_pins: i2c3 {
> + mux {
> + pins = "gpio16", "gpio17";
> + function = "gsbi3";
> + };
> +
> + pinconf {
> + pins = "gpio16", "gpio17";
> + drive-strength = <8>;
> + bias-disable;
> + };
> + };
> +
> + i2c3_pins_sleep: i2c3_pins_sleep {
No underscores in node names.
It does not look like you tested the DTS against bindings. Please run
`make dtbs_check W=1` (see
Documentation/devicetree/bindings/writing-schema.rst or
https://www.linaro.org/blog/tips-and-tricks-for-validating-devicetree-sources-with-the-devicetree-schema/
for instructions).
> + mux {
> + pins = "gpio16", "gpio17";
> + function = "gpio";
> + };
> +
> + pinconf {
> + pins = "gpio16", "gpio17";
> + drive-strength = <2>;
> + bias-bus-hold;
> + };
> + };
> +};
> diff --git a/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi
> index f420740e068e..62a5a9622e82 100644
> --- a/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi
> +++ b/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi
> @@ -359,5 +359,32 @@ usb_hs1_phy: phy {
> };
> };
> };
> +
> + gsbi3: gsbi@16200000 {
> + status = "disabled";
Please order the properties according to DTS coding style:
https://www.kernel.org/doc/html/latest/devicetree/bindings/dts-coding-style.html#order-of-properties-in-device-node
Best regards,
Krzysztof
next prev parent reply other threads:[~2024-01-30 7:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-30 2:43 [PATCH 0/2] Add the mXT224S touchscreen to expressatt Rudraksha Gupta via B4 Relay
2024-01-30 2:43 ` [PATCH 1/2] ARM: dts: qcom: msm8960: Add gsbi3 node Rudraksha Gupta via B4 Relay
2024-01-30 7:49 ` Krzysztof Kozlowski [this message]
2024-01-30 2:43 ` [PATCH 2/2] ARM: dts: qcom: msm8960: expressatt: Add mXT224S touchscreen Rudraksha Gupta via B4 Relay
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=97ff8fd2-14b7-427e-8ca2-8da42bfcb53e@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=guptarud@gmail.com \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).