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

Allow additional DT change(s) depending on arbitrary cmdline param #175

Open
vknecht opened this issue May 8, 2022 · 1 comment
Open

Comments

@vknecht
Copy link
Member

vknecht commented May 8, 2022

idol347 has variants with different pinctrl setting for tfa9897 codec (mainly gpios numbers)
depending on androidboot.BOARD_ID value (BIT(1) being set or not).
Ideally, lk2nd would change DT according to this value.

How should such feature be implemented ?
Some guidelines would be nice, and I can get a go at it.

@TravMurav
Copy link
Member

The androidboot.BOARD_ID somehow feels like a "board revision" which would logically suggest having a vendor-device-r00.dts and vendor-device-r01.dts that would use a common dtsi. I guess the PinePhone (sun50i-a64-pinephone.dtsi) would be a good example for that. Then the lk2nd would have to match by an extra rule.

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

No branches or pull requests

2 participants