Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: "Csókás, Bence" <csokas.bence@prolan.hu>
To: <stable@vger.kernel.org>
Cc: "Francesco Dolcini" <francesco.dolcini@toradex.com>,
	"Sasha Levin" <sashal@kernel.org>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Csókás, Bence" <csokas.bence@prolan.hu>,
	"Conor Dooley" <conor.dooley@microchip.com>,
	"Paolo Abeni" <pabeni@redhat.com>
Subject: [PATCH 6.12 v2 1/3] dt-bindings: net: fec: add pps channel property
Date: Mon, 2 Dec 2024 14:07:33 +0100	[thread overview]
Message-ID: <20241202130733.3464870-2-csokas.bence@prolan.hu> (raw)
In-Reply-To: <20241202130733.3464870-1-csokas.bence@prolan.hu>

From: Francesco Dolcini <francesco.dolcini@toradex.com>

Add fsl,pps-channel property to select where to connect the PPS signal.
This depends on the internal SoC routing and on the board, for example
on the i.MX8 SoC it can be connected to an external pin (using channel 1)
or to internal eDMA as DMA request (channel 0).

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>

(cherry picked from commit 1aa772be0444a2bd06957f6d31865e80e6ae4244)
---
 Documentation/devicetree/bindings/net/fsl,fec.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/fsl,fec.yaml b/Documentation/devicetree/bindings/net/fsl,fec.yaml
index 5536c06139ca..24e863fdbdab 100644
--- a/Documentation/devicetree/bindings/net/fsl,fec.yaml
+++ b/Documentation/devicetree/bindings/net/fsl,fec.yaml
@@ -183,6 +183,13 @@ properties:
     description:
       Register bits of stop mode control, the format is <&gpr req_gpr req_bit>.
 
+  fsl,pps-channel:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    default: 0
+    description:
+      Specifies to which timer instance the PPS signal is routed.
+    enum: [0, 1, 2, 3]
+
   mdio:
     $ref: mdio.yaml#
     unevaluatedProperties: false
-- 
2.34.1



  reply	other threads:[~2024-12-02 13:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-02 13:07 [PATCH 6.12 v2 0/3] Fix PPS channel routing Csókás, Bence
2024-12-02 13:07 ` Csókás, Bence [this message]
2024-12-02 14:21   ` [PATCH 6.12 v2 1/3] dt-bindings: net: fec: add pps channel property Greg Kroah-Hartman
2024-12-02 15:54     ` Csókás Bence
2024-12-02 16:57   ` Sasha Levin
2024-12-02 13:07 ` [PATCH 6.12 v2 2/3] net: fec: refactor PPS channel configuration Csókás, Bence
2024-12-02 16:57   ` Sasha Levin
2024-12-02 13:07 ` [PATCH 6.12 v2 3/3] net: fec: make PPS channel configurable Csókás, Bence
2024-12-02 16:57   ` Sasha Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241202130733.3464870-2-csokas.bence@prolan.hu \
    --to=csokas.bence@prolan.hu \
    --cc=conor.dooley@microchip.com \
    --cc=francesco.dolcini@toradex.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=pabeni@redhat.com \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox