From patchwork Wed Oct 25 10:22:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 13435973 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 7A007C25B47 for ; Wed, 25 Oct 2023 10:37:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234576AbjJYKhl (ORCPT ); Wed, 25 Oct 2023 06:37:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343573AbjJYKhT (ORCPT ); Wed, 25 Oct 2023 06:37:19 -0400 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2028F196 for ; Wed, 25 Oct 2023 03:36:16 -0700 (PDT) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20231025103614epoutp032c5f57c5ac419bbd439ba131e1ddbefa~RU1iA02iH0531405314epoutp03t for ; Wed, 25 Oct 2023 10:36:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20231025103614epoutp032c5f57c5ac419bbd439ba131e1ddbefa~RU1iA02iH0531405314epoutp03t DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1698230174; bh=+dA8CLW4Uw8h0Ln1czVzzbczb8qavjLH60g5Jc7kYyw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=q+lmizD8hfU8L0i88hcPI677SSWZ6EKfL1JVHaMI3nM6ycbVJxmpjvv4Nuw29GZ5X lsK+z9905PBS5cNyMAkzNPzbFc4lSTlmGNK2G9ccKZSq1IUpNdUfnKPoxettdmBCXt rEAc/jkeWs7kBpkpsV+xhxD8V5trR7nHDzu0QMVk= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p1.samsung.com (KnoxPortal) with ESMTP id 20231025103613epcas5p15db7cbe1e16d0e37638b54422f0ca90d~RU1hZGkFZ1081410814epcas5p1o; Wed, 25 Oct 2023 10:36:13 +0000 (GMT) Received: from epsmgec5p1-new.samsung.com (unknown [182.195.38.178]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4SFlhW3C0Bz4x9Pq; Wed, 25 Oct 2023 10:36:11 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmgec5p1-new.samsung.com (Symantec Messaging Gateway) with SMTP id 88.CC.19369.B9FE8356; Wed, 25 Oct 2023 19:36:11 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20231025102307epcas5p1fde3d5b0095477a8a565ce9f913e71e5~RUqFaTSRw2161721617epcas5p1t; Wed, 25 Oct 2023 10:23:07 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20231025102307epsmtrp2323b7bc00be62113e6cee87603f9b293~RUqFZTlBB0922409224epsmtrp2O; Wed, 25 Oct 2023 10:23:07 +0000 (GMT) X-AuditID: b6c32a50-9e1ff70000004ba9-52-6538ef9bbc16 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 48.D0.08817.B8CE8356; Wed, 25 Oct 2023 19:23:07 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20231025102304epsmtip1bc37362777751d2e605797d915a1a2e2~RUqCS8_Hv0719407194epsmtip1l; Wed, 25 Oct 2023 10:23:03 +0000 (GMT) From: Aakarsh Jain To: linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: m.szyprowski@samsung.com, andrzej.hajda@intel.com, mchehab@kernel.org, hverkuil-cisco@xs4all.nl, krzysztof.kozlowski+dt@linaro.org, dillon.minfei@gmail.com, david.plowman@raspberrypi.com, mark.rutland@arm.com, robh+dt@kernel.org, conor+dt@kernel.org, linux-samsung-soc@vger.kernel.org, andi@etezian.org, gost.dev@samsung.com, alim.akhtar@samsung.com, aswani.reddy@samsung.com, pankaj.dubey@samsung.com, ajaykumar.rs@samsung.com, aakarsh.jain@samsung.com, linux-fsd@tesla.com, Smitha T Murthy Subject: [Patch v4 11/11] arm64: dts: fsd: Add MFC related DT enteries Date: Wed, 25 Oct 2023 15:52:16 +0530 Message-Id: <20231025102216.50480-12-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231025102216.50480-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VTa0ybVRjO+b7eINR9diyc1IFNHSQgZVRoORjYVNj2GfiBUXcxBmzoF0oo bdPLQI0ZMNgckcvIYMCAbdzlTqEdkALlJhvG4ZBBVBiDgoMiLtJtMi5qS0H/Ped5nzfP+z7n HBbOmWJwWYkKLaVWSOR8hivNOOTrK7jxFFGB8yUctNRVQkfmpwM09LjCyEBVG08wNFdlo6HB DgMTNfXex1DdqJmObg7fp6M7Aws09LO5G0MPSmZpKHd5Hkd6yxQdzVvPoJ96yhjomzYDHRWP 92GoeXiWiWqmH2CoVr+NoUrDMybK6h1mosz0avo7kGyqaALkdPU6TnaXzjLJKtMKRuobrjDI mSkTg+yovkBmjWzSyNzOBkD+nVHOJG16L3LsuY0Z4/ZJUpiMkkgpNY9SxCuliYqEcH7Uh3ER cSJxoFAgDEUhfJ5CkkyF8yOjYwQnE+X25fm88xK5zk7FSDQa/tFjYWqlTkvxZEqN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JEh4f1z+VrFmf/wUxG3+ULEP21hIu6vzWhaN3FXoeqnGMYGioZhJHpmYdgRqN/Riq 6+3kokpzPxe1dL3H0WCnAUMDJTYcFX4a5iDNBwsXDY9GotdtZTx0vUnHRbdfdGDogdlGoLvW AQzVauYwVK2bIpDKaCZQ9mU1NwjSjRWNgLaqJzi0odRG0DXtnzFa05DLo99a2nl0s/oirer+ hdOF2gZAzyvLCXpSs4Z+Pj1J7F0Sxd8SxySdPMMoNmw7xk8oGNNh8if8jJ/VenAJ3CPzgCsJ qU3wymg5lgf4pJB6DGB+bzG+aLjD3zk9xCIvh/XzI8Ri6AoGdfoBXh4gSR61Hva1JDl1EaUC 0Fqfu9DEoR7h0NykJpyh5VQInP3g7SzCKU/YPJINnCygtkFH0Zt/Y2vh/aZOjpNd/+pVM8qF YSG1FQ4NOUAxWFoFXBrAKkbOJscns75yvxTmrA8rS2bTU+J9jqcma8DCY1JpK2hv+O5jAhgJ TACSHIlIcDgMMUJBnOxcJqNIjVGkJzGsCawmcYmbYGasIE5IxcvSmESGkTOK/y5GuoovYVlG ZZlhfIPplvejvtOTtSKp0m8vFazPtHRYaneNUTEch0f30cHAqRvisKrZlzlwJqDV4O975GOs d3+wh2OndlTOVHV5soFWblZ75fictM0ouCmqbc5K+37gRKk2dHxgp+1g941A0ZB9hxsv+lp5 kRbGFJZG9pxJ77vss7m6+kSwL7d8VZDOInu/0h7NZK8Qnz8lD1FLx89mGr4MGr66fxoltQkz 64x7lIay0w9l1jbVcHia3Xp1XbTGpiqr6xKGmF5lRPRERFzbjYXF7vt2x2taHTUfGKDxinWf 7RjBQifCpfagQ8X7WzwSDR4u7JNnxPaJwQK3vBD/C5vExyU4myDzlXIUrOwPXytFcyADAAA= X-CMS-MailID: 20231025102307epcas5p1fde3d5b0095477a8a565ce9f913e71e5 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20231025102307epcas5p1fde3d5b0095477a8a565ce9f913e71e5 References: <20231025102216.50480-1-aakarsh.jain@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Add MFC DT node and reserve memory node for MFC usage. Cc: linux-fsd@tesla.com Signed-off-by: Smitha T Murthy Signed-off-by: Aakarsh Jain --- arch/arm64/boot/dts/tesla/fsd.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/tesla/fsd.dtsi b/arch/arm64/boot/dts/tesla/fsd.dtsi index bb50a9f7db4a..f421012b0a4a 100644 --- a/arch/arm64/boot/dts/tesla/fsd.dtsi +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi @@ -342,6 +342,18 @@ #clock-cells = <0>; }; + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + mfc_left: region@84000000 { + compatible = "shared-dma-pool"; + no-map; + reg = <0 0x84000000 0 0x8000000>; + }; + }; + soc: soc@0 { compatible = "simple-bus"; #address-cells = <2>; @@ -956,6 +968,15 @@ clock-names = "fin_pll", "mct"; }; + mfc: mfc@12880000 { + compatible = "tesla,fsd-mfc"; + reg = <0x0 0x12880000 0x0 0x10000>; + interrupts = ; + clock-names = "mfc"; + clocks = <&clock_mfc MFC_MFC_IPCLKPORT_ACLK>; + memory-region = <&mfc_left>; + }; + ufs: ufs@15120000 { compatible = "tesla,fsd-ufs"; reg = <0x0 0x15120000 0x0 0x200>, /* 0: HCI standard */