Skip to content

Modify overlay and add driver for Chipdip DAC - #4476

Merged
pelwell merged 3 commits into
raspberrypi:rpi-5.10.yfrom
chipdipru:rpi-5.10.y
Jul 27, 2021
Merged

pelwell merged 3 commits into
raspberrypi:rpi-5.10.yfrom
chipdipru:rpi-5.10.y

Conversation

@chipdipru

Copy link
Copy Markdown

The overlay has been changed and driver has been added for Chipdip DAC, tested on Raspberry PI3.

@pelwell pelwell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There are some cosmetic (whitespace) issues, but basically this looks fine. Please fix the whitespace, then squash the changes to make three commits:

  1. The driver and its Makefile and Kconfig changes.
  2. The overlay and its Makefile and README changes.
  3. The updated _defconfig files with "SND_BCM2708_SOC_CHIPDIP_DAC=m" (you can grab this from here: pelwell@2476771)

Comment thread sound/soc/bcm/chipdip-dac.c Resolved
Comment thread sound/soc/bcm/chipdip-dac.c Resolved
@chipdipru

Copy link
Copy Markdown
Author

Phil, thanks for the review, corrections have been made.

@pelwell

pelwell commented Jul 26, 2021

Copy link
Copy Markdown
Contributor

The driver C file has ended up with DOS line endings (CR+LF), whereas Linux line endings should be just LF. Also, delete any trailing whitespace.

Once you've done that, squash the commits down to the three I described above.

@pelwell

pelwell commented Jul 26, 2021

Copy link
Copy Markdown
Contributor

I've fixed up the commits for you. Write three commit messages here in code sections - like this:

First commit message

This is the first commit.

Signed-off-by: User Name <user@email.com>

I can graft them on and merge the PR.

@chipdipru

chipdipru commented Jul 27, 2021 •

Copy link
Copy Markdown
Author

Thank you. I am not sure I understand what I shall do. Please correct me if something is wrong.

Update and rename chipdip-i2s-master-dac-overlay

Simple card fragment removed, GPIO fragment added.

Signed-off-by: Evgenij Sapunov <evgenij.sapunov@chipdip.ru>

Add chipdip-dac driver

Driver chipdip-dac.c added into sound/soc/bcm/, files sound/soc/bcm/Kconfig and sound/soc/bcm/Makefile updated

Signed-off-by: Evgenij Sapunov <evgenij.sapunov@chipdip.ru>

Update _defconfig files

Files arch/arm/configs/bcm2709_defconfig, arch/arm/configs/bcm2711_defconfig, arch/arm/configs/bcmrpi_defconfig, arch/arm64/configs/bcm2711_defconfig, arch/arm64/configs/bcmrpi3_defconfig updated.

Signed-off-by: Evgenij Sapunov <evgenij.sapunov@chipdip.ru>

Simple card fragment removed, GPIO fragment added.

Signed-off-by: Evgenij Sapunov <evgenij.sapunov@chipdip.ru>
Driver chipdip-dac.c added into sound/soc/bcm/, files
sound/soc/bcm/Kconfig and sound/soc/bcm/Makefile updated.

Signed-off-by: Evgenij Sapunov <evgenij.sapunov@chipdip.ru>
Enable the driver for the ChipDip DAC soundcard.

Signed-off-by: Evgenij Sapunov <evgenij.sapunov@chipdip.ru>
@pelwell

pelwell commented Jul 27, 2021

Copy link
Copy Markdown
Contributor

That's perfect.

I'm guessing that either you are using the GitHub GUI for creating your pull requests or you haven't discovered git rebase -i. I recommend taking the time to learn how to edit and squash commits, then using git push -f to update the branch you created your PR from until it looks correct - it will save you a lot of time in the future.

@pelwell
pelwell merged commit 86729e7 into raspberrypi:rpi-5.10.y Jul 27, 2021
@chipdipru

Copy link
Copy Markdown
Author

Thank you!

popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jul 27, 2021
See: raspberrypi/linux#4478

kernel: Modify overlay and add driver for Chipdip DAC
See: raspberrypi/linux#4476

kernel: ARM: dts: Correct CM4 PHY MDIO address

kernel: brcmfmac: Try product-specific clm_blob names first
See: raspberrypi/linux#4469

kernel: overlays: Set CMA to 512MB on Pi 4 for vc4
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Jul 27, 2021
See: raspberrypi/linux#4478

kernel: Modify overlay and add driver for Chipdip DAC
See: raspberrypi/linux#4476

kernel: ARM: dts: Correct CM4 PHY MDIO address

kernel: brcmfmac: Try product-specific clm_blob names first
See: raspberrypi/linux#4469

kernel: overlays: Set CMA to 512MB on Pi 4 for vc4
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.

2 participants