dt-binding: ipmi: add fallback to npcm845 compatible
Subsystems (3)
Tomer Maimon
maintainerPATCH 1/1 dt-binding: ipmi: add fallback to npcm845 compatible
Add to npcm845 KCS compatible string a fallback to npcm750 KCS compatible string.
--- Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt +1 -1
@@ -7,7 +7,7 @@ used to perform in-band IPMI communication with their host. Required properties: - compatible : should be one of "nuvoton,npcm750-kcs-bmc" - "nuvoton,npcm845-kcs-bmc" + "nuvoton,npcm845-kcs-bmc", "nuvoton,npcm750-kcs-bmc" - interrupts : interrupt generated by the controller - kcs_chan : The KCS channel number in the controller
Signature · 1 line
2.33.0
Dear Tomer,
Am 04.08.22 um 16:55 schrieb Tomer Maimon:
Quoted 13 lines
Add to npcm845 KCS compatible string a fallback to npcm750 KCS compatible string.
Signed-off-by Tomer Maimon <[email protected]>--- Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt +0
-0
Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt used to perform in-band IPMI communication with their host. · line 10
Quoted 5 lines
Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt +1
-1@@ -7,7 +7,7 @@ used to perform in-band IPMI communication with their host. Required properties: - compatible : should be one of "nuvoton,npcm750-kcs-bmc" - "nuvoton,npcm845-kcs-bmc" + "nuvoton,npcm845-kcs-bmc", "nuvoton,npcm750-kcs-bmc"
Isn’t the added string exactly the same as the one below the compatible line?
Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt used to perform in-band IPMI communication with their host. · line 12
Quoted 2 lines
Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt +0
-0- interrupts : interrupt generated by the controller - kcs_chan : The KCS channel number in the controller
Kind regards,
Paul
Tomer Maimon
maintainerHi Paul,
Quoted 13 lines · Paul Menzel
Dear Tomer,
Am 04.08.22 um 16:55 schrieb Tomer Maimon:
Quoted 8 lines
Add to npcm845 KCS compatible string a fallback to npcm750 KCS compatible string.
Signed-off-by Tomer Maimon <[email protected]>--- Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 13 lines
Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt used to perform in-band IPMI communication with their host. · line 10
Quoted 10 lines
Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt +1
-1@@ -7,7 +7,7 @@ used to perform in-band IPMI communication with their host. Required properties: - compatible : should be one of "nuvoton,npcm750-kcs-bmc" - "nuvoton,npcm845-kcs-bmc" + "nuvoton,npcm845-kcs-bmc", "nuvoton,npcm750-kcs-bmc"Isn’t the added string exactly the same as the one below the compatible line?
it is not the same, it describes a fallback to NPCM7XX KCS Since NPCM8XX KCS and NPCM7XX KCS modules are similar.
Quoted 8 lines
Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt used to perform in-band IPMI communication with their host. · line 12
Quoted 3 lines
Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt +0
-0- interrupts : interrupt generated by the controller - kcs_chan : The KCS channel number in the controllerKind regards,
Paul
Best regards,
Tomer
Quoted 2 lines · Tomer Maimon
Add to npcm845 KCS compatible string a fallback to npcm750 KCS compatible string.
It's easily visible in the code what you are doing, so instead you must explain why you are doing it.
Best regards,
Krzysztof