devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH can-next v2] dt-bindings: can: tcan4x5x: add missing required clock-names
@ 2024-11-28  7:09 Sean Nyekjaer
  2024-11-28  7:31 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Sean Nyekjaer @ 2024-11-28  7:09 UTC (permalink / raw)
  To: Marc Kleine-Budde, Vincent Mailhol, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-can, devicetree, linux-kernel, Sean Nyekjaer

tcan4x5x requires an external clock called cclk, add it here.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
---
Changes in v2:
- added clock-names as a required property
- Link to v1: https://lore.kernel.org/r/20241127-tcancclk-v1-1-5493d3f03db1@geanix.com
---
 Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml b/Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml
index ff18cf7393550d1b7107b1233d8302203026579d..384e15da27136c0bad39c4d9f6cc0456fb0d5b19 100644
--- a/Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml
+++ b/Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml
@@ -29,6 +29,10 @@ properties:
   clocks:
     maxItems: 1
 
+  clock-names:
+    items:
+      - const: cclk
+
   reset-gpios:
     description: Hardwired output GPIO. If not defined then software reset.
     maxItems: 1
@@ -138,6 +142,7 @@ required:
   - reg
   - interrupts
   - clocks
+  - clock-names
   - bosch,mram-cfg
 
 unevaluatedProperties: false
@@ -155,6 +160,7 @@ examples:
             compatible = "ti,tcan4x5x";
             reg = <0>;
             clocks = <&can0_osc>;
+            clock-names = "cclk";
             pinctrl-names = "default";
             pinctrl-0 = <&can0_pins>;
             spi-max-frequency = <10000000>;
@@ -180,6 +186,7 @@ examples:
             compatible = "ti,tcan4552", "ti,tcan4x5x";
             reg = <0>;
             clocks = <&can0_osc>;
+            clock-names = "cclk";
             pinctrl-names = "default";
             pinctrl-0 = <&can0_pins>;
             spi-max-frequency = <10000000>;

---
base-commit: e0b741bc53c94f9ae25d4140202557a0aa51b5a0
change-id: 20241127-tcancclk-c149c0b3b050

Best regards,
-- 
Sean Nyekjaer <sean@geanix.com>


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

end of thread, other threads:[~2024-11-28  8:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-28  7:09 [PATCH can-next v2] dt-bindings: can: tcan4x5x: add missing required clock-names Sean Nyekjaer
2024-11-28  7:31 ` Krzysztof Kozlowski
2024-11-28  7:49   ` Sean Nyekjaer
2024-11-28  8:09     ` 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).