Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp689349imm; Mon, 9 Jul 2018 08:54:42 -0700 (PDT) X-Google-Smtp-Source: AAOMgpddfDGv5JIbzVXRAx1ra9zJqwkRTgsYjE0iicq4jm8hbru/2mfbpEQPyupQ8HUIBDYGd4ry X-Received: by 2002:a17:902:1025:: with SMTP id b34-v6mr20738494pla.112.1531151682032; Mon, 09 Jul 2018 08:54:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531151681; cv=none; d=google.com; s=arc-20160816; b=yK+oO+yUCRGqSjmoVuMv0bMt668dGh0Hne9r5CJo5wjwgNI9skNz3I42d1xZhvS2rf m+4Hkt40tmmm+oc5P88rpxq6x1Fus8o00tmK3Mj75FJGe9o/3otYCChfmDld9y+H2CGn MR2lD1k6TmLEDrlVvVzLBdtqIs2Y3NKylG6dJAxH/ENgSDrSLcoLkR3D0z6lbA6v31mn 4DZ2wbzjN1fn8+ewG+xfeuS2In/s83HEay9ppdtl7gspDCB/97a5cjHZjXqYHe3ZMHD6 7S/DRY5M8Qm8YEyuh0dK2Zxjr5zzu7ToxsZApRPbVGwLf/mwlCxEva+3pK7ldLnhIGX0 Rkmg== 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=IqhM5Ox8GZtLGas2YyRL1o8i1y7I7Q6nRSIg2WoLuIA=; b=AnzFYts3d7eKBH4FwOfY2dX0Zzh9/XrQW35wwUqiXkE9/rqyMMkMULIT1ejN4vLzla q3SscfZFQkQj0YR61ioXoi7wvmL3ANjGY1f5ANPGQijhzaDRVdhK1ZIfXLrp3Ayb0Pw1 uJ1LrzpYgozRM1LlSHdgGYJv7uJB3LKWFRkQrWYjfVcvx5mq5LD/DtH3tW2CoPF8cgNX VOUhoUZ9Kbl+b4RLmUpBbvRHtEabOMIoyFrYYtFok1kHK3SLxk82TfrYMLfdDw5VSpa1 6qYIlAMk7mbNXho6PIGDqED0ZkFafGtMz6VCWkbZs8WIO2kM1TZ/Pa4PJi9CvWmHMV1Y CtbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ev/znSSY"; 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 k18-v6si13832402pgl.364.2018.07.09.08.54.27; Mon, 09 Jul 2018 08:54:41 -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.s=google header.b="ev/znSSY"; 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 S933842AbeGIPwx (ORCPT + 99 others); Mon, 9 Jul 2018 11:52:53 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:37543 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933819AbeGIPvU (ORCPT ); Mon, 9 Jul 2018 11:51:20 -0400 Received: by mail-wm0-f68.google.com with SMTP id n17-v6so21296058wmh.2 for ; Mon, 09 Jul 2018 08:51:20 -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=IqhM5Ox8GZtLGas2YyRL1o8i1y7I7Q6nRSIg2WoLuIA=; b=ev/znSSYUOCgY99iFogLuTh8Rbq7ljCV1Xl3qfyfll/JVS/DbKytOCPpRkYmFo9Lhv PzT1Fwi5bUhYjBEgP5IsDGj0tKUfe5RTb7RzGZlU3MFrgSjvQkoHVYR65Q/5xXSiTstS W9EIZTsd47YQJbPm5OaMiH3e3qDMLWT3Ubvz0= 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=IqhM5Ox8GZtLGas2YyRL1o8i1y7I7Q6nRSIg2WoLuIA=; b=hXjGfc5n9I9su1KBY+NQV+D1ADzqQBLVd2SuRFsD/70GWmUuf0MsujrsXCoEgflhha lDwrKUSLxcWVpkijvMmIOcOBgmU6Ti2HobqG14FtUlow9SZqc3oR6d7/hp3Gs205ii2Q Z6Urz/MRPEzC1w9+UhJS5pWecPtUR15rATiDMngw3hQcXuEO9a66w4ewhCT1WcvqkqBs J9cilzmHAVvBY24AddETL1ayvY/XJDzKo91JmXbLSv0TMdHb9eBAsAIfTjSqXmjP4gAY /s/RdD7XwH1LGX9x8eZmHXi8yPSl8JOlLK1QzBYK2hN891yEL+k2ztfUWlr0YAgO9JdC LE7A== X-Gm-Message-State: APt69E3g48XUURYbHJ9aph3Pey2EeHA6rhOnVqKHv/6+6zLo5wXAOnNF 0P/dkIeO5nZ4s+LU3dJ4QVEqkg== X-Received: by 2002:a1c:a8f:: with SMTP id 137-v6mr11419231wmk.119.1531151479838; Mon, 09 Jul 2018 08:51:19 -0700 (PDT) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id o21-v6sm16229202wmg.28.2018.07.09.08.51.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Jul 2018 08:51:19 -0700 (PDT) From: Georgi Djakov To: linux-pm@vger.kernel.org, gregkh@linuxfoundation.org Cc: rjw@rjwysocki.net, robh+dt@kernel.org, mturquette@baylibre.com, khilman@baylibre.com, abailon@baylibre.com, vincent.guittot@linaro.org, skannan@codeaurora.org, bjorn.andersson@linaro.org, amit.kucheria@linaro.org, seansw@qti.qualcomm.com, daidavid1@codeaurora.org, evgreen@chromium.org, mka@chromium.org, mark.rutland@arm.com, lorenzo.pieralisi@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, georgi.djakov@linaro.org Subject: [PATCH v6 7/8] dt-bindings: Introduce interconnect consumers bindings Date: Mon, 9 Jul 2018 18:51:03 +0300 Message-Id: <20180709155104.25528-8-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180709155104.25528-1-georgi.djakov@linaro.org> References: <20180709155104.25528-1-georgi.djakov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentation for the interconnect consumer bindings, that will allow to link a device node (consumer) to its interconnect controller hardware. Tha aim is to enable drivers to request a framework API to configure an interconnect path by providing their struct device pointer and a name. Signed-off-by: Georgi Djakov --- .../bindings/interconnect/interconnect.txt | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Documentation/devicetree/bindings/interconnect/interconnect.txt b/Documentation/devicetree/bindings/interconnect/interconnect.txt index 6e2b2971b094..0ad65dccbe8b 100644 --- a/Documentation/devicetree/bindings/interconnect/interconnect.txt +++ b/Documentation/devicetree/bindings/interconnect/interconnect.txt @@ -31,3 +31,30 @@ Example: clocks = <&rpmcc RPM_SMD_SNOC_CLK>, <&rpmcc RPM_SMD_SNOC_A_CLK>; }; + + += interconnect consumers = + +The interconnect consumers are device nodes which consume the interconnect +path(s) provided by the interconnect provider. There can be multiple +interconnect providers on a SoC and the consumer may consume multiple paths +from different providers depending on use case and the components it has to +interact with. + +Required properties: +interconnects : Pairs of phandles and interconnect provider specifier to denote + the edge source and destination ports of the interconnect path. + +Optional properties: +interconnect-names : List of interconnect path name strings sorted in the same + order as the interconnects property. Consumers drivers will use + interconnect-names to match interconnect paths with interconnect + specifiers. + +Example: + + sdhci@7864000 { + ... + interconnects = <&pnoc MASTER_SDCC_1 &bimc SLAVE_EBI_CH0>; + interconnect-names = "ddr"; + };