From: Han Xu <han.xu@nxp.com>
To: broonie@kernel.org, linux-spi@vger.kernel.org,
linux-kernel@vger.kernel.org, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org
Cc: han.xu@nxp.com
Subject: [PATCH 2/2] dt-bindings: spi: spi-fsl-lpspi: add num-cs for lpspi
Date: Tue, 6 Dec 2022 16:54:10 -0600 [thread overview]
Message-ID: <20221206225410.604482-2-han.xu@nxp.com> (raw)
In-Reply-To: <20221206225410.604482-1-han.xu@nxp.com>
Add num-cs property to support multiple cs for lpspi. This property is
optional.
Signed-off-by: Han Xu <han.xu@nxp.com>
---
Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
index 8b44284d30c6..94caa2b7e241 100644
--- a/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
@@ -56,6 +56,13 @@ properties:
this property to re-config the chipselect value in the LPSPI driver.
type: boolean
+ num-cs:
+ description:
+ number of chip selects.
+ minimum: 1
+ maximum: 2
+ default: 1
+
required:
- compatible
- reg
@@ -80,4 +87,5 @@ examples:
clock-names = "per", "ipg";
spi-slave;
fsl,spi-only-use-cs1-sel;
+ num-cs = <2>;
};
--
2.25.1
next prev parent reply other threads:[~2022-12-06 22:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-06 22:54 [PATCH 1/2] spi: spi-fsl-lpspi: support multiple cs for lpspi Han Xu
2022-12-06 22:54 ` Han Xu [this message]
2022-12-07 8:33 ` [PATCH 2/2] dt-bindings: spi: spi-fsl-lpspi: add num-cs " Krzysztof Kozlowski
2022-12-07 6:38 ` [PATCH 1/2] spi: spi-fsl-lpspi: support multiple cs " Dhruva Gole
2022-12-07 13:44 ` Mark Brown
2022-12-07 16:21 ` Mark Brown
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=20221206225410.604482-2-han.xu@nxp.com \
--to=han.xu@nxp.com \
--cc=broonie@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@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).