* [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible [not found] <CGME20220308120701epcas5p3d3d2f5c01055e8c1721ae0ec6c2aa681@epcas5p3.samsung.com> @ 2022-03-08 12:16 ` Alim Akhtar [not found] ` <CGME20220308120705epcas5p21f5cf07d2ab98f89cf87fe3b9fd595b2@epcas5p2.samsung.com> ` (2 more replies) 0 siblings, 3 replies; 11+ messages in thread From: Alim Akhtar @ 2022-03-08 12:16 UTC (permalink / raw) To: linux-arm-kernel, linux-kernel Cc: devicetree, linus.walleij, robh+dt, krzysztof.kozlowski, linux-samsung-soc, pankaj.dubey, broonie, andi, linux-spi, lee.jones, Alim Akhtar, linux-fsd, Adithya K V Adds spi controller dt-binding compatible information for Tesla Full Self-Driving (FSD) SoC. Cc: linux-fsd@tesla.com Signed-off-by: Adithya K V <adithya.kv@samsung.com> Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Reviewed-by: Andi Shyti <andi@etezian.org> --- 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) diff --git a/Documentation/devicetree/bindings/spi/samsung,spi.yaml b/Documentation/devicetree/bindings/spi/samsung,spi.yaml index 61c77088e8ee..bf9a76d931d2 100644 --- a/Documentation/devicetree/bindings/spi/samsung,spi.yaml +++ b/Documentation/devicetree/bindings/spi/samsung,spi.yaml @@ -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 -- 2.25.1 ^ permalink raw reply related [flat|nested] 11+ messages in thread
[parent not found: <CGME20220308120705epcas5p21f5cf07d2ab98f89cf87fe3b9fd595b2@epcas5p2.samsung.com>]
* [RESEND PATCH v3 2/2] spi: s3c64xx: Add spi port configuration for Tesla FSD SoC [not found] ` <CGME20220308120705epcas5p21f5cf07d2ab98f89cf87fe3b9fd595b2@epcas5p2.samsung.com> @ 2022-03-08 12:16 ` Alim Akhtar 0 siblings, 0 replies; 11+ messages in thread From: Alim Akhtar @ 2022-03-08 12:16 UTC (permalink / raw) To: linux-arm-kernel, linux-kernel Cc: devicetree, linus.walleij, robh+dt, krzysztof.kozlowski, linux-samsung-soc, pankaj.dubey, broonie, andi, linux-spi, lee.jones, Alim Akhtar, linux-fsd, Aswani Reddy Add compatible and port configuration for spi controller for Tesla Full Self-Driving SoC. Cc: linux-fsd@tesla.com Signed-off-by: Aswani Reddy <aswani.reddy@samsung.com> Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Reviewed-by: Andi Shyti <andi@etezian.org> --- drivers/spi/spi-s3c64xx.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 386550fca81c..423518bf0270 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -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); -- 2.25.1 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible 2022-03-08 12:16 ` [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible Alim Akhtar [not found] ` <CGME20220308120705epcas5p21f5cf07d2ab98f89cf87fe3b9fd595b2@epcas5p2.samsung.com> @ 2022-03-08 13:24 ` Mark Brown 2022-03-08 13:58 ` Lee Jones 2022-03-08 20:09 ` Mark Brown 2 siblings, 1 reply; 11+ messages in thread From: Mark Brown @ 2022-03-08 13:24 UTC (permalink / raw) To: Alim Akhtar, lee.jones Cc: linux-arm-kernel, linux-kernel, devicetree, linus.walleij, robh+dt, krzysztof.kozlowski, linux-samsung-soc, pankaj.dubey, andi, linux-spi, lee.jones, linux-fsd, Adithya K V [-- Attachment #1: Type: text/plain, Size: 342 bytes --] On Tue, Mar 08, 2022 at 05:46:39PM +0530, Alim Akhtar wrote: > - 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. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible 2022-03-08 13:24 ` [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible Mark Brown @ 2022-03-08 13:58 ` Lee Jones 2022-03-08 14:31 ` Mark Brown 0 siblings, 1 reply; 11+ messages in thread From: Lee Jones @ 2022-03-08 13:58 UTC (permalink / raw) To: Mark Brown Cc: Alim Akhtar, linux-arm-kernel, linux-kernel, devicetree, linus.walleij, robh+dt, krzysztof.kozlowski, linux-samsung-soc, pankaj.dubey, andi, linux-spi, linux-fsd, Adithya K V On Tue, 08 Mar 2022, Mark Brown wrote: > On Tue, Mar 08, 2022 at 05:46:39PM +0530, Alim Akhtar wrote: > > > - 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/YiYC7eYx2SpPILyl@google.com/ spi: dt-bindings: samsung: Convert to dtschema Or something else? -- Lee Jones [李琼斯] Principal Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible 2022-03-08 13:58 ` Lee Jones @ 2022-03-08 14:31 ` Mark Brown 2022-03-08 14:45 ` Alim Akhtar 0 siblings, 1 reply; 11+ messages in thread From: Mark Brown @ 2022-03-08 14:31 UTC (permalink / raw) To: Lee Jones Cc: Alim Akhtar, linux-arm-kernel, linux-kernel, devicetree, linus.walleij, robh+dt, krzysztof.kozlowski, linux-samsung-soc, pankaj.dubey, andi, linux-spi, linux-fsd, Adithya K V [-- Attachment #1: Type: text/plain, Size: 442 bytes --] On Tue, Mar 08, 2022 at 01:58:03PM +0000, Lee Jones wrote: > On Tue, 08 Mar 2022, Mark Brown wrote: > > 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/YiYC7eYx2SpPILyl@google.com/ > spi: dt-bindings: samsung: Convert to dtschema > Or something else? There were changes adding the FSD SoC as well as DT stuff IIRC. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible 2022-03-08 14:31 ` Mark Brown @ 2022-03-08 14:45 ` Alim Akhtar 2022-03-08 15:01 ` Mark Brown 0 siblings, 1 reply; 11+ messages in thread From: Alim Akhtar @ 2022-03-08 14:45 UTC (permalink / raw) To: 'Mark Brown', 'Lee Jones' Cc: linux-arm-kernel, linux-kernel, devicetree, linus.walleij, robh+dt, krzysztof.kozlowski, linux-samsung-soc, pankaj.dubey, andi, linux-spi, linux-fsd, 'Adithya K V' >-----Original Message----- >From: Mark Brown [mailto:broonie@kernel.org] >Sent: Tuesday, March 8, 2022 8:01 PM >To: Lee Jones <lee.jones@linaro.org> >Cc: Alim Akhtar <alim.akhtar@samsung.com>; linux-arm- >kernel@lists.infradead.org; linux-kernel@vger.kernel.org; >devicetree@vger.kernel.org; linus.walleij@linaro.org; robh+dt@kernel.org; >krzysztof.kozlowski@canonical.com; linux-samsung-soc@vger.kernel.org; >pankaj.dubey@samsung.com; andi@etezian.org; linux-spi@vger.kernel.org; >linux-fsd@tesla.com; Adithya K V <adithya.kv@samsung.com> >Subject: Re: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi >compatible > >On Tue, Mar 08, 2022 at 01:58:03PM +0000, Lee Jones wrote: >> On Tue, 08 Mar 2022, Mark Brown wrote: > >> > 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/YiYC7eYx2SpPILyl@google.com/ > >> 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible 2022-03-08 14:45 ` Alim Akhtar @ 2022-03-08 15:01 ` Mark Brown 2022-03-08 15:35 ` Lee Jones 2022-03-08 16:19 ` Alim Akhtar 0 siblings, 2 replies; 11+ messages in thread From: Mark Brown @ 2022-03-08 15:01 UTC (permalink / raw) To: Alim Akhtar Cc: 'Lee Jones', linux-arm-kernel, linux-kernel, devicetree, linus.walleij, robh+dt, krzysztof.kozlowski, linux-samsung-soc, pankaj.dubey, andi, linux-spi, linux-fsd, 'Adithya K V' [-- Attachment #1: Type: text/plain, Size: 830 bytes --] On Tue, Mar 08, 2022 at 08:15:15PM +0530, Alim Akhtar wrote: > >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. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible 2022-03-08 15:01 ` Mark Brown @ 2022-03-08 15:35 ` Lee Jones 2022-03-08 16:22 ` Alim Akhtar 2022-03-08 16:19 ` Alim Akhtar 1 sibling, 1 reply; 11+ messages in thread From: Lee Jones @ 2022-03-08 15:35 UTC (permalink / raw) To: Mark Brown Cc: Alim Akhtar, linux-arm-kernel, linux-kernel, devicetree, linus.walleij, robh+dt, krzysztof.kozlowski, linux-samsung-soc, pankaj.dubey, andi, linux-spi, linux-fsd, 'Adithya K V' On Tue, 08 Mar 2022, Mark Brown wrote: > On Tue, Mar 08, 2022 at 08:15:15PM +0530, Alim Akhtar wrote: > > > >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. 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. -- Lee Jones [李琼斯] Principal Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog ^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible 2022-03-08 15:35 ` Lee Jones @ 2022-03-08 16:22 ` Alim Akhtar 0 siblings, 0 replies; 11+ messages in thread From: Alim Akhtar @ 2022-03-08 16:22 UTC (permalink / raw) To: 'Lee Jones', 'Mark Brown' Cc: linux-arm-kernel, linux-kernel, devicetree, linus.walleij, robh+dt, krzysztof.kozlowski, linux-samsung-soc, pankaj.dubey, andi, linux-spi, linux-fsd, 'Adithya K V' >-----Original Message----- >From: Lee Jones [mailto:lee.jones@linaro.org] >Sent: Tuesday, March 8, 2022 9:06 PM >To: Mark Brown <broonie@kernel.org> >Cc: Alim Akhtar <alim.akhtar@samsung.com>; linux-arm- >kernel@lists.infradead.org; linux-kernel@vger.kernel.org; >devicetree@vger.kernel.org; linus.walleij@linaro.org; robh+dt@kernel.org; >krzysztof.kozlowski@canonical.com; linux-samsung-soc@vger.kernel.org; >pankaj.dubey@samsung.com; andi@etezian.org; linux-spi@vger.kernel.org; >linux-fsd@tesla.com; 'Adithya K V' <adithya.kv@samsung.com> >Subject: Re: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi >compatible > >On Tue, 08 Mar 2022, Mark Brown wrote: > >> On Tue, Mar 08, 2022 at 08:15:15PM +0530, Alim Akhtar wrote: >> >> > >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. > >Right. > >Which patch(es) contain the dependencies please Alim? > Only dependency is on https://lore.kernel.org/all/YiYC7eYx2SpPILyl@google.com/ spi: dt-bindings: samsung: Convert to dtschema for the subject patch. >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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible 2022-03-08 15:01 ` Mark Brown 2022-03-08 15:35 ` Lee Jones @ 2022-03-08 16:19 ` Alim Akhtar 1 sibling, 0 replies; 11+ messages in thread From: Alim Akhtar @ 2022-03-08 16:19 UTC (permalink / raw) To: 'Mark Brown' Cc: 'Lee Jones', linux-arm-kernel, linux-kernel, devicetree, linus.walleij, robh+dt, krzysztof.kozlowski, linux-samsung-soc, pankaj.dubey, andi, linux-spi, linux-fsd, 'Adithya K V' >-----Original Message----- >From: Mark Brown [mailto:broonie@kernel.org] >Sent: Tuesday, March 8, 2022 8:32 PM >To: Alim Akhtar <alim.akhtar@samsung.com> >Cc: 'Lee Jones' <lee.jones@linaro.org>; linux-arm-kernel@lists.infradead.org; >linux-kernel@vger.kernel.org; devicetree@vger.kernel.org; >linus.walleij@linaro.org; robh+dt@kernel.org; >krzysztof.kozlowski@canonical.com; linux-samsung-soc@vger.kernel.org; >pankaj.dubey@samsung.com; andi@etezian.org; linux-spi@vger.kernel.org; >linux-fsd@tesla.com; 'Adithya K V' <adithya.kv@samsung.com> >Subject: Re: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi >compatible > >On Tue, Mar 08, 2022 at 08:15:15PM +0530, Alim Akhtar wrote: > >> >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. 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/YiYC7eYx2SpPILyl@google.com/ spi: dt-bindings: samsung: Convert to dtschema which is now in MFD tree. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible 2022-03-08 12:16 ` [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible Alim Akhtar [not found] ` <CGME20220308120705epcas5p21f5cf07d2ab98f89cf87fe3b9fd595b2@epcas5p2.samsung.com> 2022-03-08 13:24 ` [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible Mark Brown @ 2022-03-08 20:09 ` Mark Brown 2 siblings, 0 replies; 11+ messages in thread From: Mark Brown @ 2022-03-08 20:09 UTC (permalink / raw) To: linux-arm-kernel, Alim Akhtar, linux-kernel Cc: linux-fsd, Adithya K V, linux-samsung-soc, devicetree, lee.jones, andi, pankaj.dubey, linus.walleij, krzysztof.kozlowski, linux-spi, robh+dt On Tue, 8 Mar 2022 17:46:39 +0530, Alim Akhtar wrote: > 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: 4ebb15a15799da4954f1d4926fcd3263ea46e417 All 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2022-03-08 20:09 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CGME20220308120701epcas5p3d3d2f5c01055e8c1721ae0ec6c2aa681@epcas5p3.samsung.com>
2022-03-08 12:16 ` [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible Alim Akhtar
[not found] ` <CGME20220308120705epcas5p21f5cf07d2ab98f89cf87fe3b9fd595b2@epcas5p2.samsung.com>
2022-03-08 12:16 ` [RESEND PATCH v3 2/2] spi: s3c64xx: Add spi port configuration for Tesla FSD SoC Alim Akhtar
2022-03-08 13:24 ` [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible Mark Brown
2022-03-08 13:58 ` Lee Jones
2022-03-08 14:31 ` Mark Brown
2022-03-08 14:45 ` Alim Akhtar
2022-03-08 15:01 ` Mark Brown
2022-03-08 15:35 ` Lee Jones
2022-03-08 16:22 ` Alim Akhtar
2022-03-08 16:19 ` Alim Akhtar
2022-03-08 20:09 ` Mark Brown
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).