From patchwork Wed Jun 29 16:44:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Viorel Suman \(OSS\)" X-Patchwork-Id: 586769 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 14CE5CCA482 for ; Wed, 29 Jun 2022 16:45:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231284AbiF2Qpy (ORCPT ); Wed, 29 Jun 2022 12:45:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231531AbiF2Qph (ORCPT ); Wed, 29 Jun 2022 12:45:37 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2073.outbound.protection.outlook.com [40.107.22.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 340193B032; Wed, 29 Jun 2022 09:45:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lJZcZ9l4qV0fK7TCi8l2ktw0bBWGnj3HJzkEPcte78hCyXU6k6TnynVvDCD3uPMFCn1WTQdFzRNkkeR8wB4njr+ssLPm09iMrK/PiwFpb5B9jCl9lbDCIE8Dg/9bS8aKSWt9FCYstOC3F72l3WhpwigmDZygeCyi4F1y9DRDfetxXxO1uNX8oZ/1kbWZ7Exu9ns/uaN5PH8ftfQjzJDqDSI9fjUX2oB4vG2FxZURU54b0sHX651bvnbpeD4hQ2ddhIUuofwGshh2aGFAPOshztNGgl6mSLhLaV5T4kDUvjo2Wri0+7q11VkrAARIRaHvbhOwWy6URZLQVo+nFFbDkQ== 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=IWSGkM+Wql+2zKeaTrZVzKddpSQfm/ZaiQyCScHRp5o=; b=EeC3CpagZbc7Hr3G7eyeoto4BcIgTciJ/m8EwvUeL3uWoFeZMJRCrcOJxKwMH27ZSgKrgS797MgvYQ1a7b6LG3tpytUvhqlZ8cQVcPFlYzuCFaR6hkF/MBpDxQi+pSrZu/Q7fDQHAhDamF2fghvFJ/zHryVhY0KUu64HCWsaLiS10v2QnF2tuJXCQBfJxArJnxlF7cvZ+9wCBllgLPv12UUpLM4AO6sTsAUp+WTtxgpC2MI/kYszfktYYPtjEaiACkNwKwz2iqBuqm1+KI86hp42C2Em04XdBHKKNou4rrSZEqaiUMnKc0ZFZ51ijnSOaSZWoMjpmJQqnDBFpx+rJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IWSGkM+Wql+2zKeaTrZVzKddpSQfm/ZaiQyCScHRp5o=; b=L2uxkBWuPtM+srwbtWuqMQJ7fsPAzROrjjy2rw1xw/UF/5NeSWVpZOVyoplKHx1g6TAtTc+bZRp6fohKNiq6wYCgjl0/iC3QAX2uObFUbxHQSJv9SgHYsKcp37Np6oLU8uvCeupQYu5C54MWqeLhr8Nm5o0WD4ecQz+l9gCTZjA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from VI1PR04MB5005.eurprd04.prod.outlook.com (2603:10a6:803:57::30) by VI1PR04MB5840.eurprd04.prod.outlook.com (2603:10a6:803:e1::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.18; Wed, 29 Jun 2022 16:45:17 +0000 Received: from VI1PR04MB5005.eurprd04.prod.outlook.com ([fe80::6546:3ee1:5e6c:278f]) by VI1PR04MB5005.eurprd04.prod.outlook.com ([fe80::6546:3ee1:5e6c:278f%5]) with mapi id 15.20.5373.018; Wed, 29 Jun 2022 16:45:17 +0000 From: "Viorel Suman (OSS)" 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 , Oliver Graute , Liu Ying , Mirela Rabulea , Peng Fan , 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 Subject: [PATCH v6 07/14] dt-bindings: thermal: Add fsl,scu-thermal yaml file Date: Wed, 29 Jun 2022 19:44:07 +0300 Message-Id: <20220629164414.301813-8-viorel.suman@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220629164414.301813-1-viorel.suman@oss.nxp.com> References: <20220629164414.301813-1-viorel.suman@oss.nxp.com> X-ClientProxiedBy: AM9P195CA0028.EURP195.PROD.OUTLOOK.COM (2603:10a6:20b:21f::33) To VI1PR04MB5005.eurprd04.prod.outlook.com (2603:10a6:803:57::30) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f4435ec4-2714-474e-4357-08da59eebf43 X-MS-TrafficTypeDiagnostic: VI1PR04MB5840:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qcHSUpunp3f5I3f2DSWZg6eQE0KfTyrrj37NAloXKq1oBWIxnA0Il0w7dmftEB5U/0KhYEI1Fz/jLNKkjDUxdQ9RXuVwkZpRjvwGftKB0mKMvb0lDr2z/DghZk/B6ioMko1TNl7FVzcq0hFlMXq0bFZuCMRr49tqzclUp1FBh2tr6qOSRD4VFW1bmq0aCNU8crwxEEzG4cr6+C4cD6zJvrusLUvr1c0yojPz9U7ms/XHiNxAHhRm6kVY4J2dXpoL9GEYTlwqwLmF/uJ/VXelFnPOzNZX8C1xrIwO3ZH9TXBEZ4I+c2IeEX5B5pBadeAhjsFMy+moOV9ijDYmZ4vxaYG49jv9+ckcXUcK+LuhgmhnFHx66YVItXrtPjbxkWQuR4n/VuKdNIgxL7zt2DlNE1vumbqFrbYqLt0Ip/+nYCQqRZRB53WBsfY8dmctrY4KXI6wDIpng6rTJ7wu6phNkovgqAqVMX2Edszzem8aDkJXsxeMbsCsA2XMDmMRxgKJsK7IRDkdb/WBJp+RdLLGd9sv8cjzW42mLhMSpFzjnjFgNhBGDL2vJhKI8IpBPQ9rgiCp+ooLck+qFoNCBlxfJOjvfZSvoz3bFQA/2GtaSJx+NRs3Blnga6P+FGZAC6itziJ9yyn0chelEZSXyPFH4+cDwbThTfixgvnj0Qtnmyui8CyFO96Z/WjtfJVDf4TD9PGZTLqi1cy9n4jWenWWvoAqUErb3LtVEbBjK0BIUUNbEjoYUmuEJ0WE4KZGUZeDlnUI/oacx/FM66ylfqA4xXpiYnpa7vyquVgvln7txo2Z8LOnXrGLbe6gs8G+l7o2oQwEoT1yDEgJC/43c9LRuFx9BEKaft6GKmgOmv/fLKK3mQ84gbV5kyCXnHb8dNfw 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)(396003)(376002)(346002)(39860400002)(136003)(66946007)(6506007)(26005)(316002)(6512007)(66476007)(5660300002)(66556008)(6486002)(8676002)(8936002)(52116002)(921005)(38350700002)(41300700001)(186003)(2616005)(7416002)(478600001)(86362001)(110136005)(6666004)(83380400001)(966005)(1076003)(38100700002)(7406005)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?q?eV0M4KQOGBm1N73qOyKlFI5?= =?iso-8859-1?q?4cNm6MWd4dUcpMSEJcPrL4OAhvkY6LDVdwIrPM6O7qM/SLtRDrFkIPjjGY2v?= =?iso-8859-1?q?83zrECuiEPXIa8F+sCxXzU1nx04K6NP3GOGPy93vTlbp1rwMx7qmoYTtQkiF?= =?iso-8859-1?q?zNpqQSMHvBvh6t0HRwyhkepnVBbBV70VbquTO1JrKQStRWAORFVkjqZmYxFO?= =?iso-8859-1?q?Bt9i0cZ1o8drBtJTMrvH0EfNQdM67NQ1sLoMfGdJTBHy/m9gRyzemBeZHxX1?= =?iso-8859-1?q?uoRoc9jXAe1faRCJ0Mrbv4S+Htki/3qpG7mBGoMBZJfd1giseKuS8JWB7ul4?= =?iso-8859-1?q?guCTKIUoOq8cJ/33NEIJsr73ebiJ2woTmEqQNBtpwOdps6grT4g2ObX7ijR9?= =?iso-8859-1?q?/h78fsfIz44fp4LodtEl2525KrzC7eFK8Bx2MHCATmyO+cfzpKBLyRfXMiVU?= =?iso-8859-1?q?IcphuTzDCCwyS3JBkPm7nIMva90JnVfBU3nwWqCnD3guxX/cpgG69QvyY+6u?= =?iso-8859-1?q?Dmvlk/Vqzvp7y1sQyJoTRFADmtaRH3uA99l6t0Mozf98oGeH9xsn4YjBj9hE?= =?iso-8859-1?q?71yP4i0YUQKKC8hjbBjB+xygUnZrlxGep/F9lyUQ3Uv8weiCZDzein+hVrYA?= =?iso-8859-1?q?83JyAZljpa6xV+SG4z4UhuMkHigzd45qHEM08guTGG9p8kJNLh4foq+7Qpmv?= =?iso-8859-1?q?xCo7hedAoE4+OyTGh+mwU07TNsq9xSH+3YPdWpMAL+1tsMGRrgDHfyU6fKSV?= =?iso-8859-1?q?91C8ojfTQupqic4k5AgitYfWMknCQhzIhp7+X4VPArfhJFw3maVBkOqi6wLj?= =?iso-8859-1?q?AF3Aoy1I837cBgAxNl/cir7pjPp8CKblG4Kwft/9IckWPN4xWlxV1x16AIE8?= =?iso-8859-1?q?2YwgaHUtos+Dp+MFnZiMYvmID23p9b/uR7mFFp6hBwUePP1ha7lt5uPht4By?= =?iso-8859-1?q?SVdR2qs2w0N0iCEXaQMOVF476+TWjPcfM/CEyO+I6RYn/6qFPhtWVQ+WstkK?= =?iso-8859-1?q?gXzoDPZATyEGi3UjZS5tAgAVIDIZm49XdVcufDvyrG2u9eM3CL8X+N/T4b8x?= =?iso-8859-1?q?lTU+CrruEcNRvL7ihfV6+WU5ek/ulaLT8aSw7M3Ctq0aSolpB5vAVdMTp9gV?= =?iso-8859-1?q?XeWF6NqL8q9WJaZznaRWcTfEQzwui6+kcwIKShUNZTT/ZAUHtVxE5N+rKxI5?= =?iso-8859-1?q?MMOQArtDr99Mj1N4XrkT2dFSWZ+XGj63SFDR+slYKcDqcR7ypCda8WqR+l6d?= =?iso-8859-1?q?aCSaEaojLSxG2MKadnXJo85vA/n1GApqmsAFLotGms0h0zwZv/nnPwMeWiMZ?= =?iso-8859-1?q?UfZp2sf0C/nIhfkdpYY+Qh8E9byArAyP4+NVlECTz8GJSK1ZsbBFUapdqCWK?= =?iso-8859-1?q?NTFAPQALY3Jn3S6zCmrRmRP/ycy4lcgo2e+1IvjMawEtSMO9OySgxTc4PaYF?= =?iso-8859-1?q?GFZDzgc4cn/UMQ22YLOQXm3ZagWpGcch0YVzCNatwcEE2wAX4KN0kkgWIS1E?= =?iso-8859-1?q?hwgQpsasVWwEN4ahk1I5mYJk/81PbuyaRNVY5yWxQawCbqeMVMwF44v7CgUk?= =?iso-8859-1?q?OWJ6I796qMPw/tyNzmrjJ/KFhPa8R059G4YWr9eSO165mTnDn10f0AVFaBne?= =?iso-8859-1?q?ndot1kneaMeypOLP0?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f4435ec4-2714-474e-4357-08da59eebf43 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5005.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2022 16:45:17.3697 (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: oybncnAw9WCoNQZjd93OGIsYInwxCK1MUMxDPBrJQkFgvc1HKYxG/heZYkrZ5Vuy8P0kJiB4HDyGfZDbY8kRZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5840 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@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..50c462027aa6 --- /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>; + };