From patchwork Fri Dec 28 16:18:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 10744569 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C3A2A1800 for ; Fri, 28 Dec 2018 16:20:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AF16128B7A for ; Fri, 28 Dec 2018 16:20:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9BEC628B80; Fri, 28 Dec 2018 16:20:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 500D928B7A for ; Fri, 28 Dec 2018 16:20:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cHM2oXA801p30uOqbpjaxVX3LO7a/AmPJwc4dY3bIzg=; b=J8ZnEHQjj/0zov 4Y6oowM40gkyQy1ARlG+HcnL0mAXbcIZ9llR33PltxHrUBdn//90fbr8OdSBTkHhmJU6AM+gSX2kY HuE8eDkochcCFuI4jW1Vf6ki+I+8r+Upd3uoMAmI/m9ZgNL96YDc+5Se0jtcmsP7EYnzwNtFb0wJD VMxJCXsJ5vTXk9rDmn0YyYT35hIAtBdK3OuxEclRImyK9oYuY1XSC430+79YUi6170g7dcH6L8Ocw 2o7Euc1VYLkp+obrDjSz46oSYgsXDFh8M0DF0lj5wCcl9t8WA2YdUuz7UI73AIRYr1aC28+sGhzmY 2XdC7ndkdKBMkBnHybdg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gcurX-0005Lj-Tm; Fri, 28 Dec 2018 16:19:51 +0000 Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gcuqX-0004Ey-Hw for linux-arm-kernel@lists.infradead.org; Fri, 28 Dec 2018 16:18:55 +0000 Received: by mail-lj1-x241.google.com with SMTP id k15-v6so19067857ljc.8 for ; Fri, 28 Dec 2018 08:18:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=VPTqR/NzmUP1Wul0aNxp78EL3f6kYB4v+Ag3WPPcrKg=; b=cwXSDmNZZWiczSKWBk/SCxRIp590NyY+UjX9pdCeYzjJHP4NP3AostVNWWhIr9F1UH XhwuV5sbGOR2vlaVczSTSS26T41B80JFjpWTgWbCxsykut9JlBgnXUGnM8Vr8KYv+c0X Y8VbVNwjtiXKdsgjPK6oNaUIGdGsJIEmcBfPIVGSsT3LWKQ5LNrE9b9pL7q3wnrCZAne XIm30Tgh5qqJMvAsRU+nnra7JgeRc9hgKdy++n+vDuatfwTWGgILUTfo+xiVpDyRRDVD k1xMXNojYPO15j4q/btA0u69GQZP/BX1O9hB78cBCDVOX1xxW3OqwYz7Zi7ria1WBX2h bgdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=VPTqR/NzmUP1Wul0aNxp78EL3f6kYB4v+Ag3WPPcrKg=; b=BM+87FhExPn9iuNpb4B4ejUwijDgRi83B3JDxbSxfEuWtMHhHbtrQP7WLfUDLClfqv Hu/UIVhznFjedTluVhutk2GOtevstg8v3eG6HU21vPTGmkRd6O5zWgMfIW6sQniBdsQ5 JyPVhlu+7auiXYVzTbi17iKFGI8qCIw16TUZCkjNpTGbsGtePWUxQgzufHLDDPyMgW/o fvcrRvCAnkRWa28JhOAF66Rt5gdIK9LjSwaaOsv5bL+dkh7CfM0BDbzDm7mFhFGuogeo MLu1FXSluVxcMVYkzVnTBQXEWf9keNK3cB5QlGFcGgKLdNPXDrL7lUslvy4eoxokuWPH ZYXw== X-Gm-Message-State: AJcUukdyQjp5ft0ECwFHLtXWqV7vqJJxYLv8S7IggMT/QJbX85+Chc09 Q1BpDRaDDTkFKbJYj4dS1mk= X-Google-Smtp-Source: ALg8bN7vhbcxBxIUfk+PmZCMDZupq1zYbzPLi0ZpXHL7/tBc90xphfD81cJH9cKIDY5cZnRYpgLB3w== X-Received: by 2002:a2e:5d12:: with SMTP id r18-v6mr18419477ljb.89.1546013917644; Fri, 28 Dec 2018 08:18:37 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:7146:fd07:48ff:9665]) by smtp.googlemail.com with ESMTPSA id r4sm8136502lfe.60.2018.12.28.08.18.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Dec 2018 08:18:37 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: krzk@kernel.org Subject: [PATCH 4/6] ARM: dts: s5pv210: aries: Add reserved memory for mfc Date: Fri, 28 Dec 2018 17:18:17 +0100 Message-Id: <20181228161819.18931-5-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181228161819.18931-1-pawel.mikolaj.chmiel@gmail.com> References: <20181228161819.18931-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181228_081850_054214_54EFF3A8 X-CRM114-Status: GOOD ( 11.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, xc-racer2@live.ca, linux@armlinux.org.uk, robh+dt@kernel.org, linux-kernel@vger.kernel.org, kgene@kernel.org, linux-arm-kernel@lists.infradead.org, pawel.mikolaj.chmiel@gmail.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This commit adds memory reservation required by MFC to run. On S5PV210 both regions needs to be on separate memory banks. Size of both regions is taken from stock sources. Signed-off-by: Paweł Chmiel --- arch/arm/boot/dts/s5pv210-aries.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi b/arch/arm/boot/dts/s5pv210-aries.dtsi index 575094ea7024..35ba009a1a33 100644 --- a/arch/arm/boot/dts/s5pv210-aries.dtsi +++ b/arch/arm/boot/dts/s5pv210-aries.dtsi @@ -23,6 +23,24 @@ 0x50000000 0x08000000>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + mfc_left: region_mfc_left@43000000 { + compatible = "shared-dma-pool"; + no-map; + reg = <0x43000000 0x2000000>; + }; + + mfc_right: region_mfc_right@51000000 { + compatible = "shared-dma-pool"; + no-map; + reg = <0x51000000 0x2000000>; + }; + }; + wifi_pwrseq: wifi-pwrseq { compatible = "mmc-pwrseq-simple"; reset-gpios = <&gpg1 2 GPIO_ACTIVE_LOW>; @@ -329,6 +347,10 @@ status = "okay"; }; +&mfc { + memory-region = <&mfc_left>, <&mfc_right>; +}; + &pinctrl0 { wlan_bt_en: wlan-bt-en { samsung,pins = "gpb-5";