From patchwork Wed Jun 15 10:58:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viorel Suman X-Patchwork-Id: 582155 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E39EECCA47F for ; Wed, 15 Jun 2022 11:01:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349561AbiFOLBE (ORCPT ); Wed, 15 Jun 2022 07:01:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238189AbiFOK7m (ORCPT ); Wed, 15 Jun 2022 06:59:42 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2083.outbound.protection.outlook.com [40.107.20.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 038B551E6C; Wed, 15 Jun 2022 03:59:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j8qB+qWusjPa6Tl3B1F0rV31/pPkBxsD33/QomDeCK0GmQwRo9lmSlvjMALTJJdH9RpmRNM/w7vanLHucJoCaWwuVXx3Ldb03l9/poa2K+ui4MqvFGx7xXuW2U5K7FBhk2WpwSIufdzM5rMctCXyvcO6C56M7Lt1TvCqV1S9Wz/u8R3BFuXxCnzXSbKxdfPWE7JnbXOzdQXT1k23RGtcgip4QgP5xFyPZL/54FipTimlnlkd1j0ycznZp9cbkOE7JwR70gHEoSQW5nnFIxBHScvtKsqgXRKn8jwqr+7HEk3aZ1crbUB3K7R4+mJB13e/u7EWtr7hvsqHr1Kh+ssx7A== 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=o/HH53XkBWHBvSuWeHYKpmfMVqMgzYPu1bmOgPNFPqs=; b=BFYfqh2qNiuCiV0fJARe2LZZ5Ii+6ENGfv95/5LiwFJVDVbxIHZVGOREOGRJraWuqzqtGHKuuqk6NuFpr8j58DkvA7nUyucgrYBPR15De3wBG/Fns0xMSi5ZtSFz2GyGBsFVn1uZFyPCseCZu1DtNuyD1gONev336/pZcKMo3FXk7xyHXmuPuES8eqE46mxf85ZvfSTQZDFd9NOnR1RQPZO1WwiWfUOWcMohcdb4lS0sDgCDzUWP80tHPLhweN1YZqy8v5hmoWxipUDUNVd4S0srYaUIJyzLF8jhd91OpEB08uh6ycWwifZxUVArwILIN1BChqxus5dJn/51A4q9Bw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o/HH53XkBWHBvSuWeHYKpmfMVqMgzYPu1bmOgPNFPqs=; b=QZuW+HUPXF9jFVPS/FKgd8Bn/xGy97eHzl0keUZdwLuHMjpO7ynZ9yQcQyW1/tg/pXhi8uTYIfyxYKDtWKx2RSq4tHV85FK+9lxJBlPRIJx1pHbSLDumpdKJxAQKJq3nLEGwCSYjHXglXOxUCYtHsq2wYESClvkTGqZaNhkPHzI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5005.eurprd04.prod.outlook.com (2603:10a6:803:57::30) by DB3PR0402MB3948.eurprd04.prod.outlook.com (2603:10a6:8:d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.17; Wed, 15 Jun 2022 10:59:39 +0000 Received: from VI1PR04MB5005.eurprd04.prod.outlook.com ([fe80::7505:2581:368f:5619]) by VI1PR04MB5005.eurprd04.prod.outlook.com ([fe80::7505:2581:368f:5619%5]) with mapi id 15.20.5332.022; Wed, 15 Jun 2022 10:59:39 +0000 From: Viorel Suman To: Rob Herring , Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Dmitry Torokhov , Srinivas Kandagatla , Dong Aisheng , Fabio Estevam , Shawn Guo , Stefan Agner , Pengutronix Kernel Team , Linus Walleij , Alessandro Zummo , Alexandre Belloni , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Wim Van Sebroeck , Guenter Roeck , Sascha Hauer , NXP Linux Team , Abel Vesa , Viorel Suman , Mirela Rabulea , Liu Ying , Oliver Graute , Peng Fan , Shijie Qin , Ming Qian , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-input@vger.kernel.org, linux-gpio@vger.kernel.org, linux-rtc@vger.kernel.org, linux-pm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: LnxNXP@nxp.com Subject: [PATCH v4 08/14] dt-bindings: thermal: Add fsl,scu-thermal yaml file Date: Wed, 15 Jun 2022 13:58:28 +0300 Message-Id: <20220615105834.743045-9-viorel.suman@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220615105834.743045-1-viorel.suman@nxp.com> References: <20220615105834.743045-1-viorel.suman@nxp.com> X-ClientProxiedBy: AM0PR02CA0159.eurprd02.prod.outlook.com (2603:10a6:20b:28d::26) To VI1PR04MB5005.eurprd04.prod.outlook.com (2603:10a6:803:57::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 332688ab-78aa-441f-3208-08da4ebe24b9 X-MS-TrafficTypeDiagnostic: DB3PR0402MB3948:EE_ X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vIKCj7za6NnxVWf0oR5AU87lUftz9UYviO9LDGFSY++0F97l6UhC49Tz22YLbzjW5aOaQ/74wHVAvVHd9mpoLfn5bp2t7tjS0pqmXfpFLdB+EjR067gvrV+9suJ01S4rxBvPuB+VtdsGYu4gFjjzCGeFkOHKKV0yVSJkkcM89dW+cbNEl1rQxVqmv26/2pWwZhl/UnUxcjf0WAFxyYLTKorqov+4UGlcC1DmOj8w1Qm5jb/WxTVk7/3maedozlH6wh8ZBXiJxJUrOsIU5p649Mff8doHCpAGcNEoDGjAfLgQN1LlIqfjHW0ItW/M7vMjYWTtrCoYbkqXXk4NV24y1uOOKden8ZoGqpQhrtK9r+epnHR1+S+D/Hd3vVPLljkLgmyMTjjFuVJMIfMbCoYdiab5n2ff1r60JJdsBUh5IjbnXcy8g7TgruPRgduf4kC0kO3GtgvhDMkIH97NIcv4nGzetjeN6rzzIbIKRQLiFIIgIaxScZMAdUj2g6hrcMD6ZRdadVQ1c4bK1dH2X3wSr3px2ZQV5ptX9GBiPe1y8zT6CxifqNBC4DGHCTrOVNrf6HHJVJj3lloS+3xKBpxdQ2lvkN2FbRyEYtuepPeXfTw5bhGAPgpZunphWP6eT//IibyFXxYVqrN77zzfCo32padBKVLOIvAWsIk410kIRHylUtFnppKjRj1srF+NeeG7NM9wPnjvDZZUHHX6IfC2qqDTwDQc5XygAcRW9hbKnJw+JKGLfWfnHzAUAUr2uz/zTilDqD6lW1TrBov85kvxnOcN5WRCPNZNiOu74uKKc3cCc8KVe72qBPehoMQUZ5DprRGzIU+oV9qlabZrVt2BVwB6Gy05W2pwucxhbliT5mg= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5005.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(26005)(52116002)(6512007)(44832011)(7416002)(2616005)(4326008)(6486002)(6666004)(508600001)(186003)(83380400001)(1076003)(8676002)(966005)(6506007)(7406005)(2906002)(38100700002)(38350700002)(66476007)(316002)(66556008)(86362001)(36756003)(66946007)(921005)(8936002)(110136005)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?q?qmu/K0V3D56cjaYPFSVY8+T?= =?iso-8859-1?q?azvxm4bSGuM3Ec7jCvsK+UVm7HHGb32Lh0ePYXhq82pjM36g+H6TdQSql0hf?= =?iso-8859-1?q?2yvm7uakzA2uUgSy/Sgd0v+Ck8/41caew81nqD2nCpA4aSU/CGZDaEG7hjgc?= =?iso-8859-1?q?wkr5GsbpSf8e1xEKyMDabLeUA+DIz/fqsUWK31wXm0CaUyfeV0A+OWkTgMyN?= =?iso-8859-1?q?rczeMnCsNYa/EOX31is0hI1rHZEd5LtEj6Yf/SBHP2U04DkF1eIO0BOTUWG+?= =?iso-8859-1?q?kWcBBaUeiUEvZHu72fA0nVcJM/TVhZohe5zhE2TglKTFra0eF4jzL5n6i0X6?= =?iso-8859-1?q?poOPFFSJ00OE0+XEFzlx6v9i3+FQ9AGnns3O715Pu1h022UpRuQHW8xvOCIE?= =?iso-8859-1?q?psmzqkKQndXiN2am4YObgTxFsX7vggTm0jx0D1piom4DxssjOmOtYA4Pz1N1?= =?iso-8859-1?q?Pa5XIXNdoy2THUrEFWDfl648KB+9XKcncAoR6uwYZNrdwjAryidRL0Book9x?= =?iso-8859-1?q?MbQTWaucS5zDdtFV4MJ2lEDg8AoXKTG1b18zHrpg1RXRIeKKyKTI+6O34Ll+?= =?iso-8859-1?q?V/kt0oT3k9Vjd6BJIIFveJXXK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C?= =?iso-8859-1?q?LIIQenKHFHj2NYbjdM3JBeMChHv4h4Mh60yghmXTBLXQIHOSN9FI/nhdDpsI?= =?iso-8859-1?q?KhQzZh5lFyJaJtJRkRXSU725LrSoUoV5dwxynFflgrDdjRbjV4IHs28rrQj0?= =?iso-8859-1?q?P0j83xdJ7k+7PrJ3FhgKSE3R/9Za7OK92B0H1tP5/X/gHeV/l9caILr/AVX+?= =?iso-8859-1?q?wcXLIZE0h3Np5b72KQ9cLB26JHH+N1mFZ7QBdFZ18bQ6PCOuFN5xgimFLTEk?= =?iso-8859-1?q?1PrMUo8LqU+Epo3fW5EtQ1eGbseQU9jHYoLMNXO6u5LTr+A=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 332688ab-78aa-441f-3208-08da4ebe24b9 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5005.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2022 10:59:39.4622 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: l7WVJYPBqFBr1odFqfXWo2oNxa8Y0SROvruskku+Lzhkri3uObgiLeFB1uBTuummu3zc8OW4tAS03+CNT1c/rQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3948 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org From: Abel Vesa In order to replace the fsl,scu txt file from bindings/arm/freescale, we need to split it between the right subsystems. This patch documents separately the 'thermal' child node of the SCU main node. Signed-off-by: Abel Vesa Signed-off-by: Viorel Suman --- .../bindings/thermal/fsl,scu-thermal.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml diff --git a/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml b/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml new file mode 100644 index 000000000000..8f2646a18ef0 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/fsl,scu-thermal.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/fsl,scu-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: i.MX SCU Client Device Node - Thermal bindings based on SCU Message Protocol + +maintainers: + - Dong Aisheng + +description: i.MX SCU Client Device Node + Client nodes are maintained as children of the relevant IMX-SCU device node. + +allOf: + - $ref: /schemas/thermal/thermal-sensor.yaml# + +properties: + compatible: + items: + - const: fsl,imx8qxp-sc-thermal + - const: fsl,imx-sc-thermal + + '#thermal-sensor-cells': + const: 1 + +required: + - compatible + - '#thermal-sensor-cells' + +additionalProperties: false + +examples: + - | + thermal-sensor { + compatible = "fsl,imx8qxp-sc-thermal", "fsl,imx-sc-thermal"; + #thermal-sensor-cells = <1>; + };