From nobody Mon Jun 8 13:29:44 2026 Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 863B22C15A5 for ; Fri, 29 May 2026 06:05:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780034710; cv=none; b=HHWxCP/hKTkHBfuyhEYPyYXBepORUUmJP0b3vYKuE7Pp3XV5JFptKOZdjLRYs/4/+u/fRkZU1rsxYvW3fK6HjdAJxReazRsI2ylRSCqfXzpkfTooQb72lx8NV9pR/2errDUijG5yvoS0cjc+mtHRrPPtwPZXZAz9Z+JSRbhLJuE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780034710; c=relaxed/simple; bh=OS6FQ9Pex0XzkpV/4HJU9MMECUkwbOJLAzYWf7WMIBc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=nGGJ2Gi9jfC2zHBp5DqXyfyoFHbkB9pxCjG9yDGFJaUFbsvzqJSV3mhEUDq4R8E6JLFyEsCV5PIoGtxE2S82iOjhFIK9EmKGhg+OcUcTrbewTqwAkLd24s6n8ZrFxZd03Ivunu/KsAV4LWyETaUr16+9Me92YrPdNszCZcOmtEQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nsuEVw42; arc=none smtp.client-ip=209.85.216.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nsuEVw42" Received: by mail-pj1-f44.google.com with SMTP id 98e67ed59e1d1-36b0c968fe8so3176064a91.3 for ; Thu, 28 May 2026 23:05:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1780034709; x=1780639509; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=SuuXnQgbsRXJoDchNuBoGmAB9VHC92mFcRfnEHoyUYU=; b=nsuEVw42b9g4fu9+EqbsTaXkTS5VY/VtDhrdvEnP77fZTJxulBl65D7csw3emeygMG adYICxuWQ61yPyVs/l8YaA4QCOc9SKL1suVeMtwHNTRJIKbZX8HMuP/pYc1JK212tj13 eCBm6dnnte+HL3AMTDHDIeqYprf8YtnCrPE7B4oNBKsMdRufoLrI5ZZTej28mkqjHCM4 TBjLM3YIFXtKJZeLFfHEyEtTdzHaOBzRQ8+XkIDMffZDwTFTbTpvcLscAF1cgsnfFVvj Sn33fhoUrnHJG2JwXtiYCeV3a05K3X9FOigUdMCzF81KRwdPzhaKCXEIyAhb62sqYy5A mwiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780034709; x=1780639509; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=SuuXnQgbsRXJoDchNuBoGmAB9VHC92mFcRfnEHoyUYU=; b=MHPW3tUrXhMQzXQ3NaXI9KIi4JtwrMHI61WH1NvloNxIUJKUHXtXYMfOhuaM0GgmF/ uvqe6Swq2zutkFCWrt5qDzfiNGtJ4reNRZDXdmMOa+utuhu+U0ws4xmwk0PwDtIZ8x61 SGqHSMj2cI15y+DagJ3VxvhoQ8Vk0O9qm4Q7fc9Tsz3NTQ12mZjdcsQbMefDvkWkkNk1 yl7Xpan3Tp9fo45YJ3XVowdNtiERaxAAoXfGFvg9ZpPZjeQoZGdxh2dJiF/u2/3/4H2W EduGj1AWYvhiiqOXHtQDU9FjaLxrr6AkKqET8Sz804XhmtK0Rfjdoe9K0NbaxnmQDPOo MBRA== X-Forwarded-Encrypted: i=1; AFNElJ852MM0Nwtv7b5Zr/vqkqybqZer0vEdHlO5xGsoIbm945p/IJghpruqLz9e54W2LKwvVaftmVRI3Q5APyw=@vger.kernel.org X-Gm-Message-State: AOJu0YxNlqkz2/ZdJPMQFaXJbT5z5wYJi2n2rDWBHl7QIoLWJvifThgR tEpgzxAzz8cRvgLb+UNhsSAuwq3CWmR5CDB6oiRes0TST6o29/f6brb4 X-Gm-Gg: Acq92OEyAlCpNd5nVszusoo+CyMOxBBvkEzBCTDIwQcl0Y/9E9ZloHL3UWi4U5tDo9R MHNHsFL+0l3CFfBVrdaYzP2S7k5wmsw+eLR6pp2uMT88VtWuiROo2M7c+XDiuwi20VLzG/0+V0B 3pX3ot7OLxZajDSGsOekYDbPYKsJR2qym3zP22KUSdNm1mhK30yJRpTlOTYyhNZQWo7ApzeI1Zf NeChnkIW/fhNPpE6+VlDb2Oalb75Kcx3NhWZ/siVJl0i+nGqKrFVMdMdMmXaovllCVJNKJ/5ldi GUQ/kFbSMMOqzTPd3YnsdrOcqJ58bgQMG3pzzAl11mCSzZ/w0wGZhvMGrFBGKFx9zv7wh32K4PC u7Z9cAANswpLaU8ws3Wu6/AbS8YNw2vrvZwJ3WOncayuyxfI+aAy6J8WpqrKxXRalRvFR2U4uuP oG5pbLViZhDLUt9fUo2lS63Q7Xu6RroqFjskORSrea5j6T4S6Dqlj1DfZScY3XdfdcgOmPr94= X-Received: by 2002:a17:90b:1dca:b0:36a:ee1:fc24 with SMTP id 98e67ed59e1d1-36bbcd62449mr2033607a91.8.1780034708656; Thu, 28 May 2026 23:05:08 -0700 (PDT) Received: from gmail.com ([2409:40c0:1078:df61:5d14:1864:57eb:6e59]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-36bc6b50edesm632818a91.14.2026.05.28.23.05.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2026 23:05:08 -0700 (PDT) From: Rohan Mithari To: robh@kernel.org Cc: krzk+dt@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, peng.hao2@zte.com.cn, Rohan Mithari Subject: [PATCH v2] dt-bindings: misc: convert pvpanic-mmio binding to YAML Date: Fri, 29 May 2026 11:34:59 +0530 Message-Id: <20260529060459.1053503-1-rohanmithari09@gmail.com> X-Mailer: git-send-email 2.34.1 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 Content-Type: text/plain; charset="utf-8" Convert the legacy pvpanic-mmio txt binding into YAML schema format for device tree validation support. --- Changes in v2: - Remove legacy txt binding - Fix reg example format - Add trailing newline - Run checkpatch validation with --no-tree Signed-off-by: Rohan Mithari --- .../devicetree/bindings/misc/pvpanic-mmio.txt | 29 ---------------- .../bindings/misc/qemu,pvpanic-mmio.yaml | 34 +++++++++++++++++++ 2 files changed, 34 insertions(+), 29 deletions(-) delete mode 100644 Documentation/devicetree/bindings/misc/pvpanic-mmio.txt create mode 100644 Documentation/devicetree/bindings/misc/qemu,pvpanic-mmi= o.yaml diff --git a/Documentation/devicetree/bindings/misc/pvpanic-mmio.txt b/Docu= mentation/devicetree/bindings/misc/pvpanic-mmio.txt deleted file mode 100644 index 985e90736780..000000000000 --- a/Documentation/devicetree/bindings/misc/pvpanic-mmio.txt +++ /dev/null @@ -1,29 +0,0 @@ -* QEMU PVPANIC MMIO Configuration bindings - -QEMU's emulation / virtualization targets provide the following PVPANIC -MMIO Configuration interface on the "virt" machine. -type: - -- a read-write, 16-bit wide data register. - -QEMU exposes the data register to guests as memory mapped registers. - -Required properties: - -- compatible: "qemu,pvpanic-mmio". -- reg: the MMIO region used by the device. - * Bytes 0x0 Write panic event to the reg when guest OS panics. - * Bytes 0x1 Reserved. - -Example: - -/ { - #size-cells =3D <0x2>; - #address-cells =3D <0x2>; - - pvpanic-mmio@9060000 { - compatible =3D "qemu,pvpanic-mmio"; - reg =3D <0x0 0x9060000 0x0 0x2>; - }; -}; - diff --git a/Documentation/devicetree/bindings/misc/qemu,pvpanic-mmio.yaml = b/Documentation/devicetree/bindings/misc/qemu,pvpanic-mmio.yaml new file mode 100644 index 000000000000..fe24bdcacc9c --- /dev/null +++ b/Documentation/devicetree/bindings/misc/qemu,pvpanic-mmio.yaml @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/qemu,pvpanic-mmio.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: QEMU PVPANIC MMIO device + +description: + QEMU provides a pvpanic MMIO interface for guest panic notification. + +maintainers: + - Peng Hao + +properties: + compatible: + const: qemu,pvpanic-mmio + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pvpanic@9060000 { + compatible =3D "qemu,pvpanic-mmio"; + reg =3D <0x9060000 0x2>; + }; + --=20 2.34.1