Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4949655imu; Tue, 8 Jan 2019 08:58:23 -0800 (PST) X-Google-Smtp-Source: ALg8bN4oubDuKZn92iYEf7s+zQ5Q17hMcbqG6K6XCfZ0asdOwlMJIYTnIXw6iFY2rCxORwk0Gddm X-Received: by 2002:a63:451a:: with SMTP id s26mr2220229pga.150.1546966703660; Tue, 08 Jan 2019 08:58:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546966703; cv=none; d=google.com; s=arc-20160816; b=r4Q9/A2dpZXhhsAbK9AV6foalj8A+W33xbRmTCZyW/z/pFzYuR4zutG/ckL/kW/NHo ouxozv1NSq0Lmoyxj0Wwf9Ecq6CSzDG4AKoZ5aWlfavhKri0c/jZekiopLi3JGzV26ee IVeU1KJam3BWXwNcbtf+1lyyeTkxgBdjcatBAbNdCn5vIRCwGfDH5evmKpFRObWFpa0L hhrX3GEexPy4X9PEAjFYnL73FuM8KVQeCpq20nGT/tzPz6PbqZQ9W9qO4sEBi9caD+Io lutjx8pl2tCQBD2GywFt5frrnUXB848s90VMKu8h7vefRAwVvTk3IXp5aLSw5S1ERe7e BXrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jAEXFJkBZ3UVZneEhxEUAboaTpH0jjDGy7Sznxt2tMw=; b=d5CAq5rBcK7WK+3Wb+Rf+bmrrcxcj0lAxP7ZG30zHCpI4L8w/ta3d4gol4fzTZmlKs pl1mnHL/TadmuDRVjryrhyeUDCyo8c8W/Xl7IC6gFXhD0/NKpyVURMBg+2YXilceCAcD +F/iRlBd9T82dOufU5oSvPbZdzV5gwu+Y9xWrWJWrtPBbVTwNgG0OGORe8kd3GgB6gAE Tl3jmGl6wqG7Qj6p6n1LnhIsMvjYyvwyGhYuzhtvKgbds/K9g7iInvY79N+DOEmOl3xT PFqXiFTsK5OqoOCdmKK9XEPfpiNF/grfNk7UXuf8yhF+IrHwxbMYcWw9ThalTgKtkWA2 iNbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A31b7aW8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3si23586336plk.328.2019.01.08.08.58.08; Tue, 08 Jan 2019 08:58:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A31b7aW8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729040AbfAHQ4e (ORCPT + 99 others); Tue, 8 Jan 2019 11:56:34 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:33652 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727764AbfAHQ4L (ORCPT ); Tue, 8 Jan 2019 11:56:11 -0500 Received: by mail-lj1-f193.google.com with SMTP id v1-v6so4027076ljd.0; Tue, 08 Jan 2019 08:56:09 -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=jAEXFJkBZ3UVZneEhxEUAboaTpH0jjDGy7Sznxt2tMw=; b=A31b7aW85KjLT5S9fD0JOkn66FArIYgUEAabFdE0BoN9HbQ8YiOMGC94Vr8Y67UX6l 9DUzAaBI9h+fIB6qQRAe8EuyrBdbBKq27+ul+2Z/oyyzd/MTmbOj8KKleRoswwKwGLp/ cBO2ys1ru3VcFD9f83yRSvq4ifNMlHxsrkExSK5gnoIPqEStYlnYlqbF1O5SArVHv/33 WZW1bFFEiIotYNftF1E+bVcya4NvX1thwEpU8fNNpazh8SOp27MRmtvHNGKEdVwxj/kp bMsL/fX6w+Eymu5SOXR4nA+URpj//lG1LwONM0XajRMcTV2/OwGotwYZpyYhkYl1q0N1 qqgw== 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=jAEXFJkBZ3UVZneEhxEUAboaTpH0jjDGy7Sznxt2tMw=; b=JoIarZj8wWGOYpLdnwczyVPtVRsZhS5nV6TwcFr75I2LsNqjx1CpuABnZVI6hE3k8n qIvSOhgJFbVW0JaoJc2T1KcBxJtudDpqLPGGGn4EFI1jzSxz2neYhS8+pIpJxKf6Tm6+ apzk5LaiaTExxSVNubQEN/GelNVaAEK9bFfuUD4wC/RaIJ072CnTr8IwGt8oIXT8KsZG fTrH4U8Hx1YXcBUxd9ZkDrsvOSEVEgdi9+cPDslxbfZwLZUUMnyv17mqvzN10NFS/KrP ZgIQlBzBhDAU4FJxQhnbVb5dcJ0j/1hh47XASbDxCC9hk3NS6/UPYSoAdsVXxO8wytTm L1CA== X-Gm-Message-State: AJcUukfo/MxoDPDAzZJy07Hpz+QyDXC094YXEWe7JUCQVMvyQndSvA7F GuYlBgS0MMTxOmO2FEnaXRU= X-Received: by 2002:a2e:45d:: with SMTP id 90-v6mr1524269lje.110.1546966568574; Tue, 08 Jan 2019 08:56:08 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:d033:e708:8ec7:810d]) by smtp.googlemail.com with ESMTPSA id f8sm14687989lfe.72.2019.01.08.08.56.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Jan 2019 08:56:07 -0800 (PST) From: =?UTF-8?q?Pawe=C5=82=20Chmiel?= To: krzk@kernel.org Cc: kgene@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, pawel.mikolaj.chmiel@gmail.com, xc-racer2@live.ca, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/4] ARM: dts: s5pv210: aries: Add reserved memory for mfc Date: Tue, 8 Jan 2019 17:55:58 +0100 Message-Id: <20190108165601.25708-2-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190108165601.25708-1-pawel.mikolaj.chmiel@gmail.com> References: <20190108165601.25708-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- Changes from v1: - Fixed name of nodes to be more generic --- 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..89525e56cc7c 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@43000000 { + compatible = "shared-dma-pool"; + no-map; + reg = <0x43000000 0x2000000>; + }; + + mfc_right: region@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"; -- 2.17.1