Thread (39 messages) 39 messages, 6 authors, 2025-02-03

Re: [PATCH ethtool-next 08/14] cmis: Enable JSON output support in CMIS modules

From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-02-02 19:41:03

        "module_temperature": 37.3477,
        "module_voltage": 3.3406,
Device tree often puts the units in the property name. module_temperature_C, module_voltage_v,  
        "laser_bias_current": {
            "high_alarm_threshold": 13,
            "low_alarm_threshold": 3,
            "high_warning_threshold": 11,
            "low_warning_threshold": 5
             "high_alarm_threshold_mA": 13,

        },
        "laser_output_power": {
            "high_alarm_threshold": 3.1623,
            "low_alarm_threshold": 0.1,
            "high_warning_threshold": 1.9953,
            "low_warning_threshold": 0.1585
        },
             "high_alarm_threshold_W": 3.1623,

        "module_temperature": {
            "high_alarm_threshold": 75,
            "low_alarm_threshold": -5,
            "high_warning_threshold": 70,
            "low_warning_threshold": 0
        },
             "high_alarm_threshold_C": 75,

etc. This makes it more self contained.

	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help