Skip to contentSkip to conversation

ptp_qoriq: support FIPER3

PATCH Superseded Yangbo Lu 2 participants 7 messages Sep 12, 2020 – Sep 18, 2020

Subsystems (6)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Yangbo Lu

author maintainer
#0 lore raw

cover ptp_qoriq: support FIPER3

The FIPER3 (fixed interval period pulse generator) is supported on DPAA2 and ENETC network controller hardware. This patch-set is to support it in ptp_qoriq driver and dt-binding.

Yangbo Lu (2):
dt-binding: ptp_qoriq: support fsl,tmr-fiper3 property
ptp_qoriq: support FIPER3

 .../devicetree/bindings/ptp/ptp-qoriq.txt          |  2 ++
 drivers/ptp/ptp_qoriq.c                            | 23 +++++++++++++++++++++-
 include/linux/fsl/ptp_qoriq.h                      |  3 +++
 3 files changed, 27 insertions(+), 1 deletion(-)
Signature · 1 line
2.7.4
author maintainer
#2 lore raw

PATCH 2/2 ptp_qoriq: support FIPER3

The FIPER3 (fixed interval period pulse generator) is supported on DPAA2 and ENETC network controller hardware. This patch is to support it in ptp_qoriq driver.

---
 drivers/ptp/ptp_qoriq.c       | 23 ++++++++++++++++++++++-
 include/linux/fsl/ptp_qoriq.h |  3 +++
 2 files changed, 25 insertions(+), 1 deletion(-)
drivers/ptp/ptp_qoriq.c +22 -1
index c09c16be..68beb1b 100644
@@ -72,6 +72,10 @@ static void set_fipers(struct ptp_qoriq *ptp_qoriq)
 	set_alarm(ptp_qoriq);
 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper1, ptp_qoriq->tmr_fiper1);
 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper2, ptp_qoriq->tmr_fiper2);
+
+	if (ptp_qoriq->fiper3_support)
+		ptp_qoriq->write(&regs->fiper_regs->tmr_fiper3,
+				 ptp_qoriq->tmr_fiper3);
 }
 
 int extts_clean_up(struct ptp_qoriq *ptp_qoriq, int index, bool update_event)
@@ -366,6 +370,7 @@ static u32 ptp_qoriq_nominal_freq(u32 clk_src)
  *   "fsl,tmr-add"
  *   "fsl,tmr-fiper1"
  *   "fsl,tmr-fiper2"
+ *   "fsl,tmr-fiper3" (required only for DPAA2 and ENETC hardware)
  *   "fsl,max-adj"
  *
  * Return 0 if success
@@ -412,6 +417,7 @@ static int ptp_qoriq_auto_config(struct ptp_qoriq *ptp_qoriq,
 	ptp_qoriq->tmr_add = freq_comp;
 	ptp_qoriq->tmr_fiper1 = DEFAULT_FIPER1_PERIOD - ptp_qoriq->tclk_period;
 	ptp_qoriq->tmr_fiper2 = DEFAULT_FIPER2_PERIOD - ptp_qoriq->tclk_period;
+	ptp_qoriq->tmr_fiper3 = DEFAULT_FIPER3_PERIOD - ptp_qoriq->tclk_period;
 
 	/* max_adj = 1000000000 * (freq_ratio - 1.0) - 1
 	 * freq_ratio = reference_clock_freq / nominal_freq
@@ -446,6 +452,13 @@ int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq, void __iomem *base,
 	else
 		ptp_qoriq->extts_fifo_support = false;
 
+	if (of_device_is_compatible(node, "fsl,dpaa2-ptp") ||
+	    of_device_is_compatible(node, "fsl,enetc-ptp")) {
+		ptp_qoriq->fiper3_support = true;
+	} else {
+		ptp_qoriq->fiper3_support = false;
+	}
+
 	if (of_property_read_u32(node,
 				 "fsl,tclk-period", &ptp_qoriq->tclk_period) ||
 	    of_property_read_u32(node,
@@ -457,7 +470,10 @@ int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq, void __iomem *base,
 	    of_property_read_u32(node,
 				 "fsl,tmr-fiper2", &ptp_qoriq->tmr_fiper2) ||
 	    of_property_read_u32(node,
-				 "fsl,max-adj", &ptp_qoriq->caps.max_adj)) {
+				 "fsl,max-adj", &ptp_qoriq->caps.max_adj) ||
+	    (of_property_read_u32(node,
+				 "fsl,tmr-fiper3", &ptp_qoriq->tmr_fiper3) &&
+	     ptp_qoriq->fiper3_support)) {
 		pr_warn("device tree node missing required elements, try automatic configuration\n");
 
 		if (ptp_qoriq_auto_config(ptp_qoriq, node))
@@ -502,6 +518,11 @@ int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq, void __iomem *base,
 	ptp_qoriq->write(&regs->ctrl_regs->tmr_prsc, ptp_qoriq->tmr_prsc);
 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper1, ptp_qoriq->tmr_fiper1);
 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper2, ptp_qoriq->tmr_fiper2);
+
+	if (ptp_qoriq->fiper3_support)
+		ptp_qoriq->write(&regs->fiper_regs->tmr_fiper3,
+				 ptp_qoriq->tmr_fiper3);
+
 	set_alarm(ptp_qoriq);
 	ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl,
 			 tmr_ctrl|FIPERST|RTPE|TE|FRD);
include/linux/fsl/ptp_qoriq.h +3 -0
index 884b8f8..01acebe 100644
@@ -136,6 +136,7 @@ struct ptp_qoriq_registers {
 #define DEFAULT_TMR_PRSC	2
 #define DEFAULT_FIPER1_PERIOD	1000000000
 #define DEFAULT_FIPER2_PERIOD	1000000000
+#define DEFAULT_FIPER3_PERIOD	1000000000
 
 struct ptp_qoriq {
 	void __iomem *base;
@@ -147,6 +148,7 @@ struct ptp_qoriq {
 	struct dentry *debugfs_root;
 	struct device *dev;
 	bool extts_fifo_support;
+	bool fiper3_support;
 	int irq;
 	int phc_index;
 	u32 tclk_period;  /* nanoseconds */
@@ -155,6 +157,7 @@ struct ptp_qoriq {
 	u32 cksel;
 	u32 tmr_fiper1;
 	u32 tmr_fiper2;
+	u32 tmr_fiper3;
 	u32 (*read)(unsigned __iomem *addr);
 	void (*write)(unsigned __iomem *addr, u32 val);
 };
Signature · 1 line
2.7.4
author maintainer
#1 lore raw

PATCH 1/2 dt-binding: ptp_qoriq: support fsl,tmr-fiper3 property

In reply to Yangbo Lu

Add fsl,tmr-fiper3 property definition which is supported only on DPAA2 and ENETC network controller hardware.

---
 Documentation/devicetree/bindings/ptp/ptp-qoriq.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/ptp/ptp-qoriq.txt +2 -0
index d48f9eb..743eda7 100644
@@ -18,6 +18,8 @@ Clock Properties:
   - fsl,tmr-add      Frequency compensation value.
   - fsl,tmr-fiper1   Fixed interval period pulse generator.
   - fsl,tmr-fiper2   Fixed interval period pulse generator.
+  - fsl,tmr-fiper3   Fixed interval period pulse generator.
+                     Supported only on DPAA2 and ENETC hardware.
   - fsl,max-adj      Maximum frequency adjustment in parts per billion.
   - fsl,extts-fifo   The presence of this property indicates hardware
 		     support for the external trigger stamp FIFO.
Signature · 1 line
2.7.4
Acked-by on v1 2/2
#3 lore raw
In reply to Yangbo Lu

Hi Yangbo,

Quoted 42 lines · Yangbo Lu

The FIPER3 (fixed interval period pulse generator) is supported on DPAA2 and ENETC network controller hardware. This patch is to support it in ptp_qoriq driver.

---
 drivers/ptp/ptp_qoriq.c       | 23 ++++++++++++++++++++++-
 include/linux/fsl/ptp_qoriq.h |  3 +++
 2 files changed, 25 insertions(+), 1 deletion(-)
drivers/ptp/ptp_qoriq.c +6 -0
index c09c16be..68beb1b 100644
@@ -72,6 +72,10 @@ static void set_fipers(struct ptp_qoriq *ptp_qoriq)
 	set_alarm(ptp_qoriq);
 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper1, ptp_qoriq->tmr_fiper1);
 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper2, ptp_qoriq->tmr_fiper2);
+
+	if (ptp_qoriq->fiper3_support)
+		ptp_qoriq->write(&regs->fiper_regs->tmr_fiper3,
+				 ptp_qoriq->tmr_fiper3);
 }
 
 int extts_clean_up(struct ptp_qoriq *ptp_qoriq, int index, bool update_event)
@@ -366,6 +370,7 @@ static u32 ptp_qoriq_nominal_freq(u32 clk_src)
  *   "fsl,tmr-add"
  *   "fsl,tmr-fiper1"
  *   "fsl,tmr-fiper2"
+ *   "fsl,tmr-fiper3" (required only for DPAA2 and ENETC hardware)
  *   "fsl,max-adj"
  *
  * Return 0 if success
@@ -412,6 +417,7 @@ static int ptp_qoriq_auto_config(struct ptp_qoriq *ptp_qoriq,
 	ptp_qoriq->tmr_add = freq_comp;
 	ptp_qoriq->tmr_fiper1 = DEFAULT_FIPER1_PERIOD - ptp_qoriq->tclk_period;
 	ptp_qoriq->tmr_fiper2 = DEFAULT_FIPER2_PERIOD - ptp_qoriq->tclk_period;
+	ptp_qoriq->tmr_fiper3 = DEFAULT_FIPER3_PERIOD - ptp_qoriq->tclk_period;
 
 	/* max_adj = 1000000000 * (freq_ratio - 1.0) - 1
 	 * freq_ratio = reference_clock_freq / nominal_freq

drivers/ptp/ptp_qoriq.c int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq, void __iomem *base, · line 460

Quoted 9 lines
drivers/ptp/ptp_qoriq.c +6 -0
@@ -446,6 +452,13 @@ int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq, void __iomem *base,
 	else
 		ptp_qoriq->extts_fifo_support = false;
 
+	if (of_device_is_compatible(node, "fsl,dpaa2-ptp") ||
+	    of_device_is_compatible(node, "fsl,enetc-ptp")) {
+		ptp_qoriq->fiper3_support = true;
+	} else {
+		ptp_qoriq->fiper3_support = false;
+	}

Since struct ptp_qoriq is kzalloc()-ed, maybe you can skip the "else" branch?

drivers/ptp/ptp_qoriq.c int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq, void __iomem *base, · line 476

Quoted 13 lines
drivers/ptp/ptp_qoriq.c +5 -1
+
 	if (of_property_read_u32(node,
 				 "fsl,tclk-period", &ptp_qoriq->tclk_period) ||
 	    of_property_read_u32(node,
@@ -457,7 +470,10 @@ int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq, void __iomem *base,
 	    of_property_read_u32(node,
 				 "fsl,tmr-fiper2", &ptp_qoriq->tmr_fiper2) ||
 	    of_property_read_u32(node,
-				 "fsl,max-adj", &ptp_qoriq->caps.max_adj)) {
+				 "fsl,max-adj", &ptp_qoriq->caps.max_adj) ||
+	    (of_property_read_u32(node,
+				 "fsl,tmr-fiper3", &ptp_qoriq->tmr_fiper3) &&
+	     ptp_qoriq->fiper3_support)) {

Could you check for the "ptp_qoriq->fiper3_support" boolean first, so that a useless device tree property lookup is not performed?

Quoted 46 lines
drivers/ptp/ptp_qoriq.c +5 -0
 		pr_warn("device tree node missing required elements, try automatic configuration\n");
 
 		if (ptp_qoriq_auto_config(ptp_qoriq, node))
@@ -502,6 +518,11 @@ int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq, void __iomem *base,
 	ptp_qoriq->write(&regs->ctrl_regs->tmr_prsc, ptp_qoriq->tmr_prsc);
 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper1, ptp_qoriq->tmr_fiper1);
 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper2, ptp_qoriq->tmr_fiper2);
+
+	if (ptp_qoriq->fiper3_support)
+		ptp_qoriq->write(&regs->fiper_regs->tmr_fiper3,
+				 ptp_qoriq->tmr_fiper3);
+
 	set_alarm(ptp_qoriq);
 	ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl,
 			 tmr_ctrl|FIPERST|RTPE|TE|FRD);
include/linux/fsl/ptp_qoriq.h +3 -0
index 884b8f8..01acebe 100644
@@ -136,6 +136,7 @@ struct ptp_qoriq_registers {
 #define DEFAULT_TMR_PRSC	2
 #define DEFAULT_FIPER1_PERIOD	1000000000
 #define DEFAULT_FIPER2_PERIOD	1000000000
+#define DEFAULT_FIPER3_PERIOD	1000000000
 
 struct ptp_qoriq {
 	void __iomem *base;
@@ -147,6 +148,7 @@ struct ptp_qoriq {
 	struct dentry *debugfs_root;
 	struct device *dev;
 	bool extts_fifo_support;
+	bool fiper3_support;
 	int irq;
 	int phc_index;
 	u32 tclk_period;  /* nanoseconds */
@@ -155,6 +157,7 @@ struct ptp_qoriq {
 	u32 cksel;
 	u32 tmr_fiper1;
 	u32 tmr_fiper2;
+	u32 tmr_fiper3;
 	u32 (*read)(unsigned __iomem *addr);
 	void (*write)(unsigned __iomem *addr, u32 val);
 };
Signature · 1 line
2.7.4

With that,

Thanks for doing this!
-Vladimir

#5 lore raw
In reply to Yangbo Lu
Quoted 6 lines · Yangbo Lu

The FIPER3 (fixed interval period pulse generator) is supported on DPAA2 and ENETC network controller hardware. This patch is to support it in ptp_qoriq driver.

---

Would you also want to add the debugfs support for the 3rd FIPER loopback?

Thanks,
-Vladimir

author maintainer
#4 lore raw
In reply to Vladimir Oltean

Hi Vladimir,

Quoted 63 lines

-----Original Message-----
From: Vladimir Oltean <[email protected]>
Sent: Saturday, September 12, 2020 3:36 PM
To: Y.b. Lu <[email protected]>
Cc: [email protected]; [email protected]; David S . Miller <[email protected]>; Richard Cochran <[email protected]>; Rob Herring <[email protected]>; Mark Rutland <[email protected]>
Subject: Re: [PATCH 2/2] ptp_qoriq: support FIPER3

Hi Yangbo,

Quoted 15 lines · Yangbo Lu

The FIPER3 (fixed interval period pulse generator) is supported on DPAA2 and ENETC network controller hardware. This patch is to support it in ptp_qoriq driver.

---
 drivers/ptp/ptp_qoriq.c       | 23 ++++++++++++++++++++++-
 include/linux/fsl/ptp_qoriq.h |  3 +++
 2 files changed, 25 insertions(+), 1 deletion(-)
drivers/ptp/ptp_qoriq.c +0 -0
index c09c16be..68beb1b 100644

drivers/ptp/ptp_qoriq.c static void set_fipers(struct ptp_qoriq *ptp_qoriq) · line 81

Quoted 10 lines
drivers/ptp/ptp_qoriq.c +4 -0
@@ -72,6 +72,10 @@ static void set_fipers(struct ptp_qoriq *ptp_qoriq)
 	set_alarm(ptp_qoriq);
 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper1, ptp_qoriq->tmr_fiper1);
 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper2, ptp_qoriq->tmr_fiper2);
+
+	if (ptp_qoriq->fiper3_support)
+		ptp_qoriq->write(&regs->fiper_regs->tmr_fiper3,
+				 ptp_qoriq->tmr_fiper3);
 }
 
 int extts_clean_up(struct ptp_qoriq *ptp_qoriq, int index, bool

update_event)

drivers/ptp/ptp_qoriq.c static int ptp_qoriq_auto_config(struct ptp_qoriq

Quoted 9 lines
drivers/ptp/ptp_qoriq.c +1 -0
@@ -366,6 +370,7 @@ static u32 ptp_qoriq_nominal_freq(u32 clk_src)
  *   "fsl,tmr-add"
  *   "fsl,tmr-fiper1"
  *   "fsl,tmr-fiper2"
+ *   "fsl,tmr-fiper3" (required only for DPAA2 and ENETC hardware)
  *   "fsl,max-adj"
  *
  * Return 0 if success
@@ -412,6 +417,7 @@ static int ptp_qoriq_auto_config(struct ptp_qoriq

*ptp_qoriq,

drivers/ptp/ptp_qoriq.c static int ptp_qoriq_auto_config(struct ptp_qoriq · line 418

Quoted 2 lines
drivers/ptp/ptp_qoriq.c +0 -0
 	ptp_qoriq->tmr_add = freq_comp;
 	ptp_qoriq->tmr_fiper1 = DEFAULT_FIPER1_PERIOD -

ptp_qoriq->tclk_period;

drivers/ptp/ptp_qoriq.c static int ptp_qoriq_auto_config(struct ptp_qoriq · line 419

Quoted 1 line
drivers/ptp/ptp_qoriq.c +0 -0
 	ptp_qoriq->tmr_fiper2 = DEFAULT_FIPER2_PERIOD -

ptp_qoriq->tclk_period;

drivers/ptp/ptp_qoriq.c static int ptp_qoriq_auto_config(struct ptp_qoriq · line 420

Quoted 1 line
drivers/ptp/ptp_qoriq.c +1 -0
+	ptp_qoriq->tmr_fiper3 = DEFAULT_FIPER3_PERIOD -

ptp_qoriq->tclk_period;

drivers/ptp/ptp_qoriq.c int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq,

Quoted 4 lines
drivers/ptp/ptp_qoriq.c +0 -0
 	/* max_adj = 1000000000 * (freq_ratio - 1.0) - 1
 	 * freq_ratio = reference_clock_freq / nominal_freq
@@ -446,6 +452,13 @@ int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq,

void __iomem *base,

Quoted 3 lines
drivers/ptp/ptp_qoriq.c +0 -0
 	else
 		ptp_qoriq->extts_fifo_support = false;
 
Quoted 9 lines

drivers/ptp/ptp_qoriq.c int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq, void __iomem *base, · line 460

Quoted 6 lines
drivers/ptp/ptp_qoriq.c +6 -0
+	if (of_device_is_compatible(node, "fsl,dpaa2-ptp") ||
+	    of_device_is_compatible(node, "fsl,enetc-ptp")) {
+		ptp_qoriq->fiper3_support = true;
+	} else {
+		ptp_qoriq->fiper3_support = false;
+	}

Since struct ptp_qoriq is kzalloc()-ed, maybe you can skip the "else" branch?

Right. Let me remove it.

Quoted 7 lines

drivers/ptp/ptp_qoriq.c int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq,

Quoted 6 lines
drivers/ptp/ptp_qoriq.c +1 -0
+
 	if (of_property_read_u32(node,
 				 "fsl,tclk-period", &ptp_qoriq->tclk_period) ||
 	    of_property_read_u32(node,
@@ -457,7 +470,10 @@ int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq,

void __iomem *base,

Quoted 11 lines

drivers/ptp/ptp_qoriq.c int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq, void __iomem *base, · line 476

Quoted 8 lines
drivers/ptp/ptp_qoriq.c +4 -1
 	    of_property_read_u32(node,
 				 "fsl,tmr-fiper2", &ptp_qoriq->tmr_fiper2) ||
 	    of_property_read_u32(node,
-				 "fsl,max-adj", &ptp_qoriq->caps.max_adj)) {
+				 "fsl,max-adj", &ptp_qoriq->caps.max_adj) ||
+	    (of_property_read_u32(node,
+				 "fsl,tmr-fiper3", &ptp_qoriq->tmr_fiper3) &&
+	     ptp_qoriq->fiper3_support)) {

Could you check for the "ptp_qoriq->fiper3_support" boolean first, so that a useless device tree property lookup is not performed?

Ok.

Quoted 56 lines

drivers/ptp/ptp_qoriq.c int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq, · line 477

Quoted 2 lines
drivers/ptp/ptp_qoriq.c +0 -0
 		pr_warn("device tree node missing required elements, try automatic

configuration\n");

drivers/ptp/ptp_qoriq.c int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq,

Quoted 3 lines
drivers/ptp/ptp_qoriq.c +0 -0
 		if (ptp_qoriq_auto_config(ptp_qoriq, node))
@@ -502,6 +518,11 @@ int ptp_qoriq_init(struct ptp_qoriq *ptp_qoriq,

void __iomem *base,

Quoted 40 lines
drivers/ptp/ptp_qoriq.c +5 -0
 	ptp_qoriq->write(&regs->ctrl_regs->tmr_prsc, ptp_qoriq->tmr_prsc);
 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper1, ptp_qoriq->tmr_fiper1);
 	ptp_qoriq->write(&regs->fiper_regs->tmr_fiper2, ptp_qoriq->tmr_fiper2);
+
+	if (ptp_qoriq->fiper3_support)
+		ptp_qoriq->write(&regs->fiper_regs->tmr_fiper3,
+				 ptp_qoriq->tmr_fiper3);
+
 	set_alarm(ptp_qoriq);
 	ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl,
 			 tmr_ctrl|FIPERST|RTPE|TE|FRD);
include/linux/fsl/ptp_qoriq.h +3 -1
index 884b8f8..01acebe 100644
@@ -136,6 +136,7 @@ struct ptp_qoriq_registers {
 #define DEFAULT_TMR_PRSC	2
 #define DEFAULT_FIPER1_PERIOD	1000000000
 #define DEFAULT_FIPER2_PERIOD	1000000000
+#define DEFAULT_FIPER3_PERIOD	1000000000
 
 struct ptp_qoriq {
 	void __iomem *base;
@@ -147,6 +148,7 @@ struct ptp_qoriq {
 	struct dentry *debugfs_root;
 	struct device *dev;
 	bool extts_fifo_support;
+	bool fiper3_support;
 	int irq;
 	int phc_index;
 	u32 tclk_period;  /* nanoseconds */
@@ -155,6 +157,7 @@ struct ptp_qoriq {
 	u32 cksel;
 	u32 tmr_fiper1;
 	u32 tmr_fiper2;
+	u32 tmr_fiper3;
 	u32 (*read)(unsigned __iomem *addr);
 	void (*write)(unsigned __iomem *addr, u32 val);
 };
--
Quoted 2 lines

2.7.4

With that,

Thanks for doing this!
-Vladimir

author maintainer
#6 lore raw
In reply to Vladimir Oltean

Hi Vladimir,

Quoted 14 lines

-----Original Message-----
From: Vladimir Oltean <[email protected]>
Sent: Sunday, September 13, 2020 2:32 AM
To: Y.b. Lu <[email protected]>
Cc: [email protected]; [email protected]; David S . Miller <[email protected]>; Richard Cochran <[email protected]>; Rob Herring <[email protected]>; Mark Rutland <[email protected]>
Subject: Re: [PATCH 2/2] ptp_qoriq: support FIPER3

Quoted 4 lines · Yangbo Lu

The FIPER3 (fixed interval period pulse generator) is supported on DPAA2 and ENETC network controller hardware. This patch is to support it in ptp_qoriq driver.

Quoted 5 lines
Quoted 2 lines

---

Would you also want to add the debugfs support for the 3rd FIPER loopback?

No. Because I didn't see loopback support on FIPER3 in RM register.

Quoted 3 lines

Thanks,
-Vladimir