From nobody Sun Feb 8 09:10:20 2026 Received: from pdx-out-003.esa.us-west-2.outbound.mail-perimeter.amazon.com (pdx-out-003.esa.us-west-2.outbound.mail-perimeter.amazon.com [44.246.68.102]) (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 6D12A449ED0; Wed, 21 Jan 2026 14:34:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=44.246.68.102 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769006077; cv=none; b=D/ikCnJxrO4n5sJRE2QB0mAxCpthpa9t4IVnLJdHHSg1TI6grs//Dt4SGJhWFu3rAy0PLKGNQF94nl633IorrPgUYcJnabNaVkSbqlWu8u5PZEZNtGTZ2elirt/1y0MUIL6vsjWlEAFlNuy1qbujEpr/k0UTKI3Q7comy6hhrOo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769006077; c=relaxed/simple; bh=V+qFlUU26dtxhI42O1LyyPXxUUYrP0KuA+/fr8CCTWo=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fFbkZUKoBHlrfVtQVVPnDNfHvU5v1q+ziOGhvVOzQ6jONx4nc7XB4z4H/UR9lLONfw8Ka0tnHclBIArx8DdzM9x5+hr9tmDlDn3584ffM4nW8yBT7tNySk3XNxGYZjqmmDof3UTGFK+Ru6D4o46fHzBL5ozfzuqv+d/aGsha9Ic= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com; spf=pass smtp.mailfrom=amazon.co.uk; dkim=pass (2048-bit key) header.d=amazon.com header.i=@amazon.com header.b=P+wPNkDh; arc=none smtp.client-ip=44.246.68.102 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.co.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=amazon.com header.i=@amazon.com header.b="P+wPNkDh" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazoncorp2; t=1769006074; x=1800542074; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=GnB0Zjrn1rkk2yBuHfgwsZRUTblWJqAEa2P5e7SgUS8=; b=P+wPNkDh/jpDeVbAm/57wdJv6KeFS1owp8F5uQpRRtq9Iq/td6A728Ry CsFzQlLGsluSbdnxLRsbr1S+f75m/5lqQM73w/nyMvTeXmih8y6JV1KvP Dy8KXqUWc+wK3TI6CmehDRGob32T/K4olsx/SedsHgM6v4aSJV1J2aDtk 7T1kBHLZHUv+WKKo4Whu+ARk0RXd+WhJixId/5uGj+/s+HfD+yRjHa1JF xCtCDaZ6soSWkw096L5ig+FCo4Hrxou+JbqyT2HgDEauVxbbh+pul64BY IJ7/jrKH9qvBi+AwxdYv/HmM5zqHI35sIe+YHKQcROQmb45QWnFmwl/b/ w==; X-CSE-ConnectionGUID: C4fGUt72Qdixu8U/aQwc9g== X-CSE-MsgGUID: Cu5NmpH2RCqP8y3vkUNV9g== X-IronPort-AV: E=Sophos;i="6.21,242,1763424000"; d="scan'208";a="11311079" Received: from ip-10-5-12-219.us-west-2.compute.internal (HELO smtpout.naws.us-west-2.prod.farcaster.email.amazon.dev) ([10.5.12.219]) by internal-pdx-out-003.esa.us-west-2.outbound.mail-perimeter.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2026 14:34:32 +0000 Received: from EX19MTAUWC002.ant.amazon.com [205.251.233.51:6551] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.27.220:2525] with esmtp (Farcaster) id 78ead78d-5660-4e66-8e07-c138e99f30b6; Wed, 21 Jan 2026 14:34:32 +0000 (UTC) X-Farcaster-Flow-ID: 78ead78d-5660-4e66-8e07-c138e99f30b6 Received: from EX19D001UWA001.ant.amazon.com (10.13.138.214) by EX19MTAUWC002.ant.amazon.com (10.250.64.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.35; Wed, 21 Jan 2026 14:34:31 +0000 Received: from dev-dsk-itazur-1b-11e7fc0f.eu-west-1.amazon.com (172.19.66.53) by EX19D001UWA001.ant.amazon.com (10.13.138.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.35; Wed, 21 Jan 2026 14:34:28 +0000 From: Takahiro Itazuri To: , , , , , , , , , CC: , , , Babis Chalios , "Alexander Graf" , , Marco Cali , David Woodhouse , "Takahiro Itazuri" Subject: [PATCH v6 3/7] dt-bindings: ptp: Add amazon,vmclock Date: Wed, 21 Jan 2026 14:33:40 +0000 Message-ID: <20260121143402.3092-4-itazur@amazon.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260121143402.3092-1-itazur@amazon.com> References: <20260121143402.3092-1-itazur@amazon.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-ClientProxiedBy: EX19D041UWA001.ant.amazon.com (10.13.139.124) To EX19D001UWA001.ant.amazon.com (10.13.138.214) Content-Type: text/plain; charset="utf-8" From: David Woodhouse The vmclock device provides a PTP clock source and precise timekeeping across live migration and snapshot/restore operations. The binding has a required memory region containing the vmclock_abi structure and an optional interrupt for clock disruption notifications. The full spec is at https://uapi-group.org/specifications/specs/vmclock/ Signed-off-by: David Woodhouse Signed-off-by: Babis Chalios Reviewed-by: Krzysztof Kozlowski --- .../bindings/ptp/amazon,vmclock.yaml | 46 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/ptp/amazon,vmclock.ya= ml diff --git a/Documentation/devicetree/bindings/ptp/amazon,vmclock.yaml b/Do= cumentation/devicetree/bindings/ptp/amazon,vmclock.yaml new file mode 100644 index 000000000000..357790df876f --- /dev/null +++ b/Documentation/devicetree/bindings/ptp/amazon,vmclock.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/ptp/amazon,vmclock.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Virtual Machine Clock + +maintainers: + - David Woodhouse + +description: + The vmclock device provides a precise clock source and allows for + accurate timekeeping across live migration and snapshot/restore + operations. The full specification of the shared data structure is + available at https://uapi-group.org/specifications/specs/vmclock/ + +properties: + compatible: + const: amazon,vmclock + + reg: + description: + Specifies the shared memory region containing the vmclock_abi struct= ure. + maxItems: 1 + + interrupts: + description: + Interrupt used to notify when the contents of the vmclock_abi struct= ure + have been updated. + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + ptp@80000000 { + compatible =3D "amazon,vmclock"; + reg =3D <0x80000000 0x1000>; + interrupts =3D ; + }; diff --git a/MAINTAINERS b/MAINTAINERS index da9dbc1a4019..0dd35070fe9b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -21025,6 +21025,7 @@ PTP VMCLOCK SUPPORT M: David Woodhouse L: netdev@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/ptp/amazon,vmclock.yaml F: drivers/ptp/ptp_vmclock.c F: include/uapi/linux/vmclock-abi.h =20 --=20 2.47.3