Message ID | c730d1b47223f535ae214d21cfa18e2c011c7dc2.1668070216.git.oleksii_moisieiev@epam.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B6DD2C4332F for <linux-arm-kernel@archiver.kernel.org>; Thu, 10 Nov 2022 08:59:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=szgnp3OAGQvnS3j/V7cAJAqNzCDWFIvSoW90rpm3TxA=; b=kIpUDU23eSKWr3 p3gen+tRUWgB0XjMDoRKqPvyAJwOUoGngjsuWi6tuDMzt1e97kQfd0W/zQXo44Opl8HpBvpqvG7JE O8GKntoFFSSuWXOmZjIlTqkZpXGtk+mSy4JOrAj6R5ZoRetej92X3omwk4/t2DSqK0FxVtrbRu9FH rh9Hdlw2nLsU5AndBlx5XYaiJPcDITREGK7WWjEN2kMRRtNU7XrdSQ7OpXZdzHIq/2YbvCKwqFAjN rVB7fWPlQZ60d8OEoPhC6/bsM0B8Im4ufUmhz1Zk/Yq/5zx55HWUcepCADiWKKuIlz1LV8pz81S5D wpx4t6SkvA1UvSC6O+IQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ot3O1-004ORu-5x; Thu, 10 Nov 2022 08:58:13 +0000 Received: from mx0b-0039f301.pphosted.com ([148.163.137.242]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ot3Nf-004OJ1-BM for linux-arm-kernel@lists.infradead.org; Thu, 10 Nov 2022 08:57:54 +0000 Received: from pps.filterd (m0174680.ppops.net [127.0.0.1]) by mx0b-0039f301.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2AA8XZIN005288; Thu, 10 Nov 2022 08:57:31 GMT Received: from eur05-am6-obe.outbound.protection.outlook.com (mail-am6eur05lp2106.outbound.protection.outlook.com [104.47.18.106]) by mx0b-0039f301.pphosted.com (PPS) with ESMTPS id 3krwuag33q-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Nov 2022 08:57:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EdPXTqp4N9d54KYTDO5vc1H3pd1D/6ORvaxtp5PW8nI0Bm3fQCqFimKr9mvY74XlFzkQ6e3yoT4K1ghO7wT+3QwdlQThRYYon3KIwhEt3e/l3kG45Wu4onjv/VJgEvmL+Y3vaIFN8mQqzsyF83AG3BIQtr6Fggm+0rWYdiwCY/yZEZQZ69wPUvEQi68yYURJG3KQqWogFYnFh9X816eZbcR7rXcHyVksea0PCumN3shw21yRSLY7fHQAFiR0dev110BRKW4LBmgBquXgnWdf3z+LaA7JigMUl+HqRoQ1/chwmPUFOa32msKDXmGrG7f2r/Jtsk2yw/MS18pr1yQf7g== 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=gISmrocsyx+RrUwOu+W6m/pLDZQZ1ZADokv3gjt4T2E=; b=GTy9l12ZgtpvflfyddR6hKAQwr1oP6FA4GVaFgRAdwcIUqyOu5aCxsVARb0kL5rQ/pfKjW7a1A1JWCH09miXendVlL5Pw6ChaDARORHMQSAk1e1cEzAdzFlXpGJhfw+j3Z5t55AIrHL1dIzdslFxGioijzRNb+QtAUxBiyH0KDpqQ+sdh/d82bl/VTCXhdpHq+ol3WwV4jRfZchnKQqoJD9A+6A5NzTq6zfhqNwmCGKnOa0gZ8Y8AyFvUdMZ41C66Wts25bzD5mh6d5G7nNI7TmZ7JEIEJqfay6qTfmNEOEDNn9nQ+FXhctuD7Y1S3h2B84Aun5MdHCaGuhTievggQ== 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=gISmrocsyx+RrUwOu+W6m/pLDZQZ1ZADokv3gjt4T2E=; b=nKzTx1cg8EI+ZPQZooLcvMQEse3q4HkOgNbYwkbZUgFTlqWWC1xdwKw5nXGSdLM62EHXhvMSonBpvdcdR0pc70Q3wD9/TFhElyz/8DJbOoW02MulQ2y8+J9MvpXAXnOpAF+det2Eg/2ublMZotCBZwXV02Vpzibm31ZvQihLkezkipJw13RmJOYYNblR+cvl/PpSbgFiGqeGNZBblrxxhwXX9oxCxQvgBp95PVCrPZSw86wfcZGfpNNUukMim1pwH256ZVALEhwjz/bDgnvLznhF6WFLiI0ptXd0HGloZ9C369x8BnY8eLDpCVIaNDr1+hWYiVA0audFZ1+Os4DUqg== Received: from PA4PR03MB7136.eurprd03.prod.outlook.com (2603:10a6:102:ea::23) by AS8PR03MB6822.eurprd03.prod.outlook.com (2603:10a6:20b:295::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.22; Thu, 10 Nov 2022 08:57:28 +0000 Received: from PA4PR03MB7136.eurprd03.prod.outlook.com ([fe80::cc80:5238:61b7:43c4]) by PA4PR03MB7136.eurprd03.prod.outlook.com ([fe80::cc80:5238:61b7:43c4%5]) with mapi id 15.20.5791.027; Thu, 10 Nov 2022 08:57:27 +0000 From: Oleksii Moisieiev <Oleksii_Moisieiev@epam.com> To: "robh+dt@kernel.org" <robh+dt@kernel.org> CC: Oleksii Moisieiev <Oleksii_Moisieiev@epam.com>, "mcoquelin.stm32@gmail.com" <mcoquelin.stm32@gmail.com>, "alexandre.torgue@st.com" <alexandre.torgue@st.com>, "linus.walleij@linaro.org" <linus.walleij@linaro.org>, "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "tomase@xilinx.com" <tomase@xilinx.com>, "benjamin.gaignard@st.com" <benjamin.gaignard@st.com>, "broonie@kernel.org" <broonie@kernel.org>, "arnd@arndb.de" <arnd@arndb.de>, "shawnguo@kernel.org" <shawnguo@kernel.org>, "fabio.estevam@nxp.com" <fabio.estevam@nxp.com>, "loic.pallardy@st.com" <loic.pallardy@st.com>, "mark.rutland@arm.com" <mark.rutland@arm.com>, Sudeep Holla <sudeep.holla@arm.com>, Cristian Marussi <cristian.marussi@arm.com>, Stefano Stabellini <sstabellini@kernel.org>, "a.fatoum@pengutronix.de" <a.fatoum@pengutronix.de>, "peng.fan@oss.nxp.com" <peng.fan@oss.nxp.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org> Subject: [PATCH v6 1/2] dt-bindings: Update scmi node description Thread-Topic: [PATCH v6 1/2] dt-bindings: Update scmi node description Thread-Index: AQHY9OJ15svHVoFEaUSVCL2S/1sqYw== Date: Thu, 10 Nov 2022 08:57:27 +0000 Message-ID: <c730d1b47223f535ae214d21cfa18e2c011c7dc2.1668070216.git.oleksii_moisieiev@epam.com> References: <cover.1668070216.git.oleksii_moisieiev@epam.com> In-Reply-To: <cover.1668070216.git.oleksii_moisieiev@epam.com> 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_|AS8PR03MB6822:EE_ x-ms-office365-filtering-correlation-id: 3a694cf2-63a2-4a78-3e4f-08dac2f99800 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KXOZQgIlKF8/nVbG2ap3Jajp9AaAmYbBW2lM5ON/zK+/t9mRjuvw5Z9K1ddPK/PxQtuxjaJZc24G+9yMb/rsH0qQ5uPT0swZVgKkB+wb2bF3/6Yc2aLGEUHi2ov3XOlv4Dpd/Nt01B/rufuQkYXsfEA3k3re0DvWn3RuPuj3Q/iqEbTx/oYD0qsVECc5Z1QfoUwdRL2iTnn2QOsm8CiiEeGQ2MtgKHsHigSFCPb8sHaLx+ZvJKesDP5+jK0lNSpbJx0Reob80frCH2KpfaZMs9xQmlm3PLuecEv1nG59NsRRdZ6Dv3JFzdpDsqhm77sRhH/RKUxglF54U7VDNPM+O/6U3z9G2YioGX/ea96UGnIE5Oz/ug75OZZanJtMm4GDIwHSiHxPDEyIF/7IfyrOXxt9NU2gIKt+sdg7OqSt0OP9885h0f4WytO1oDc1U+MtaqPVT8WrUt3X6rEhMeqn5DK28eyhYpYT5XNo89eB1XVllHT6+OV6MKvc3FN4uca8Q5SzakejzwKEcyfGl7YHRou82BZFG1bsqaLiZq7HNsEhFMXGh0cl660o9z3RoLqHU4TEKF9DLG1yA4sSsvnGkn9a/NrJxqFaWsEVZNtD5PyjXmV+s2+KxBWxwK8NUcjpirlwuOcTM5g5MyTpMvU0sl92Q84rgpLT/vXT3opiLXv5CgZ5h078TXsYwoiYSiSzR78M1PExUlQ/mOdZ8HtKuObXYZZlH/fJ/uYfNf6YqSLYrXjojAJR1RBpY2d6OlfiO0/3GtndzjROvy5I6oAAsu9gdxZu3JZv2LvCWgkIgz8= 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)(366004)(39860400002)(136003)(346002)(396003)(376002)(451199015)(86362001)(38070700005)(36756003)(15650500001)(7416002)(2906002)(2616005)(6506007)(6512007)(26005)(83380400001)(186003)(5660300002)(38100700002)(122000001)(91956017)(66946007)(66476007)(76116006)(316002)(66446008)(64756008)(66556008)(8936002)(71200400001)(54906003)(4326008)(478600001)(6486002)(8676002)(41300700001)(966005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?ifduplF3GvsiZRYDdpe4nU9?= =?iso-8859-1?q?sq1L2UUD2ZX6kL1h5I8XVGY0LnzdHVmej0PCsx6a2q9a0Xem/IGJBgrnQGte?= =?iso-8859-1?q?zgw6V/EmUWtYeTwVqfS7i3u3zpWw59fabEPiPbXl2SisRXc7lL4qf9q6jKut?= =?iso-8859-1?q?3ldK8hIwyuCuQrZLySS/4WkcseJUUUBDavXlc67+F+5074C8Ou9CWgQpDxCQ?= =?iso-8859-1?q?hrMYmkG1DJW1xe8IxYtnUpzxFzCfpUBuezSTIiaBbfypT8//fEOl4Ket4y+m?= =?iso-8859-1?q?SWxtDrIoNgZPTLuKNvV0YUty7eNnEGWd89iL1zrZ0tSAx6pcSwKwsBel7Mv3?= =?iso-8859-1?q?md2aYMVfHeWgYEmZxd/lTylYelTpjAHqd5vQMIUiH77iT1bzFSf1m9fD9tpb?= =?iso-8859-1?q?FXGKQyEVxwHvtzA1ByAOrvD8AXk42EwoWz1U9KC15uVL9JuxrKFZQSvUcKMo?= =?iso-8859-1?q?RO9lmOXk0DjWMEYKyhvBQTLEGhh2iY7HtLtSRKOZ+7T+nev+iZu4Wj2sMNuP?= =?iso-8859-1?q?FUn19m7oOaEQHVU1Afx+PctwwYh3woOr1AUiPRZkp+QwpkUfRIDz+petuKkE?= =?iso-8859-1?q?5BbPZkIkvePZlyY6cdvlvPpmxv8/0hSeyuNegrn7BkF4R1vhH2ModM+iKvcX?= =?iso-8859-1?q?EkX9dW1eluxmldtIqWnElPSHL8sxxH86bJgdDcqgsPLi7eYadDIIORxrYFQ/?= =?iso-8859-1?q?7KDKzn4IAQ9S/6t4e70mR6YhcYoe79VOFnsNmlDpHakPWhVRvml+U/7pnuNX?= =?iso-8859-1?q?7rFA+EdjqQLRPa1gLKPynXN9/CDuHWVbgwAd7rCTRwfYrL527WjjclgLJypW?= =?iso-8859-1?q?2gq8rkt7omDmjOAAn7tXpAHDaXYW5CWwqqUX8Mpk7Ac/5ZGVPkNCpoqEY8sv?= =?iso-8859-1?q?wGcy13kMNu68LZthPZhwbr3RPryTTbYqjD/gqEjUIRvrXA8eu6m+xRZPxDhM?= =?iso-8859-1?q?PXaNWIIsdgUlMdh6nWlXcBqD60pq3PuOnxsXZ3epshNrlac+WVb9sdKZcjfC?= =?iso-8859-1?q?oieOaR6cxKMLdQby0PkMll7l+/ngmWhBKIY3rrWTosIHt+h/pUX+RkqlXZGN?= =?iso-8859-1?q?mEhvAkps+cRtypIoOvI4KuZyb+CYAW6LYCm2jUpBnEJ5On4E4VszmKXq63aV?= =?iso-8859-1?q?2jtBFuyG8Z6A76R1nfAKydJjqI0sJwlTarvNQcOXdSNTPh+WkioEsJZcWY1O?= =?iso-8859-1?q?+9PauD9LiBKNgcGsjVQdO31Ql69/+91vg7yiRmRwUI8DLH4REATOec1Ipko0?= =?iso-8859-1?q?U1CBaXorAB9PJVpUPWxvLZDLAyfQoEcZMiHCV24P9dagAnogTAq7SYj4XEY+?= =?iso-8859-1?q?lyLaBLHNrCPwuiwky7dJbrtBAxEYmOcYbCL75fU2h1so0Aq7/Co9pXOh8FnY?= =?iso-8859-1?q?Sh2Gxr9tQhe4GB6+sSkxUYSLx86FIv5RF4clzA8/Rle6s7lFDn5E4kqZuDg3?= =?iso-8859-1?q?tXelCggtskiZSCyYVnYijgUU1XC5qAsQhi//XVWQs2APFUBKXxHOH0cq/ASR?= =?iso-8859-1?q?jnu5+avqWJD3IzXK/AXBWbpQY8DkiT7i+3lhmoy/egGsO5ymaqy3ITkRR1cH?= =?iso-8859-1?q?ilCdU/qn8ssvCCk9WmDHT2PLdWl4wyzil/zvOwNLIEXOBUJaLNitcXrp+sAW?= =?iso-8859-1?q?1gGYNzybvpbNXU+suvyVW/TXpnqQ48DQoC5WGWw=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: 3a694cf2-63a2-4a78-3e4f-08dac2f99800 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2022 08:57:27.8832 (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: 4NcVCs70c7DAVkbS1NigG5S3maJh79p5gjjUgplmmrxux0fwkQt2tjD4gJ8bh97Y4BKmVFuA3DY0BZFH80Q8kpWAOrYHjiki842qrUjlGUw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR03MB6822 X-Proofpoint-GUID: Jsq7WKiAmo6uIcjz5QTsSjckB6WOW7HF X-Proofpoint-ORIG-GUID: Jsq7WKiAmo6uIcjz5QTsSjckB6WOW7HF X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-10_07,2022-11-09_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 impostorscore=0 adultscore=0 mlxscore=0 priorityscore=1501 bulkscore=0 phishscore=0 spamscore=0 clxscore=1015 mlxlogscore=933 lowpriorityscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211100067 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221110_005751_927287_BBE81A87 X-CRM114-Status: GOOD ( 16.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
dt-bindings: Intorduce domain-controller
|
expand
|
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>; + }; ...
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 Firmware 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 <oleksii_moisieiev@epam.com> --- 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 Changes V5 -> V6: - formatting fixes --- .../bindings/firmware/arm,scmi.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+)