From nobody Mon Apr 6 11:53:28 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE55B3ACA5C for ; Thu, 19 Mar 2026 17:48:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773942540; cv=none; b=NUSxQh+a7BeUc4/SI0REy/t8l9UuoaN3ZfOgG2WoCDfMSa6iYLhGzpe1kUAMNBqCalTe14ftOGN021wpjbVesZwYNDXsYXtt31IU8gEwx8bhhjC2oF8zD93ipI4OwoBkfkpfLO1Wh9CXk/OYtsHgwHHf7e0LfiB9bGN3Qd1wDkA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773942540; c=relaxed/simple; bh=VYpA0DQ8G9DeBFM/wAWmznKvooMNjsjpUnKlx2bZcCU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lRJOdptuJSrb2wz2VxzrHMT+EfpiD070kqJID/Hj9lJc94BZDD2KWH9vRsC9fYSw8mztXcKjT2beCKzAaDyp9wN5ER2CnMPv+ZRJd43FpsqAaKnichaI83y1QtWoYuy52ObBzUwXtVwnb1B2zV7CEStx7UVqXD2IR0fABF8pQf0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=HafwMecj; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="HafwMecj" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1773942535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X3OjAkiL/S+3p+HfwQkXwnxSsIlnuXX4GUVvffn+aHY=; b=HafwMecjrVRaJ2jdoThZhZwjVNIRFmZ7Swnnb3GvK7QZTb9/i5K2T8tXlBnaffdo5Rxm6+ eBU51RKYCYwYtfYq9w+2K/hl7bbVTmBsRyLtj7gYEGasFgeEz24rfOgCuKbiZQ8poAViDG GJfw10j8uk0Jw0RA7Bhv048hcC6JpMw= Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-364-qdM941obPXSKZkKVZrcktw-1; Thu, 19 Mar 2026 13:48:52 -0400 X-MC-Unique: qdM941obPXSKZkKVZrcktw-1 X-Mimecast-MFC-AGG-ID: qdM941obPXSKZkKVZrcktw_1773942529 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7F08719560B5; Thu, 19 Mar 2026 17:48:49 +0000 (UTC) Received: from p16v.luc.cera.cz (unknown [10.44.32.41]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 9AE3D30001A1; Thu, 19 Mar 2026 17:48:45 +0000 (UTC) From: Ivan Vecera To: netdev@vger.kernel.org Cc: Arkadiusz Kubalewski , Jiri Pirko , Michal Schmidt , Petr Oros , Prathosh Satish , Simon Horman , Vadim Fedorenko , linux-kernel@vger.kernel.org, Conor Dooley , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, Pasi Vaananen Subject: [PATCH net-next 4/5] dt-bindings: dpll: add ref-sync-sources property Date: Thu, 19 Mar 2026 18:48:25 +0100 Message-ID: <20260319174826.7623-5-ivecera@redhat.com> In-Reply-To: <20260319174826.7623-1-ivecera@redhat.com> References: <20260319174826.7623-1-ivecera@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 Content-Type: text/plain; charset="utf-8" Add ref-sync-sources phandle-array property to the dpll-pin schema allowing board designers to declare which input pins can serve as sync sources in a Reference-Sync pair. A Ref-Sync pair consists of a clock reference and a low-frequency sync signal where the DPLL locks to the clock but phase-aligns to the sync reference. Update both examples in the Microchip ZL3073x binding to demonstrate the new property with a 1 PPS sync source paired to a clock source. Signed-off-by: Ivan Vecera Reviewed-by: Petr Oros --- .../devicetree/bindings/dpll/dpll-pin.yaml | 11 +++++++ .../bindings/dpll/microchip,zl30731.yaml | 30 ++++++++++++++----- 2 files changed, 34 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/dpll/dpll-pin.yaml b/Documen= tation/devicetree/bindings/dpll/dpll-pin.yaml index 51db93b77306f..7084f102e274c 100644 --- a/Documentation/devicetree/bindings/dpll/dpll-pin.yaml +++ b/Documentation/devicetree/bindings/dpll/dpll-pin.yaml @@ -36,6 +36,17 @@ properties: description: String exposed as the pin board label $ref: /schemas/types.yaml#/definitions/string =20 + ref-sync-sources: + description: | + List of phandles to input pins that can serve as the sync source + in a Reference-Sync pair with this pin acting as the clock source. + A Ref-Sync pair consists of a clock reference and a low-frequency + sync signal. The DPLL locks to the clock reference but + phase-aligns to the sync reference. + Only valid for input pins. Each referenced pin must be a + different input pin on the same device. + $ref: /schemas/types.yaml#/definitions/phandle-array + supported-frequencies-hz: description: List of supported frequencies for this pin, expressed in = Hz. =20 diff --git a/Documentation/devicetree/bindings/dpll/microchip,zl30731.yaml = b/Documentation/devicetree/bindings/dpll/microchip,zl30731.yaml index 17747f754b845..fa5a8f8e390cd 100644 --- a/Documentation/devicetree/bindings/dpll/microchip,zl30731.yaml +++ b/Documentation/devicetree/bindings/dpll/microchip,zl30731.yaml @@ -52,11 +52,19 @@ examples: #address-cells =3D <1>; #size-cells =3D <0>; =20 - pin@0 { /* REF0P */ + sync0: pin@0 { /* REF0P - 1 PPS sync source */ reg =3D <0>; connection-type =3D "ext"; - label =3D "Input 0"; - supported-frequencies-hz =3D /bits/ 64 <1 1000>; + label =3D "SMA1"; + supported-frequencies-hz =3D /bits/ 64 <1>; + }; + + pin@1 { /* REF0N - clock source, can pair with sync0 */ + reg =3D <1>; + connection-type =3D "ext"; + label =3D "SMA2"; + supported-frequencies-hz =3D /bits/ 64 <10000 10000000>; + ref-sync-sources =3D <&sync0>; }; }; =20 @@ -90,11 +98,19 @@ examples: #address-cells =3D <1>; #size-cells =3D <0>; =20 - pin@0 { /* REF0P */ + sync1: pin@0 { /* REF0P - 1 PPS sync source */ reg =3D <0>; - connection-type =3D "ext"; - label =3D "Input 0"; - supported-frequencies-hz =3D /bits/ 64 <1 1000>; + connection-type =3D "gnss"; + label =3D "GNSS_1PPS_IN"; + supported-frequencies-hz =3D /bits/ 64 <1>; + }; + + pin@1 { /* REF0N - clock source */ + reg =3D <1>; + connection-type =3D "gnss"; + label =3D "GNSS_10M_IN"; + supported-frequencies-hz =3D /bits/ 64 <10000000>; + ref-sync-sources =3D <&sync1>; }; }; =20 --=20 2.52.0