linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: spi: spi-cadence: Describe power-domains property
@ 2023-08-03  7:24 Michal Simek
  2023-08-03  7:24 ` [PATCH 2/2] dt-bindings: spi: spi-cadence: Add label property Michal Simek
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michal Simek @ 2023-08-03  7:24 UTC (permalink / raw)
  To: linux-kernel, monstr, michal.simek, git
  Cc: Conor Dooley, Krzysztof Kozlowski, Mark Brown, Rob Herring,
	devicetree, linux-spi

ZynqMP Cadence SPI IP core has own power domain that's why describe it as
optional property.

Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 Documentation/devicetree/bindings/spi/spi-cadence.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/spi/spi-cadence.yaml b/Documentation/devicetree/bindings/spi/spi-cadence.yaml
index b7552739b554..9eda7f0d2869 100644
--- a/Documentation/devicetree/bindings/spi/spi-cadence.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-cadence.yaml
@@ -49,6 +49,9 @@ properties:
     enum: [ 0, 1 ]
     default: 0
 
+  power-domains:
+    maxItems: 1
+
 required:
   - compatible
   - reg
-- 
2.36.1


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

* [PATCH 2/2] dt-bindings: spi: spi-cadence: Add label property
  2023-08-03  7:24 [PATCH 1/2] dt-bindings: spi: spi-cadence: Describe power-domains property Michal Simek
@ 2023-08-03  7:24 ` Michal Simek
  2023-08-03 15:43 ` [PATCH 1/2] dt-bindings: spi: spi-cadence: Describe power-domains property Conor Dooley
  2023-08-03 18:26 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Michal Simek @ 2023-08-03  7:24 UTC (permalink / raw)
  To: linux-kernel, monstr, michal.simek, git
  Cc: Conor Dooley, Krzysztof Kozlowski, Mark Brown, Rob Herring,
	devicetree, linux-spi

Add a label property to allow a custom name to be used for identifying the
controller on a board. This is useful when there is more than one
controller present. Similar change was done by commit 412b7a521c30
("dt-bindings: eeprom: at24: Add label property for AT24").

Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 Documentation/devicetree/bindings/spi/spi-cadence.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/spi/spi-cadence.yaml b/Documentation/devicetree/bindings/spi/spi-cadence.yaml
index 9eda7f0d2869..d4b61b0e8301 100644
--- a/Documentation/devicetree/bindings/spi/spi-cadence.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-cadence.yaml
@@ -52,6 +52,9 @@ properties:
   power-domains:
     maxItems: 1
 
+  label:
+    description: Descriptive name of the SPI controller.
+
 required:
   - compatible
   - reg
-- 
2.36.1


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

* Re: [PATCH 1/2] dt-bindings: spi: spi-cadence: Describe power-domains property
  2023-08-03  7:24 [PATCH 1/2] dt-bindings: spi: spi-cadence: Describe power-domains property Michal Simek
  2023-08-03  7:24 ` [PATCH 2/2] dt-bindings: spi: spi-cadence: Add label property Michal Simek
@ 2023-08-03 15:43 ` Conor Dooley
  2023-08-03 18:26 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Conor Dooley @ 2023-08-03 15:43 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-kernel, monstr, michal.simek, git, Conor Dooley,
	Krzysztof Kozlowski, Mark Brown, Rob Herring, devicetree,
	linux-spi

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

On Thu, Aug 03, 2023 at 09:24:24AM +0200, Michal Simek wrote:
> ZynqMP Cadence SPI IP core has own power domain that's why describe it as
> optional property.
> 
> Signed-off-by: Michal Simek <michal.simek@amd.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH 1/2] dt-bindings: spi: spi-cadence: Describe power-domains property
  2023-08-03  7:24 [PATCH 1/2] dt-bindings: spi: spi-cadence: Describe power-domains property Michal Simek
  2023-08-03  7:24 ` [PATCH 2/2] dt-bindings: spi: spi-cadence: Add label property Michal Simek
  2023-08-03 15:43 ` [PATCH 1/2] dt-bindings: spi: spi-cadence: Describe power-domains property Conor Dooley
@ 2023-08-03 18:26 ` Mark Brown
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2023-08-03 18:26 UTC (permalink / raw)
  To: linux-kernel, monstr, git, Michal Simek, Michal Simek
  Cc: Conor Dooley, Krzysztof Kozlowski, Rob Herring, devicetree,
	linux-spi

On Thu, 03 Aug 2023 09:24:24 +0200, Michal Simek wrote:
> ZynqMP Cadence SPI IP core has own power domain that's why describe it as
> optional property.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/2] dt-bindings: spi: spi-cadence: Describe power-domains property
      commit: 88362275240303455bbec05c249daa84aff07059
[2/2] dt-bindings: spi: spi-cadence: Add label property
      commit: ffae65fb1ae4738151158b4435fad822cb1ca29c

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


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

end of thread, other threads:[~2023-08-03 18:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-03  7:24 [PATCH 1/2] dt-bindings: spi: spi-cadence: Describe power-domains property Michal Simek
2023-08-03  7:24 ` [PATCH 2/2] dt-bindings: spi: spi-cadence: Add label property Michal Simek
2023-08-03 15:43 ` [PATCH 1/2] dt-bindings: spi: spi-cadence: Describe power-domains property Conor Dooley
2023-08-03 18:26 ` Mark Brown

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