-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
DAC overlays #4154
DAC overlays #4154
Conversation
pifi-bz
commented
Feb 18, 2021
- as discussed.
Signed-off-by: David Knell <david.knell@gmail.com>
Signed-off-by: David Knell <david.knell@gmail.com>
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.
I got my wish with finding something to comment on, but it's all minor stuff.
@@ -130,6 +130,8 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \ | |||
pibell.dtbo \ | |||
pifacedigital.dtbo \ | |||
pifi-40.dtbo \ | |||
pifi-dac-zero.dtbo \ | |||
pifi-dac-hd.dtbo \ |
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.
Alphabetical order, please.
Params: <None> | ||
|
||
|
||
Name: pifi-dac-hd |
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.
Order again.
/plugin/; | ||
|
||
/ { | ||
compatible = "brcm,bcm2708"; |
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.
Please use "brcm,bcm2835"
.
simple-audio-card,name = "PiFi-DAC-HD"; | ||
status="okay"; | ||
|
||
playback_link: simple-audio-card,dai-link@1 { |
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.
FYI, if nothing references a label (e.g. &playback_link
) in an overlay and it isn't exported then it serves no purpose. The same goes for p_cpu_dai
and p_codec_dai
.
__overlay__ { | ||
compatible = "simple-audio-card"; | ||
simple-audio-card,name = "PiFi-DAC-HD"; | ||
status="okay"; |
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.
It's a bit picky, but the rest of the overlay is so nicely formatted that the lack of spaces here stands out.
|
||
status = "okay"; | ||
|
||
playback_link: simple-audio-card,dai-link@1 { |
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.
Same comment about unused labels.
target = <&i2s>; | ||
__overlay__ { | ||
status = "okay"; | ||
}; |
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.
This line looks like a mixture of spaces and TABs - not a crime (unlike in the README), just a bit ugly.
Ooh dear. These should be all tidied up in the latest commit - are you OK with said commit being added to this pull request, or should I redo from start (as my Commodore PET used to say..) |
If you are creating these commit in the GitHub GUI then do it any way you like and I'll squash them all. If you're creating the PRs on the command line and pushing them then the general way to update a PR is:
|
Signed-off-by: David Knell <david.knell@gmail.com>
Signed-off-by: David Knell <david.knell@gmail.com>
Signed-off-by: David Knell <david.knell@gmail.com>
How's that? |
@@ -3,23 +3,23 @@ | |||
/plugin/; | |||
|
|||
/ { | |||
compatible = "brcm,bcm2708"; | |||
compatible = "brcm,bcm2735"; |
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.
Oooh - so close.
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.
Ouch. Thank you, again, for your patience.
Signed-off-by: David Knell <david.knell@gmail.com>
kernel: PiFi DAC overlays See: raspberrypi/linux#4154 kernel: staging: rpivid: Fix crash when CMA alloc fails See: raspberrypi/linux#4152 kernel: Imx477 long exposure control See: raspberrypi/linux#4150 kernel: configs: Change CONFIG_BLK_DEV_NVME=y for 2711 See: raspberrypi/linux#4164 kernel: Some fixes to make imx290/imx327 exposure and vblank updates work correctly See: raspberrypi/linux#4153 kernel: KMS VGA666 overlay See: raspberrypi/linux#4141 kernel: gpio-fsm: Fix shutdown timeout handling kernel: configs: Add various missing IPV6 modules See: raspberrypi/linux#4144
kernel: PiFi DAC overlays See: raspberrypi/linux#4154 kernel: staging: rpivid: Fix crash when CMA alloc fails See: raspberrypi/linux#4152 kernel: Imx477 long exposure control See: raspberrypi/linux#4150 kernel: configs: Change CONFIG_BLK_DEV_NVME=y for 2711 See: raspberrypi/linux#4164 kernel: Some fixes to make imx290/imx327 exposure and vblank updates work correctly See: raspberrypi/linux#4153 kernel: KMS VGA666 overlay See: raspberrypi/linux#4141 kernel: gpio-fsm: Fix shutdown timeout handling kernel: configs: Add various missing IPV6 modules See: raspberrypi/linux#4144
Adding overlays for PiFi DAC Zero and PiFi DAC HD. Signed-off-by: David Knell <david.knell@gmail.com>
Adding overlays for PiFi DAC Zero and PiFi DAC HD. Signed-off-by: David Knell <david.knell@gmail.com>
Adding overlays for PiFi DAC Zero and PiFi DAC HD. Signed-off-by: David Knell <david.knell@gmail.com>
Adding overlays for PiFi DAC Zero and PiFi DAC HD. Signed-off-by: David Knell <david.knell@gmail.com>
Adding overlays for PiFi DAC Zero and PiFi DAC HD. Signed-off-by: David Knell <david.knell@gmail.com>
Adding overlays for PiFi DAC Zero and PiFi DAC HD. Signed-off-by: David Knell <david.knell@gmail.com>
Adding overlays for PiFi DAC Zero and PiFi DAC HD. Signed-off-by: David Knell <david.knell@gmail.com>
Adding overlays for PiFi DAC Zero and PiFi DAC HD. Signed-off-by: David Knell <david.knell@gmail.com>
Adding overlays for PiFi DAC Zero and PiFi DAC HD. Signed-off-by: David Knell <david.knell@gmail.com>
Adding overlays for PiFi DAC Zero and PiFi DAC HD. Signed-off-by: David Knell <david.knell@gmail.com>
Adding overlays for PiFi DAC Zero and PiFi DAC HD. Signed-off-by: David Knell <david.knell@gmail.com>
Adding overlays for PiFi DAC Zero and PiFi DAC HD. Signed-off-by: David Knell <david.knell@gmail.com>