Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: ipmi: aspeed: Introduce a v2 binding for KCS

The v2 binding utilises reg and renames some of the v1 properties.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Message-Id: <8aec8994bbe1186d257b0a712e13cf914c5ebe35.1576462051.git-series.andrew@aj.id.au>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>

authored by

Andrew Jeffery and committed by
Corey Minyard
782da920 32830a05

+14 -6
+14 -6
Documentation/devicetree/bindings/ipmi/aspeed-kcs-bmc.txt
··· 1 - * Aspeed KCS (Keyboard Controller Style) IPMI interface 1 + # Aspeed KCS (Keyboard Controller Style) IPMI interface 2 2 3 3 The Aspeed SOCs (AST2400 and AST2500) are commonly used as BMCs 4 4 (Baseboard Management Controllers) and the KCS interface can be 5 5 used to perform in-band IPMI communication with their host. 6 6 7 + ## v1 7 8 Required properties: 8 9 - compatible : should be one of 9 10 "aspeed,ast2400-kcs-bmc" ··· 13 12 - kcs_chan : The LPC channel number in the controller 14 13 - kcs_addr : The host CPU IO map address 15 14 15 + ## v2 16 + Required properties: 17 + - compatible : should be one of 18 + "aspeed,ast2400-kcs-bmc-v2" 19 + "aspeed,ast2500-kcs-bmc-v2" 20 + - reg : The address and size of the IDR, ODR and STR registers 21 + - interrupts : interrupt generated by the controller 22 + - aspeed,lpc-io-reg : The host CPU LPC IO address for the device 16 23 17 24 Example: 18 25 19 - kcs3: kcs3@0 { 20 - compatible = "aspeed,ast2500-kcs-bmc"; 21 - reg = <0x0 0x80>; 26 + kcs3: kcs@24 { 27 + compatible = "aspeed,ast2500-kcs-bmc-v2"; 28 + reg = <0x24 0x1>, <0x30 0x1>, <0x3c 0x1>; 29 + aspeed,lpc-reg = <0xca2>; 22 30 interrupts = <8>; 23 - kcs_chan = <3>; 24 - kcs_addr = <0xCA2>; 25 31 status = "okay"; 26 32 };