Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Darwin48V: Sync PM, led_manager, and weutil configs #357

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aalamsi22
Copy link
Contributor

Description

Platform manager

Port leds support

Added port leds support using scd-leds-darwin. Requires new bsp. See PR containing the new bsp changes for more details on testing.

Ensure write-protect (WP) is set prior to initializing the PSUs.

This is required for the pmbus kernel driver to initialize telemtry data on unsupported commands by the hardware. Enabling WP causes the driver to not consider the status register, which reports unsupported command errors, therefore preventing the issue where certain telemetry data points are omitted (in3_input, fan1_input, fan2_input.).

The default value of WP is enabled, however this issue arises when transitioning from an OS that utilizes a driver that disables WP. Therefore, the problem with the missing endpoints occurs and is only recovered manually or by powering off/on the PSUs.

              "regOffset": 16,   -> 0x10 (WP register)
              "ioBuf": [-128].    -> 0x80 (Write protect enabled)

Led manager config

No logical changes, config clean up.

Weutil config

Remove weutil support for fanspinner because it is not supported. This is because it lacks certain fields required by the Meta EEPROM format (namely, the Product Production State).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants