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>
68 lines
1.7 KiB
YAML
68 lines
1.7 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/ipmi/ipmi-ipmb.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: IPMI IPMB device
|
|
|
|
description: IPMI IPMB device bindings
|
|
|
|
maintainers:
|
|
- Corey Minyard <cminyard@mvista.com>
|
|
|
|
properties:
|
|
compatible:
|
|
enum:
|
|
- ipmi-ipmb
|
|
|
|
device_type:
|
|
items:
|
|
- const: ipmi
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
bmcaddr:
|
|
$ref: /schemas/types.yaml#/definitions/uint8
|
|
description: The address of the BMC on the IPMB bus. Defaults to 0x20.
|
|
|
|
retry-time:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: |
|
|
Time between retries of sends, in milliseconds. Defaults to 250.
|
|
|
|
max-retries:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
description: Number of retries before a failure is declared. Defaults to 1.
|
|
|
|
slave-dev:
|
|
$ref: /schemas/types.yaml#/definitions/phandle
|
|
description: |
|
|
The slave i2c device. If not present, the main device is used. This
|
|
lets you use two devices on the IPMB, one for master and one for slave,
|
|
in case you have a slave device that can only be a slave. The slave
|
|
will receive messages and the master will transmit.
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
ipmi-ipmb@40 {
|
|
compatible = "ipmi-ipmb";
|
|
device_type = "ipmi";
|
|
reg = <0x40>;
|
|
bmcaddr = /bits/ 8 <0x20>;
|
|
retry-time = <250>;
|
|
max-retries = <1>;
|
|
};
|
|
};
|