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

overlays: add wm8960-soundcard overlay #4039

Merged
merged 1 commit into from
Jan 7, 2021

Conversation

shawaj
Copy link

@shawaj shawaj commented Jan 2, 2021

add overlay for waveshare wm8960 simple-audio-card

Change-type: patch
Signed-off-by: Aaron Shaw shawaj@gmail.com

@shawaj
Copy link
Author

shawaj commented Jan 2, 2021

FYI - in the readme I left the description for the master override as unsure of function - because I wasn't sure what it actually does.

Additionally, this overlay will also bring support for (they are all clones):

Copy link
Contributor

@pelwell pelwell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to understand and explain what the "master" parameter is doing - it looks wrong to me because if set to "on" it enables fragment 2 and disables fragment 3, and if "off" it disables fragment 2 and enables fragment 3, and yet both fragments are enabled by default.

arch/arm/boot/dts/overlays/README Outdated Show resolved Hide resolved
arch/arm/boot/dts/overlays/Makefile Outdated Show resolved Hide resolved
arch/arm/boot/dts/overlays/wm8960-soundcard-overlay.dts Outdated Show resolved Hide resolved
arch/arm/boot/dts/overlays/wm8960-soundcard-overlay.dts Outdated Show resolved Hide resolved
arch/arm/boot/dts/overlays/wm8960-soundcard-overlay.dts Outdated Show resolved Hide resolved
add overlay for waveshare wm8960 simple-audio-card

Change-type: patch
Signed-off-by: Aaron Shaw <shawaj@gmail.com>
@shawaj
Copy link
Author

shawaj commented Jan 7, 2021

@pelwell have updated the PR. As far as I can tell - the master override is not needed. I can't find anything in the docs for the board about using it or anything like that so I also agree that it is wrong, certainly for this board. Perhaps it is used for some other hardware that I am not aware of, but I can't see any function for it either.

@pelwell pelwell merged commit 1f085de into raspberrypi:rpi-5.4.y Jan 7, 2021
@pelwell
Copy link
Contributor

pelwell commented Jan 7, 2021

You can always add it later if a use becomes apparent.

@shawaj
Copy link
Author

shawaj commented Jan 7, 2021

agreed, thanks @pelwell

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.

None yet

2 participants