-
Notifications
You must be signed in to change notification settings - Fork 897
ADSP-SC598 upstream driver changes v2 #2908
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
base: adsp-6.12.38-y
Are you sure you want to change the base?
Conversation
Add ADSP-SC598 platform. Co-developed-by: Utsav Agarwal <[email protected]> Signed-off-by: Utsav Agarwal <[email protected]> Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Support custom GPIO pin configuration for non-GPIO functions. Co-developed-by: Utsav Agarwal <[email protected]> Signed-off-by: Utsav Agarwal <[email protected]> Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Adding support for ADI ADSP reset controller. This driver allows trigger a software reset. Co-developed-by: Utsav Agarwal <[email protected]> Signed-off-by: Utsav Agarwal <[email protected]> Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Bindigs for ADI ADSP-SC5xx reset controller Co-developed-by: Utsav Agarwal <[email protected]> Signed-off-by: Utsav Agarwal <[email protected]> Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
add SoC ADSP-SC5xx Signed-off-by: Utsav Agarwal <[email protected]> Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Implements clock tree, no dynamic pll rate change. Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Add ADSP-SC5xx clock driver Co-developed-by: Arturs Artamonovs <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]> Signed-off-by: Utsav Agarwal <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Add ADSP-SC5xx clock bindings. Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Add ADSP-SC5xx GPIO driver. - Support all GPIO ports - Each gpio support seperate PINT interrupt controller Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Add ADSP-SC5xx GPIO driver bindings. Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Add ADSP-SC5xx pinctrler: - Support switching GPIO pin functions. Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Add PINCTRL driver bindings. Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Add support for I2C on SC5xx Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Add I2C driver bindings. Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Adding UART driver,supports all ADSP-SC5xx SoC family - Support FIFO mode - Support earlyprintk - Support Enable Divide By One support, for higher clock resolutions. Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Add serial driver bindings. Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Add ADI SC598-EZKIT device tree. Support UART console as output. Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Add ADSP-SC598 defconfig Co-developed-by: Utsav Agarwal <[email protected]> Signed-off-by: Utsav Agarwal <[email protected]> Co-developed-by: Greg Malysa <[email protected]> Signed-off-by: Greg Malysa <[email protected]> Co-developed-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Nathan Barrett-Morrison <[email protected]> Signed-off-by: Arturs Artamonovs <[email protected]>
Add ADSP-SC598 maitaniners Signed-off-by: Arturs Artamonovs <[email protected]>
Thanks so much for posting this! @UtsavAgarwalADI and I were chatting about the sign off section for an earlier set of patches. It is probably easier to just discuss it in person, but also take a look at https://www.kernel.org/doc/html/latest/process/submitting-patches.html#when-to-use-acked-by-cc-and-co-developed-by. The two examples at the end of the section are especially helpful. |
It would be good to link to the original mailing list review in the description: |
select COUNTER | ||
help | ||
This enables support for Analog Devices Incorporated's | ||
Family of ARM64 DSP processors |
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.
Then maybe mention here ADSP-SC596 and ADSP-SC598 explicitly
drivers/clk/adi/clk-adi-pll.c
Outdated
MODULE_DESCRIPTION("Analog Devices CLock PLL driver"); | ||
MODULE_LICENSE("GPL v2"); | ||
MODULE_AUTHOR("Greg Malysa <[email protected]>"); | ||
|
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.
unsigned int id; | ||
enum adi_clk_branch_type branch_type; | ||
const char *name; | ||
const char *const *parent_names; //should be const? |
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 should be addressed or removed
const char *const *parent_names; //should be const? | ||
u8 num_parents; | ||
unsigned long flags; | ||
unsigned long offset; //void ** iomem offset?! |
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 should be addressed or removed
drivers/tty/serial/Kconfig
Outdated
@@ -771,7 +788,7 @@ config SERIAL_CPM | |||
depends on CPM2 || CPM1 | |||
select SERIAL_CORE | |||
help | |||
This driver supports the SCC and SMC serial ports on Motorola | |||
This driver supports the SCC and SMC serial ports on Motorola |
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.
@nunojsa should this go in a different commit? Perhaps get submitted separately? The whitespace is still there on next.
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.
Probably was fixed when did the checkpatch, will revert this
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.
Yeps, it should go in a separate commit
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.
@artursartamonovsadi you don't need to revert it, just move it into a new commit. Still a valuable contribution!
$id: http://devicetree.org/schemas/arm/analog/adi,sc5xx.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Analog Devices SC59X 64-Bit ARM-based Processor Families |
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.
title: Analog Devices SC59X 64-Bit ARM-based Processor Families | |
title: Platforms based on Analog Devices SC59X 64-Bit SoCs |
But the filename is sc5xx.yaml
. So maybe sc59x.yaml
or as much as I hate it, sc59x_64.yaml
since aarch64 isn't in a separate directory here.
Signed-off-by: Arturs Artamonovs <[email protected]>
Signed-off-by: Arturs Artamonovs <[email protected]>
Signed-off-by: Arturs Artamonovs <[email protected]>
Signed-off-by: Arturs Artamonovs <[email protected]>
Signed-off-by: Arturs Artamonovs <[email protected]>
The ci runs on individual commits, in the context of as a series to be submitted. You can even keep the cover letter commit, if you want |
Im also running the checkpatch locally to see whole picture. |
Minimal patch set to boot into ADSP-SC598-SOM with initramfs to UART Linux shell.
Based on v1 sent to kernel mailinglist. Tested with ADSP-SC598-SOM RevC
PR Type
PR Checklist