linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add optional reset control for Cadence SPI
@ 2024-05-02 10:47 Ji Sheng Teoh
  2024-05-02 10:47 ` [PATCH v2 1/2] spi: spi-cadence: Add optional reset control support Ji Sheng Teoh
  2024-05-02 10:48 ` [PATCH v2 2/2] dt-bindings: spi: spi-cadence: Add optional reset control Ji Sheng Teoh
  0 siblings, 2 replies; 10+ messages in thread
From: Ji Sheng Teoh @ 2024-05-02 10:47 UTC (permalink / raw)
  To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Philipp Zabel, Michal Simek, Lars-Peter Clausen
  Cc: Ji Sheng Teoh, Ley Foon Tan, linux-spi, devicetree, linux-kernel

The first patch adds optional reset control to support assertion and
deassertion of reset signal to properly bring the SPI device into an
operating condition.
The second patch documents the optional reset control into dt-bindings.

Changes since v1:
 - Dropped resets description and added reset-names property in dt-bindings.
 - Specified "spi" as reset control name instead of using NULL in
   devm_reset_control_get_optional_exclusive().
 - Included reset.h in spi-cadence.c missing in v1.

Ji Sheng Teoh (2):
  spi: spi-cadence: Add optional reset control support
  dt-bindings: spi: spi-cadence: Add optional reset control

 .../devicetree/bindings/spi/spi-cadence.yaml        |  7 +++++++
 drivers/spi/spi-cadence.c                           | 13 +++++++++++++
 2 files changed, 20 insertions(+)

-- 
2.43.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-05-03  1:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-02 10:47 [PATCH v2 0/2] Add optional reset control for Cadence SPI Ji Sheng Teoh
2024-05-02 10:47 ` [PATCH v2 1/2] spi: spi-cadence: Add optional reset control support Ji Sheng Teoh
2024-05-02 14:16   ` Krzysztof Kozlowski
2024-05-03  1:20     ` JiSheng Teoh
2024-05-02 10:48 ` [PATCH v2 2/2] dt-bindings: spi: spi-cadence: Add optional reset control Ji Sheng Teoh
2024-05-02 12:21   ` Krzysztof Kozlowski
2024-05-02 12:45     ` JiSheng Teoh
2024-05-02 12:48       ` Krzysztof Kozlowski
2024-05-02 12:58         ` JiSheng Teoh
2024-05-02 13:53   ` Krzysztof Kozlowski

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).