From patchwork Fri Mar 9 21:09:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 10271913 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D7FA0602BD for ; Fri, 9 Mar 2018 21:10:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BBA0829FAB for ; Fri, 9 Mar 2018 21:10:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AFC0629FE1; Fri, 9 Mar 2018 21:10:58 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 379E929FE0 for ; Fri, 9 Mar 2018 21:10:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932698AbeCIVKU (ORCPT ); Fri, 9 Mar 2018 16:10:20 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:38382 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932691AbeCIVKQ (ORCPT ); Fri, 9 Mar 2018 16:10:16 -0500 Received: by mail-wr0-f196.google.com with SMTP id n7so10254695wrn.5 for ; Fri, 09 Mar 2018 13:10:15 -0800 (PST) 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=zGMvs2WShFG0fwUa4ySK2pAqKovLnSJWteSMzhTtPP8=; b=fLkAFCxXacLex7m4QhYKHKFRVvHC1CZ+i5OUn7+wvOIO3aPL6+3arCH4itbYMDwrDv 1PSazTQFjjCPKmeYbdHCHy9Lf4mw0KgZp6q+8/vXdPUcF4Sw1bAsvTvsuBwcqxC/qMSb JFSDlJZHRMJ1yQdZ2Rpw07S/+DOV5FEDEyKgo= 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=zGMvs2WShFG0fwUa4ySK2pAqKovLnSJWteSMzhTtPP8=; b=inPxfLTCsWdcuwNgjnXUzKEE+uMhejwU4lHdCg9kjclRYLWFNkjZzSmy6jhxQaQE4n YjdPyy7Qv/Y5ixejGLdbdnuAxgKhmISkIrN7pbjEQNgIDyL1S0fLcdTnbM+uLazTO5uI fkXvHn7wThgQF1HN4KUBeJaFcakA5gDDi8dW57f46sM5fyiDoguxdwesdMSFEXowf5bI gb7bB8SfyI24sXDIwxV1cmjL34yCTwws32QZG5PTv+rp5yf4kfpi1fM9YAdVkd728XaK /4atg3wH0tQGMb4MIqs/eNtg4svGYs+nN5D/jWclLOV2ys5oWXmONBisoRpZW2RxR6Ko A9Uw== X-Gm-Message-State: APf1xPC+xaWI6rvU738uw5wxNX99SDlQyZQQZwqKZ31hHYLAzyphKXol WdfbaQxOe6OIlxrL+oiEg1pslw== X-Google-Smtp-Source: AG47ELsZ2lKnQc3I03DI1aSNUVvc+X/GNtLBXOMx2aTxKg3tSCzLvBSY5+JSdNIHic4JW8o4hUwFzg== X-Received: by 10.223.200.140 with SMTP id k12mr26947448wrh.191.1520629815336; Fri, 09 Mar 2018 13:10:15 -0800 (PST) Received: from mms-0441.qualcomm.mm-sol.com ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id g7sm1853118wrb.78.2018.03.09.13.10.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Mar 2018 13:10:14 -0800 (PST) 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, vincent.guittot@linaro.org, skannan@codeaurora.org, bjorn.andersson@linaro.org, amit.kucheria@linaro.org, seansw@qti.qualcomm.com, davidai@quicinc.com, 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 v4 6/7] dt-bindings: Introduce interconnect consumers bindings Date: Fri, 9 Mar 2018 23:09:57 +0200 Message-Id: <20180309210958.16672-7-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180309210958.16672-1-georgi.djakov@linaro.org> References: <20180309210958.16672-1-georgi.djakov@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) -- 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/Documentation/devicetree/bindings/interconnect/interconnect.txt b/Documentation/devicetree/bindings/interconnect/interconnect.txt index 70612bb201e4..7935abf10c4b 100644 --- a/Documentation/devicetree/bindings/interconnect/interconnect.txt +++ b/Documentation/devicetree/bindings/interconnect/interconnect.txt @@ -45,3 +45,26 @@ Examples: status = "okay"; }; += 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 usecase and the components it has to +interact with. + +Required-properties: +interconnects: Pairs of phandles and interconnect provider specifier to denote + the source and the destination port of the interconnect path. +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 78 &bimc 512> + interconnect-names = "memory"; + };