From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>,
andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: quic_varada@quicinc.com, quic_srichara@quicinc.com
Subject: Re: [PATCH v4 2/2] arm64: dts: qcom: ipq5424: configure spi0 node for rdp466
Date: Fri, 3 Jan 2025 13:31:53 +0100 [thread overview]
Message-ID: <9470fb05-0fc2-4bdb-9192-ae18997aff70@oss.qualcomm.com> (raw)
In-Reply-To: <20250103063708.3256467-3-quic_mmanikan@quicinc.com>
On 3.01.2025 7:37 AM, Manikanta Mylavarapu wrote:
> Enable the SPI0 node and configure the associated gpio pins.
>
> Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
> ---
> Changes in V4:
> - Revert the 'renaming of spi0 to spi4' and follow the existing
> naming convention such as spi0 and spi1.
> - Update commit message.
>
> arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts | 43 +++++++++++++++++++++
> 1 file changed, 43 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts b/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts
> index d4d31026a026..60cfa8708eb4 100644
> --- a/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts
> +++ b/arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts
> @@ -23,6 +23,36 @@ &sleep_clk {
> };
>
> &tlmm {
> + spi0_default_state: spi0-default-state {
> + clk-pins {
> + pins = "gpio6";
> + function = "spi0_clk";
> + drive-strength = <8>;
> + bias-pull-down;
> + };
> +
> + cs-pins {
> + pins = "gpio7";
> + function = "spi0_cs";
> + drive-strength = <8>;
> + bias-pull-up;
> + };
> +
> + miso-pins {
> + pins = "gpio8";
> + function = "spi0_miso";
> + drive-strength = <8>;
> + bias-pull-down;
> + };
> +
> + mosi-pins {
> + pins = "gpio9";
> + function = "spi0_mosi";
> + drive-strength = <8>;
> + bias-pull-down;
> + };
> + };
> +
> sdc_default_state: sdc-default-state {
> clk-pins {
> pins = "gpio5";
> @@ -57,3 +87,16 @@ &xo_board {
> clock-frequency = <24000000>;
> };
>
> +&spi0 {
's' < 't', please re-sort this alphabetically
Konrad
next prev parent reply other threads:[~2025-01-03 12:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-03 6:37 [PATCH v4 0/2] Add SPI support for IPQ5424 Manikanta Mylavarapu
2025-01-03 6:37 ` [PATCH v4 1/2] arm64: dts: qcom: ipq5424: add spi nodes Manikanta Mylavarapu
2025-01-03 12:30 ` Konrad Dybcio
2025-01-03 6:37 ` [PATCH v4 2/2] arm64: dts: qcom: ipq5424: configure spi0 node for rdp466 Manikanta Mylavarapu
2025-01-03 12:31 ` Konrad Dybcio [this message]
2025-01-07 16:38 ` [PATCH v4 0/2] Add SPI support for IPQ5424 Bjorn Andersson
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=9470fb05-0fc2-4bdb-9192-ae18997aff70@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=quic_mmanikan@quicinc.com \
--cc=quic_srichara@quicinc.com \
--cc=quic_varada@quicinc.com \
--cc=robh@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
all inboxes | Powered by JetHome®