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

Load correct EEPROM based on PA LNA Type #845

Open
Rondom opened this issue Nov 27, 2023 · 2 comments
Open

Load correct EEPROM based on PA LNA Type #845

Rondom opened this issue Nov 27, 2023 · 2 comments

Comments

@Rondom
Copy link

Rondom commented Nov 27, 2023

Different EEPROM files are required to achieve best performance depending on the power amplifier (PA) and low noise amplifier (LNA) type which, as far as I understand, can be ePAeLNA, iPAiLNA, iPAeLNA or ePAiLNA, where e and i stand for internal and external respectively.

In case no EEPROM is available via NVMEM, we need to load the correct EEPROM file from the file system. So, provided, that there is no better way, we would probably need a property in device-tree to specify the PA/LNA type so that the fitting EEPROM file can be loaded.

@DragonBluep
Copy link

You can use "mediatek,eeprom-data" property.

@Rondom
Copy link
Author

Rondom commented Apr 28, 2024

I had considered that but it will take precedence over NVMEM if I remember it correctly. For the use case where it is meant as a fallback in case NVMEM is damaged or missing, a behaviour that is the other way around is desirable.

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

No branches or pull requests

2 participants