* [PATCH] dt-bindings: misc: add YAML binding for qemu,pvpanic-mmio
@ 2026-05-20 16:48 Rohan Mithari
2026-05-20 19:13 ` Rob Herring (Arm)
2026-05-21 10:25 ` Krzysztof Kozlowski
0 siblings, 2 replies; 3+ messages in thread
From: Rohan Mithari @ 2026-05-20 16:48 UTC (permalink / raw)
To: robh
Cc: krzk+dt, conor+dt, devicetree, linux-kernel, peng.hao2, Rohan Mithari
Signed-off-by: Rohan Mithari <rohanmithari09@gmail.com>
---
.../bindings/misc/qemu,pvpanic-mmio.yaml | 33 +++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc/qemu,pvpanic-mmio.yaml
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..22d1333f9c2d
--- /dev/null
+++ b/Documentation/devicetree/bindings/misc/qemu,pvpanic-mmio.yaml
@@ -0,0 +1,33 @@
+# 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 <peng.hao2@zte.com.cn>
+
+properties:
+ compatible:
+ const: qemu,pvpanic-mmio
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ pvpanic@9060000 {
+ compatible = "qemu,pvpanic-mmio";
+ reg = <0x0 0x9060000 0x0 0x2>;
+ };
\ No newline at end of file
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: misc: add YAML binding for qemu,pvpanic-mmio
2026-05-20 16:48 [PATCH] dt-bindings: misc: add YAML binding for qemu,pvpanic-mmio Rohan Mithari
@ 2026-05-20 19:13 ` Rob Herring (Arm)
2026-05-21 10:25 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2026-05-20 19:13 UTC (permalink / raw)
To: Rohan Mithari; +Cc: conor+dt, krzk+dt, linux-kernel, peng.hao2, devicetree
On Wed, 20 May 2026 22:18:45 +0530, Rohan Mithari wrote:
> Signed-off-by: Rohan Mithari <rohanmithari09@gmail.com>
> ---
> .../bindings/misc/qemu,pvpanic-mmio.yaml | 33 +++++++++++++++++++
> 1 file changed, 33 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/misc/qemu,pvpanic-mmio.yaml
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
./Documentation/devicetree/bindings/misc/qemu,pvpanic-mmio.yaml:33:7: [error] no new line character at the end of file (new-line-at-end-of-file)
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/misc/qemu,pvpanic-mmio.example.dtb: pvpanic@9060000 (qemu,pvpanic-mmio): reg: [[0, 151388160], [0, 2]] is too long
from schema $id: http://devicetree.org/schemas/misc/qemu,pvpanic-mmio.yaml
doc reference errors (make refcheckdocs):
See https://patchwork.kernel.org/project/devicetree/patch/20260520164846.637522-1-rohanmithari09@gmail.com
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: misc: add YAML binding for qemu,pvpanic-mmio
2026-05-20 16:48 [PATCH] dt-bindings: misc: add YAML binding for qemu,pvpanic-mmio Rohan Mithari
2026-05-20 19:13 ` Rob Herring (Arm)
@ 2026-05-21 10:25 ` Krzysztof Kozlowski
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-05-21 10:25 UTC (permalink / raw)
To: Rohan Mithari
Cc: robh, krzk+dt, conor+dt, devicetree, linux-kernel, peng.hao2
On Wed, May 20, 2026 at 10:18:45PM +0530, Rohan Mithari wrote:
> Signed-off-by: Rohan Mithari <rohanmithari09@gmail.com>
> ---
Every guide for kernel development will tell you to run checkpatch.
There are other steps necessary, but some guides are skipping these.
They never skip checkpatch, though.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-05-21 10:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-20 16:48 [PATCH] dt-bindings: misc: add YAML binding for qemu,pvpanic-mmio Rohan Mithari
2026-05-20 19:13 ` Rob Herring (Arm)
2026-05-21 10:25 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome