Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3648429imu; Mon, 14 Jan 2019 06:46:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN5qHMCX8azJ9oVYVUyqnr+j+D7La4aC8vMC92Zb/nDMkwU+iqoK3cyqUdvhDXNuyCNxmJ4E X-Received: by 2002:a17:902:b78b:: with SMTP id e11mr25868139pls.90.1547477180220; Mon, 14 Jan 2019 06:46:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547477180; cv=none; d=google.com; s=arc-20160816; b=pBNtAU41cHR5NOXckeYPoRSn56gIk/w0O0zd4vGkJTWax0K1WsnqmIU1uCjMeHbSn3 1vqQph2SnoPLdgWCr6C3QyMIqKs0rFfcse4GTPWqy3c/Q0QjoNhgdMP5zoTfBoJ3dR0p 1r5rTmKnmglj7hQtMPaDo6+esP5C6LJn1/CYBskcbXCVykI9BeVIL6GDbCpuv+/c1+pB U6NyTeLjBki6HjwKU3IRNuliTiioie20bNfdDs98gYkxMU9GbKq89rUWPXNWRPgsiPIA 0uXwezltbKjZrDl2epNO52zW2Shr5yeA0uG4Rg+RSwSsWHjyeOGqQ0AlJtp1h6kHM315 VJ+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=0UuvcxMqPyQya2YxvRJ7xTkzb+ObY7r9aos1JD7j8vE=; b=CvHyZxNu36jRljkGXO/teKOrJWK43gnthRNqi97eB8oou4b1Xl4PnIzu+K75MfBa61 eDaTLdZP3fYHpXD8RCf7RNe4NlhXOlKMy1Uh0c1u7S578E8B+P9kk+iioc5UYF3VphTV nSkTjtojTF2+zT/CZ8OPhBoHHLkAmX2kQlNsGRywxQikyRvV7niRLQONpiD1M64Av0bc 9ryfHdqDAAg7lcjo/NwB23295bZQiepgssZ6buzaWXQNAzw0IlkwlZ6fXJvqf8O9bjr0 sCiJDeD8htjXvvw6nYjsvFBv5KN7RXYSza08si1EdNwfP+ThKLJ9CdEM9evx4W8scEB7 LUeA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g92si462830plg.392.2019.01.14.06.46.03; Mon, 14 Jan 2019 06:46:20 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726825AbfANOnT (ORCPT + 99 others); Mon, 14 Jan 2019 09:43:19 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:10051 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726552AbfANOmo (ORCPT ); Mon, 14 Jan 2019 09:42:44 -0500 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0EEajKo031774; Mon, 14 Jan 2019 15:42:39 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2pybxy0gq6-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 14 Jan 2019 15:42:39 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id BB77E31; Mon, 14 Jan 2019 14:42:38 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas23.st.com [10.75.90.46]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 9E3EE52AB; Mon, 14 Jan 2019 14:42:38 +0000 (GMT) Received: from SAFEX1HUBCAS24.st.com (10.75.90.95) by SAFEX1HUBCAS23.st.com (10.75.90.46) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 14 Jan 2019 15:42:38 +0100 Received: from localhost (10.201.20.122) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 14 Jan 2019 15:42:37 +0100 From: Benjamin Gaignard To: , , CC: , , , Benjamin Gaignard Subject: [RFC 1/7] devicetree: bindings: Document domains controller bindings Date: Mon, 14 Jan 2019 15:41:56 +0100 Message-ID: <20190114144202.27315-2-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20190114144202.27315-1-benjamin.gaignard@st.com> References: <20190114144202.27315-1-benjamin.gaignard@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.201.20.122] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-14_07:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document commons domains controller bindings for controller and client devices. Signed-off-by: Benjamin Gaignard --- .../bindings/bus/domains/domainsctrl.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/bus/domains/domainsctrl.txt diff --git a/Documentation/devicetree/bindings/bus/domains/domainsctrl.txt b/Documentation/devicetree/bindings/bus/domains/domainsctrl.txt new file mode 100644 index 000000000000..11dadba4c1fd --- /dev/null +++ b/Documentation/devicetree/bindings/bus/domains/domainsctrl.txt @@ -0,0 +1,35 @@ +Common Domains Controller bindings properties + +Domains Controller framework defines common bindings properties to describe +the configurations to be applied for each device. + +Domains Controller bindings: +- #domainctrl-cells : provide the number of parameters provided with the + phandle by the client device + +Client device node bindings: +- domainsctrl-names : list of strings to name the configurations. + "default" and "unbind" are reserved names used by + the framework. +- domainsctrl-X : list of configurations to be applied where X is + the index of the configuration within the node. + +Example of usage with: +- a domains controller with a 2 parameters cell +- a domains controller with a 3 parameters cell +- a client device node using the both controllers and 2 configurations + named "default" and "unbind" + +ctrl0: ctrl@0 { + #domainctrl-cells = <2>; +}; + +ctrl1: ctrl@1 { + #domainctrl-cells = <3>; +}; + +foo@0 { + domains-names = "default", "unbind"; + domainctrl-0 = <&ctrl0 1 2>, <&ctrl1 3 4 5>; + domainctrl-1 = <&ctrl0 6 7>, <&ctrl1 8 9 0>; +}; -- 2.15.0