Message ID | 20221109100928.109478-7-vivek.2311@samsung.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp267531wru; Wed, 9 Nov 2022 03:00:49 -0800 (PST) X-Google-Smtp-Source: AMsMyM4sWG7d91RHqMu5gT2QI1PX4ugsmtx8K7ng8+Ny1wLk7FFxEv0xINXsHSSKp80ITVuHCJAZ X-Received: by 2002:a17:907:1ddd:b0:7ad:8371:b59c with SMTP id og29-20020a1709071ddd00b007ad8371b59cmr55890086ejc.429.1667991649409; Wed, 09 Nov 2022 03:00:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667991649; cv=none; d=google.com; s=arc-20160816; b=IdtaOBhkh7xhi8Ku+pdMaAXJ9TkEAx3+HjPWz0kT9PXmo/os7PxkbMwl0mTHq4F/Zr XWTovfA8PJfuCpAYkJUh1rh8JMumC95OJKGpsouxCGNFJoV2AAjuVH5BUy8YfMmLCOK0 nGRoHDkNGHr27dKEudG7ponse9j6plcLsOU1TesfHtE3/GO6VpAGWjy8H5Hl9r9wa/Rq iEEemLmqVElyZdpS+0SHxukPvv/kopfTp+TmG6WUVLpnUt7NGtt/za/sVCPJTTDjyAxi 1vYLTmXWedPct0DkUHt0qpYaiAG/sDuUwgWXQCYns4qIzPx02fXnEulr2wYAKe14wp6/ V6Jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=xTZZTrBUXFmgKPdovTdxJ19yWCYaot2LY2cprLmo7fQ=; b=XywWAwOXe82wNF8KwNjJ9HDvu3F/HlD0QzOmOiKaQZ1gfsUF6y4cjov2kubQGFfYcX JXe+iMUQS1WChojCq8m5apS2eCGWvuw10Y5vKSAxRg4giVNBP9PN5Eoqji87OsiXwzjc 2JteJXFkXwck2LQI2weh/LX0D8zwnxYeKsiqSvM4GzIso+vhQdc6oaOBkuuiEDaeBkSo JIY2L4/NPnMbJ/jbyKCYO4HpNtgI2bHp8gLQE7W/ntVOZxoLyZagKIceheDN5cJrIJhY Y/egxqzAWinO1CA1yxof9wR1xtwnPuOYl3mcq/bAq1Y1agHN5dpok7dBTfSlVwxAnaQA iSBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="i/iHYZa4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rl16-20020a170907217000b0078e1d213812si11058485ejb.184.2022.11.09.03.00.25; Wed, 09 Nov 2022 03:00:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="i/iHYZa4"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230222AbiKIKys (ORCPT <rfc822;dexuan.linux@gmail.com> + 99 others); Wed, 9 Nov 2022 05:54:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230031AbiKIKyG (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Nov 2022 05:54:06 -0500 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FF953898 for <linux-kernel@vger.kernel.org>; Wed, 9 Nov 2022 02:53:32 -0800 (PST) Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20221109105331epoutp030e07c66a5b45890ee60ecceec9dc04cb~l5StRFOgS1604516045epoutp03B for <linux-kernel@vger.kernel.org>; Wed, 9 Nov 2022 10:53:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20221109105331epoutp030e07c66a5b45890ee60ecceec9dc04cb~l5StRFOgS1604516045epoutp03B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1667991211; bh=xTZZTrBUXFmgKPdovTdxJ19yWCYaot2LY2cprLmo7fQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i/iHYZa4VidNzthkxDMv97aXMD43V4My31gjKVt32VNvHaL4kehdD+lgWEICr+Y/b nDQLf7uxJe+5ISCJOpqCun/xC8jDhO7mUy6pufWNWlMyyzyB/oOUFBms38kR6MNi/R L4xw4/SpNs7nJ2nrU2biuKlq9xNOOd7teJJIwDqM= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20221109105330epcas5p2a7a9c3a9e65c2e6abf0518c611d36b04~l5SssDu1y2391823918epcas5p2A; Wed, 9 Nov 2022 10:53:30 +0000 (GMT) Received: from epsmges5p2new.samsung.com (unknown [182.195.38.180]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4N6hf01b2lz4x9Px; Wed, 9 Nov 2022 10:53:28 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 1D.57.39477.8A68B636; Wed, 9 Nov 2022 19:53:28 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20221109100309epcas5p4bc1ddd62048098d681ba8af8d35e2e73~l4muyQeYT3190631906epcas5p4O; Wed, 9 Nov 2022 10:03:09 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221109100309epsmtrp1b0629e4a7e48535f2207f1159c07d8b4~l4muxPv5y0841808418epsmtrp1F; Wed, 9 Nov 2022 10:03:09 +0000 (GMT) X-AuditID: b6c32a4a-259fb70000019a35-3f-636b86a81d69 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id EF.E0.14392.CDA7B636; Wed, 9 Nov 2022 19:03:09 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221109100306epsmtip2160e21a08f75553dfa3b0c9f80beda18~l4mr2ryGp1918919189epsmtip2D; Wed, 9 Nov 2022 10:03:05 +0000 (GMT) From: Vivek Yadav <vivek.2311@samsung.com> To: rcsekar@samsung.com, krzysztof.kozlowski+dt@linaro.org, wg@grandegger.com, mkl@pengutronix.de, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, pankaj.dubey@samsung.com, ravi.patel@samsung.com, alim.akhtar@samsung.com, linux-fsd@tesla.com, robh+dt@kernel.org Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, aswani.reddy@samsung.com, sriranjani.p@samsung.com, Vivek Yadav <vivek.2311@samsung.com> Subject: [PATCH v2 6/6] arm64: dts: fsd: Add support for error correction code for message RAM Date: Wed, 9 Nov 2022 15:39:28 +0530 Message-Id: <20221109100928.109478-7-vivek.2311@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221109100928.109478-1-vivek.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2038H 5/obnsmyX9fcq5fmdkO2aUlcnbhRmkK/Xop9y74qpycmapYpF1e1/vzqEhGQcD43/FKti5N/ TrjfnSdW0Yu/b34i+uFwCftlhgksMVvyzJoE+FRXbC75z2Bn+eYp/6S/+UynrY4oV1zS/71W pdUovih/xUdO43ehHzUyF90V/8npFabz81hFgsnUTboXts6TMU0uX/HGMsJUSODdw7lVEk1/ tH4mb7jrVVHvf+TgpBffizvL3p3a7OH59/uds+/XXvSP75j5yKj6YN6nKEXVZyfdvd9vNDZP nr7jlcLvqY8ClKK/X7NTYinOSDTUYi4qTgQAl4VxyQ4DAAA= X-CMS-MailID: 20221109100309epcas5p4bc1ddd62048098d681ba8af8d35e2e73 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221109100309epcas5p4bc1ddd62048098d681ba8af8d35e2e73 References: <20221109100928.109478-1-vivek.2311@samsung.com> <CGME20221109100309epcas5p4bc1ddd62048098d681ba8af8d35e2e73@epcas5p4.samsung.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749016011812227266?= X-GMAIL-MSGID: =?utf-8?q?1749016011812227266?= |
Series |
can: mcan: Add MCAN support for FSD SoC
|
|
Commit Message
Vivek Yadav
Nov. 9, 2022, 10:09 a.m. UTC
Add mram-ecc-cfg property which indicates the error correction code config and enable the same for FSD platform. In FSD, error correction code (ECC) is configured via PERIC SYSREG registers. Signed-off-by: Chandrasekar R <rcsekar@samsung.com> Cc: devicetree@vger.kernel.org Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> Cc: Rob Herring <robh+dt@kernel.org> Signed-off-by: Vivek Yadav <vivek.2311@samsung.com> --- arch/arm64/boot/dts/tesla/fsd.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
Comments
On 09/11/2022 11:09, Vivek Yadav wrote: > Add mram-ecc-cfg property which indicates the error correction code config > and enable the same for FSD platform. > > In FSD, error correction code (ECC) is configured via PERIC SYSREG > registers. > > Signed-off-by: Chandrasekar R <rcsekar@samsung.com> > Cc: devicetree@vger.kernel.org > Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> > Cc: Rob Herring <robh+dt@kernel.org> > Signed-off-by: Vivek Yadav <vivek.2311@samsung.com> > --- For net-folks: although the DTS patches are here as well, but they must go via ARM SOC tree, so pick only network/can drivers and bindings when they are ready. Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi index 154fd3fc5895..6483bbf521e5 100644 --- a/arch/arm64/boot/dts/tesla/fsd.dtsi +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi @@ -778,6 +778,7 @@ clocks = <&clock_peric PERIC_MCAN0_IPCLKPORT_PCLK>, <&clock_peric PERIC_MCAN0_IPCLKPORT_CCLK>; clock-names = "hclk", "cclk"; + tesla,mram-ecc-cfg = <&sysreg_peric 0x700>; bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; status = "disabled"; }; @@ -795,6 +796,7 @@ clocks = <&clock_peric PERIC_MCAN1_IPCLKPORT_PCLK>, <&clock_peric PERIC_MCAN1_IPCLKPORT_CCLK>; clock-names = "hclk", "cclk"; + tesla,mram-ecc-cfg = <&sysreg_peric 0x704>; bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; status = "disabled"; }; @@ -812,6 +814,7 @@ clocks = <&clock_peric PERIC_MCAN2_IPCLKPORT_PCLK>, <&clock_peric PERIC_MCAN2_IPCLKPORT_CCLK>; clock-names = "hclk", "cclk"; + tesla,mram-ecc-cfg = <&sysreg_peric 0x708>; bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; status = "disabled"; }; @@ -829,6 +832,7 @@ clocks = <&clock_peric PERIC_MCAN3_IPCLKPORT_PCLK>, <&clock_peric PERIC_MCAN3_IPCLKPORT_CCLK>; clock-names = "hclk", "cclk"; + tesla,mram-ecc-cfg = <&sysreg_peric 0x70c>; bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; status = "disabled"; };