From mboxrd@z Thu Jan 1 00:00:00 1970 From: Quan Nguyen Date: Fri, 22 Apr 2022 11:16:59 +0700 Subject: [PATCH v7 2/3] bindings: ipmi: Add binding for SSIF BMC driver In-Reply-To: <20220422040803.2524940-3-quan@os.amperecomputing.com> References: <20220422040803.2524940-1-quan@os.amperecomputing.com> <20220422040803.2524940-3-quan@os.amperecomputing.com> Message-ID: <153da61e-dc9d-467e-221c-b48d6f54c6c2@os.amperecomputing.com> List-Id: To: linux-aspeed@lists.ozlabs.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Added Krzysztof Kozlowski as I'm not aware of the email change - Quan On 22/04/2022 11:08, Quan Nguyen wrote: > Add device tree binding document for the SSIF BMC driver. > > Signed-off-by: Quan Nguyen > --- > v7: > + Change compatible string from "ampere,ssif-bmc" to "ssif-bmc" [Jae] > > v6: > + None > > v5: > + None > > v4: > + Fix warning with dt_binding_check [Rob] > + Change aspeed-ssif-bmc.yaml to ssif-bmc.yaml [Quan] > > v3: > + Switched to use DT schema format [Rob] > > v2: > + None > > .../devicetree/bindings/ipmi/ssif-bmc.yaml | 38 +++++++++++++++++++ > 1 file changed, 38 insertions(+) > create mode 100644 Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml > > diff --git a/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml b/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml > new file mode 100644 > index 000000000000..02b662d780bb > --- /dev/null > +++ b/Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml > @@ -0,0 +1,38 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/ipmi/ssif-bmc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: SSIF IPMI BMC interface > + > +description: SSIF IPMI BMC device bindings > + > +maintainers: > + - Quan Nguyen > + > +properties: > + compatible: > + enum: > + - ssif-bmc > + > + reg: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + i2c { > + #address-cells = <1>; > + #size-cells = <0>; > + > + ssif-bmc at 10 { > + compatible = "ssif-bmc"; > + reg = <0x10>; > + }; > + };