Skip to content

Arthur 2u fan support - #351

Open
amd-knieman wants to merge 2 commits into
amd/dev-6.18from
arthur-2u-fan-support
Open

amd-knieman wants to merge 2 commits into
amd/dev-6.18from
arthur-2u-fan-support

Conversation

@amd-knieman

Copy link
Copy Markdown
Collaborator

Add 2U fan board support via DTS and driver changes.

Add 2U fan board support as the option `fan_sel_gpio` 254.

This enables the following pin configuration:
PWM0
FANIN9
FANIN10
GPIO03
PWM4
FANIN13
FANIN14
GPIO07
PWM8
FANIN1
FANIN2
GPIO13
GPIO14
GPIO15
GPIO16
GPIO17

In the event the device DNE, fail now in probe instead of silently
failing.

Tested:
Flash on unit, could accurately read and control all related fan speeds
via SYSFS.

Signed-off-by: Kyle Nieman <Kyle.Nieman@amd.com>
Create a super set DTS for which both the Churro and 2U fan board are
described. This allows a single DTS to be used for both configurations.

In the event that the board isn't present, those devices will fail to
be probed.

Tested:
Could see the appropriate drivers bound when the Churro board and
2U fan board were installed. Attempting to access mux channels that DNE
on the Churro fail gracefully.

Signed-off-by: Kyle Nieman <Kyle.Nieman@amd.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant