diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-10-21 18:09:38 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-25 07:05:45 +0300 |
commit | a272bcb9e5ef0cce6bbfe52e52c9fc69bb90e1ca (patch) | |
tree | 2a1ad1625d038439da281a301c71654a48ba20e0 /Documentation | |
parent | 1b3d6ecd4157ed824842db6387454e85a79ca00e (diff) | |
download | linux-a272bcb9e5ef0cce6bbfe52e52c9fc69bb90e1ca.tar.xz |
dt-bindings: net: sff,sfp: update binding
Add a minimum and default for the maximum-power-milliwatt option;
module power levels were originally up to 1W, so this is the default
and the minimum power level we can have for a functional SFP cage.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/net/sff,sfp.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/net/sff,sfp.yaml b/Documentation/devicetree/bindings/net/sff,sfp.yaml index 06c66ab81c01..231c4d75e4b1 100644 --- a/Documentation/devicetree/bindings/net/sff,sfp.yaml +++ b/Documentation/devicetree/bindings/net/sff,sfp.yaml @@ -22,7 +22,8 @@ properties: phandle of an I2C bus controller for the SFP two wire serial maximum-power-milliwatt: - maxItems: 1 + minimum: 1000 + default: 1000 description: Maximum module power consumption Specifies the maximum power consumption allowable by a module in the slot, in milli-Watts. Presently, modules can |