mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
4569820881
Cleanup bindings dropping the last remaining unneeded quotes. With this, the check for this can be enabled in yamllint. Acked-by: Miquel Raynal <miquel.raynal@bootlin.com> # for mtd Acked-by: Sudeep Holla <sudeep.holla@arm.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Wolfram Sang <wsa@kernel.org> # for AT24/I2C Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20230823183749.2609013-1-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
63 lines
1.3 KiB
YAML
63 lines
1.3 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/ipmi/ipmi-smic.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: IPMI device
|
|
|
|
description: IPMI device bindings
|
|
|
|
maintainers:
|
|
- Corey Minyard <cminyard@mvista.com>
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- ipmi-kcs
|
|
- ipmi-smic
|
|
- ipmi-bt
|
|
|
|
device_type:
|
|
items:
|
|
- const: ipmi
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
description: Interface is polled if this property is omitted.
|
|
maxItems: 1
|
|
|
|
reg-size:
|
|
description: The access width of the register in bytes. Defaults to 1.
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
enum: [1, 2, 4, 8]
|
|
|
|
reg-spacing:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: The number of bytes between register starts. Defaults to 1.
|
|
|
|
reg-shift:
|
|
description: |
|
|
The amount of bits to shift the register content to the right to get
|
|
the data into bit zero.
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
maximum: 56
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
smic@fff3a000 {
|
|
compatible = "ipmi-smic";
|
|
device_type = "ipmi";
|
|
reg = <0xfff3a000 0x1000>;
|
|
interrupts = <0 24 4>;
|
|
reg-size = <4>;
|
|
reg-spacing = <4>;
|
|
};
|