-
Notifications
You must be signed in to change notification settings - Fork 924
Migrate ADSP to 6.18 #3101
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
Draft
pamolloy
wants to merge
55
commits into
adsp-6.18.0-y
Choose a base branch
from
adsp-6.18.0/philip/rebase-adsp-6.12.0
base: adsp-6.18.0-y
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Migrate ADSP to 6.18 #3101
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Only supports the ADZS-SC589-MINI Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Signed-off-by: UtsavAgarwalADI <utsav.agarwal@analog.com>
Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com> Signed-off-by: Arturs Artamonovs <arturs.artamonovs@analog.com>
Co-developed-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com> Signed-off-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com> Co-developed-by: Greg Malysa <greg.malysa@timesys.com> Signed-off-by: Greg Malysa <greg.malysa@timesys.com> Signed-off-by: Utsav Agarwal <Utsav.Agarwal@analog.com> Signed-off-by: Arturs Artamonovs <arturs.artamonovs@analog.com>
Signed-off-by: Arturs Artamonovs <arturs.artamonovs@analog.com>
Adding SoC audio support for the following modes: - ASoC (linux only audio) - SHARC ALSA (Hybrid Audio) - SHARC Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
GPIO works via PINT, which in turn makes it into a dependency on both, hardware as well as software. Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Adding glue layer for adsp platforms sc57x/sc58x. This is enables support for the following: * usbboot: Mount and boot into file systems contained on USB devices by switching OTG to host mode. * usb gadget audio: Utilize linux's USB gadget for streaming audio from another device by switching OTG to device mode. Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Co-developed-by: Greg Malysa <malysagreg@gmail.com> Signed-off-by: Greg Malysa <malysagreg@gmail.com> Co-developed-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com> Signed-off-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com> Co-developed-by: Caleb Ethridge <caleb.ethridge@analog.com> Signed-off-by: Caleb Ethridge <caleb.ethridge@analog.com> Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com> Signed-off-by: Arturs Artamonovs <arturs.artamonovs@analog.com>
Signed-off-by: UtsavAgarwalADI <utsav.agarwal@analog.com>
Adding device tree support for sc594-som-ezlite Signed-off-by: UtsavAgarwalADI <utsav.agarwal@analog.com>
The only evaluation board for the ADSP-SC573 was named EZKIT and EZLITE in different places Signed-off-by: UtsavAgarwalADI <utsav.agarwal@analog.com>
Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
… carrier Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
…EZLITE carrier Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
… EZKIT carrier Signed-off-by: Philip Molloy <philip.molloy@analog.com>
…LITE carrier Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
c85eae8 to
1c71d22
Compare
Update the driver to match the new `void` return type and remove the useless `return 0;`. The `remove` callback in `struct platform_driver` has transitioned to returning `void` instead of `int`. This transition started with commit 5c5a768 ("platform: Provide a remove callback that returns no value"), continued with commit 0edb555 ("platform: Make platform_driver::remove() return void"), and was finalized in commit e70140b ("Get rid of "remove_new" relic from platform driver struct"). Fixes: f72ed8b ("sound: soc: adi: Add ALSA support for ADSP-SC598") Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Update the driver to match the new `void` return type and remove the useless `return 0;`. The `remove` callback in `struct platform_driver` has transitioned to returning `void` instead of `int`. This transition started with commit 5c5a768 ("platform: Provide a remove callback that returns no value"), continued with commit 0edb555 ("platform: Make platform_driver::remove() return void"), and was finalized in commit e70140b ("Get rid of "remove_new" relic from platform driver struct"). Fixes: f72ed8b ("sound: soc: adi: Add ALSA support for ADSP-SC598") Signed-off-by: Philip Molloy <philip.molloy@analog.com>
Update `adsp_gpio_set_value` to return `int` and return 0 to match the expected function signature. The `set` callback in `struct gpio_chip` now returns `int` instead of `void`. This change was finalized in recent kernel updates where the legacy `void` return callbacks were removed and the integer-returning variants (`set_rv`) were renamed back to `set`. Fixes: 802ae97 ("gpio: Add GPIO port driver for ADSP-SC5xxx SoCs") Signed-off-by: Philip Molloy <philip.molloy@analog.com>
The ASoC core has removed the old DAI format macros (SND_SOC_DAIFMT_CBM_CFM, etc.) in favor of the new Provider/Consumer terminology (SND_SOC_DAIFMT_CBP_CFP). Update the adau1962 driver to use the new macros to fix compilation errors. Fixes: 6422edf ("sound: soc: adi: Add ALSA support for ADSP-SC598") Signed-off-by: Philip Molloy <philip.molloy@analog.com>
The ASoC core has removed the old DAI format macros (SND_SOC_DAIFMT_CBM_CFM, etc.) in favor of the new Provider/Consumer terminology (SND_SOC_DAIFMT_CBP_CFP). Update the sc5xx-i2s and sc5xx-asoc-card drivers to use the new macros to fix compilation errors. Fixes: 6422edf ("sound: soc: adi: Add ALSA support for ADSP-SC598") Signed-off-by: Philip Molloy <philip.molloy@analog.com>
del_timer() has been removed from the kernel API. Use timer_delete() instead. Fixes: 325ef9c ("serial: Add UART driver for SC5xx SoCs") Signed-off-by: Philip Molloy <philip.molloy@analog.com>
devm_spi_alloc_master() has been removed/renamed to devm_spi_alloc_host(). Update the driver to use the new API. Fixes: a0ce7f8 ("spi: Add v3 SPI controller support for ADSP-SC5xx") Signed-off-by: Philip Molloy <philip.molloy@analog.com>
The .remove_new callback has been removed after the transition of .remove callback to return void is complete. Update the driver to use .remove. Fixes: aca6a1b ("net: stmmac: dwmac-adi: Add support for ADSP-SC598") Signed-off-by: Philip Molloy <philip.molloy@analog.com>
The .remove_new callback has been removed after the transition of .remove callback to return void is complete. Update the driver to use .remove. Fixes: c2cd6b4 ("misc: sram: adi: Add drivers for ADSP-SCxxx SoCs") Signed-off-by: Philip Molloy <philip@philipmolloy.com>
1c71d22 to
60b1254
Compare
Fixes: fa46a50 ("usb: musb: adi: Adding adsp musb glue layer") Signed-off-by: Philip Molloy <philip@philipmolloy.com>
The .remove_new callback has been removed after the transition of .remove callback to return void is complete. Update the driver to use .remove. Fixes: fa46a50 ("usb: musb: adi: Adding adsp musb glue layer") Signed-off-by: Philip Molloy <philip@philipmolloy.com> Signed-off-by: Philip Molloy <philip@philipmolloy.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is just a quick test, rebasing onto 6.18. The conflicts were very minor, just in Makefiles and the like. Still a few compilation errors left to clean up.
FixesFixesto point to ADI commits