🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #19442

[PATCH net-next v16 10/13] dpll: sit9531x: implement output pin state on a DPLL

#19442
From: Ali Rouhi
Date: Thu, 19 Nov 2026 22:57
728 lines
44560 bytes
From: Oleg Zadorozhnyi <Oleg.Zadorozhnyi@devoxsoftware.com>

An output's state says whether it carries a signal: CONNECTED while it
drives, DISCONNECTED while muted. Setting it forces the output's pads to
Hi-Z, which leaves the divider alone. Output pins are registered from
this patch on.

A mute forces the slot's three Hi-Z pairs, differential, CMOS OutP and
CMOS OutN, with the Page 3 debug window open; the force registers are
outside the NVM, so no programming directive is written. An un-mute
releases the force and the pads return to the loaded configuration. An
output is reported muted only when both pads are forced off.

Signed-off-by: Oleg Zadorozhnyi <Oleg.Zadorozhnyi@devoxsoftware.com>
Signed-off-by: Ali Rouhi <arouhi@sitime.com>
---
 drivers/dpll/sit9531x/core.c | 313 +++++++++++++++++++++++++++++------
 drivers/dpll/sit9531x/core.h |  15 ++
 drivers/dpll/sit9531x/dpll.c | 142 +++++++++++++++-
 3 files changed, 415 insertions(+), 55 deletions(-)

diff --git a/drivers/dpll/sit9531x/core.c b/drivers/dpll/sit9531x/core.c
index d3f6955b3bbd..eb1d10e1fde2 100644
--- a/drivers/dpll/sit9531x/core.c
+++ b/drivers/dpll/sit9531x/core.c
@@ -460,12 +460,78 @@ static int sit9531x_output_forced_hiz(struct sit9531x_dev *sitdev,
 	return 0;
 }
 
+/* Re-read an output's mute state. Caller must hold sitdev->multiop_lock. */
+int sit9531x_output_state_refresh(struct sit9531x_dev *sitdev, u8 out_idx)
+{
+	bool muted, part;
+	int rc;
+
+	lockdep_assert_held(&sitdev->multiop_lock);
+
+	rc = sit9531x_output_forced_hiz(sitdev, out_idx, &muted, &part);
+	if (rc)
+		return rc;
+
+	sitdev->out[out_idx].enabled = !muted;
+	sitdev->out[out_idx].part_muted = part;
+	sitdev->out[out_idx].state_stale = false;
+
+	return 0;
+}
+
+static int sit9531x_hiz_set_bit(struct sit9531x_dev *sitdev,
+				unsigned int reg, u8 bit, bool set)
+{
+	u8 cur, new_val;
+	int rc;
+
+	rc = sit9531x_read_u8(sitdev, reg, &cur);
+	if (rc)
+		return rc;
+
+	new_val = set ? (cur | BIT(bit)) : (cur & ~BIT(bit));
+
+	return sit9531x_write_u8(sitdev, reg, new_val);
+}
+
+/*
+ * The Page 3 debug key opens every debug register of the output system while
+ * it holds the unlock value.
+ */
+static int sit9531x_outsys_debug_open(struct sit9531x_dev *sitdev)
+{
+	int rc;
+
+	rc = sit9531x_write_u8(sitdev, SIT9531X_REG_OUTSYS_DEBUG,
+			       SIT9531X_DEBUG_UNLOCK_VAL);
+	if (rc)
+		sit9531x_write_close(sitdev, SIT9531X_REG_OUTSYS_DEBUG,
+				     SIT9531X_DEBUG_LOCK_VAL);
+
+	return rc;
+}
+
+static void sit9531x_outsys_debug_close(struct sit9531x_dev *sitdev)
+{
+	int rc;
+
+	rc = sit9531x_write_close(sitdev, SIT9531X_REG_OUTSYS_DEBUG,
+				  SIT9531X_DEBUG_LOCK_VAL);
+	sitdev->outsys_key_pending = !!rc;
+	if (rc)
+		dev_warn(sitdev->dev, "output debug block left unlocked: %d\n",
+			 rc);
+}
+
 #define SIT9531X_LOOP_LOCK_TRIES	3
 
-/* Close the loops and lock the debug block without committing */
-static void sit9531x_prg_abort(struct sit9531x_dev *sitdev)
+/*
+ * Leave PRG_CMD: re-lock the loops and close the debug window. The sleep is
+ * the settling time after loop lock.
+ */
+static int sit9531x_prg_relock(struct sit9531x_dev *sitdev)
 {
-	int rc = -EIO;
+	int rc = 0;
 	u8 attempt;
 
 	for (attempt = 0; attempt < SIT9531X_LOOP_LOCK_TRIES; attempt++) {
@@ -477,30 +543,49 @@ static void sit9531x_prg_abort(struct sit9531x_dev *sitdev)
 	}
 	if (rc)
 		dev_err(sitdev->dev,
-			"output loops left unlocked after a failed entry: %d\n",
+			"output loops left unlocked after programming: %d\n",
 			rc);
 
-	sit9531x_write_u8(sitdev, SIT9531X_REG_OUTSYS_DEBUG,
-			  SIT9531X_DEBUG_LOCK_VAL);
+	sitdev->loops_open = !!rc;
+
+	msleep(100);
+
+	sit9531x_outsys_debug_close(sitdev);
+
+	return rc;
 }
 
 /*
- * Unlock the Page 3 debug registers and enter PRG_CMD; output-system writes
- * take effect only in this state.
+ * Update the NVM bank and leave PRG_CMD. The bank update is issued once per
+ * programming sequence; a loop re-lock retried later does not repeat it.
+ */
+static int sit9531x_prg_commit(struct sit9531x_dev *sitdev)
+{
+	int rc, rc2;
+
+	rc = sit9531x_write_u8(sitdev, SIT9531X_REG_PRG_DIR_GEN,
+			       SIT9531X_UPDATE_NVM);
+	rc2 = sit9531x_prg_relock(sitdev);
+
+	return rc ? rc : rc2;
+}
+
+/*
+ * Open the Page 3 debug window and enter PRG_CMD; the output divider takes
+ * effect only in this state.
  */
 static int sit9531x_prg_enter(struct sit9531x_dev *sitdev)
 {
 	int rc;
 
-	rc = sit9531x_write_u8(sitdev, SIT9531X_REG_OUTSYS_DEBUG,
-			       SIT9531X_DEBUG_UNLOCK_VAL);
+	rc = sit9531x_outsys_debug_open(sitdev);
 	if (rc)
 		return rc;
 
 	rc = sit9531x_write_u8(sitdev, SIT9531X_REG_PRG_DIR_GEN,
 			       SIT9531X_PRG_CMD_STATE);
 	if (rc) {
-		sit9531x_prg_abort(sitdev);
+		sit9531x_prg_relock(sitdev);
 		return rc;
 	}
 
@@ -508,51 +593,144 @@ static int sit9531x_prg_enter(struct sit9531x_dev *sitdev)
 }
 
 /*
- * Update the NVM shadow and re-lock the loops after sit9531x_prg_enter(). The
- * sleep is the settling time after loop lock.
+ * Mute or unmute every Hi-Z pair of a slot. The force registers are outside
+ * the NVM, so no directive is written, as in Output_Disable_Control_HiZ.py.
+ * Caller must hold the debug window open.
  */
-static int sit9531x_prg_commit(struct sit9531x_dev *sitdev)
+static int sit9531x_output_hiz_write(struct sit9531x_dev *sitdev, u8 slot,
+				     bool mute, u8 keep)
 {
-	int rc, rc2 = 0, rc3;
-	u8 attempt;
+	u8 mask[SIT9531X_HIZ_PAIRS], state[SIT9531X_HIZ_PAIRS];
+	struct sit9531x_hiz_pair p[SIT9531X_HIZ_PAIRS];
+	int i, rc, undo_rc;
 
-	rc = sit9531x_write_u8(sitdev, SIT9531X_REG_PRG_DIR_GEN,
-			       SIT9531X_UPDATE_NVM);
+	sit9531x_output_get_hiz_regs(slot, p);
 
-	for (attempt = 0; attempt < SIT9531X_LOOP_LOCK_TRIES; attempt++) {
-		rc2 = sit9531x_write_u8(sitdev, SIT9531X_REG_PRG_DIR_GEN,
-					SIT9531X_LOOP_LOCK);
-		if (!rc2)
-			break;
-		usleep_range(1000, 2000);
+	if (!mute) {
+		for (i = 0; i < SIT9531X_HIZ_PAIRS; i++) {
+			/* A pad the loaded configuration forces stays forced */
+			if (keep & BIT(i))
+				continue;
+			rc = sit9531x_hiz_set_bit(sitdev, p[i].mask, p[i].bit,
+						  false);
+			if (rc)
+				return rc;
+		}
+		return 0;
 	}
-	if (rc2)
-		dev_err(sitdev->dev,
-			"output loops left unlocked after programming: %d\n",
-			rc2);
 
-	sitdev->loops_open = !!rc2;
-
-	msleep(100);
+	for (i = 0; i < SIT9531X_HIZ_PAIRS; i++) {
+		rc = sit9531x_read_u8(sitdev, p[i].state, &state[i]);
+		if (rc)
+			return rc;
+		rc = sit9531x_read_u8(sitdev, p[i].mask, &mask[i]);
+		if (rc)
+			return rc;
+	}
 
 	/*
-	 * The debug key register unlocks every debug register while it holds
-	 * the unlock value.
+	 * STATE before MASK: enabling the override first can drive the pad for
+	 * one I2C transfer.
 	 */
-	rc3 = sit9531x_write_close(sitdev, SIT9531X_REG_OUTSYS_DEBUG,
-				   SIT9531X_DEBUG_LOCK_VAL);
+	for (i = 0; i < SIT9531X_HIZ_PAIRS; i++) {
+		rc = sit9531x_hiz_set_bit(sitdev, p[i].state, p[i].bit, false);
+		if (!rc)
+			rc = sit9531x_hiz_set_bit(sitdev, p[i].mask, p[i].bit,
+						  true);
+		if (rc)
+			break;
+	}
+	if (!rc)
+		return 0;
 
+	for (; i >= 0; i--) {
+		u8 bit = BIT(p[i].bit);
+
+		undo_rc = sit9531x_hiz_set_bit(sitdev, p[i].mask, p[i].bit,
+					       mask[i] & bit);
+		if (!undo_rc)
+			undo_rc = sit9531x_hiz_set_bit(sitdev, p[i].state,
+						       p[i].bit,
+						       state[i] & bit);
+		if (undo_rc)
+			dev_err(sitdev->dev,
+				"slot%u: Hi-Z override left part applied (%d)\n",
+				slot, undo_rc);
+	}
+
+	return rc;
+}
+
+/* Caller must hold sitdev->multiop_lock. */
+int sit9531x_output_disable(struct sit9531x_dev *sitdev, u8 index)
+{
+	const struct sit9531x_chip_info *info = sitdev->info;
+	int rc, state_rc;
+	bool muted, part;
+	u8 slot;
+
+	lockdep_assert_held(&sitdev->multiop_lock);
+
+	if (index >= info->num_outputs)
+		return -EINVAL;
+
+	slot = info->clkout_map[index];
+	rc = sit9531x_outsys_debug_open(sitdev);
 	if (rc)
 		return rc;
-	if (rc2)
-		return rc2;
 
-	if (rc3)
-		dev_warn(sitdev->dev,
-			 "output debug block left unlocked after programming: %d\n",
-			 rc3);
+	rc = sit9531x_output_hiz_write(sitdev, slot, true, 0);
+	sit9531x_outsys_debug_close(sitdev);
 
-	return 0;
+	/* Read back the Hi-Z state */
+	state_rc = sit9531x_output_forced_hiz(sitdev, index, &muted, &part);
+	if (!state_rc) {
+		sitdev->out[index].enabled = !muted;
+		sitdev->out[index].part_muted = part;
+		sitdev->out[index].state_stale = false;
+	} else {
+		sitdev->out[index].state_stale = true;
+		if (!rc)
+			rc = state_rc;
+	}
+
+	return rc;
+}
+
+/* Caller must hold sitdev->multiop_lock. */
+int sit9531x_output_enable(struct sit9531x_dev *sitdev, u8 index)
+{
+	const struct sit9531x_chip_info *info = sitdev->info;
+	int rc, state_rc;
+	bool muted, part;
+	u8 slot;
+
+	lockdep_assert_held(&sitdev->multiop_lock);
+
+	if (index >= info->num_outputs)
+		return -EINVAL;
+
+	slot = info->clkout_map[index];
+	rc = sit9531x_outsys_debug_open(sitdev);
+	if (rc)
+		return rc;
+
+	rc = sit9531x_output_hiz_write(sitdev, slot, false,
+				       sitdev->out[index].hiz_keep);
+	sit9531x_outsys_debug_close(sitdev);
+
+	state_rc = sit9531x_output_forced_hiz(sitdev, index, &muted, &part);
+	if (!state_rc) {
+		sitdev->out[index].enabled = !muted;
+		sitdev->out[index].part_muted = part;
+		sitdev->out[index].state_stale = false;
+	} else {
+		sitdev->out[index].state_stale = true;
+		if (!rc)
+			rc = state_rc;
+	}
+
+	return rc;
 }
 
 /*
@@ -2085,6 +2263,24 @@ static int sit9531x_out_state_fetch(struct sit9531x_dev *sitdev, u8 index)
 		return rc;
 
 	sitdev->out[index].part_muted = part;
+	sitdev->out[index].state_stale = false;
+
+	/* Record the pads the loaded configuration forces on a driven output */
+	out->hiz_keep = 0;
+	if (part) {
+		struct sit9531x_hiz_pair p[SIT9531X_HIZ_PAIRS];
+		bool forced;
+		int i;
+
+		sit9531x_output_get_hiz_regs(slot, p);
+		for (i = 0; i < SIT9531X_HIZ_PAIRS; i++) {
+			rc = sit9531x_hiz_pair_forced(sitdev, &p[i], &forced);
+			if (rc)
+				return rc;
+			if (forced)
+				out->hiz_keep |= BIT(i);
+		}
+	}
 
 	/*
 	 * Each PLL page holds a 12-bit output-enable mask: OUT_MAP_LO bits 0-7
@@ -2445,7 +2641,9 @@ sit9531x_dev_chan_states_update(struct sit9531x_dev *sitdev)
 
 	/* Retry pending writes first so the reads below see their result */
 	if (sitdev->loops_open)
-		sit9531x_prg_commit(sitdev);
+		sit9531x_prg_relock(sitdev);
+	else if (sitdev->outsys_key_pending)
+		sit9531x_outsys_debug_close(sitdev);
 
 	sit9531x_input_off_retry(sitdev);
 	for (i = 0; i < SIT9531X_NUM_PLLS; i++) {
@@ -2772,10 +2970,12 @@ static void sit9531x_dev_stop(struct sit9531x_dev *sitdev)
 
 	mutex_lock(&sitdev->multiop_lock);
 	if (sitdev->loops_open) {
-		sit9531x_prg_commit(sitdev);
+		sit9531x_prg_relock(sitdev);
 		if (sitdev->loops_open)
 			dev_warn(sitdev->dev,
 				 "output loops left unlocked at removal\n");
+	} else if (sitdev->outsys_key_pending) {
+		sit9531x_outsys_debug_close(sitdev);
 	}
 	mutex_unlock(&sitdev->multiop_lock);
 }
@@ -2855,7 +3055,7 @@ static void sit9531x_dpll_pin_unregister(struct sit9531x_dpll_pin *pin)
 	 * Clear before unregistering: callbacks test it under the DPLL device
 	 * lock, which dpll_pin_unregister() also takes.
 	 */
-	pin->dpll_pin = NULL;
+	WRITE_ONCE(pin->dpll_pin, NULL);
 
 	dpll_pin_unregister(sitdpll->dpll_dev, dpll_pin, ops, pin);
 	dpll_pin_put(dpll_pin, &pin->tracker);
@@ -2891,20 +3091,33 @@ static void sit9531x_dpll_pins_unregister(struct sit9531x_dpll *sitdpll)
 	}
 }
 
-/* Check if the pin class has a state callback, which the DPLL core requires */
+/*
+ * An output is registered when routed to this DPLL, whether or not it is
+ * driving.
+ */
 static bool sit9531x_dpll_pin_is_registrable(struct sit9531x_dpll *sitdpll,
 					     enum dpll_pin_direction dir,
 					     u8 index)
 {
 	struct sit9531x_dev *sitdev = sitdpll->dev;
 
-	if (dir != DPLL_PIN_DIRECTION_INPUT)
+	if (dir == DPLL_PIN_DIRECTION_INPUT) {
+		if (index == SIT9531X_MAX_INPUTS)
+			return true;
+		if (index == SIT9531X_INTSYNC_PIN_ID)
+			return false;
+
+		return sit9531x_input_pin_is_registrable(sitdev, index);
+	}
+
+	if (index == SIT9531X_INTSYNC_OUT_PIN_ID)
 		return false;
 
-	if (index == SIT9531X_MAX_INPUTS)
-		return true;
+	if (index >= sitdev->info->num_outputs)
+		return false;
 
-	return sit9531x_input_pin_is_registrable(sitdev, index);
+	return sitdev->out[index].pll_idx == sitdpll->id &&
+	       sitdev->out[index].routed;
 }
 
 static int sit9531x_dpll_pins_register(struct sit9531x_dpll *sitdpll)
diff --git a/drivers/dpll/sit9531x/core.h b/drivers/dpll/sit9531x/core.h
index 669f9f9b960c..17b41c4ca692 100644
--- a/drivers/dpll/sit9531x/core.h
+++ b/drivers/dpll/sit9531x/core.h
@@ -101,8 +101,13 @@ struct sit9531x_ref {
  * @freq: output frequency in Hz
  * @enabled: output is driving, not forced into Hi-Z
  * @cmos: single-ended; the CMOS pad Hi-Z pairs apply, not the differential one
+ * @state_stale: cached mute state must be read back before it is reported
+ * @ntf_pending: pin change not yet notified; the poll notifies once the state
+ *   is read
  * @part_muted: single-ended with one pad forced and the other not; reported
  *   as driven. The driver's mute forces both pads.
+ * @hiz_keep: bit per Hi-Z pair the loaded configuration forces on an output
+ *   found part muted at probe; an unmute leaves those pairs forced
  * @routed: mapped to @pll_idx by the initial configuration; an unrouted
  *   output has no pin
  * @pll_idx: PLL driving this output (0-3)
@@ -111,7 +116,10 @@ struct sit9531x_out {
 	u64		freq;
 	bool		enabled;
 	bool		cmos;
+	bool		state_stale;
+	bool		ntf_pending;
 	bool		part_muted;
+	u8		hiz_keep;
 	bool		routed;
 	u8		pll_idx;
 };
@@ -206,6 +214,7 @@ struct sit9531x_chan {
  * @fvco_band_warned: bit per PLL warned for Fref * DIVN outside its VCO
  *   band; written under @multiop_lock
  * @loops_open: output loops not yet re-locked
+ * @outsys_key_pending: output-system debug key not closed
  */
 struct sit9531x_dev {
 	struct device			*dev;
@@ -237,6 +246,7 @@ struct sit9531x_dev {
 	s8			intsync_src;
 
 	bool			loops_open;
+	bool			outsys_key_pending;
 };
 
 int sit9531x_read_u8(struct sit9531x_dev *sitdev, unsigned int reg,
@@ -264,6 +274,11 @@ int sit9531x_input_prio_remove(struct sit9531x_dev *sitdev, u8 pll_idx,
 int sit9531x_input_prio_add(struct sit9531x_dev *sitdev, u8 pll_idx,
 			    u8 input_idx);
 
+int sit9531x_output_disable(struct sit9531x_dev *sitdev, u8 index);
+int sit9531x_output_enable(struct sit9531x_dev *sitdev, u8 index);
+int sit9531x_output_state_refresh(struct sit9531x_dev *sitdev,
+				  u8 out_idx);
+
 int sit9531x_output_freq_set(struct sit9531x_dev *sitdev, u8 out_idx,
 			     u8 pll_idx, u64 frequency);
 int sit9531x_output_freq_get(struct sit9531x_dev *sitdev, u8 out_idx,
diff --git a/drivers/dpll/sit9531x/dpll.c b/drivers/dpll/sit9531x/dpll.c
index c8c4aaaf719c..e19eb123d024 100644
--- a/drivers/dpll/sit9531x/dpll.c
+++ b/drivers/dpll/sit9531x/dpll.c
@@ -184,8 +184,9 @@ const struct dpll_device_ops sit9531x_dpll_device_ops = {
  * NO_SIGNAL on loss of signal; QUAL_FAILED on frequency drift; STANDBY
  * otherwise. The routed reference is used because on loss of signal the device
  * falls back to another listed source and leaves the selection naming the lost
- * one. On manual input select, the routed input is CONNECTED. The XO pin is
- * always CONNECTED.
+ * one. On manual input select, the routed input is CONNECTED. An output is
+ * CONNECTED while driven and DISCONNECTED while muted; SELECTABLE is refused.
+ * The XO pin is always CONNECTED.
  */
 
 /* Caller must hold sitdev->multiop_lock. */
@@ -638,10 +639,113 @@ sit9531x_dpll_output_pin_frequency_set(const struct dpll_pin *pin,
 	return rc;
 }
 
+/*
+ * DISCONNECTED while the output is forced to Hi-Z, by a mute request or by the
+ * loaded profile.
+ */
+static int
+sit9531x_dpll_output_pin_state_on_dpll_get(const struct dpll_pin *pin,
+					   void *pin_priv,
+					   const struct dpll_device *dpll,
+					   void *dpll_priv,
+					   enum dpll_pin_state *state,
+					   struct netlink_ext_ack *extack)
+{
+	struct sit9531x_dpll_pin *dpin = pin_priv;
+	struct sit9531x_dpll *sitdpll = dpll_priv;
+	struct sit9531x_dev *sitdev = sitdpll->dev;
+	const struct sit9531x_out *out;
+	int rc = 0;
+
+	mutex_lock(&sitdev->multiop_lock);
+	out = sit9531x_out_state_get(sitdev, dpin->id);
+	if (out->state_stale)
+		rc = sit9531x_output_state_refresh(sitdev, dpin->id);
+	if (!rc)
+		*state = out->enabled ? DPLL_PIN_STATE_CONNECTED
+				      : DPLL_PIN_STATE_DISCONNECTED;
+	mutex_unlock(&sitdev->multiop_lock);
+	if (rc)
+		NL_SET_ERR_MSG(extack,
+			       "Output mute state could not be read back");
+
+	return rc;
+}
+
+/*
+ * Force Hi-Z through the slot's Hi-Z force/state register pairs: differential,
+ * CMOS OutP and CMOS OutN.
+ */
+static int
+sit9531x_dpll_output_pin_state_on_dpll_set(const struct dpll_pin *pin,
+					   void *pin_priv,
+					   const struct dpll_device *dpll,
+					   void *dpll_priv,
+					   enum dpll_pin_state state,
+					   struct netlink_ext_ack *extack)
+{
+	bool enable = state == DPLL_PIN_STATE_CONNECTED;
+	struct sit9531x_dpll_pin *dpin = pin_priv;
+	struct sit9531x_dpll *sitdpll = dpll_priv;
+	struct sit9531x_dev *sitdev = sitdpll->dev;
+	bool was_enabled, changed;
+	int rc;
+
+	/* An output is routed explicitly, not a selection candidate */
+	if (!enable && state != DPLL_PIN_STATE_DISCONNECTED)
+		return -EINVAL;
+
+	mutex_lock(&sitdev->multiop_lock);
+
+	/*
+	 * Skip a request for the current state. One CMOS pad forced and the
+	 * other not is neither state.
+	 */
+	if (!sit9531x_output_state_refresh(sitdev, dpin->id) &&
+	    sitdev->out[dpin->id].enabled == enable &&
+	    !sitdev->out[dpin->id].part_muted) {
+		mutex_unlock(&sitdev->multiop_lock);
+		return 0;
+	}
+
+	was_enabled = sitdev->out[dpin->id].enabled;
+
+	if (enable)
+		rc = sit9531x_output_enable(sitdev, dpin->id);
+	else
+		rc = sit9531x_output_disable(sitdev, dpin->id);
+
+	changed = sitdev->out[dpin->id].enabled != was_enabled ||
+		  sitdev->out[dpin->id].state_stale;
+
+	mutex_unlock(&sitdev->multiop_lock);
+
+	if (rc) {
+		struct dpll_pin *dpll_pin;
+
+		NL_SET_ERR_MSG(extack, "Failed to set output pin state");
+		/*
+		 * The core notifies only a request that succeeded. Teardown
+		 * clears dpll_pin without the core's lock, which is held here;
+		 * read it once, as a set handle stays valid until this returns.
+		 */
+		dpll_pin = READ_ONCE(dpin->dpll_pin);
+		if (changed && dpll_pin && __dpll_pin_change_ntf(dpll_pin)) {
+			mutex_lock(&sitdev->multiop_lock);
+			sitdev->out[dpin->id].ntf_pending = true;
+			mutex_unlock(&sitdev->multiop_lock);
+		}
+	}
+
+	return rc;
+}
+
 static const struct dpll_pin_ops sit9531x_dpll_output_pin_ops = {
 	.direction_get		= sit9531x_dpll_output_pin_direction_get,
 	.frequency_get		= sit9531x_dpll_output_pin_frequency_get,
 	.frequency_set		= sit9531x_dpll_output_pin_frequency_set,
+	.state_on_dpll_get	= sit9531x_dpll_output_pin_state_on_dpll_get,
+	.state_on_dpll_set	= sit9531x_dpll_output_pin_state_on_dpll_set,
 };
 
 const struct dpll_pin_ops *
@@ -706,8 +810,33 @@ void sit9531x_dpll_pin_baseline(struct sit9531x_dpll_pin *pin)
 }
 
 /*
- * Notify a changed lock status, pin state or priority; called from
- * sit9531x_dev_periodic_work().
+ * Re-read an output with a pending change notification; return true once the
+ * read succeeds. Caller must hold sitdev->multiop_lock.
+ */
+static bool
+sit9531x_dpll_output_ntf_pending(struct sit9531x_dev *sitdev,
+				 const struct sit9531x_dpll_pin *pin)
+{
+	struct sit9531x_out *out;
+
+	if (sit9531x_dpll_is_input_pin(pin) ||
+	    pin->id >= sitdev->info->num_outputs)
+		return false;
+
+	out = &sitdev->out[pin->id];
+	if (!out->ntf_pending)
+		return false;
+	if (out->state_stale && sit9531x_output_state_refresh(sitdev, pin->id))
+		return false;
+
+	out->ntf_pending = false;
+
+	return true;
+}
+
+/*
+ * Notify a changed lock status, pin state, operational state or priority and
+ * retry a notification that failed; called from sit9531x_dev_periodic_work().
  */
 void sit9531x_dpll_changes_check(struct sit9531x_dpll *sitdpll)
 {
@@ -746,8 +875,11 @@ void sit9531x_dpll_changes_check(struct sit9531x_dpll *sitdpll)
 		bool changed;
 		u8 prio;
 
-		if (!sit9531x_dpll_is_selection_pin(pin))
+		if (!sit9531x_dpll_is_selection_pin(pin)) {
+			pin->ntf_pending |=
+				sit9531x_dpll_output_ntf_pending(sitdev, pin);
 			continue;
+		}
 
 		sit9531x_dpll_pin_snapshot(sitdpll, pin, &state, &operstate,
 					   &prio);
-- 
2.39.2 (Apple Git-143)

Technical Details
Message-ID: <20261119225752.41846-11-arouhi@sitime.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367403-linux-kernel-netdev=dewy.ru
References: <20261119225752.41846-1-arouhi@sitime.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-367403-linux-kernel-netdev=dewy.ru
From: arouhi@sitime.com (Ali Rouhi)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next v16 10/13] dpll: sit9531x: implement output pin state
 on a DPLL
Date: Thu, 19 Nov 2026 22:57:59 +0000
Organization: Usenet Network
Message-ID: <20261119225752.41846-11-arouhi@sitime.com>
References: <20261119225752.41846-1-arouhi@sitime.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="3003728"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:8p2Yivi2m+TxiBLvLZfd05lejWg= sha256:UdGo1dFXqxL0SBjdIIV6x0L0ofYTT42GMHPgvsLCTJ4=
	sha1:hv2kslJodGvLv3joM1wJdpsqGd4= sha256:/91FTwbhYNf8FORy+uTItYvgs6GOd0LSfZ0nTCPxH/4=
Content-Language: en-US
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
	X-MS-Has-Attach
	X-MS-TNEF-Correlator
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 682461157E5; Fri, 20 Nov 2026 01:58:59 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.95
X-Spam-Status: No, score=-1.95 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
	URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=sitime.com header.b=bu92K8Hk; dkim=pass (2048-bit key)
	header.d=sitime.onmicrosoft.com header.b=hM88Jr46
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 2MQPaouVbGem;
	Fri, 20 Nov 2026 01:58:55 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-367403-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=sitime.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 663A41157DB; Fri, 20 Nov 2026 01:58:39 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 292BEE7D58; Thu, 19 Nov 2026 22:58:29 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795129090;
	b=t/m8hsUo7KipxlCBWq/rl1Yx5Osn224AG+s5IaqF0QNEWH4FObHgomL1zvsZnlI4QsCV
	 BJ6zjFZluNyGj1GxFf2arJIH5Y1kcRKJ4pDBsG97vHwIQ8r27qBFge6+q9a41p1addGXw
	 JkBwMw/xY04UT/QM0VbCPe5yR2nsjqIZ1hXPDl7j+8zpTa5QbdQ6wIEq1GVOa9kj+qIkK
	 b4y5h8677gAbLpg8Dqf+JVlbKK/PK7qTHVqoV6AG/GhfzCu440p0pwynXTb8LHPF+Wvs1
	 pFrqfbD+8ZgGNzNOmC+zq/iwB3g9OJXHZOPrYGoghE6HGHyz95wQpyoEktnZqlQgvSg==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795129090;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:X-Virus-Scanned:
	 Received:DKIM-Signature:Received:Received:From:To:CC:Subject:
	 Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:
	 Accept-Language:Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator:
	 x-ms-publictraffictype:x-ms-traffictypediagnostic:
	 x-ms-office365-filtering-correlation-id:x-ms-exchange-senderadcheck:
	 x-ms-exchange-antispam-relay:x-microsoft-antispam:
	 x-microsoft-antispam-message-info:x-forefront-antispam-report:
	 x-ms-exchange-antispam-messagedata-chunkcount:
	 x-ms-exchange-antispam-messagedata-0:Content-Type:
	 Content-Transfer-Encoding:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 X-Exchange-RoutingPolicyChecked:X-OriginatorOrg:
	 X-MS-Exchange-CrossTenant-AuthAs:X-MS-Exchange-CrossTenant-AuthSource:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-originalarrivaltime:
	 X-MS-Exchange-CrossTenant-fromentityheader:
	 X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype:
	 X-MS-Exchange-CrossTenant-userprincipalname:
	 X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-MDID:X-PPE-STACK:
	 X-MDID-O:X-PPE-TRUSTED;
	bh=7N9ZIpX1JSnmFMPdnaJBL21bl3F7G5nadqlF/qmmsvA=;
	b=L3YOUAMDM9P6DvMaYZQfbtEGbvTEi9BHaLS25DFzfdI9mteZ3etGk7ivWjHYOEK2rpa0
	 2u3sn2zMNK/9kF+f+3mhCVz5s583wKrE0lF0F5e1gkmIB71E++X9/mbkLrCADBCR5Y+Gw
	 RaqeJeSCJclAoUX4i+lkBhXaOwS2C+DCdyV4NXJn62rTzx893dgwXZWdO/rmcH4aM2uxa
	 6HAktUDvY71KbIb0WWW4J9Pe73L2IqEVqgshqwEa99+2LAQ+3GSucLOim3+ETnZHCp2m0
	 Al+mdYJIFXiGiZUnxMfbYxjuBaeB55SKoO0GUp9vVDQcjOMXHY0J1R80j5nqfKf0Qgg==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=sitime.com header.i=@sitime.com header.a=rsa-sha256 header.s=mail header.b=bu92K8Hk;
	dkim=pass header.d=Sitime.onmicrosoft.com header.i=@Sitime.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-Sitime-onmicrosoft-com header.b=hM88Jr46;
	dmarc=pass header.from=sitime.com;
	spf=pass smtp.mailfrom=sitime.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 50FA060A2637;
	Thu, 19 Nov 2026 22:58:10 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=sitime.com header.i=@sitime.com header.a=rsa-sha256 header.s=mail header.b=bu92K8Hk;
	dkim=pass (2048-bit key) header.d=Sitime.onmicrosoft.com header.i=@Sitime.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-Sitime-onmicrosoft-com header.b=hM88Jr46
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=148.163.129.52
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795129089;
	b=aNi0pbHg1BzBANxzLs+E5qhDGEAcBwe/koDIDnZljSravlU0KGUk/qn+/WkLNBbP/yFL
	 mK4xRjoq4husTlYSPBx/yl1fifaAUPUaeZLcNWc/PGzf81KmEXJqP0b1+sorazsANvoHl
	 Nqp8F1Prh0rnaQsRFhw4YcX+A29Lb3Kc2ormwGavxpvtPUWIQaMhL+ZqbcIOIYLBjn+An
	 u5sVwFHbL/X6jyigsRo1A0tzG27jvavPqa2RqYNS1ysM+P6oTe8VBI1Xs1BFzKmb72A9b
	 Qi68Aa8Z3TmRid00e3PjmIU37tRhi+vDJHEr6stE5X55alPqY0fMRPXbtnSJGY+Qx9Q==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795129089;
	h=DMARC-Filter:DKIM-Signature:X-Virus-Scanned:Received:DKIM-Signature:
	 Received:Received:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:
	 Message-ID:References:In-Reply-To:Accept-Language:Content-Language:
	 X-MS-Has-Attach:X-MS-TNEF-Correlator:x-ms-publictraffictype:
	 x-ms-traffictypediagnostic:x-ms-office365-filtering-correlation-id:
	 x-ms-exchange-senderadcheck:x-ms-exchange-antispam-relay:
	 x-microsoft-antispam:x-microsoft-antispam-message-info:
	 x-forefront-antispam-report:
	 x-ms-exchange-antispam-messagedata-chunkcount:
	 x-ms-exchange-antispam-messagedata-0:Content-Type:
	 Content-Transfer-Encoding:MIME-Version:
	 X-Exchange-RoutingPolicyChecked:X-OriginatorOrg:
	 X-MS-Exchange-CrossTenant-AuthAs:X-MS-Exchange-CrossTenant-AuthSource:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-originalarrivaltime:
	 X-MS-Exchange-CrossTenant-fromentityheader:
	 X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype:
	 X-MS-Exchange-CrossTenant-userprincipalname:
	 X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-MDID:X-PPE-STACK:
	 X-MDID-O:X-PPE-TRUSTED;
	bh=7N9ZIpX1JSnmFMPdnaJBL21bl3F7G5nadqlF/qmmsvA=;
	b=t72ef5BVWucqaglKVJRXjbrM97ipNIfWHRIoETXLTo1l3LTWzVSzu8Bpw0MKrkia5/L5
	 ika1bu/imhJY2NeIzyifjUP68rgyJh6ar/4ZrhTb0aD7jzgNP/V92JHg/tAHEcdCtaPpu
	 tOxMySVL1es+roB2/QgxzY/o9dK2IEfjVs5g9/v3wW74RRwYTkleO0S5XxqVgxeAFztTy
	 a/NWuLqVxw2+NxI9dL0722gNCP3gQAaUwUaftt7h518VIftCFrbrmV3/mH+UPEw8YLWYZ
	 0GbH2F4EWzKwpiB78Ih5Ywa47oLXoayRRZvORJEUMRzPLr+67lvjdk18H4EcmivApzw==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=sitime.com;
	spf=pass smtp.mailfrom=sitime.com;
	dkim=pass header.d=sitime.com header.i=@sitime.com header.a=rsa-sha256 header.s=mail header.b=bu92K8Hk;
	dkim=pass header.d=Sitime.onmicrosoft.com header.i=@Sitime.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-Sitime-onmicrosoft-com header.b=hM88Jr46;
	arc=pass header.oldest-pass=0 smtp.remote-ip=148.163.129.52
X-Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id C3FA7606A333;
	Thu, 19 Nov 2026 22:58:08 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C3FA7606A333
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sitime.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sitime.com
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sitime.com;
 h=cc:cc:content-transfer-encoding:content-transfer-encoding:content-type:content-type:date:date:from:from:in-reply-to:in-reply-to:message-id:message-id:mime-version:mime-version:references:references:subject:subject:to:to;
 s=mail; bh=7N9ZIpX1JSnmFMPdnaJBL21bl3F7G5nadqlF/qmmsvA=;
 b=bu92K8Hk+Q7aOZ2QsZc6CzWXZE3Jz2mtE3vZxBHcNLqwQ07u2KIxkCB2zuFsHYN8rcOfXXIXiOeSbCpvs5acCIbLQrG1tNOa8eocAv7ZVKSw1hgpT6V4UeaFHBKnWOA1EvNF8JVRDEKILE48nEEdA2GwHP/iUjrPNRtMg7Ntx7v2gy57pG+0KDtSkDP/wIY9AL+oRz3+58FbSoZJCuPiHWfULyEXQHfYugU8XcfWuR/Ic8EZxq/tgSkyTAq7BMXU7a8UZcxy4hJOVkLSTnfRDE9zhLXdU+6Wnjh1DrO/GLhZQ2U5gmCa9Th8aIb+x2QKsbjLK6rHAQMN222u/dxLbw==
X-Virus-Scanned: Proofpoint Essentials engine
X-Received: from CY3PR05CU001.outbound.protection.outlook.com (mail-westcentralusazon11023125.outbound.protection.outlook.com [40.93.201.125])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id DE73AC40077;
	Thu, 19 Nov 2026 22:58:06 +0000 (UTC)
X-ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=d2OLgsg1NMn6YJR4T0myNc3TXXcXOaxhkA/10xjvzTuPZqWxxlFgt049MCgbgQ1jKfD2UDCvudlby7fMafZgwbSq2sHCmBfuVQQnb0UpzNVOXmjAy/5+xkuVHM0zzzSd3vzzX3VpaYidu1CsGXpdzOXJcfLx+ytIZOo5KV5muLG8Hn8fjWwoz7W3ezl67nGjUHt6+6iFNBgKt4rRKoxeUggk9x9bkVZuaDJJywKmkybOyAhKJMB8xBtdt2gsaYqVg4ecZ8ELy5c35iI0T9XNbilsAphIGiooGoNel3kjhPdwD+c8s67+8+QAkEUBZCn+l8qSYejrsLW5i0nbgYsN+w==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=7N9ZIpX1JSnmFMPdnaJBL21bl3F7G5nadqlF/qmmsvA=;
 b=rsQ7/0ESRaqHPNzpj6qUORM03isyGxAUGuPUZb1SrIgaYdfI+7tVp404jSl0CvI8eBQs8pqUrNR2jS5lvbyRf7ffb1SZbcVKgYBggN6ErmWKT97R5aBfW+vR5MzbMc0qzPgECLj60ckF7cLU9HqG3S9h9dw95wznTGgNYvvjxBmVWhtbVdMbaiPJuqOkrWSKfQqb3VX5+9LJgAWbNRqaF5Tq+SgjLW0GhkQXSEJLKv81u6V6LE05naJxOuu6C+w0vYG4hayfMFeO8Ea8xcR5sqQSDWoZPnm0h0tPbSb6qA0j5xu8bUj4Z0H2fsjaSZFHLDLGRWWBBW9YmnqloHtVpw==
X-ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=sitime.com; dmarc=pass action=none header.from=sitime.com;
 dkim=pass header.d=sitime.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=Sitime.onmicrosoft.com; s=selector1-Sitime-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=7N9ZIpX1JSnmFMPdnaJBL21bl3F7G5nadqlF/qmmsvA=;
 b=hM88Jr46Ehgk3rM0MzWoj0/m/jw16/Huzr7f0LHOr3SjUEWKvI3BFghxofinUAyI8mkjW4Yujf9Y8d8la9C2yIgo+B9CwkQWU4XIWIAc/VY61VWO3Qleh6A4U4EqAiR+ZLXAqVMXxVYJQm6bze1Kg6aqlCOciWX/diA8hkzl5dERjayC5Zpjz7KcxXFRrAQblGw8kGuNVGIZbN41wAWVRq0OlWIKlIPMxbWelFFl3c1vqIbBMQxLkKC5pDvGHBn9v4un4GAWA7NBTo7cK2GAUdM+jpWsLRcoqCYnzGOZ9J2uwuSAHSiNtrXwO6wXTccHFPxbykd9AHYIxc5b7RoXng==
X-Received: from DSVPR20MB994924.namprd20.prod.outlook.com (2603:10b6:8:45b::22)
 by SA5PPF6C2DD1D15.namprd20.prod.outlook.com (2603:10b6:80f:fc04::998) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.592.13; Thu, 19 Nov
 2026 22:58:02 +0000
X-Received: from DSVPR20MB994924.namprd20.prod.outlook.com
 ([fe80::5f15:fc8a:498:98d7]) by DSVPR20MB994924.namprd20.prod.outlook.com
 ([fe80::5f15:fc8a:498:98d7%6]) with mapi id 15.21.0639.011; Thu, 19 Nov 2026
 22:58:02 +0000
X-CC: "vadim.fedorenko@linux.dev" <vadim.fedorenko@linux.dev>,
	"arkadiusz.kubalewski@intel.com" <arkadiusz.kubalewski@intel.com>,
	"ivecera@redhat.com" <ivecera@redhat.com>, "kuba@kernel.org"
	<kuba@kernel.org>, "pabeni@redhat.com" <pabeni@redhat.com>, "robh@kernel.org"
	<robh@kernel.org>, "krzk+dt@kernel.org" <krzk+dt@kernel.org>,
	"conor+dt@kernel.org" <conor+dt@kernel.org>, "cjubran@nvidia.com"
	<cjubran@nvidia.com>, "Oleg.Zadorozhnyi@devoxsoftware.com"
	<Oleg.Zadorozhnyi@devoxsoftware.com>,
	"prabhakar.mahadev-lad.rj@bp.renesas.com"
	<prabhakar.mahadev-lad.rj@bp.renesas.com>, "devicetree@vger.kernel.org"
	<devicetree@vger.kernel.org>, "netdev@vger.kernel.org"
	<netdev@vger.kernel.org>, "linux-kernel@vger.kernel.org"
	<linux-kernel@vger.kernel.org>
X-Thread-Topic: [PATCH net-next v16 10/13] dpll: sit9531x: implement output pin
 state on a DPLL
X-Thread-Index: AQHdeHlsk+8cHjhV8Eym2wBv1ATEFg==
X-In-Reply-To: <20261119225752.41846-1-arouhi@sitime.com>
X-Accept-Language: en-US
X-authentication-results: mx.microsoft.com 1; dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=sitime.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DSVPR20MB994924:EE_|SA5PPF6C2DD1D15:EE_
x-ms-office365-filtering-correlation-id: 7d6e3234-97fd-4f26-514a-08df4690907b
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam:  BCL:0;ARA:13230040|23010399003|1800799024|376014|366016|38070700021|261028144727099003|5023799004|56012099006|261021123027099003|261022105027099003|261026121527099003|261009221227099003|261021121427099003|261022075727099003|261009223027099003|261026140227099003|261102123227099003|18002099003|22082099003|6133799003|10067099003|3023799007;
x-microsoft-antispam-message-info:  pCei8lEUKSsl+IwLt8Cqz/261d8zUgiI5DLnUUOXlXFwtctJik5GjFHcVXmfK4yPbB7Y+tT0QLL73YB4BklxxMRXHZaqY3jxpLwqvMuLjxvQrZ+d51heQ/SykHwKwmGTb9utZmIX0f9c3nMf/Cafq3ZjMihwAeBie9rvT0rBzbbfa/Mz+IRma5DeAZVHtNhSqBrqNDEXB+p4msrc4LlRjfhkFUdYpDJHbdh1FlxhQO+fteJumE9gAEO8XCg0U0tluffz2pYRVOczCntuJRy9jTsGMMv8t2a7bVtS6zYHheAIcAWRw41t1aTIA0hBkIm1YoT5+bgpd8qGjPP/btBWIyQUJQhCserQcwjJAQj4mqOt6EMuCJdg/AJT37VC74ziayVHcVW/7MAiFNQ1P05nBel9E0diRzeMmygX6go0+AeNjBPHaIG3S1z3U/F6ve+ZIblkgsm+FZ1V4FzbI+EsJfZgny3srfvs4ZKOSjXtYhYC0rxEG4o4UQJrrwidbQ7sZMfCkoztNNW4UPa4ZjxdjP4dsb0ApVoCAsS50DysaJ2WzzTJwL6nCMREzkVX197liB8/O1Qlx6U/m0ToqYFhd+nb+LEDOoEKbNCyPZ1HTlBYeAiIv5/d8hbv79+Y4EENlX4yjgxUelPG5+8BouGL5bCd/zcd0ZTR2iJog3uR4oIwuzUAnSHJ/aPxUmmJ9Y6KV13DkCEAhYEZcz1hlmHvTEW5Au7s1BQUtN80HOdoWlI=
x-forefront-antispam-report:  CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DSVPR20MB994924.namprd20.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(23010399003)(1800799024)(376014)(366016)(38070700021)(261028144727099003)(5023799004)(56012099006)(261021123027099003)(261022105027099003)(261026121527099003)(261009221227099003)(261021121427099003)(261022075727099003)(261009223027099003)(261026140227099003)(261102123227099003)(18002099003)(22082099003)(6133799003)(10067099003)(3023799007);DIR:OUT;SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0:  blP4MVaVujaEUhWVXSNBYWFb4zrkwR8RZDv4RihiJRJjBmACrcHH5bZ/Sue2ykRsXODhKb8sJ8pRtHgXoxW2Q0suu5Zp2Uf0BCPwv/kdumbUqGXlr6J7M/5PQUycZl+XknFmar461OAdLApEUkkGXQDXVYRhvuxQ5LVue5tWV0nvsn4NAefGtTGd30+D+bzcRUHuAPeglQnLPhTMXTyMo6MLM/WH9wU2ZF6M7wSkm9PHIC3IjlFrR7UgZgMsNaBwdwZ2QI3MuCunjy65777lQiTdfR+BtlBGSGIrWiplEWjk2W3hHZiA0IeeS/5PbxLhbg07sxGPUV92EaMj6UZFehmHBTYaM2jfduvgzuJQPxwY1hBTZ0ij+GBlccIL+nG5+lmvDUhm4TOaoVxrWBebkl0WJJQFf1mVwKcbV63ca5/M3T4W1XWrtQE6oWooYpS/5vLGmi9ckKswUnzPzNm75hDs+LRhtASmIEU79oCA0MO0crkIRw8AxK2qHXf0ipLhsO0Hyu1kbktQiX0Y8358hZkHdRNpw1jpwOAZMz4IBRiQHbydZPiKlH2tCz+Kefntg25pjyIVdIuGd/0/OK0NaqwxNshLRGagQSwdjhbT26DIo7UEboXoLYgHyUDjVFQGBjXWv0xxcKJTrGx7KxASJ/WckMIUcX/l6CTolS/cc7+j7/8P1C6nor6KgQcV4kujMsAN0wpIIPifKm7IZZoSRtG1E88hdtzKm82nMUUVDEqj2Numzxnq8cRVCxFFgScqX28kSCxLj+jBoV5Cim60dOiBdWNEHIChdwUxQAGHGdTlM+kQDMzGuDqiKPY/yvG2xKx6b4660ueTAUC57bKayHPZ/C+WnBkdb4ZAqMtD+QX3rQf7tJXAIH8bQtSzglSFZ3VCeKPgJDvHhxwfFRAu6gB1NiZChS+xhVZ9926bvtHWwe9M1vrwzsBIM+MDjrp7/6FSE9FxU+RqRHdPjl9wPwjN+dqCs47jimUuWSw38iZorNGkbVSOucETyAdG9PgJC0G8JzZFPkygsapkwr/SeInuKVL3b6SW1qqGIoftG0rZhS+wFXPRVFJOWTbFLnCYledy87BeBYblxBdlZGPgH6QkrZyD0/k1sqFVPMm7ghXVuy2zJ1rLGeSiDPSDYMBREGmx+QE28drPIHaN8otPYRpNTsBSygxiYEdRNlzbiKx+cTdKferqyhPL8VrstxZTCAGWNSEx2IQciq25UYs4sA4T9zi2ROlPSpGcnT1ZeQM30T5pCRfjbNuHqeFKODufP4yXQYW7iUlShnDCGT5ULXOFjTVimqy7yi086dROhgy6fQPAE8/Kcy36xRSh4pFlnlwpDCtkQevyPQpwKl20RVPzQ2CUK4KzKrKUcVWhXpu/Fm7xso+kD/uCfmNFQVrvvrHP3oCgy8t3hy/R8lxZRnjYaf960EanKPihYI1qW69vItciVLKjlLlf0qpCo4d1Av5g88kJl6/XXjPNoPRGz/dmD+KkEz7gJE5Bz3tGlrwyYh59/LYMSU/bx6keIj4MCjwboaYFaKRkK4yqqSYSxl/3hazPifmRKdR+irqxjMtOVhHad0fGixZOID75KSvTqynI8w4qwqe3s7IVXGAlUPq1G+T3Ph3WSN7OXt61rtaJJvXpr/gjmZjGjwUjmWcv7tqmMItJjcjPYqgXPFeGs5Gf+yJdP0alxYl8uf/v3qQ7mTMZwueIwxsr4hdKpANQ
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-Exchange-RoutingPolicyChecked: 	H5T1bRg0L54o+zh9OQBkBCJCOLc6sHLhK3PbHe0V6L99nOaQmw1vtfuTJScUQfZEitjfLTXBP1hwbW5Mjnk18cS8aH07jjPW4T8JTRywsjQvvKb24diSIk2DocrWQvmsnpK20Tx1L+D1L2G9AP+WhAwPBtWlUAfX0aTcVGcxMY29bxCqSPw2OeHR2iGyA4tgxDu9t+IVXKfOLbx4DJQsf1839zkaekUmqKox1UzT8HkyDdqHfP7Vfa525ccTzs2UdRthbg1fkYbQCfAKObNLB1pV/i2Q6NfjNMVANaRNpWilnYNTdwV2cbMpSDsZcXyVWEW6nxSYOunBSlknS80jVw==
X-OriginatorOrg: sitime.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DSVPR20MB994924.namprd20.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7d6e3234-97fd-4f26-514a-08df4690907b
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Nov 2026 22:57:59.9898
 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 8fb55916-cf10-4b0d-96f4-cf3952657263
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: DvhAjizV3MG6tYsT3pGELPUqLI35F8VHXJkJIQuRl7yfEaSlZvzmLQ+HTgYz/KWdMK+2MM3vfkOB+po4hCRuFQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA5PPF6C2DD1D15
X-MDID: 1795129087-6JAcdRi5Aovb
X-PPE-STACK: {"stack":"us1"}
X-MDID-O:  us1;ut7;1795129087;6JAcdRi5Aovb;<arouhi@sitime.com>;ba04557de9d2da8490f5f1e6de07b967
X-PPE-TRUSTED: V=1;DIR=OUT;