From patchwork Tue Oct 11 12:25:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aakarsh Jain X-Patchwork-Id: 13004622 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 BC94AC43217 for ; Wed, 12 Oct 2022 03:51:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229831AbiJLDv2 (ORCPT ); Tue, 11 Oct 2022 23:51:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229650AbiJLDur (ORCPT ); Tue, 11 Oct 2022 23:50:47 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7158CABF24 for ; Tue, 11 Oct 2022 20:48:58 -0700 (PDT) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20221012034856epoutp04e4a968b2244f43c69ee6397011f10ca9~dNcATFOUj0572605726epoutp04G for ; Wed, 12 Oct 2022 03:48:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20221012034856epoutp04e4a968b2244f43c69ee6397011f10ca9~dNcATFOUj0572605726epoutp04G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1665546536; bh=o7QIEcScA/33C6YdFxTxnsg5BaDgsPatm7VHbSWXZVw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QjlB39tLbbKbqWf69Lr+Kiydw93v1ZNTQltdF82EvGbCG2laeuMAIIHDzzrIh6FLl ygYg+XK5RGUWgNYZSqQNCxeR24tqfp5i2pB/jtL47NTvaFnhd8lTY4t7Mqrv2ZTAJm DMHMkDk5yWfoShd36D+ymH3PehYQHmP0rlUs9PTM= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20221012034855epcas5p35b6ca2f32c0ccf31455b2c3cccb06d21~dNb-pG-S71108411084epcas5p3O; Wed, 12 Oct 2022 03:48:55 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.178]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4MnJY069smz4x9Q2; Wed, 12 Oct 2022 03:48:52 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 5C.5E.26992.42936436; Wed, 12 Oct 2022 12:48:52 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20221011125229epcas5p434cecc44beb02450c876de71c0f06011~dBNTRidnM1729617296epcas5p4s; Tue, 11 Oct 2022 12:52:29 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221011125229epsmtrp2206ccdadeb7f266ab4ab9b12e3d7d18e~dBNTQeBTR1820118201epsmtrp2Q; Tue, 11 Oct 2022 12:52:29 +0000 (GMT) X-AuditID: b6c32a49-319fb70000016970-22-6346392468ef Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id B8.1D.14392.D0765436; Tue, 11 Oct 2022 21:52:29 +0900 (KST) Received: from cheetah.sa.corp.samsungelectronics.net (unknown [107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221011125226epsmtip11bf61fb7e73799627eae74100ac2bdba~dBNQO9w_Y2675826758epsmtip1K; Tue, 11 Oct 2022 12:52:25 +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, ezequiel@vanguardiasur.com.ar, jernej.skrabec@gmail.com, benjamin.gaignard@collabora.com, stanimir.varbanov@linaro.org, dillon.minfei@gmail.com, david.plowman@raspberrypi.com, mark.rutland@arm.com, robh+dt@kernel.org, krzk+dt@kernel.org, andi@etezian.org, alim.akhtar@samsung.com, aswani.reddy@samsung.com, pankaj.dubey@samsung.com, linux-fsd@tesla.com, smitha.t@samsung.com, aakarsh.jain@samsung.com Subject: [Patch v3 15/15] arm64: dts: fsd: Add MFC related DT enteries Date: Tue, 11 Oct 2022 17:55:16 +0530 Message-Id: <20221011122516.32135-16-aakarsh.jain@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221011122516.32135-1-aakarsh.jain@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WTe0xTdxTH87u37W0JZXeI8ScBZI26iQLtLN0PI8whY9eJhumMhmzD2t4A Utra2w4H2YDxyGRixM0HCNQIDMfbAh1jMLtSZGPI0oxJIBYr+IJ1DikyxI2sD9z++5xzvueR c34/Lu5v5wRy05VaWqOUKgQcH5axb9PL4eujE2TCxtnN6F5XORvZq40cVLP4AEO3a5wsZG7v JFDHyEUc1Q+Y2EhvGWajb36YZKGrD11Ra7mNhR7oWwCarpjgIMPUTTa6M3MQ/dpdyUEn2zrZ qNliI1DdqBVDXxn+xtDlznkCFfVaCGTrMQJUWGzBdkCqqboJUF22WkCN1s7h1LcVNoKq6ZnG KEPDCQ5162YPh2qvzaWK+pdY1KmOBkAtf1pFUCWWUQ7lNIRQg0+cRJJfcsb2NFoqpzWhtFKm kqcrU2MEu/en7EyJkghF4aJo9JogVCnNpGME8YlJ4QnpCtcaBKEfShU6lytJyjCCyNjtGpVO S4emqRhtjIBWyxVqsTqCkWY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W57KA2ZK5KtTAgf/D0OvavPI1CX2UaikuEeDHWWDODIXltHoZsvCwToirORQMWO FgLdevAWRzUf/tnWPDeOeopvANSb30Eiq+cVgbr7tqK2O4UkOlVdR6BKh5tCpa5WDJVZf2Ho ct0ghbLvOSjkbrABlJXjwJZBtsJcAdh6twWwLss3AXs7302xJQ29GGstP0Gyb141kGyt5Qib /WgEZ8/cLAes92gRxRocLpIdsIawT4cGqA0B8cLFibw8+QCvnhezR5hkb6okVP3Cg8N6L5UB mmkD8KchswDafvdjBiCkxcxdAFvdz/AxMQX+yXlMjXEgvObtocaiTAx67t4hRgXJzIX3SxvJ URHEZAPounbCt0rAFOBw2NToqwKZVTD79XMf48x0eKXFRI6yiImBHS3D2NgJCbxe3SgYZf9/ 86+lj32NmFkC9Z/PYUYQcBH4lYOJvEqjkCk0EaoIJa8L03AKTZpSFpaQorAC3/dmz6oHt8q/ hNkBRgM7gLRAGiQCxcsTxKJE7tBhXp2yW50m5zV2MJnGpRNELwxNu8WMjNPy+3lexav/W4z2 n5SBPasuUhxJ3CsxpYdPy1y/Iy0J7Y+c0IXNbOnq6zNTOTLzSOcuVPlk573VvQuzMr5e0ktM zsH0zbrm0FRF9M9QSunXRHwZ5BhnkyuLu7rFPl50SLd98+I0Y6ynrRLWLjrldx6vnyG2nNTa CkYkp4mapcZpxqfSmJCjO1IlG7+ZL0/dZNoXfz1dZ3shOWM0CPu4Y/rlZ9dVRJUpt2Z5Olas lfBBtvhg2cA8vT3Kq4tSOKIXOU+H0V3RNbkfStZ4l2YmtFeF9EemztkYF/snXOsJdBbLtUFV Qx9zY398/zQ/19Iul5TFBWM6bV6y8XhboVOzK/bCnoCzqm0N3YXvjVJck8RFzBaoNdxf4MS1 ViwDAAA= X-CMS-MailID: 20221011125229epcas5p434cecc44beb02450c876de71c0f06011 X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221011125229epcas5p434cecc44beb02450c876de71c0f06011 References: <20221011122516.32135-1-aakarsh.jain@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Smitha T Murthy 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 f35bc5a288c2..b2f7345d2cba 100644 --- a/arch/arm64/boot/dts/tesla/fsd.dtsi +++ b/arch/arm64/boot/dts/tesla/fsd.dtsi @@ -340,6 +340,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>; @@ -832,6 +844,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 */