From patchwork Tue Mar 8 12:16:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 12773603 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DA29C433FE for ; Tue, 8 Mar 2022 12:07:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346685AbiCHMIM (ORCPT ); Tue, 8 Mar 2022 07:08:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346671AbiCHMIL (ORCPT ); Tue, 8 Mar 2022 07:08:11 -0500 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A0462E689 for ; Tue, 8 Mar 2022 04:07:13 -0800 (PST) Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220308120707epoutp04a8e4bd28414c5e71955f915d0c8b7941~aZmv-m8rC3135131351epoutp04g for ; Tue, 8 Mar 2022 12:07:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220308120707epoutp04a8e4bd28414c5e71955f915d0c8b7941~aZmv-m8rC3135131351epoutp04g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1646741227; bh=TWgcRtZ9BCWDi9BjQnRMZAArKHgdfX2otVHNY9T5ztY=; h=From:To:Cc:Subject:Date:References:From; b=OHbSfDw4JynHwbrJdFo/ZKgZ+nJxStMQB8fANQC9Vuvj4xpcimLv9GWCf/k/6ETrf /YXitmtEFDSTDtosp3NypKXJdf3sgUJ3cyLwYQ54BLkdpnamYYR8LxhatrySTFEJFB km4FEtsuhjkJDpl+si2htzLkgcArhY37NpAC9zXw= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20220308120706epcas5p22b0b343c0370c7521d05a9e9fbbf65bd~aZmvJVhCg2571125711epcas5p2N; Tue, 8 Mar 2022 12:07:06 +0000 (GMT) Received: from epsmges5p2new.samsung.com (unknown [182.195.38.175]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4KCYwQ0hdfz4x9Pw; Tue, 8 Mar 2022 12:07:02 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 9D.D0.46822.41447226; Tue, 8 Mar 2022 20:55:00 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20220308120701epcas5p3d3d2f5c01055e8c1721ae0ec6c2aa681~aZmqK9Rvi0868908689epcas5p3A; Tue, 8 Mar 2022 12:07:01 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220308120701epsmtrp1aa0f27a4a0e205d9b8d2a2555c9cbcc6~aZmqGnD8e0604606046epsmtrp1P; Tue, 8 Mar 2022 12:07:01 +0000 (GMT) X-AuditID: b6c32a4a-de5ff7000000b6e6-f0-622744145dd6 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id E7.8B.29871.5E647226; Tue, 8 Mar 2022 21:07:01 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220308120659epsmtip1beef1923f221bcff768e793abd4ad142~aZmoFWCjX0869608696epsmtip1M; Tue, 8 Mar 2022 12:06:59 +0000 (GMT) From: Alim Akhtar To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: 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, broonie@kernel.org, andi@etezian.org, linux-spi@vger.kernel.org, lee.jones@linaro.org, Alim Akhtar , linux-fsd@tesla.com, Adithya K V Subject: [RESEND PATCH v3 1/2] spi: dt-bindings: samsung: Add fsd spi compatible Date: Tue, 8 Mar 2022 17:46:39 +0530 Message-Id: <20220308121640.27344-1-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrJKsWRmVeSWpSXmKPExsWy7bCmhq6Ii3qSwYVJChYHJrxitXgwbxub xeIfz5kspj58wmYx/8g5VouNb38wWdz/epTRYsqf5UwWmx5fY7V4+Crc4vKuOWwWM87vY7Jo /HiT3WLR1i/sFq17j7A78HvMauhl87i+5BOzx6ZVnWwed67tYfPYvKTeo2/LKkaPf01z2T0+ b5IL4IjKtslITUxJLVJIzUvOT8nMS7dV8g6Od443NTMw1DW0tDBXUshLzE21VXLxCdB1y8wB ul1JoSwxpxQoFJBYXKykb2dTlF9akqqQkV9cYquUWpCSU2BSoFecmFtcmpeul5daYmVoYGBk ClSYkJ1x7sZJ5oJLnBVfzq9gbGD8w97FyMEhIWAicWFiWBcjF4eQwG5Giff/G1ggnE+MEqcP tQAVcQI53xglvjxzB7FBGj5NbmeGKNrLKHFq3jZGCKeFSWLHmU5WkCo2AW2Ju9O3MIHYIgJu EjcaO8BsZoH3TBLtTzNBbGGBIIkfS8+A1bMIqErsfNXLCGLzCthI3OzdxQaxTV5i9YYDYNsk BP6ySzS8msACkXCReNF1jB3CFpZ4dXwLlC0l8bK/Deq3bImeXcYQ4RqJpfOOQbXaSxy4MocF pIRZQFNi/S59iNP4JHp/P2GC6OSV6GgTgqhWlWh+dxWqU1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peul5yfu4kRHLJamjsYt6/6oHeIkYmD8RCjBAezkgjv /fMqSUK8KYmVValF+fFFpTmpxYcYpTlYlMR5L3SdjBcSSE8sSc1OTS1ILYLJMnFwSjUwVcr2 7bKJ/b2e48GeN22h6TLs99/NP9204JG9yVOLRet9gr0m8qpcTwudwHdeo6HcLO4pm8RCxZz1 H0JOsjRyPdrtFyb3YUepZNXCtd2Xw7Z7R+71r6z3knCReJdVZMr37U6Kpq5B3tlf54on3rS8 cOacueq+eSahlcapqdeX9/7lblubXRbRsUtp6uEVrK8Clc9l8PyKc/imzmRSlxS7jl+iwuHQ /16eDdMVJ1VcvNa+Xq/o8+TbU9Yc9Mr6Vx/8l3fpx/TkM823uZS/ffEo3yxxJXHy0XtOnELS jm9Z730/L3GKxzHX99/Ee3+mLz8xJ3mt1UvONdcnsyQ/5V7v9tBSuiSIpzX7wvEJktYmSizF GYmGWsxFxYkAILjsD8gCAAA= X-CMS-MailID: 20220308120701epcas5p3d3d2f5c01055e8c1721ae0ec6c2aa681 X-Msg-Generator: CA CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220308120701epcas5p3d3d2f5c01055e8c1721ae0ec6c2aa681 References: Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org 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 Signed-off-by: Alim Akhtar Reviewed-by: Krzysztof Kozlowski Reviewed-by: Andi Shyti --- 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) base-commit: 172e611b54e813c49a35b6b74bccaa99f27bf566 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 From patchwork Tue Mar 8 12:16:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 12773604 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAAFDC433F5 for ; Tue, 8 Mar 2022 12:07:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346714AbiCHMIU (ORCPT ); Tue, 8 Mar 2022 07:08:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346679AbiCHMIL (ORCPT ); Tue, 8 Mar 2022 07:08:11 -0500 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A264129822 for ; Tue, 8 Mar 2022 04:07:14 -0800 (PST) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20220308120711epoutp038bd510687996d3d1fd239a35b70937aa~aZmz0BEpV1463314633epoutp03g for ; Tue, 8 Mar 2022 12:07:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20220308120711epoutp038bd510687996d3d1fd239a35b70937aa~aZmz0BEpV1463314633epoutp03g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1646741231; bh=lEcoaPQ0wXcqoYAXTOO0tu1gYfLWrks8XW836Y3b+ZM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fsCS/+PfU4+VcpLMeqZyL4IRziA+ZrDtDLtLPjlnXqlW0cbMohZ5cbNHl24pydJ+c nM+i4Rnxp03VfdbEvjJ0iOO/Xr5dbXpLfzptY1A0+NsuK7Fo+M7KDxVoIHBwTTp76Q Bv5bQLVxBB/uAxcwXGsFyntEpTui/K2q66Tp/bAo= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20220308120711epcas5p1807eac5e4de9c0f10ef5668f7261fb93~aZmzXll0Q1111211112epcas5p14; Tue, 8 Mar 2022 12:07:11 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.182]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4KCYwV3DmLz4x9Q1; Tue, 8 Mar 2022 12:07:06 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id ED.C6.05590.AE647226; Tue, 8 Mar 2022 21:07:06 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20220308120705epcas5p21f5cf07d2ab98f89cf87fe3b9fd595b2~aZmuTgLS52571125711epcas5p2M; Tue, 8 Mar 2022 12:07:05 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20220308120705epsmtrp27766982a47bfd56b961a818cc47fcde7~aZmuSlDcb3197431974epsmtrp23; Tue, 8 Mar 2022 12:07:05 +0000 (GMT) X-AuditID: b6c32a4b-739ff700000015d6-42-622746eaae3f Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 89.8B.29871.9E647226; Tue, 8 Mar 2022 21:07:05 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220308120703epsmtip14761939bdaf6e1f980febe8da9f3a2a2~aZmsQcw4Z0869908699epsmtip1d; Tue, 8 Mar 2022 12:07:03 +0000 (GMT) From: Alim Akhtar To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: 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, broonie@kernel.org, andi@etezian.org, linux-spi@vger.kernel.org, lee.jones@linaro.org, Alim Akhtar , linux-fsd@tesla.com, Aswani Reddy Subject: [RESEND PATCH v3 2/2] spi: s3c64xx: Add spi port configuration for Tesla FSD SoC Date: Tue, 8 Mar 2022 17:46:40 +0530 Message-Id: <20220308121640.27344-2-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220308121640.27344-1-alim.akhtar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjk+LIzCtJLcpLzFFi42LZdlhTQ/eVm3qSwa25ohYP5m1js1j84zmT xaHNW9ktpj58wmYx/8g5VouNb38wWdz/epTRYsqf5UwWmx5fY7V4+Crc4vKuOWwWM87vY7Jo /HiT3WLR1i/sFq17j7A78HvMauhl87i+5BOzx6ZVnWwed67tYfPYvKTeo2/LKkaPf01z2T0+ b5IL4IjKtslITUxJLVJIzUvOT8nMS7dV8g6Od443NTMw1DW0tDBXUshLzE21VXLxCdB1y8wB ul1JoSwxpxQoFJBYXKykb2dTlF9akqqQkV9cYquUWpCSU2BSoFecmFtcmpeul5daYmVoYGBk ClSYkJ3xsH8pY8E57oqjr06xNDA+4Oxi5OSQEDCR2PF6I3MXIxeHkMBuRokpu9qgnE+MEis7 jjOBVAkJfGOUuHuOH6Zj8ps/TBBFexklJn1byQbhtDBJ3DzyjBWkik1AW+L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x3xdFXp1gaGB9wdjFyckgImEhMfvOHCcQWEtjN KNG1KgUiLi1xfeMEdghbWGLlv+dANhdQTROTxJ5nV1hBEmwC2hJ3p28BaxYR8JBo+3ePGaSI WaCBWWL9jn5mkISwQKTE9hV7GEFsFgFViWXH1oHFeQVsJD5O3MwKsUFeYvWGA0BxDg5OAVuJ 99OcIQ6ykZhxpZ91AiPfAkaGVYySqQXFuem5xYYFhnmp5XrFibnFpXnpesn5uZsYweGtpbmD cfuqD3qHGJk4GA8xSnAwK4nw3j+vkiTEm5JYWZValB9fVJqTWnyIUZqDRUmc90LXyXghgfTE ktTs1NSC1CKYLBMHp1QDU6Xi0rBX81S3sxbnKTusN8pvuL2b27697JfuVEH/luPyDf3ycziY IuREWkwWnr34Rmjrd/UaNkPVazHH2hTn2sQfLIzYXHnw64aIhmczzhlfrcrd+J55U861NwLa MbntXw+rSz/b9WEnGxP7owfbt+15yZ53iqvs/RnFie6btwZU5brmiKw+eb13/40dDbPtpCzr T566p7Ynu/3uTXvVvdv71Mw+L1pvyLV76xPfnhfHxab0MHTmrTrZyPU2/KyMV9L0OQGuNcsr zLqSdZJnCwvbbb6y9qOfyN4fjYU6JrsneaTyvf3clWTWoeiv8k01pXhN5N9I5S7GuC9Cmmtq vW95TZkxS+LIE1sJ3tRwJZbijERDLeai4kQAwrXRxN4CAAA= X-CMS-MailID: 20220308120705epcas5p21f5cf07d2ab98f89cf87fe3b9fd595b2 X-Msg-Generator: CA CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220308120705epcas5p21f5cf07d2ab98f89cf87fe3b9fd595b2 References: <20220308121640.27344-1-alim.akhtar@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Add compatible and port configuration for spi controller for Tesla Full Self-Driving SoC. Cc: linux-fsd@tesla.com Signed-off-by: Aswani Reddy Signed-off-by: Alim Akhtar Reviewed-by: Krzysztof Kozlowski Reviewed-by: Andi Shyti --- 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);