From patchwork Tue Jan 8 16:55:58 2019 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: 10752485 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 E3CBF13B4 for ; Tue, 8 Jan 2019 16:56:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D1E3D26E3C for ; Tue, 8 Jan 2019 16:56:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C4E7C28DC1; Tue, 8 Jan 2019 16:56:37 +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 7681826E3C for ; Tue, 8 Jan 2019 16:56:37 +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=XQISgMNPserEwYH0jMaldpwLAI/GhGzuPO+QvOuBaEQ=; b=kO1C+P8qFcXLAZ 7QMtUoshm/katgxj7RFaRpJEUlV8OeR4QPpnQ17kJyp3JgZVEqM5KfB4PiZlx7dQVJvsLsPZby/Uv 1H8+K3RUtwxFCPZ89wfrWoPuyjlg7hQSQggbnH66OAsaEPvHKTwK52ui9a7u0wfNAlGDXSO6cbVKa UlCbO7XUocAJcoL/lS0d8hED0dH9YmnnSn4iIXijYkNW9rHb1A1xViWeyMQxtlyEJxL/eS+QVyR72 1qTEbRX4u7lUVhvXM+yd+2wsHR1ck6UwtOIe+tozuAuqGTxmqEQXYivcKvWP/LsgbjfPBTW6pwz0C ICxmz9Z1TVsgjoVNCJ6Q==; 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 1ggug0-0003UZ-8g; Tue, 08 Jan 2019 16:56:28 +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 1ggufi-0003BG-Bn for linux-arm-kernel@lists.infradead.org; Tue, 08 Jan 2019 16:56:13 +0000 Received: by mail-lj1-x241.google.com with SMTP id g11-v6so4015211ljk.3 for ; Tue, 08 Jan 2019 08:56:10 -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=VIXdKaNMPtobjAOPGefAYdE2Y5N/BCTmL+cYvBirEWzg4qaJ0k7p5XdixSCUnXNaIt skM9AH3HQUsD8n9hOMzFFSPqj+WdFRRDmj32onEFWOCtaybKZVQl5ilT4WGNzt4QNlSt M8uEvNZRo8ktCszgkBUvj5URJDjOOOdxM3DgBFhMxnjiyNWpK2cadXKcSP8WznfEkPNm w5egL9FngoFOY/PmJUAVutfmr9OSKS5uWhbna6Lhd1KKNbJdDQSOtVJugJqByK808tIR eTxtjxvBo5DJ8z7btZDdyZ7KTez+6HTNXYtMiRCCxxEqKRUTduyUdYWeqyVJ5L1Exn6f GqKA== X-Gm-Message-State: AJcUukfhkFkyQDIoT6xHEPR2hgUZorKSVUrM0NqNQzA1/6LN00v/NhiT xogQeYjEoWh5Q/oeIJ7DY/E= X-Google-Smtp-Source: ALg8bN7vWxUp46zVTLsiadiH8y0zquk4m8rzMk8e+zfqwL/X/eTuBX6xuma+zuTHUhLZSUJjIV1rlA== 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_Chmiel?= To: krzk@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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190108_085610_726524_1C5CE090 X-CRM114-Status: GOOD ( 12.63 ) 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 --- 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";