From patchwork Wed Oct 26 17:51:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksii Moisieiev X-Patchwork-Id: 11338 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp408940wru; Wed, 26 Oct 2022 10:57:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6fGwHpoShTMEjhZcR/GlSPYfexLGfCJb2RSo2fo1cfPcxN/WHymYAq9Xfw9eCjR2rtVQ31 X-Received: by 2002:a05:6402:1cca:b0:460:7d72:8f2 with SMTP id ds10-20020a0564021cca00b004607d7208f2mr32783323edb.205.1666807023371; Wed, 26 Oct 2022 10:57:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666807023; cv=pass; d=google.com; s=arc-20160816; b=tNTd5BCO7m74dUoWsZd3ekA9wUKvLyZQ+3OFjZiUDmgi+YZOERoH6t8/eIplDVNukx RFNbsYOrAwmRWcG4FqCR7Itx4SDxfl8dqqQdzMa4UE6KRfpU3t3FKCH6RbuWduiEMxoM /mYbr1DrjVcqdRtGagEKqzklSsH25keeBVOk8T8uFEjGRdO+wQnk8UEYU/m0djVSP/wj eIDg267xY5U8iOTFJ4RNllj8PpQg1kBdKSPAP3VtTg+yfl92wImza4k3bdV5HHiWZl9u oW79MF/MQXAA2wc2sPhilx29FZZpggcWhj97tNc4FjebO59DblrRlQnMnfoEWHnUWKhi NsfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=vNEU3t35K0jIfMO/MTC+fZdGI9jEk6JBqLcDHJDuL+Q=; b=hLQM5TPVdATXm0/zrvgWHVCwaIePd9DHbEPNLHL0vfl+1NJIeWjS6se+PW3Nl/UJwI hNNlsI8g0/hyDRsoY0e0qTgdvaUENbZDdGE52H5zui+KmCMc0GYEfmFHaYgyHNOAXlxU N5Sf4/mVRYjVPpgET5HliFwVmeamxPOGtfbdGQbJww1uOka/P9rGRgZOjWb2A6ZkXpMj +vtbQ/Wl1Ax+dB7zucY81EhGB7oRq978IQk4Yd740RJcV5bs/q21QTK52tDP8TMNFU5M fXbnDrhtK/6T4zQygiWFjTMz88saFwFr2qbDIYf/EEK3MQ2I9bzY9OEsj2pUE0zzxDgf 2ggg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@epam.com header.s=selector2 header.b=HjmL89j3; arc=pass (i=1 spf=pass spfdomain=epam.com dkim=pass dkdomain=epam.com dmarc=pass fromdomain=epam.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=epam.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kx20-20020a170907775400b0077ccad53173si5986961ejc.277.2022.10.26.10.56.36; Wed, 26 Oct 2022 10:57:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@epam.com header.s=selector2 header.b=HjmL89j3; arc=pass (i=1 spf=pass spfdomain=epam.com dkim=pass dkdomain=epam.com dmarc=pass fromdomain=epam.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=epam.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233810AbiJZRwF (ORCPT + 99 others); Wed, 26 Oct 2022 13:52:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233683AbiJZRwB (ORCPT ); Wed, 26 Oct 2022 13:52:01 -0400 Received: from mx0a-0039f301.pphosted.com (mx0a-0039f301.pphosted.com [148.163.133.242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE4406715D; Wed, 26 Oct 2022 10:51:58 -0700 (PDT) Received: from pps.filterd (m0174677.ppops.net [127.0.0.1]) by mx0a-0039f301.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29QEjikI018352; Wed, 26 Oct 2022 17:51:31 GMT Received: from eur04-he1-obe.outbound.protection.outlook.com (mail-he1eur04lp2059.outbound.protection.outlook.com [104.47.13.59]) by mx0a-0039f301.pphosted.com (PPS) with ESMTPS id 3kf6xmgqmq-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Oct 2022 17:51:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IPN0r2gLndR2X7zWH6EQz/+G1KK544QqLrkPVmYYhD6VGYj4hgRWJ8MdfkZOSqBKsMZPIS2Yg0eZ5U+2++bVyPBeOY5OUWFlJPoSYmbdI/HP1WRIc9dLw+bB9vevXS5rb/iufrIjuc1wgDbe/URKRaVR5OO5RhwCzmAB88bjs912UPRGhKNTV138SD3NPLs/ZFtjHgiLkw8v9osRhCyF/uYu8kK3nhob7g0Mw7S7rcxsj7JG20t5Q1OsMJ2QQoXwk/N6KxWCdeWMg+PWH8poXwpWKpl9fvkzmXVI3VNiAuBLY0rWsjuef8uVOpnFOuMDGi2PXcBw/h2OSF+y3ld6nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vNEU3t35K0jIfMO/MTC+fZdGI9jEk6JBqLcDHJDuL+Q=; b=KhaMn0qE3f0ZcWq2ySDhoiJasC6s3hSUn+szoIzL14GAi9ij6VajB+ikrA0QGvtPu2BfOAsR5dQI44XenxfGiGTrgocnAvZatbVs4dEiY7+NbssuUHVg6VnPKT3OYmgIbI0LrI9BDp7mTKwiwTb+MMLDiXPhe0n0hocZIkCnzt/Yfs7QK3KserkGl2ycU7gbbEaGFjcdBRaZ4ZD4xjllVOUQw17gDsdWnORKKTjnG0KzCYoJToGh2BJGUps1nftHUc6vSOQH7jipqHLM/uXYGKuqV78E09rFfF/bRP8saLevRLZPokaJgLSQpy1Xw4EpBKYYM5P6pGxrWMVpWwv2gQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=epam.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vNEU3t35K0jIfMO/MTC+fZdGI9jEk6JBqLcDHJDuL+Q=; b=HjmL89j36ksCUKYa1pD5u+HbTCjHhdxWnQnosuW22WenPA+ud+VBUMYpXBNZ5j+9sR9llniunNlbf7YWLqKP+kfHqtmOcSWoh8d6LNP3Tpp9+HYcTmBabENqA/3QCaavlQ1S0Zu81DSnhbTNym/HpFs/XMFCe7UQ1qbmQ3e7pUI8wRThPVzzHZP0RMU7Dg+G8CUxbfB+cRiJynsEGeUN3zbOMsNvzdiVSQRDxHaPFWjQs6NTmWXn8o2YjtRUif4yfzO5PtN78L8w6/YYvSGw+uCzVWBCVZBFiJb2/VMSjI6KVyUroOXHPfcPGjgKAiOu51xQQImSoLPIiysJoSYpPQ== Received: from PA4PR03MB7136.eurprd03.prod.outlook.com (2603:10a6:102:ea::23) by AS8PR03MB9069.eurprd03.prod.outlook.com (2603:10a6:20b:5b5::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Wed, 26 Oct 2022 17:51:27 +0000 Received: from PA4PR03MB7136.eurprd03.prod.outlook.com ([fe80::551e:e1bc:b684:b7bb]) by PA4PR03MB7136.eurprd03.prod.outlook.com ([fe80::551e:e1bc:b684:b7bb%9]) with mapi id 15.20.5746.028; Wed, 26 Oct 2022 17:51:27 +0000 From: Oleksii Moisieiev To: "robh+dt@kernel.org" CC: Oleksii Moisieiev , "mcoquelin.stm32@gmail.com" , "alexandre.torgue@st.com" , "linus.walleij@linaro.org" , "gregkh@linuxfoundation.org" , "devicetree@vger.kernel.org" , "tomase@xilinx.com" , "benjamin.gaignard@st.com" , "broonie@kernel.org" , "arnd@arndb.de" , "shawnguo@kernel.org" , "fabio.estevam@nxp.com" , "loic.pallardy@st.com" , "mark.rutland@arm.com" , Sudeep Holla , Cristian Marussi , Stefano Stabellini , "a.fatoum@pengutronix.de" , "peng.fan@oss.nxp.com" , "linux-kernel@vger.kernel.org" Subject: [PATCH v5 1/2] dt-bindings: Update scmi node description Thread-Topic: [PATCH v5 1/2] dt-bindings: Update scmi node description Thread-Index: AQHY6WOSKD8hZzACsUOzly7HVHy3Rg== Date: Wed, 26 Oct 2022 17:51:27 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PA4PR03MB7136:EE_|AS8PR03MB9069:EE_ x-ms-office365-filtering-correlation-id: 6e7fa768-7567-4481-81b4-08dab77ab4da x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 94CQDnVKsfMTO59/BCK9sI+Ydz7hwonF32wy+R2O3GbKfAYA4+omKv/Wdd9xkotSfhpRMUMiwVIZm/wlmccvKazuNu+TK5tunu5st8UhGYKC/9eCj/SqdTQEMTCbDYvn5mgXEeb9gatnb/btk+X+xcWB2v0jboixkVIf6/MHn8tt91sCVxPtDjxlXOKb0EDWXWDqtrg7+tBpNL636rhqXlLON/h3BvEuueOS0WY6yd+j8Gmr3M4NvME0kJQjJp9swJUmtpJigzDc30vysQdxcDeQWRxkJFWGpqVDvuDH9gdSgSjkUcsJct1UZ7EBU4AkNIRyYYUx0S1F9oJ3jLQBNdmXy4yjQltAxGVE8v6GYOmXgx8qBVCw1QIfn/lZa99qXRbKljSsYXfbDh1pGk8P2aJfR56RGTtM927UawQ1FglZpQfdx26umAop/drmrfdPAqiyYGzS1C2+L8T2nXoKK20Q7aMNDH7mJwSESx5l8fxPxa+dBuu4Z9LmtHI3AYhQC1KLMz8/4e18zeoBc96yBwUyACx638yIkNL41v5iFmUEfIeWRLVJ3Qpr3WU7Mq8UH/XqBmvzvlBJaGJ/Y4pYYM5OT7nif0jNdlc3QIGXIiTtwM4C0UMNgm24SZfEUxS8ml4Rw5qtEAJPQuMwSDieqZYI9VKIceSpIv0MBSLFubbmC8oHxgV9D7HJHkOmFWUNc/mljowKEBI1CTptPxTWDm+QmS+JmjNgdaStVGEN/fLCICjhp7Fxn/AECSbTXoDgWmArK3oZVTXZGdrwBLgmo+uZ3B60RqkUNW4iJuA52ik= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR03MB7136.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(376002)(39860400002)(396003)(366004)(346002)(451199015)(8676002)(83380400001)(71200400001)(76116006)(91956017)(36756003)(478600001)(4326008)(6486002)(966005)(15650500001)(6512007)(38070700005)(26005)(54906003)(316002)(86362001)(8936002)(122000001)(38100700002)(2906002)(41300700001)(2616005)(7416002)(186003)(5660300002)(6506007)(66476007)(64756008)(66446008)(66946007)(66556008);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?XumrLOZESkspb0Q73rYQkEL?= =?iso-8859-1?q?2r3eJiPqW9VWYA2VK9YoWMRBF7RbqAEAug4EWNNCMKY7H5xAdhLOQ6JcO+ua?= =?iso-8859-1?q?NDtyIsUfvFLCKJOIxqCKh4GALK3tYRLluJrhoUtVHPSRb7Frq0xKGhzNig6x?= =?iso-8859-1?q?esmeUhIFScN/ar80AcYi32w9CAFgRVNDGoHfxD5msoPlkYqCet+1ZEl6EJzt?= =?iso-8859-1?q?nmwcTBeKSds2Nn4iHR+jlJMQlme42CpbD3A0fISlHdpKUDJusIAYS/cgWkjU?= =?iso-8859-1?q?2+GJFAmcRWwtSCFBqaQ7ei481kIIY1iLJ/JRPfs3U78Xqn2uGL+7io3ye9m2?= =?iso-8859-1?q?4VNWZUBLsrlamSP+lG5/yw0ARAR8iFUB0LL1IyqmEvbrQ5+goz36g6A7hJfa?= =?iso-8859-1?q?le0LhJjFIE661AF+yykKW5pt/2ChNnaXj5yiT92LceSdA91A0cZPYiQ0K9Xt?= =?iso-8859-1?q?V99/zFYQtNJ+2R04mUNKtttcJnKGsMRbeaRqxTVP/+Wz15BVQ9pplogi1/8d?= =?iso-8859-1?q?hleAugTTjdrMqXhZsKvS6DnP3Z578yycfnM4ofPu9y4d2uDwLUEU3EGQhW3O?= =?iso-8859-1?q?jHmrWsu5vnLmsB53h07tLzBjpAKXVjLYlteJ6tADC+gZl4jhI3/VVtwmEIUU?= =?iso-8859-1?q?57rB4QTBrI6BGzAen8JWjGuYzhyp64IX5HSxV9EzfshVFSszHUS4HIAFmlpt?= =?iso-8859-1?q?vhnSK+cFeV0dGU2FixPx3ZTAiPz2oB3fVGo7YQyRb7oG/RzhvMxhGKY5U8Nw?= =?iso-8859-1?q?/Ymi4w4w7UmgOTK401d8gNfn4aW8aDg4swG0pjPjkxA68cIiGvPho761TS3k?= =?iso-8859-1?q?QNzK+7giKQfn/Bmc/SJ9/wNjhuVtYgEd4XgQxmyJoDTDsbVJSZo7E/lFpAwe?= =?iso-8859-1?q?KCmudCFEMYgn9WPkUt5Nm/A0fviTULh/dO5u/UMm2SxroDIUCD56xgPCM2+8?= =?iso-8859-1?q?nw3jldWN/snsKRj6X02pR/pgA9JhVLCypw9UUa8+Mily0M9jME/UWbjQVDFG?= =?iso-8859-1?q?/r6MsDDf4bV3pnRWuL09bw1y+sD7uhKke9G+aBqz8had1pdG/7OrD/lWfQYv?= =?iso-8859-1?q?8Pf+vWdOOZe7RCk7t0Ql+AWU1jZ9TDbwB4KeaRtO1hGjanhUJ4lwG4PU98ug?= =?iso-8859-1?q?Q5SruS6yiyFgiuBYO2AadtotMPFP2EPR65vVkU9p6HUyWSNWva7kT7s5CpMq?= =?iso-8859-1?q?pUYHkK15l9bDp8tnIufByM3DoehlKA618mmU9LfNe4gqFtD6r8bpZOx36GQo?= =?iso-8859-1?q?SXjWgzbB/aYt5v0RyucRbtfhmIenf5m7KIbJ6cGUwahZyF0DIay8jkmasW5B?= =?iso-8859-1?q?9TvY87Mrd7IoZWuBjzpL1HRhgiQ9kCx4WxgLgwyUUmy8Jkz8S9fPK8YcTK8o?= =?iso-8859-1?q?x1QSNqWzobwVMiOyKTeSYyzfAtQ39wymSdYIj2sonqcaAQB7Ek+xH1s3rCgl?= =?iso-8859-1?q?9uE3thI+C8hQScmn/Sfsgsnl4NvRpVBmDIQ/CZv4nzzW8ruEMuggtZZh58WJ?= =?iso-8859-1?q?H8+0xhRZY58Uh2GEey11pmat3qDt2FkuAuPmcSvFf5TBSNy84IUffbqncvnS?= =?iso-8859-1?q?/C6z6i5W8G5YqqDuRa7rWu/oOE+v88WsJkdKHKqVLTDjuLCePMliT0tBJKgI?= =?iso-8859-1?q?+ZbVrBh/DqsCZLrtkM3HIt2ec3I5ByhQMEdWzMA=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: epam.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PA4PR03MB7136.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6e7fa768-7567-4481-81b4-08dab77ab4da X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2022 17:51:27.1491 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b41b72d0-4e9f-4c26-8a69-f949f367c91d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: zohVLeRulhtP0aIV9srhb2WGDUFYM7bAL2TF5Pbypkv7HfBqBrgGkTnE9qG5Je2jxLUlfHCZIuuyD990XmA5eMZ412gV328SDcJOCjIfNtM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR03MB9069 X-Proofpoint-ORIG-GUID: hMDa7UHCxM-yUdvRxXPQxjA4CMJSSb6S X-Proofpoint-GUID: hMDa7UHCxM-yUdvRxXPQxjA4CMJSSb6S X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-26_07,2022-10-26_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 impostorscore=0 suspectscore=0 mlxscore=0 mlxlogscore=975 adultscore=0 clxscore=1015 phishscore=0 malwarescore=0 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210260101 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747773841465624625?= X-GMAIL-MSGID: =?utf-8?q?1747773841465624625?= Add '#feature-domain-cells' property description to the scmi node. This property makes scmi node as feature-domain-controller provider, which allows consumers to provide scmi node with the device_ids of the devices, which are using scmi protocols to control clocks/resets/power-domains etc. The device_ids could be used to set the device permissions for the Fimware using BASE_SET_DEVICE_PERMISSIONS message (see 4.2.2.10 of [0]). Device permissions management described in DEN 0056, Section 4.2.2.10 [0]. For SCMI this property is used by Trusted Agent to set the device permissions for the Non-Trusted Agents. Trusted and non-trusted Agent terms described in Section 4.1.1 [0]. [0] https://developer.arm.com/documentation/den0056/latest Signed-off-by: Oleksii Moisieiev --- Changes v1 -> V2: - update parameter name, made it xen-specific - add xen vendor bindings Changes V2 -> V3: - update parameter name, make it generic - update parameter format, add link to controller - do not include xen vendor bindings as already upstreamed Changes V3 -> V4: - introduce domain controller provider/consumer device tree bindings - making scmi node to act as domain controller provider when the device permissions should be configured Changes V4 -> V5: - rename domain-controller to feature-domain-controller - feature-domains format fixes --- .../bindings/firmware/arm,scmi.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml index 1c0388da6721..bb5aa49e88fd 100644 --- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml +++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml @@ -89,6 +89,16 @@ properties: atomic mode of operation, even if requested. default: 0 + '#feature-domain-cells': + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Number of cells in a domain controller specifier. + Set const to 1 here for nodes providing the device id, needed for + the BASE_SET_DEVICE_PERMISSIONS message (see 4.2.2.10 of [0]). + const: 1 + + feature-domain-controller: true + arm,smc-id: $ref: /schemas/types.yaml#/definitions/uint32 description: @@ -429,4 +439,22 @@ examples: }; }; + - | + firmware { + scmi_link: scmi { + compatible = "arm,scmi-smc"; + shmem = <&cpu_scp_lpri0 &cpu_scp_lpri1>; + arm,smc-id = <0xc3000001>; + + #address-cells = <1>; + #size-cells = <0>; + feature-domain-controller; + #feature-domain-cells = <1>; + }; + }; + + foo@0 { + reg = <0x0 0x10>; + feature-domains = <&scmi_link 1>; + }; ... From patchwork Wed Oct 26 17:51:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksii Moisieiev X-Patchwork-Id: 11339 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp409527wru; Wed, 26 Oct 2022 10:58:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4nLiVSeCPzGip3x3krSZVCDQ+YwlCwamuhfVQToxEE8EUjPgEEw6lYfP6xYJjoX/63FAs+ X-Received: by 2002:a17:907:3d91:b0:78d:f675:5659 with SMTP id he17-20020a1709073d9100b0078df6755659mr37855897ejc.92.1666807120902; Wed, 26 Oct 2022 10:58:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666807120; cv=pass; d=google.com; s=arc-20160816; b=nNjUvgmdtAYAzCU5pJuilqvRpCAM15Tsn4NhfJiF9Puk/brPXOXWRyPePxxTCeZEPD 55Q4TAC6ag2E0QLVBgqgmElAPNGucGBiktwJi2tgLN2F5q5WWNl77g+WQKSE3eujKRXL JjU3HaT3yXHA90Bpjfox+FU9pyRnTrTgTbmSYpUTd3wqRPEYCLeY3IIEpZvYenJnQ8YG 4JzZDhXOh2OshtMI735RLqpcDo/EgAS1lYIn99ImTwe/s+BBxvF+/bjRWMEaC9Z7PINK K6TTnvSJBtDHh5qqMi5dJuWlw2GE/p8MC2jMNu9M19nuPjZ5K9Ri7Tz/oclNifmx+9Qj rllQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=Y+1WC84f2iaxn89JSuzPy35y1q+KdFOtVMGejLN1TsE=; b=apu25E9VEfwltOoH6ErfzqTMhP0DszDW0Nvs5nuogSBeikSPWdbCF8EiPpIoyw9cxb 3o2PfJ7IUoDwih7uRW2ax6iMZAU635dAUKDh8OQ/JYKeCrV/Juq/AyuOoOMVs3+c0YLy 6PZKXwBRUJ2DoULiphR8zmYcN/WfpirLkeaiKhxEnjLPot8Woo73rK6Ip9baKgHwVGNd rk+TpSa8js3ny7XBHticqVsdhSCGfvD/D/6EsB8sH7JO6p+O6ZLE+NtAnFIHotUXq2MN f2IMgTfYjCT8FeDBhgKuZZg0RQFXFjxAyjLNwgoqtPo/H0mg5RsKl3BLZ++c2WxfI5Cg bvaw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@epam.com header.s=selector2 header.b="Wi2Sm/WD"; arc=pass (i=1 spf=pass spfdomain=epam.com dkim=pass dkdomain=epam.com dmarc=pass fromdomain=epam.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=epam.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc13-20020a1709078a0d00b0078dbed58d26si5969668ejc.635.2022.10.26.10.58.15; Wed, 26 Oct 2022 10:58:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@epam.com header.s=selector2 header.b="Wi2Sm/WD"; arc=pass (i=1 spf=pass spfdomain=epam.com dkim=pass dkdomain=epam.com dmarc=pass fromdomain=epam.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=epam.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234244AbiJZRwJ (ORCPT + 99 others); Wed, 26 Oct 2022 13:52:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234002AbiJZRwB (ORCPT ); Wed, 26 Oct 2022 13:52:01 -0400 Received: from mx0a-0039f301.pphosted.com (mx0a-0039f301.pphosted.com [148.163.133.242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AD4B688A6; Wed, 26 Oct 2022 10:51:59 -0700 (PDT) Received: from pps.filterd (m0174677.ppops.net [127.0.0.1]) by mx0a-0039f301.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29QEjikJ018352; Wed, 26 Oct 2022 17:51:32 GMT Received: from eur04-he1-obe.outbound.protection.outlook.com (mail-he1eur04lp2059.outbound.protection.outlook.com [104.47.13.59]) by mx0a-0039f301.pphosted.com (PPS) with ESMTPS id 3kf6xmgqmq-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 26 Oct 2022 17:51:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fN/oHO5g3O1fmrfqtD0m52mubT5LBZ0VCQKhD2yP+bTjEmzhl8ya6skfnMlEvvQYXYiCnkqZXeIwgKEqjIjE/kx1Mw7X3Kjuw+3h7fdx1hEKNeqpWeIR93hPR02CfAGMl1wEdsTzEvAWMn+TdGJjMlin8HPESCOYhExJ1XuSVVmScGya7rz1MjW6+xsLbEBKYRN2Y4bZQpa0FkfMxPIrjGmxFnAQ70nCQ5lTgvA2tj5RZcmxDdMPujXWqx6ri6kUxc4J2RaiYzweUKDK+vkoNM99d3EU5U9SSs+ybLviD+n6cBnf24mDGDAFQmzEhJ8+A7AxJOcSYX7lgT94u51img== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Y+1WC84f2iaxn89JSuzPy35y1q+KdFOtVMGejLN1TsE=; b=Tm1RqT9L05E/s9gGRaY0CCIxAHcQpEPMxIH/9GlzaZDXs2jh+jjtbQDLGq6DWDRtPMPIgyn5Hs+tyO0kuo19N826b6xC9vTKmR8yClhREPGQkGnW/0ciGHUTEKm2Bg79wILsTmVXz9o0mICDoND/mxKNP6oMwybWz9i58kVp/YHUv2LhTyDmIpYEQjL+sg9R5f1shcPh/mNiomVutf50yNM5KGhC/c1sqtbhrKf2e5gt6Fo1kYXpMYdP1biIpba8y8c1RbZgBOPE+l4Hc9NCQUxMYUbV/5DuNVMKrADHb9/jew7mKZDz7jPTQfouJbqLHoDqjJJZXJJIMGkBAEEFYQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=epam.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y+1WC84f2iaxn89JSuzPy35y1q+KdFOtVMGejLN1TsE=; b=Wi2Sm/WDrEsN+rZtDn57QA/mjQkq2DIKpoQ6uLxX5DW7CubLcEV4ILd/nO8Ess+KHdHCoXwiix2X//q2WWO3oi6vWlf4B5zj6IT43+JqJWh9apuPd+F2DtsfUj3Dl9MxJ+E/GhiX7bHRc6QcIxCXvMzLmo+4vUdDGuSKHQ9LVtzt+4DaZMEPYSUzZWxiZVKosH+V4PnOt55RXxwL0ONzZbXn7I8L0nUYateRSHL8BGzeLj3RkgSNJHn2TqKYgdZ8G0ygdE+8KPbB5ONe0qxJWoYQo7n/A3qevCY8QunUbxp/xfF73/FZe5UCtpUpGRnvYTPTIez/8+9LVCBrvYgBeg== Received: from PA4PR03MB7136.eurprd03.prod.outlook.com (2603:10a6:102:ea::23) by AS8PR03MB9069.eurprd03.prod.outlook.com (2603:10a6:20b:5b5::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Wed, 26 Oct 2022 17:51:27 +0000 Received: from PA4PR03MB7136.eurprd03.prod.outlook.com ([fe80::551e:e1bc:b684:b7bb]) by PA4PR03MB7136.eurprd03.prod.outlook.com ([fe80::551e:e1bc:b684:b7bb%9]) with mapi id 15.20.5746.028; Wed, 26 Oct 2022 17:51:27 +0000 From: Oleksii Moisieiev To: "robh+dt@kernel.org" CC: Oleksii Moisieiev , "mcoquelin.stm32@gmail.com" , "alexandre.torgue@st.com" , "linus.walleij@linaro.org" , "gregkh@linuxfoundation.org" , "devicetree@vger.kernel.org" , "tomase@xilinx.com" , "benjamin.gaignard@st.com" , "broonie@kernel.org" , "arnd@arndb.de" , "shawnguo@kernel.org" , "fabio.estevam@nxp.com" , "loic.pallardy@st.com" , "mark.rutland@arm.com" , Sudeep Holla , Cristian Marussi , Stefano Stabellini , "a.fatoum@pengutronix.de" , "peng.fan@oss.nxp.com" , "linux-kernel@vger.kernel.org" Subject: [PATCH v5 2/2] dt-bindings: Document common device controller bindings Thread-Topic: [PATCH v5 2/2] dt-bindings: Document common device controller bindings Thread-Index: AQHY6WOSCqHza4Axr0GIca6rbfuD9w== Date: Wed, 26 Oct 2022 17:51:27 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PA4PR03MB7136:EE_|AS8PR03MB9069:EE_ x-ms-office365-filtering-correlation-id: a333a1b0-d7e1-4957-a715-08dab77ab500 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jg7X+TBYR5GjUAVt3Vj1Mi9ALPnFnqUP0IG4CwA+U2Q9FJDgHt+46gABTTRF/cfU4qOIQDewAl5QLgGYmKlQOTzhicCrbuX1luheGVkxbkNm/Eyh62KT8H7cHacvHqWyiQ+JrWSlliBUAJNPrRuGjzngudx+SMD7kNDsb2Too0QeJLtrQePi0WqwRsxvhGe/EQ23Ykyxxg8OdTnKZUSnU9t/XL8si8x6Mm3lU90mMwFCBikr/UDzzglwzsAE5QPCHQhDou870TNAG8yJBwhlcho3fva5ylUKMDb/h32SSKCtgmmp2EO3vHUEQXJL9qPyH5tK6ihiZD2q2hgOjl/ey6IJwicJBHejxQCQAo++Ke8eI/iqeCO/bVwm9CpHOoDaav1loR7myxmaFb7uQ2kuXrys0ygQAlmpEb8zEfkjiuygs/X0CGlJZ5cWaQflKXUtpwf/nCaPV0wch+62rMzsshROWLUauMxw//Gor4diJQ6/0oxi9p4yaTrbCTB9KuN0/rYG0uHCZyu3bEyNaXKKD+APZdQ9K+iFOuInh78OGCgA8Q075hSxHPA7W3GLXmN4W/LsO0jGkyCzEG9lraXjuOa10AlHflutRXsfbBKrVVvQ2oWj69M8461hT3OqdViSlpdx8K/ODqiVyA7KrHEWjWyuTPUGwKPI3W2nJvRWShZUgOWM1vG17ZBJdDIxc6CiOf/bPKdrAFjRQLPzQTG+DxF6OMsG9i4b+fMXAfI1QAEHxIRi0H4DEIqXUM/zWB7OTvsF92GBVWTkqrqBC89jZbWCnYAHY6ssn7wxuaVPxuE= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR03MB7136.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(376002)(39860400002)(396003)(366004)(346002)(451199015)(8676002)(83380400001)(71200400001)(76116006)(91956017)(36756003)(478600001)(4326008)(6486002)(966005)(6512007)(38070700005)(26005)(54906003)(316002)(86362001)(8936002)(122000001)(38100700002)(2906002)(41300700001)(2616005)(7416002)(186003)(5660300002)(6506007)(66476007)(64756008)(66446008)(66946007)(66556008);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?fBN8HiqkPiHpSCb4HRjBXh6?= =?iso-8859-1?q?T0xMAotxyuorSClxD4pjn2mugwNTh4edXmOI10ecajlvgwI510Ltv7Trh+Va?= =?iso-8859-1?q?ovJc7NTlzQdI8EoqZEegW7EjXyy8B3rbXs03hy8InjL7ExnnJIbVGIRRS+aD?= =?iso-8859-1?q?Z9bXouw6uNJHrC9Wot4IWOXTKqWXGtoFcULnBkxf2bRN0u95WBfp9s9ChmiL?= =?iso-8859-1?q?gvMnAomwvKgnxlU1fWF/AXVNmZI5Hh32yhQs+m9LYhZAE3/W4clBiOe3nKzw?= =?iso-8859-1?q?17bNYEqpaPI0kY/JkYlvCZfvRd9dAJoa9kNGUDezACXnDBdIfbsrjrs53tKN?= =?iso-8859-1?q?5e1iEROSGBJger8gbCKE/uQQfjJl1HUE3G7Tswf4/yoBBhOXXxDxoOWmQinR?= =?iso-8859-1?q?Q3ycwIvvNyCDLhL4XVJEf3sa6ANF9tuFFu8HHiGLs2jozR51srh3mruIXeSQ?= =?iso-8859-1?q?2+tavG/mXntiTkwJuZTmIrxB4U+Z4vSLkAeIwNmy4e/0vl7Zyuhfa93vSXYy?= =?iso-8859-1?q?8ACZ/EqXP0ytUZzwQqbeZjdInsViqY61hpylO2xM1N1xWdRHa9WOqkWl0GYg?= =?iso-8859-1?q?WY+6UXZH/YxOoU8CY7bPW77W6xRvoUZ09XGFRwxnYKBJrGUNWdbb4BGHcC5y?= =?iso-8859-1?q?pxJpTU1UohDcgvTagtg8XUKY8rDtLdw/iE1Vs/rLvEEkO/W4cbbHumqRTjtE?= =?iso-8859-1?q?hVrwTzKbYRDbL5vBR9Xa1xWcOBDmB3a6RJmx8XzYlooVWbu3fKpAIH5+pXYV?= =?iso-8859-1?q?otVPwKLaNDYqdkCpJoMn3qxWCKp1bwJIltFGsHv8uI3db9gsj839W0tQQtK5?= =?iso-8859-1?q?3bbJOR0XsbMRTQVtHEhQjyu49jmyLVAgO6weaBxOOY22EzXPOKrPRcFiSW/P?= =?iso-8859-1?q?Xq5P5vknZOoSECyCs0wYkrGcjitQUZDMzgxXddzfXTCC9bqZDTuB4oqGxNqM?= =?iso-8859-1?q?zlcTwR/nXSFpzu+fky0iS9/IuCbuNJDt/g2tysSu5YxMlfstcyAevQngoIVI?= =?iso-8859-1?q?eS5M/KIDR1GbnFE/4SEqYGNp8pdoMUeAbQL9Cy0cAMItQJC1IU+j6ltmZlSr?= =?iso-8859-1?q?UHzAFjqTysN2Uz7czkVjYp58kWa4nh+29b5F1YQ/iWX4w1xpN5i0734Tbqy5?= =?iso-8859-1?q?NPWPlTHwZ6FwYkcTLxLYgm9CIOXr7Us4u5UmV38bTC4jJtagqk9VOdBSnnLS?= =?iso-8859-1?q?ECzOCtO7bNTYri7ikWRJHudb3ZDYJOXBnWRHP1UHhj+JZyYbCL/B7PeuKeKF?= =?iso-8859-1?q?92Sc9mVfinnlaCuIPK78sdz22PwhNi5DbpbWG7zNHDcTrNqrXYjrZqKFA/aB?= =?iso-8859-1?q?RBG0YsuWpzYWGFY4wKKZeWipETj+EJRLcMsekYvxCrsZNXem0xmSdsh1CKEQ?= =?iso-8859-1?q?DwJHl78bTmabaJN38QK+8Bic5PPvMKuzi8GzgUQEf+RcXZsQxuR92k9apPna?= =?iso-8859-1?q?RyA24y0bOb/5OZxp7oYTdeSDZv7kegsNQOaNoK7matiQqBCy+TxFxf0rX8mL?= =?iso-8859-1?q?/pdnqUpQ8pwCQ8iIvjI30MoQjz5vKtlfWUKickyZVu3jgTJntax/lo3KKysU?= =?iso-8859-1?q?WAspVEaNrR4B4zdQObprV0yDeuKG9OBk1fV3VDUnwAa05sxD+t0Z0rg3F942?= =?iso-8859-1?q?37k3wr+om2ysDWvtk2hMYYiDKaEOMDLSFe3bwUA=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: epam.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PA4PR03MB7136.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a333a1b0-d7e1-4957-a715-08dab77ab500 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2022 17:51:27.4302 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b41b72d0-4e9f-4c26-8a69-f949f367c91d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7IoWUti+Jc+RBlHeXeseIziZ7/JiEDGbL84chqZgciMYQec9qTyt4tvej8+MC3+u9yT9TQokuRcgljLCC9UmkDpJlDvsIlpum71Ts1YaNjM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR03MB9069 X-Proofpoint-ORIG-GUID: H6uzWH4gyYEnBoZvrofOy7hg3aUOB_XY X-Proofpoint-GUID: H6uzWH4gyYEnBoZvrofOy7hg3aUOB_XY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-26_07,2022-10-26_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 impostorscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 clxscore=1015 phishscore=0 malwarescore=0 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210260101 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747773943523292694?= X-GMAIL-MSGID: =?utf-8?q?1747773943523292694?= Introducing of the common device controller bindings for the controller provider and consumer devices. Those bindings are intended to allow divided system on chip into muliple domains, that can be used to configure hardware permissions. Signed-off-by: Oleksii Moisieiev --- .../feature-domain-controller.yaml | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 Documentation/devicetree/bindings/feature-domains/feature-domain-controller.yaml diff --git a/Documentation/devicetree/bindings/feature-domains/feature-domain-controller.yaml b/Documentation/devicetree/bindings/feature-domains/feature-domain-controller.yaml new file mode 100644 index 000000000000..431382099012 --- /dev/null +++ b/Documentation/devicetree/bindings/feature-domains/feature-domain-controller.yaml @@ -0,0 +1,80 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/feature-domains/feature-domain-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic Domain Controller bindings + +maintainers: + - Oleksii Moisieiev + +description: |+ + Common Feature Domains Controller bindings properties + + Domain controllers allow to divided system on chip into multiple feature + domains that can be used to select by who hardware blocks could be accessed. + A feature domain could be a cluster of CPUs (or coprocessors), a range of + addresses or a group of hardware blocks. + + This device tree bindings can be used to bind feature domain consumer devices + with their feature domains provided by feature-domains controllers. + Feature omain controller provider can be represened by any node in the + device tree and can provide one or more configuration parameters, needed to + control parameters of the consumer device. A consumer node can refer to the + provider by phandle and a set of phandle arguments, specified by + '#feature-domain-cells' property in the device controller provider node. + + Device controllers are typically used to set the permissions of the hardware + block. The contents of the feature-domains configuration properties are + defined by the binding for the individual feature-domains controller device. + + Each node can be a consumer for the several providers. The first + configuration of 'feature-domains' or the one named 'default' is applied + before probing the device itself. + +# always select the core schema +select: true + +properties: + '#feature-domain-cells': + $ref: /schemas/types.yaml#/definitions/uint32 + description: Number of cells in a feature-domains controller specifier; + Can be any value as specified by device tree binding documentation + of a particular provider. + + feature-domain-names: + $ref: '/schemas/types.yaml#/definitions/string-array' + minItems: 1 + description: + A list of feature-domains names, sorted in the same order as + feature-domains entries. Consumer drivers will use feature-domain-names + to match with existing feature-domains entries. + + feature-domains: + $ref: "/schemas/types.yaml#/definitions/phandle-array" + description: + A list of feature-domains controller specifiers, as defined by the + bindings of the feature-domain-controller provider. + +additionalProperties: true + +examples: + - | + ctrl0: ctrl@100 { + feature-domain-controller; + reg = <0x100 0x10>; + #feature-domain-cells = <2>; + }; + + ctrl1: ctrl@110 { + feature-domain-controller; + reg = <0x110 0x10>; + #feature-domain-cells = <3>; + }; + + foo@0 { + reg = <0x0 0x1>; + feature-domains = <&ctrl0 1 2>, <&ctrl1 3 4 5>; + feature-domain-names = "default", "unbind"; + };