spi: s3c64xx: Add spi port configuration for Tesla FSD SoC
Subsystems (4)
A message that is not in the archive (sent off-list or not yet received): CGME20220308120701epcas5p3d3d2f5c01055e8c1721ae0ec6c2aa681@epcas5p3.samsung.com
Alim Akhtar
reviewerPATCH RESEND v3 1/2 spi: dt-bindings: samsung: Add fsd spi compatible
Adds spi controller dt-binding compatible information for Tesla Full Self-Driving (FSD) SoC.
--- Documentation/devicetree/bindings/spi/samsung,spi.yaml | 1 + 1 file changed, 1 insertion(+)
- Resend of FSD SPI support patches as the dependencies has landed in MFD tree, hope this will go via MFD tree (as there are dependency between
MFD, SPI and DT)
Documentation/devicetree/bindings/spi/samsung,spi.yaml +1 -0
@@ -21,6 +21,7 @@ properties: - samsung,s3c6410-spi - samsung,s5pv210-spi # for S5PV210 and S5PC110 - samsung,exynos5433-spi + - tesla,fsd-spi - const: samsung,exynos7-spi deprecated: true
base-commit: 172e611b54e813c49a35b6b74bccaa99f27bf566
Signature · 1 line
2.25.1
Alim Akhtar
reviewerPATCH RESEND v3 2/2 spi: s3c64xx: Add spi port configuration for Tesla FSD SoC
Add compatible and port configuration for spi controller for Tesla Full Self-Driving SoC.
--- drivers/spi/spi-s3c64xx.c | 13 +++++++++++++ 1 file changed, 13 insertions(+)
drivers/spi/spi-s3c64xx.c +13 -0
@@ -1440,6 +1440,16 @@ static const struct s3c64xx_spi_port_config exynos5433_spi_port_config = { .quirks = S3C64XX_SPI_QUIRK_CS_AUTO, }; +static struct s3c64xx_spi_port_config fsd_spi_port_config = { + .fifo_lvl_mask = {0x7f ,0x7f ,0x7f ,0x7f ,0x7f }, + .rx_lvl_offset =15 , + .tx_st_done =25 , + .high_speed = true, + .clk_from_cmu = true, + .clk_ioclk = false, + .quirks =S3C64XX_SPI_QUIRK_CS_AUTO , +}; +static const struct platform_device_id s3c64xx_spi_driver_ids[] = { { .name ="s3c2443-spi" ,
@@ -1470,6 +1480,9 @@ static const struct of_device_id s3c64xx_spi_dt_match[] = { { .compatible = "samsung,exynos5433-spi", .data = (void *)&exynos5433_spi_port_config, }, + { .compatible = "tesla,fsd-spi", + .data = (void *)&fsd_spi_port_config, + }, { }, };MODULE_DEVICE_TABLE (of, s3c64xx_spi_dt_match);
Signature · 1 line
2.25.1
Mark Brown
maintainerRe: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible
In reply to Alim AkhtarQuoted 3 lines · Alim Akhtar
- Resend of FSD SPI support patches as the dependencies has landed in MFD tree, hope this will go via MFD tree (as there are dependency between
MFD, SPI and DT)
I either need a pull request for the MFD changes or to wait until those changes have come in via Linus' tree.
Re: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible
Quoted 8 lines · Mark Brown
Quoted 3 lines · Alim Akhtar
- Resend of FSD SPI support patches as the dependencies has landed in MFD tree, hope this will go via MFD tree (as there are dependency between
MFD, SPI and DT)I either need a pull request for the MFD changes or to wait until those changes have come in via Linus' tree.
You mean this one:
https://lore.kernel.org/all/[email protected]/
spi: dt-bindings: samsung: Convert to dtschema
Or something else?
Signature · 4 lines
Lee Jones [李琼斯] Principal Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog
Mark Brown
maintainerRe: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible
Quoted 5 lines · Lee Jones
Quoted 2 lines · Mark Brown
I either need a pull request for the MFD changes or to wait until those changes have come in via Linus' tree.
Quoted 7 lines
You mean this one:
https://lore.kernel.org/all/[email protected]/
spi: dt-bindings: samsung: Convert to dtschema
Or something else?
There were changes adding the FSD SoC as well as DT stuff IIRC.
Alim Akhtar
reviewerRE: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible
Quoted 23 lines
-----Original Message-----
From: Mark Brown [mailto:[email protected]]
Sent: Tuesday, March 8, 2022 8:01 PM
To: Lee Jones <[email protected]>
Cc: Alim Akhtar <[email protected]>; linux-arm- [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Adithya K V <[email protected]>
Subject: Re: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatibleQuoted 6 lines · Lee Jones
Quoted 2 lines · Mark Brown
I either need a pull request for the MFD changes or to wait until those changes have come in via Linus' tree.
You mean this one:
Quoted 7 lines
Quoted 5 lines
https://lore.kernel.org/all/[email protected]/
spi: dt-bindings: samsung: Convert to dtschema
Or something else?
There were changes adding the FSD SoC as well as DT stuff IIRC.
FSD SoC DT changes are already in -next.
I think this can go with MFD tree because of immutable branch between MFD, SPI and DT due for the v5.18 merge windows. I am not sure if there are better ways to handle this.
Regards,
Alim
Mark Brown
maintainerRe: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible
Quoted 6 lines · Alim Akhtar
Quoted 1 line
There were changes adding the FSD SoC as well as DT stuff IIRC.
FSD SoC DT changes are already in -next.
I think this can go with MFD tree because of immutable branch between MFD, SPI and DT due for the v5.18 merge windows. I am not sure if there are better ways to handle this.
I need the changes that are hard dependencies to actually be in my tree so my tree is not broken, -next isn't good enough here. If there are dependencies for things you're posting you should explicitly say what they are when you post (not just vauge statements that there are dependencies), and when you post things that will be dependencies for other trees it's good to mention this so that people can think about putting them on a separate branch for easier cross merging.
Re: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible
Quoted 9 lines · Mark Brown
Quoted 6 lines · Alim Akhtar
Quoted 1 line
There were changes adding the FSD SoC as well as DT stuff IIRC.
FSD SoC DT changes are already in -next.
I think this can go with MFD tree because of immutable branch between MFD, SPI and DT due for the v5.18 merge windows. I am not sure if there are better ways to handle this.
Quoted 7 lines
I need the changes that are hard dependencies to actually be in my tree so my tree is not broken, -next isn't good enough here. If there are dependencies for things you're posting you should explicitly say what they are when you post (not just vauge statements that there are dependencies), and when you post things that will be dependencies for other trees it's good to mention this so that people can think about putting them on a separate branch for easier cross merging.
Right.
Which patch(es) contain the dependencies please Alim?
I tend to send out pull-requests for cross-subsystem changes I merge.
Not sure I see anything relevant in my tree currently.
Signature · 4 lines
Lee Jones [李琼斯] Principal Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog
Alim Akhtar
reviewerRE: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible
Quoted 33 lines
-----Original Message-----
From: Lee Jones [mailto:[email protected]]
Sent: Tuesday, March 8, 2022 9:06 PM
To: Mark Brown <[email protected]>
Cc: Alim Akhtar <[email protected]>; linux-arm- [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; 'Adithya K V' <[email protected]>
Subject: Re: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatibleQuoted 9 lines · Mark Brown
Quoted 6 lines · Alim Akhtar
Quoted 1 line
There were changes adding the FSD SoC as well as DT stuff IIRC.
FSD SoC DT changes are already in -next.
I think this can go with MFD tree because of immutable branch between MFD, SPI and DT due for the v5.18 merge windows. I am not sure if there are better ways to handle this.Quoted 7 lines
I need the changes that are hard dependencies to actually be in my tree so my tree is not broken, -next isn't good enough here. If there are dependencies for things you're posting you should explicitly say what they are when you post (not just vauge statements that there are dependencies), and when you post things that will be dependencies for other trees it's good to mention this so that people can think about putting them on a separate branch for easier cross merging.
Quoted 4 lines
Right.
Which patch(es) contain the dependencies please Alim?
Only dependency is on
https://lore.kernel.org/all/[email protected]/
spi: dt-bindings: samsung: Convert to dtschema
for the subject patch.
Quoted 8 lines
I tend to send out pull-requests for cross-subsystem changes I merge.
Not sure I see anything relevant in my tree currently.
--
Lee Jones [李琼斯]Principal Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog
Alim Akhtar
reviewerRE: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible
In reply to Mark BrownQuoted 7 lines
-----Original Message-----
From: Mark Brown [mailto:[email protected]]
Sent: Tuesday, March 8, 2022 8:32 PM
To: Alim Akhtar <[email protected]>
Cc: 'Lee Jones' <[email protected]>;
Quoted 10 lines
[email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; 'Adithya K V' <[email protected]>
Subject: Re: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatibleOn Tue, Mar 08, 2022 at 08:15:15PM +0530, Alim Akhtar wrote:
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
There were changes adding the FSD SoC as well as DT stuff IIRC.
FSD SoC DT changes are already in -next.
I think this can go with MFD tree because of immutable branch between MFD, SPI and DT due for the v5.18 merge windows.
I am not sure if there are better ways to handle this.I need the changes that are hard dependencies to actually be in my tree so
my
Quoted 1 line
tree is not broken, -next isn't good enough here. If there are
dependencies
Quoted 3 lines
for things you're posting you should explicitly say what they are when you post (not just vauge statements that there are dependencies), and when you post things that will be dependencies for other trees it's good to mention
this
Quoted 2 lines
so that people can think about putting them on a separate branch for easier cross merging.
Sorry Mark for the noise. I should have clearly mentioned the dependencies. Surly I will keep this in mind for the future patches.
Only dependency these two patches have on
https://lore.kernel.org/all/[email protected]/
spi: dt-bindings: samsung: Convert to dtschema
which is now in MFD tree.
Mark Brown
maintainerRe: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible
In reply to Alim AkhtarQuoted 4 lines · Alim Akhtar
Adds spi controller dt-binding compatible information for Tesla Full Self-Driving (FSD) SoC.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/2] spi: dt-bindings: samsung: Add fsd spi compatible
commit: 363d3c51bc5b3243b5b035a1f50d6d994a1b203f
[2/2] spi: s3c64xx: Add spi port configuration for Tesla FSD SoC
commit: 4ebb15a15799da4954f1d4926fcd3263ea46e417All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark