devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] can: xilinx_can: Add support for reset
@ 2023-07-11 14:03 Michal Simek
  2023-07-11 14:03 ` [PATCH 1/2] dt-bindings: can: xilinx_can: Add reset description Michal Simek
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Simek @ 2023-07-11 14:03 UTC (permalink / raw)
  To: linux-kernel, monstr, michal.simek, git
  Cc: Appana Durga Kedareswara rao, Conor Dooley, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Krzysztof Kozlowski,
	Marc Kleine-Budde, Naga Sureshkumar Relli, Paolo Abeni,
	Philipp Zabel, Rob Herring, Wolfgang Grandegger, devicetree,
	linux-arm-kernel, linux-can, netdev

Hi,

IP core has option reset line which can be wired that's why add support
for optional reset.

Thanks,
Michal


Michal Simek (1):
  dt-bindings: can: xilinx_can: Add reset description

Srinivas Neeli (1):
  can: xilinx_can: Add support for controller reset

 .../bindings/net/can/xilinx,can.yaml          |  3 +++
 drivers/net/can/xilinx_can.c                  | 25 ++++++++++++++++---
 2 files changed, 24 insertions(+), 4 deletions(-)

-- 
2.36.1


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

* [PATCH 1/2] dt-bindings: can: xilinx_can: Add reset description
  2023-07-11 14:03 [PATCH 0/2] can: xilinx_can: Add support for reset Michal Simek
@ 2023-07-11 14:03 ` Michal Simek
  2023-07-11 18:10   ` Conor Dooley
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Simek @ 2023-07-11 14:03 UTC (permalink / raw)
  To: linux-kernel, monstr, michal.simek, git
  Cc: Appana Durga Kedareswara rao, Conor Dooley, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Krzysztof Kozlowski,
	Marc Kleine-Budde, Naga Sureshkumar Relli, Paolo Abeni,
	Rob Herring, Wolfgang Grandegger, devicetree, linux-arm-kernel,
	linux-can, netdev

IP core has input for reset signal which can be connected that's why
describe optional reset property.

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

 Documentation/devicetree/bindings/net/can/xilinx,can.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/can/xilinx,can.yaml b/Documentation/devicetree/bindings/net/can/xilinx,can.yaml
index 897d2cbda45b..64d57c343e6f 100644
--- a/Documentation/devicetree/bindings/net/can/xilinx,can.yaml
+++ b/Documentation/devicetree/bindings/net/can/xilinx,can.yaml
@@ -46,6 +46,9 @@ properties:
     $ref: /schemas/types.yaml#/definitions/uint32
     description: CAN Tx mailbox buffer count (CAN FD)
 
+  resets:
+    maxItems: 1
+
 required:
   - compatible
   - reg
-- 
2.36.1


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

* Re: [PATCH 1/2] dt-bindings: can: xilinx_can: Add reset description
  2023-07-11 14:03 ` [PATCH 1/2] dt-bindings: can: xilinx_can: Add reset description Michal Simek
@ 2023-07-11 18:10   ` Conor Dooley
  0 siblings, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2023-07-11 18:10 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-kernel, monstr, michal.simek, git,
	Appana Durga Kedareswara rao, Conor Dooley, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Krzysztof Kozlowski,
	Marc Kleine-Budde, Naga Sureshkumar Relli, Paolo Abeni,
	Rob Herring, Wolfgang Grandegger, devicetree, linux-arm-kernel,
	linux-can, netdev

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

On Tue, Jul 11, 2023 at 04:03:54PM +0200, Michal Simek wrote:
> IP core has input for reset signal which can be connected that's why
> describe optional reset property.
> 
> Signed-off-by: Michal Simek <michal.simek@amd.com>

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

Cheers,
Conor.

> ---
> 
>  Documentation/devicetree/bindings/net/can/xilinx,can.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/net/can/xilinx,can.yaml b/Documentation/devicetree/bindings/net/can/xilinx,can.yaml
> index 897d2cbda45b..64d57c343e6f 100644
> --- a/Documentation/devicetree/bindings/net/can/xilinx,can.yaml
> +++ b/Documentation/devicetree/bindings/net/can/xilinx,can.yaml
> @@ -46,6 +46,9 @@ properties:
>      $ref: /schemas/types.yaml#/definitions/uint32
>      description: CAN Tx mailbox buffer count (CAN FD)
>  
> +  resets:
> +    maxItems: 1
> +
>  required:
>    - compatible
>    - reg
> -- 
> 2.36.1
> 

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

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

end of thread, other threads:[~2023-07-11 18:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-11 14:03 [PATCH 0/2] can: xilinx_can: Add support for reset Michal Simek
2023-07-11 14:03 ` [PATCH 1/2] dt-bindings: can: xilinx_can: Add reset description Michal Simek
2023-07-11 18:10   ` Conor Dooley

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