-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
rockchip64: revert rk3308 analog codec to vendor code #7598
Conversation
Sorry, misclicked while trying to do something else. No idea why GitHub didn't add a confirmation for that action on mobile. |
fe85ebb
to
d2a3e5d
Compare
@paolosabatino
|
Another oddness after applying this patch, near the end of poweroff:
|
It may be that this poweroff bug crept in with the very latest revision to the armbian main branch. I'll test that shortly. |
This poweroff panic bug does not appear with the latest main branch |
Something off must be happening in the compilation process, perhaps some caches or whatever, because this line:
is telling that the compiled dtb has not been refreshed during the compilation process for some reason, but the corrections to the source device tree are indeed in this PR: https://github.com/armbian/build/pull/7598/files#diff-02b30c6cbb556bbeb9b9b78da16231fc0b50e7e5bc2d60d960843a5434fbed73R24 It is something that I experienced as well and it drove me crazy. At the end I deleted Now, after cleaning up and compiling with this command line:
I go into
|
Sometimes ccache can't handle changes in devicetree well. Usually I delete the dtb file at |
Yep. The overly optimistic caching system got both of us again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RockPI-S audio works again with this reversion.
Please merge the PR.
I earlier said that the mainline mixer's HeadPhone (HPOUT) gain control did nothing.
I now suspect that RockChip's POE/audio hat includes an external headphone amp driven by the DAC LINE out.
So, the only real showstopper for the mainline acodec is that its handling of the "DAC HPMI" control.
I now also got a RockPi-S here (and the Core SoM too), and what I noticed is that the pinout provides only two pins for the DAC Line out. Looking at the RockPi-S pinout, Headphones pins does not exist on the bare RockPi-S, so the Headphones you get on the HAT are probably derived from the Line out. I don't know, though, if it is possible to switch the Line Out pins to Headphone and viceversa via software, but I guess that would be quite dangerous. |
Description
Due to kernel 6.12 becoming "current" for rockchip64 with #7566, restore the rk3308 sound codec driver from vendor code because mainline driver does not support
ACODEC_VERSION_B
variant found in rk3308b SoCs.Nothing else is affected, only rk3308 boards.
For the attention of @brentr
How Has This Been Tested?
Checklist: