Message ID | 1675756199-5917-6-git-send-email-ssengar@linux.microsoft.com |
---|---|
State | New |
Headers | show |
Series | [v4,1/6] drivers/clocksource/hyper-v: non ACPI support in hyperv clock | expand |
On Tue, Feb 07, 2023 at 12:34:58PM -0600, Rob Herring wrote: > On Tue, Feb 07, 2023 at 07:00:23AM -0600, Rob Herring wrote: > > > > On Mon, 06 Feb 2023 23:49:58 -0800, Saurabh Sengar wrote: > > > Add dt-bindings for Hyper-V VMBus. > > > > > > Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com> > > > --- > > > .../bindings/hypervisor/microsoft,vmbus.yaml | 48 ++++++++++++++++++++++ > > > MAINTAINERS | 1 + > > > 2 files changed, 49 insertions(+) > > > create mode 100644 Documentation/devicetree/bindings/hypervisor/microsoft,vmbus.yaml > > > > > > > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' > > on your patch (DT_CHECKER_FLAGS is new in v5.13): > > > > yamllint warnings/errors: > > > > dtschema/dtc warnings/errors: > > make[1]: *** Deleting file 'Documentation/devicetree/bindings/serial/brcm,bcm6345-uart.example.dtb' > > make[1]: *** Waiting for unfinished jobs.... > > make: *** [Makefile:1508: dt_binding_check] Error 2 > > You can ignore this, it's a problem with the CI job. > > > > > doc reference errors (make refcheckdocs): > > Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/virtio/ > > MAINTAINERS: Documentation/devicetree/bindings/virtio/ > > But this probably needs to be fixed. I have updated MAINTAINERS as part of 4/6 patch, and there is no mention of Documentation/devicetree/bindings/virtio/ in MAINTAINERS post 4/6 patch. I have ran the tool locally as well on top of 4/6 and then 5/6 but it never reported this error. Anyway as per your latest comment I should be moving VMBus to bus folder instead, so no need to worry about this. Regards, Saurabh > > Rob
diff --git a/Documentation/devicetree/bindings/hypervisor/microsoft,vmbus.yaml b/Documentation/devicetree/bindings/hypervisor/microsoft,vmbus.yaml new file mode 100644 index 0000000..a9c43a6 --- /dev/null +++ b/Documentation/devicetree/bindings/hypervisor/microsoft,vmbus.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hypervisor/microsoft,vmbus.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microsoft Hyper-V VMBus + +maintainers: + - Saurabh Sengar <ssengar@linux.microsoft.com> + +description: + VMBus is a software bus that implement the protocols for communication + between the root or host OS and guest OSs (virtual machines). + +properties: + compatible: + const: microsoft,vmbus + + ranges: true + + '#address-cells': + const: 2 + + '#size-cells': + const: 1 + +required: + - compatible + - ranges + - '#address-cells' + - '#size-cells' + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + vmbus@ff0000000 { + #address-cells = <2>; + #size-cells = <1>; + compatible = "microsoft,vmbus"; + ranges = <0x0f 0xf0000000 0x0f 0xf0000000 0x10000000>; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 27a5650..669f1c1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9490,6 +9490,7 @@ S: Supported T: git git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git F: Documentation/ABI/stable/sysfs-bus-vmbus F: Documentation/ABI/testing/debugfs-hyperv +F: Documentation/devicetree/bindings/hypervisor/microsoft,vmbus.yaml F: Documentation/virt/hyperv F: Documentation/networking/device_drivers/ethernet/microsoft/netvsc.rst F: arch/arm64/hyperv
Add dt-bindings for Hyper-V VMBus. Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com> --- .../bindings/hypervisor/microsoft,vmbus.yaml | 48 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/hypervisor/microsoft,vmbus.yaml