Skip to content

lan78xx: Read initial EEE status from DT #6219

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

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

pelwell
Copy link
Contributor

@pelwell pelwell commented Jun 11, 2024

Add two new DT properties:

  • microchip,eee-enabled - a boolean to enable EEE
  • microchip,tx-lpi-timer - time in microseconds to wait before entering low power state

@pelwell
Copy link
Contributor Author

pelwell commented Jun 11, 2024

I believe this should be the 6.10 equivalent of applying 61d24cb, d9d641b and 7512299.

@pelwell pelwell marked this pull request as draft June 11, 2024 16:36
@pelwell
Copy link
Contributor Author

pelwell commented Jun 11, 2024

I have a feeling this patch can be dropped.

Add two new DT properties:
* microchip,eee-enabled  - a boolean to enable EEE
* microchip,tx-lpi-timer - time in microseconds to wait before entering
                           low power state

Signed-off-by: Phil Elwell <[email protected]>
@pelwell pelwell marked this pull request as ready for review June 12, 2024 15:16
Disabling tx_lpi or eee should not cause the value of tx_lpi_timer to
be lost, even though it is not useful until they are re-enabled.

Signed-off-by: Phil Elwell <[email protected]>
@pelwell
Copy link
Contributor Author

pelwell commented Jun 12, 2024

Nope, it's still necessary. The follow-up patch is an improvement on the original in that it preserves the value of tx_lpi_timer across the disablement of eee and/or tx_lpi.

@pelwell pelwell merged commit f12e76c into raspberrypi:rpi-6.10.y Jun 12, 2024
11 of 12 checks passed
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.

2 participants