From patchwork Thu Aug 3 02:57:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 109290 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp213301qge; Wed, 2 Aug 2017 19:58:45 -0700 (PDT) X-Received: by 10.84.208.227 with SMTP id c32mr181424plj.281.1501729125036; Wed, 02 Aug 2017 19:58:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501729125; cv=none; d=google.com; s=arc-20160816; b=O/dJvkZiq5uNgTERMY7C1R97jTZUZZ1BJx2Yy6YhSZtpOCfWysdo9bfhgfXMDsQSjX XamKENlhISedFrNy//3/A9eqHmCy//I5rGRv0ULapRNX91Oh7lBu1MSaVPWvpHY/0b4v TlJDjfm7TZcr/8qKwTOzKGrx50Wez2c0OqBRytiDR6DADYZUhFsxmva2ddJb/fWmJJyv MCnlTtU5cnqJXVLApblOmZSMh3KbvYdmlP+ETDhbCuAEosDLWu66amrKILbaf6YKGkCx PPTHBjhz6TfFDB2d/OzTihaEYUC4JfzuLMgUPyFdGbSUAtHd75AKvv1pfKpnrYmBRHVf xTew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=ut2l3JQHCN/sqG0k4p57VWZEQUy2msWXF1eETHbZvlc=; b=iFvZXjzdtKF18WFPEHqVgwBkqE55clb4Y73vgQwzT4ascKXzV6k1pZZxCYNYawglTt 8z+KyY5HEpmsuSmo9Fly8Sl0iGnmxy6rK6XOsgOdH1aR2Mhih8bGdHBxM0/Ei41bO5eM oSIH8qlqFSOY2fqiG0mON0gNTpqWEpMHubxnCA+cxG3aoVr4Aj0sNsys0s0CLcqBndYD 21KuegUSqYu4QorFhiXmTb2znWzaEKdk6QUbVDP2vWo8IewzuV+k6AYm8ah4AgHRzEji wakpuTF8QdHH1Scirs/UqffbFxMrOwXTEpXZJK54BFx3ebRnGd7hygld/nud5Z3kRYZy 5WLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=IfcbjljI; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i63si7110424pgc.373.2017.08.02.19.58.44; Wed, 02 Aug 2017 19:58:45 -0700 (PDT) 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=@linaro.org header.b=IfcbjljI; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752263AbdHCC6l (ORCPT + 25 others); Wed, 2 Aug 2017 22:58:41 -0400 Received: from mail-pg0-f54.google.com ([74.125.83.54]:37208 "EHLO mail-pg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752086AbdHCC6C (ORCPT ); Wed, 2 Aug 2017 22:58:02 -0400 Received: by mail-pg0-f54.google.com with SMTP id y129so732302pgy.4 for ; Wed, 02 Aug 2017 19:58:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ut2l3JQHCN/sqG0k4p57VWZEQUy2msWXF1eETHbZvlc=; b=IfcbjljIbGLkalXegZmPWDyptEqYUzg3axFl+0Mc1vhLJQsfr0WcFcE7IpHyImpQ5m t9/jMIY8sjn1E5UPoZ8+CXxrp9kSnrYYytIjMVxIgpWXD98bQMZdtuuGyHUOUAnJuFew bQ6Rj2Yk0xCKRLi05fxTmh2q1j6lOB2kJ30JM= 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; bh=ut2l3JQHCN/sqG0k4p57VWZEQUy2msWXF1eETHbZvlc=; b=e17TnIMVNWa+05YsdHU+EAaQOOGPOe98Hhlk8fBujOrDa2u6Z0XpqUjBsAxB5GkHlf ijK9/7FXsqYdhCCxp8b2qpTdcdSqCgw5sqhDKoj1i+6SWaRlf2cDmXhSKn5oOTcdIhwX FrDBj79fzcjtSriUWYG3Z86Ucts1rCfuI7uTtABfB7qWBcjjbTuQKdVNuXA8JSBwXw2R GtpcdaA8sd+ByJZnJMdldm7yoybp0uMPSvQekhHcO5Pe2YiyWzN5iJ0GdoAkF47aVE+M lLaOcLre1zGrx0cyYjc5lQPrrxmecxJfNzxfDV8HUUM8c/QjCJZ9OWxBKL4ycOnXEtVE Wzxw== X-Gm-Message-State: AIVw111Na4/RjZQtWMWNIjeRDxXI30GneVbNq6j38869/WB9faY5IztL /Wcd5yBQCJJfasTX X-Received: by 10.84.193.101 with SMTP id e92mr188043pld.209.1501729081687; Wed, 02 Aug 2017 19:58:01 -0700 (PDT) Received: from localhost.localdomain (ip68-111-217-79.sd.sd.cox.net. [68.111.217.79]) by smtp.gmail.com with ESMTPSA id z83sm10722573pfd.10.2017.08.02.19.58.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Aug 2017 19:58:01 -0700 (PDT) From: Bjorn Andersson To: Rob Herring , Frank Rowand , Andy Gross , David Brown Cc: Mark Rutland , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH v2 2/5] of: reserved_mem: Accessor for acquiring reserved_mem Date: Wed, 2 Aug 2017 19:57:51 -0700 Message-Id: <20170803025754.19101-3-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170803025754.19101-1-bjorn.andersson@linaro.org> References: <20170803025754.19101-1-bjorn.andersson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In some cases drivers referencing a reserved-memory region might want to remap the entire region, but when defining the reserved-memory by "size" the client driver has no means to know the associated base address of the reserved memory region. This patch adds an accessor for such drivers to acquire a handle to their associated reserved-memory for this purpose. A complicating factor for the implementation is that the reserved_mem objects are created from the flattened DeviceTree, as such we can't use the device_node address for comparison. Fortunately the name of the node will be used as "name" of the reserved_mem and will be used when building the full_name, so we can compare the "name" with the basename of the full_name to find the match. Signed-off-by: Bjorn Andersson --- Changes since v1: - Previous patch provided interface to resolve memory-region reference, instead of direct lookup by device_node drivers/of/of_reserved_mem.c | 26 ++++++++++++++++++++++++++ include/linux/of_reserved_mem.h | 5 +++++ 2 files changed, 31 insertions(+) -- 2.12.0 diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c index d507c3569a88..b40cfce68fd4 100644 --- a/drivers/of/of_reserved_mem.c +++ b/drivers/of/of_reserved_mem.c @@ -397,3 +397,29 @@ void of_reserved_mem_device_release(struct device *dev) rmem->ops->device_release(rmem, dev); } EXPORT_SYMBOL_GPL(of_reserved_mem_device_release); + +/** + * of_reserved_mem_get() - acquire reserved_mem from a device node + * @np: node pointer of the desired reserved-memory region + * + * This function allows drivers to acquire a reference to the reserved_mem + * struct based on a device node handle. + * + * Returns a reserved_mem reference, or NULL on error. + */ +struct reserved_mem *of_reserved_mem_get(struct device_node *np) +{ + const char *name; + int i; + + if (!np->full_name) + return NULL; + + name = kbasename(np->full_name); + for (i = 0; i < reserved_mem_count; i++) + if (!strcmp(reserved_mem[i].name, name)) + return &reserved_mem[i]; + + return NULL; +} +EXPORT_SYMBOL_GPL(of_reserved_mem_get); diff --git a/include/linux/of_reserved_mem.h b/include/linux/of_reserved_mem.h index f8e1992d6423..91b1eb5076e4 100644 --- a/include/linux/of_reserved_mem.h +++ b/include/linux/of_reserved_mem.h @@ -44,6 +44,7 @@ int early_init_dt_alloc_reserved_memory_arch(phys_addr_t size, void fdt_init_reserved_mem(void); void fdt_reserved_mem_save_node(unsigned long node, const char *uname, phys_addr_t base, phys_addr_t size); +struct reserved_mem *of_reserved_mem_get(struct device_node *np); #else static inline int of_reserved_mem_device_init_by_idx(struct device *dev, struct device_node *np, int idx) @@ -55,6 +56,10 @@ static inline void of_reserved_mem_device_release(struct device *pdev) { } static inline void fdt_init_reserved_mem(void) { } static inline void fdt_reserved_mem_save_node(unsigned long node, const char *uname, phys_addr_t base, phys_addr_t size) { } +static inline struct reserved_mem *of_reserved_mem_get(struct device_node *np) +{ + return NULL; +} #endif /** From patchwork Thu Aug 3 02:57:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 109287 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp212888qge; Wed, 2 Aug 2017 19:58:11 -0700 (PDT) X-Received: by 10.84.178.129 with SMTP id z1mr231346plb.260.1501729091756; Wed, 02 Aug 2017 19:58:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501729091; cv=none; d=google.com; s=arc-20160816; b=zyY5ZLFxunB5/STMQ3zznOMO2mg5qmM9L1WWw9KxLyAO21U6j48Wn6mPA3c9X9kZyD 9GF/yblzbq7g4/Tm/U/Z8i5FSohHsBjhT4tecVCquVdf6GYRknYlYHZv3U9i1Sj1Os5C /hpEP0/eknxzZxzGkjR5Gtr6yPDT+y/saPy6aHA01cJbLrrBJznsIA8NVDUGIgQ2d9vw IeDzDljtLCBfFdSi7Lged5V3kdP72f88tgWAns45oTyVDNYF0rwBKF9Eg/HKncvKO0sq 2zEb8BkXWiF3W1/1sAW2l6pMNO8F9a0XO9IT16DnFDA37OLybXe69De0ntGV03ZWuPId BHmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=lndZoWBcJEIXmSMZtTQsfQTfJW/xxNKcX/h5wS8R2dk=; b=si2xD83PmslGQFgPojL/3Q5sJlFwraa0Ao1pzBru2+Sm9pYT5/VCsGA1e5siDvvMag VRrW4Hu0ajcnZkvBQZFVsfVsO7J/63y8ZW1Q4ONk+4bfALkYbITore3uXzFPYcmhSJ70 FsYcD3d+fURM31MLqGY21imW/xbCWdIC9cMqQbEoIivg4Km0WP17jRFM3+GvrTn7i6wv 01ibOrgGLlcx/ratVMzzlP1D8N9PtXf0h3Ph4Zkbs3FlW/Op9f9EC9nr3193BWPsYK/4 cqMSHaC2ASwLDPC7ScBtKNOhbIRkbDP5fcPZcI371iOzVlLfg8X4JBwOruOGP0qDqjMv vD+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=WDLihPZj; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k184si4175040pgc.754.2017.08.02.19.58.11; Wed, 02 Aug 2017 19:58:11 -0700 (PDT) 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=@linaro.org header.b=WDLihPZj; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752177AbdHCC6H (ORCPT + 25 others); Wed, 2 Aug 2017 22:58:07 -0400 Received: from mail-pg0-f48.google.com ([74.125.83.48]:35071 "EHLO mail-pg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752133AbdHCC6D (ORCPT ); Wed, 2 Aug 2017 22:58:03 -0400 Received: by mail-pg0-f48.google.com with SMTP id v189so790014pgd.2 for ; Wed, 02 Aug 2017 19:58:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lndZoWBcJEIXmSMZtTQsfQTfJW/xxNKcX/h5wS8R2dk=; b=WDLihPZj96NmMNEAZlBgFl76ytzJSdKRBjGpqZYrSniWUe7wUBckGWo9Kthk/3WD/7 UlvR7wkG6/xMErfgH15l/da27QUxrxlte7HlOTfgbvrACQrQKfv/VsVjk2r5oc6Qd4zh Op+JHdDz8h3rMNNgjFyI1aQFMLjgj8GWJ+r3A= 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; bh=lndZoWBcJEIXmSMZtTQsfQTfJW/xxNKcX/h5wS8R2dk=; b=mqdUQMKXgAysrxgsrTSnQzxcOYIT/bWmnN0dEUdnqS2cW19VBVlKV1emQemqw1pq5d TxWyoFR7oMbQ91iSORY2jvhEKlTxwtob6Z9eqnpx6um5+45gqwXn5i5GgRnlQs1ujIZQ WLhtXjlzj1Kvv9GzWByh0y3ZFy1e+r9UXz36v5Qaotom87x32+jCEHNa4GVE/zq00/cj MVeABr4xiUTXvZtSbBcjWTdmwhcqHHGX1KEG8Q9tRv2r5neWgtDcS9fXobA7UwrArqEB c/YQ7a/pzcmz1Uw83ZWMKNgGYJVdrRVTrvwCdODmUb+A29V2ITRzpXrGNwxy1omGktV9 xdgw== X-Gm-Message-State: AIVw110MYO+4GXH4+6jr3iHFFXp5O0MQ/PelKMMp06aLLNSTRsozDi1u cK1IduwKpTxhUxYu X-Received: by 10.99.119.76 with SMTP id s73mr185480pgc.374.1501729083142; Wed, 02 Aug 2017 19:58:03 -0700 (PDT) Received: from localhost.localdomain (ip68-111-217-79.sd.sd.cox.net. [68.111.217.79]) by smtp.gmail.com with ESMTPSA id z83sm10722573pfd.10.2017.08.02.19.58.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Aug 2017 19:58:02 -0700 (PDT) From: Bjorn Andersson To: Rob Herring , Frank Rowand , Andy Gross , David Brown , Mark Rutland Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH v2 3/5] dt-binding: soc: qcom: Add binding for RFSA Date: Wed, 2 Aug 2017 19:57:52 -0700 Message-Id: <20170803025754.19101-4-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170803025754.19101-1-bjorn.andersson@linaro.org> References: <20170803025754.19101-1-bjorn.andersson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds the binding for describing shared memory used to exchange file system blocks between the RMTFS client and service. Signed-off-by: Bjorn Andersson --- Changed since v1: - Memory described in a single reserved-memory node, rather than by reference from a "dummy" node - qcom,vmdid added .../bindings/reserved-memory/qcom,rfsa.txt | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/reserved-memory/qcom,rfsa.txt -- 2.12.0 diff --git a/Documentation/devicetree/bindings/reserved-memory/qcom,rfsa.txt b/Documentation/devicetree/bindings/reserved-memory/qcom,rfsa.txt new file mode 100644 index 000000000000..d9bec8eec696 --- /dev/null +++ b/Documentation/devicetree/bindings/reserved-memory/qcom,rfsa.txt @@ -0,0 +1,51 @@ +Qualcomm Remote File System Access binding + +This binding describes the Qualcomm RFSA, which serves the purpose of +describing the shared memory region used for remote processors to access block +device data using the Remote Filesystem protocol. + +- compatible: + Usage: required + Value type: + Definition: must be: + "qcom,rfsa" + +- reg: + Usage: required for static allocation + Value type: + Definition: must specify base address and size of the memory region, + as described in reserved-memory.txt + +- size: + Usage: required for dynamic allocation + Value type: + Definition: must specify a size of the memory region, as described in + reserved-memory.txt + +- qcom,client-id: + Usage: required + Value type: + Definition: identifier of the client to use this region for buffers. + +- qcom,vmid: + Usage: optional + Value type: + Definition: vmid of the remote processor, to set up memory protection. + += EXAMPLE +The following example shows the RFSA setup for APQ8016, with the RFSA region +for the Hexagon DSP (id #1) located at 0x86700000. + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + rmtfs@86700000 { + compatible = "qcom,rfsa"; + reg = <0x0 0x86700000 0x0 0xe0000>; + no-map; + + qcom,client-id = <1>; + }; + }; From patchwork Thu Aug 3 02:57:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 109288 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp212921qge; Wed, 2 Aug 2017 19:58:13 -0700 (PDT) X-Received: by 10.98.61.93 with SMTP id k90mr199517pfa.174.1501729093578; Wed, 02 Aug 2017 19:58:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501729093; cv=none; d=google.com; s=arc-20160816; b=0ChDxvgaGcojVmwMpcdCUqiEXfHdpo7gxW8eom8fURekMMaORXZmxHoCQaUZ0rT6n+ HWNN35aUV+CYa7IeacVqrBLv3zI4gjwp1DdaZuut2Y9FF0B4TjZHBF6UzX5Ix4MtfkZ/ 3OMwCV55dhEnWVv+iejtALXGqe4zm64w+WtdwXQIc5l/xzW5xXp8dfyyXBvov9AJZUEk iow2C83h90S72eHKkfb0gp/ULZiXf5J+Z8RVau2aLkLeZPYGBf2i4SoIWlSfSF7eSbdH VlkNhveKHU4L5jHxYejSgPhFfUWBKdzzAgf0fGJ61pTcNiuCk6zKebpEACAY1moT3O5Z X0jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=+12fL4IaVCsiEyKLJwZnR6RvSyIIKM2TSAxvedmEmQc=; b=CY8eHQXMgnheWhbeYuXlNxK9XITzlovr1GkpU4Hok75dO1BaMYU6dqBpiicmFDeq6X NS6vbhBVpkFF8c/oyesdqdcnVEfDoVR79IilkgbczKeHbCIWgshzKn4bGjHg2x2H1Lwl i2+6HxWy3ISo855JglFvNGMW0n6XaJ+inyplnhLhRwiaXwrD7tAy7OLCPOHt6beCPtCn Xg6PyaxUDEjCHjQSqiQWl6AzWNVFz0/EgxW7ssZ/YK1/maJ4rEjsrZS4Eqi0TAqIJXg6 6qUwlzq2jSqOGvzGfJkZq5w2dWJH87H2zBMG8Ymz8W9LHOY8PEX5NjQ+Rs8mMDGhZgJp KpGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=hxPOrmw6; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n7si18131346pgs.893.2017.08.02.19.58.13; Wed, 02 Aug 2017 19:58:13 -0700 (PDT) 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=@linaro.org header.b=hxPOrmw6; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752216AbdHCC6L (ORCPT + 25 others); Wed, 2 Aug 2017 22:58:11 -0400 Received: from mail-pf0-f175.google.com ([209.85.192.175]:32844 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752183AbdHCC6H (ORCPT ); Wed, 2 Aug 2017 22:58:07 -0400 Received: by mail-pf0-f175.google.com with SMTP id d67so817266pfc.0 for ; Wed, 02 Aug 2017 19:58:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+12fL4IaVCsiEyKLJwZnR6RvSyIIKM2TSAxvedmEmQc=; b=hxPOrmw6rEHqC+ty+LKMh3R2alzGYLHbkyfqE6mQp4Obd+qHZWB1nucH473fc8L4pd p+/XJTF040kcDThtzB1hsIntQllb9Avtq5m0qk8QxdP9uhaI9dlv7iL92fuVSEF1yW11 EiDsFlcMXUDUxVph8awnBn5rfJQiRWLTv8Z+g= 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; bh=+12fL4IaVCsiEyKLJwZnR6RvSyIIKM2TSAxvedmEmQc=; b=AjM7rxPveAoac9iyVZIHfyfg5tjt/UTZgj4Fgk1MoMPQ6nwMJurlUHNvO6V4yXFoaP 6neaFtG+/eJ/eeRmj06K2ZktzRdG7Tx662Rgos2//6t4wuhP7IzmP3S0bVjLxT0vvQHM Z2Ea7tHOsmTsBJwyFMCYEzh6mFmC4K1o/kgdiuYa2zaZQvjj8uhMxtuMLG+jdc5TJGZ2 +sT8t4Giqs4DuXz5dsFxanrrk9W6w++hPOv9YZjF5m1lABB8EUoe0reG5VkgxVAF3Wqn mBnTB98QKHrM/cAH7Rj+LkyP8nRfsewcv2ywVnW44nB/WmMvMA5VFT75DW4HKbs0hIzQ /NoA== X-Gm-Message-State: AIVw112/5OQnGNHP2L+SvO5V3iIMERDY+viiUDT68vwLBXEW2RU4TAzu uq76A6Ovebe+cOuA X-Received: by 10.101.72.138 with SMTP id n10mr198567pgs.138.1501729086126; Wed, 02 Aug 2017 19:58:06 -0700 (PDT) Received: from localhost.localdomain (ip68-111-217-79.sd.sd.cox.net. [68.111.217.79]) by smtp.gmail.com with ESMTPSA id z83sm10722573pfd.10.2017.08.02.19.58.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Aug 2017 19:58:05 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , David Brown Cc: Rob Herring , Frank Rowand , Mark Rutland , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Subject: [PATCH v2 5/5] arm64: dts: msm8916: Mark rmtfs node as qcom, rfsa compatible Date: Wed, 2 Aug 2017 19:57:54 -0700 Message-Id: <20170803025754.19101-6-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170803025754.19101-1-bjorn.andersson@linaro.org> References: <20170803025754.19101-1-bjorn.andersson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that we have a binding defined for the shared file system memory use this to describe the rmtfs memory region. Signed-off-by: Bjorn Andersson --- Changes since v1: - New patch arch/arm64/boot/dts/qcom/msm8916.dtsi | 3 +++ 1 file changed, 3 insertions(+) -- 2.12.0 diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 039991f80831..9d364297df3a 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -69,8 +69,11 @@ }; rmtfs@86700000 { + compatible = "qcom,rfsa"; reg = <0x0 0x86700000 0x0 0xe0000>; no-map; + + qcom,client-id = <1>; }; rfsa@867e00000 {