From patchwork Wed Jul 26 16:53:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 108782 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1023647qge; Wed, 26 Jul 2017 09:53:54 -0700 (PDT) X-Received: by 10.84.178.195 with SMTP id z61mr1522530plb.19.1501088034109; Wed, 26 Jul 2017 09:53:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501088034; cv=none; d=google.com; s=arc-20160816; b=p6OZDSZCxuTGHGwaTcjRIHMcNdslCaS9EK7APVQji01fmk89vKT8cCBXPdluVCocMY i7kuoby0oWKdKbAWlDKqp1CgXq41AJLh4sIuAVEKJYkJCkxN3DmgSfz8isqdydIPipgV Sex9OgMuZiV8ZP02vInMoP1GL/HJWVaZdM2iQZRbGMm2CTe1grY+45HzppJWXChr/h60 U2lsPFAPuK0LgUm6XWdNRjiCDnmoQO4pLtwCC39R+BGity0Y7lg5m/tHiB4TZvfQMIjT lCAQbccwkpaL43DG9gLl8WuDzDv79bmkgC0EM23uaDle7keHCyF/0Dnk9MYJw6JegBjy dj7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=9916WWpQhlDNcr7S3YTKjqWPgf3vUXVfN8hO8PJwKBc=; b=Krtud9PBBIbvId6o/NqB2zp9QBo3a2nSV579G1o3FpaLd5gI8hr4uE3Lplz08EhVvr qA63oJRxgBWctoO9A0yWR52KT/Nc+u2RJnOwDkQFpwqJMRF96p2jXpW2SR3MDtabIauJ tSPIutnVnE8+h/GwMEOGdsrGd+oSdEn83hBbFvMNTis+jlTF1CqJssCfryfFn2JVzC9P TtlislBF2FI5M3j4XGlr6kgDqVtuPCHnf6EBzyYFFDgSKtUqx4aCFt6T1pBX5Oa69AEt /4d5ePZI+Y8W11wlkXhjdTgqWocuOYyh9++fIFvoIkvbKLwPrVby/Rvcwe/TlEuWzo68 F+ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=h14e/N7K; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (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 p1si10468722pld.308.2017.07.26.09.53.53; Wed, 26 Jul 2017 09:53:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=h14e/N7K; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751103AbdGZQxw (ORCPT + 10 others); Wed, 26 Jul 2017 12:53:52 -0400 Received: from mail-io0-f171.google.com ([209.85.223.171]:32991 "EHLO mail-io0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750826AbdGZQxv (ORCPT ); Wed, 26 Jul 2017 12:53:51 -0400 Received: by mail-io0-f171.google.com with SMTP id j32so49402999iod.0 for ; Wed, 26 Jul 2017 09:53:51 -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; bh=LOJQZoOxRfPsaHDj+V7QtKCdFmevEBlXdjBIgKlKR14=; b=h14e/N7KWqXiKMgxWSGoV+BOhPtdqI0O4PzY7mhnET5I0H+JFUmKM1Gg/P7meTNXqA YRf//7E74zuf27Y0HuV5+VJeuXgyeHf+u9bX+j6oILhHNh4djlLvBXHfoX0Sv0p+SWzZ X9p+xTc5fq/otEWdvIkE8FEaLJwmLIoTzRJWM= 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; bh=LOJQZoOxRfPsaHDj+V7QtKCdFmevEBlXdjBIgKlKR14=; b=WC8zOLBmoWMES2UZOD0ZonsuFxWPzI4oC1yyy4dORVcfBtmVr1W6vFQYEiknRs1tB8 pOBzpg2VaNqPCZYYcD5woX/Ub+ler92mwqIv2bs7I7JeYj7pWzKjdVRWyZ8UNbKtEbJF bWOoA70uNQ2v87c+4aQc78i1ROjI3fzuY2Zl0U+/KNS1x7zyPW9+G8aA2nwopNmVwjBO HbJENYKcNP83TFiDgLXRosbVPYqflzuR0UC7/1tIDm8Kvj5qJ2tsOOobAwJr2wiWg6yT yAVRAmlXLH2K5AUbBBUfQrZJv+C/vcLZXiZMPBW11NRroRM8ngfX7f65QAxitarpDfPJ T3gA== X-Gm-Message-State: AIVw110IsnfBihG8rG2/cqNN5ZHM4slfG3ag5AIFtz68nlSwZI5ZgLDW 8Tbech/xfQgHnpyA X-Received: by 10.107.164.104 with SMTP id n101mr1694365ioe.42.1501088031256; Wed, 26 Jul 2017 09:53:51 -0700 (PDT) Received: from localhost.localdomain (static.8.26.4.46.clients.your-server.de. [46.4.26.8]) by smtp.gmail.com with ESMTPSA id m13sm8023185iom.34.2017.07.26.09.53.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Jul 2017 09:53:50 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: Bjorn Andersson , Ohad Ben-Cohen Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH] rpmsg: qcom_smd: add of_node node to edge device Date: Wed, 26 Jul 2017 18:53:44 +0200 Message-Id: <20170726165344.1120-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Srinivas Kandagatla This patch assigns the device node to the edge device, so that the edge device drivers could read required device tree properties. Signed-off-by: Srinivas Kandagatla --- drivers/rpmsg/qcom_smd.c | 1 + 1 file changed, 1 insertion(+) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c index a0a39a8..b01774e 100644 --- a/drivers/rpmsg/qcom_smd.c +++ b/drivers/rpmsg/qcom_smd.c @@ -1368,6 +1368,7 @@ struct qcom_smd_edge *qcom_smd_register_edge(struct device *parent, edge->dev.parent = parent; edge->dev.release = qcom_smd_edge_release; + edge->dev.of_node = node; edge->dev.groups = qcom_smd_edge_groups; dev_set_name(&edge->dev, "%s:%s", dev_name(parent), node->name); ret = device_register(&edge->dev);