* [PATCH v2 0/2] can: xilinx_can: Add support for reset
@ 2023-07-12 12:20 Michal Simek
2023-07-12 12:20 ` [PATCH v2 1/2] dt-bindings: can: xilinx_can: Add reset description Michal Simek
2023-07-17 15:04 ` [PATCH v2 0/2] can: xilinx_can: Add support for reset Marc Kleine-Budde
0 siblings, 2 replies; 3+ messages in thread
From: Michal Simek @ 2023-07-12 12:20 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
Changes in v2:
- Add Conor's ACK
- Fix use-after-free in xcan_remove reported by Marc.
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 v2 1/2] dt-bindings: can: xilinx_can: Add reset description
2023-07-12 12:20 [PATCH v2 0/2] can: xilinx_can: Add support for reset Michal Simek
@ 2023-07-12 12:20 ` Michal Simek
2023-07-17 15:04 ` [PATCH v2 0/2] can: xilinx_can: Add support for reset Marc Kleine-Budde
1 sibling, 0 replies; 3+ messages in thread
From: Michal Simek @ 2023-07-12 12:20 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Conor Dooley, 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>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
---
Changes in v2:
- Add Conor's ACK
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 v2 0/2] can: xilinx_can: Add support for reset
2023-07-12 12:20 [PATCH v2 0/2] can: xilinx_can: Add support for reset Michal Simek
2023-07-12 12:20 ` [PATCH v2 1/2] dt-bindings: can: xilinx_can: Add reset description Michal Simek
@ 2023-07-17 15:04 ` Marc Kleine-Budde
1 sibling, 0 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2023-07-17 15:04 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,
Naga Sureshkumar Relli, Paolo Abeni, Philipp Zabel, Rob Herring,
Wolfgang Grandegger, devicetree, linux-arm-kernel, linux-can,
netdev
[-- Attachment #1: Type: text/plain, Size: 600 bytes --]
On 12.07.2023 14:20:44, Michal Simek wrote:
> Hi,
>
> IP core has option reset line which can be wired that's why add support
> for optional reset.
>
> Thanks,
> Michal
>
> Changes in v2:
> - Add Conor's ACK
> - Fix use-after-free in xcan_remove reported by Marc.
Added to linux-can-next/testing.
Thanks,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-17 15:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-12 12:20 [PATCH v2 0/2] can: xilinx_can: Add support for reset Michal Simek
2023-07-12 12:20 ` [PATCH v2 1/2] dt-bindings: can: xilinx_can: Add reset description Michal Simek
2023-07-17 15:04 ` [PATCH v2 0/2] can: xilinx_can: Add support for reset Marc Kleine-Budde
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).