Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1309149lqb; Thu, 30 May 2024 06:50:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVqhYnR/TgYvbQ1N38sH1vW+l18BUJjhQFQ+gA8wHRTk5s6m5esTUDf1eT8oRa31w8DClR49ugw1w9OPA3O5Rrrz6SuZCMhviCCmQuK3w== X-Google-Smtp-Source: AGHT+IE78itLBOSlrjimg32TY48kBoq1M+7vGX9f+BqmP5NxOjYGp/KVQptoQCOj3Ol4rT6GG8ve X-Received: by 2002:a05:6a21:19d:b0:1b1:d2a5:c7b1 with SMTP id adf61e73a8af0-1b2645dde66mr2299339637.49.1717077042058; Thu, 30 May 2024 06:50:42 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c22aef65f0si289206a12.564.2024.05.30.06.50.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 06:50:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195457-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=HPxtMEfA; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-195457-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195457-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 92347289883 for ; Thu, 30 May 2024 13:50:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E76117622E; Thu, 30 May 2024 13:49:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="HPxtMEfA" Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01olkn2028.outbound.protection.outlook.com [40.92.52.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F595171B6; Thu, 30 May 2024 13:49:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.52.28 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717076951; cv=fail; b=tdL7DOxoHYLVBrEdGrUbdkWmyHc6gRjl8pluixF7vx6RmU7qFVIC4bQ+o+F+svuy+01NFHRmGW1nluPPsIz/sinF3vq/G/XXp3A4/l0hYxJeh8qWYiD8aYZJlV+tLV+2oASVTW7I7vNWNOq2tc/0/6nW4s9kqPDN5TwvTnhmLvU= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717076951; c=relaxed/simple; bh=xYjGlOAlfb3l2GgICtxJblYSnasGuwCA+dP6QXTLtRs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=VEXrNdvaOHX9qNlVvZyT5fSkna/LiQvKt9otSNXXh4I94GQQy28K6eTpRf1KHPcRYEUD+MERKUBl+sBdWIG3lO072tJ4xeJYQnVwy1bGYGOzJTCt6nTYt+vnuuor0Z/4P8sYHqw26hMUc6XYTYcChsi7bhjfW7t2aRlAoSn7PRw= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com; spf=pass smtp.mailfrom=outlook.com; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b=HPxtMEfA; arc=fail smtp.client-ip=40.92.52.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JVlEyphrYNEqlYzXEgd7GiAkismHwjj61EUer2KF4Rfjq7sVC5QJjV/Jsq9zabuk3m735VJ0gXieb85vQzijYV9u6m2X4ECrklXX3X7iCoXInwxbD5akudnwo8SJqRKMCnJtkm23sK5ZcN/BGotd4Su914V/DTYJdpvBEEec616Iw3NRy+eCyQebe5QQHVKy3/7x9ceypaDuzC/qt28Hro6pUi6AiJQWJ5QHWPdld0o3MUT6uQSayOm8dF8ysXKWXv696dbC3MhKaqLaP4LI9pZFuHW9OMbQsjzf6ctR3olQWmSWYsfVg7ADueuSJtdHkemwE0Vv/7ODUGR9VKZMXw== 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=eEGmuEkXi/wCkmyMBV2vONT62dw/AEOJbhyOvWh1GW4=; b=loTeq4z8livV0bKomBHWyhquqhG/Xg73+oegI72l5RSOUMtjv8jlJ56EXlQDKvl/F3vB6LmQomeRaaojTyVpPwcSL3zPJRXa18xr2kGHc01L2ZyussyElXSc27fbvm8P+tQty25i7nK9XyxubMmg4w1QmazQyvTrNQvh2Z7NTGhkSYZb7YgDN9kBT3ENgusycAY3wDrEcoXIUwDwlg82OgRpJGty3TYlWev3kIuaLKwR3mtxgHYhzDTGHHRcS1673ZLhw8o3J3kHTzzN62OPIonSKulDEkbSHA/pdMlVJd/sgug9oyFryRv8quOjNasx5BMe2FXN2C8xO995fiquoQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eEGmuEkXi/wCkmyMBV2vONT62dw/AEOJbhyOvWh1GW4=; b=HPxtMEfAy/c5NMk27sclzzr/zJwg/QOLVRdptq4gQv1Q+Tu1Zm5Y4KVqLJVPjNdf0IUmGfkUGQO9psF2QtLGG6gr29VYExMwd3pMJTwnuUDjH27cLKb627wTAqoM3j/OJ84gk+UIEbbj25vf59Ri/97AKfZBGcfRC1Dh+IRuXm7xKipkH+9ihCeWByRRS2gBByNx9RCCgDDYLs6HJGfPoRFzuC1QZRJSCXm7ItGd3ruK+FaO9rXvjTglzRDOSIhLwiNiurZjkzj1P61xpaUX/LcTkfJttszFJAvZFIHKkRKzsunmMRDvtMkYNjlcaNYwHjU3L5kSKsdi0lswOQPMfQ== Received: from SEYPR01MB4221.apcprd01.prod.exchangelabs.com (2603:1096:101:56::12) by TYSPR01MB5657.apcprd01.prod.exchangelabs.com (2603:1096:400:42c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.19; Thu, 30 May 2024 13:49:05 +0000 Received: from SEYPR01MB4221.apcprd01.prod.exchangelabs.com ([fe80::b674:8f70:6e29:3756]) by SEYPR01MB4221.apcprd01.prod.exchangelabs.com ([fe80::b674:8f70:6e29:3756%4]) with mapi id 15.20.7611.030; Thu, 30 May 2024 13:49:04 +0000 From: Haylen Chu To: "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Inochi Amaoto , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Haylen Chu Subject: [PATCH 1/3] dt-bindings: thermal: sophgo,cv180x-thermal: Add Sophgo CV180x thermal Date: Thu, 30 May 2024 13:48:25 +0000 Message-ID: X-Mailer: git-send-email 2.45.1 In-Reply-To: References: Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [SU+B3YdJ4JmdzkcIigLXR3szeJ0yfAP7] X-ClientProxiedBy: SG2P153CA0036.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::23) To SEYPR01MB4221.apcprd01.prod.exchangelabs.com (2603:1096:101:56::12) X-Microsoft-Original-Message-ID: <20240530134827.53431-1-heylenay@outlook.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEYPR01MB4221:EE_|TYSPR01MB5657:EE_ X-MS-Office365-Filtering-Correlation-Id: 344d967f-648b-411a-43c1-08dc80af44ff X-Microsoft-Antispam: BCL:0;ARA:14566002|461199019|3430499023|440099019|3412199016|1602099003|1710799017; X-Microsoft-Antispam-Message-Info: 7e5W/w5rFkvBF4P0TkGfdxWPMSExDGTLnGwADNtMcT0ye0CvKgBkZHndOWGcj+0Qdf6UPwBSYiQIvLvZ6IHd9YSglXS6WGxv29zn5MscHUK7+hmlTH1D3ViyKCrYCHMi8YUs83W4tRzK4/3gqCtE/elXiKYBakgU81nGfwq5Z0+JkMBOupYItFAukNqW1SXWbx8FQOrS1l8+6czQqWBYI6q4+/VL9gnl7HJc/CEvMHno09aM5p2OqcycpGQGQ43DMcwlVga7FYJ/5w6wuo9eudCFyDQsSFSVBMld+T/XI1hK4rPz0TiMhlbDTF4awB0oT6PwGCkeTvWmhFE1VB3eVSW9M1pOIoVMIEmyPdRyM5ya7/mFVxf4K7t/xVe0gbTcfqsgKV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q?7GCvel/wdoiXYPi+7dM6Xw74OTb5BFB6kjMGJ6O1uw2MyyVsnyi5/+D7Wyxm?= =?us-ascii?Q?+7ZjqS6Ql35FG4DtXJnEuaL+dDpP1QTgIECoocYo6oEihfIq70+Jw4U8m2qs?= =?us-ascii?Q?OlYTxXZrhC7kjEoujCMnSN8mIET1wA+zI2t1moLrBEsQ5tXwKdPV2bmitNaV?= =?us-ascii?Q?dBJb00zgTb4Z2fRXk48YWYaTcUAdLC3DzV7+IgZlr0dS96NIe4jepmtdfYWN?= =?us-ascii?Q?Ri7Yr6/YIRo8FpG3hid3ciPG1jgUEmVNnGoXWw35uHGFHovvTwYsZeYezLlK?= =?us-ascii?Q?y3x/vPwOz2apQAoHNDca4RXFraowN+wy4BmIG3vCz9YFLjGVqwSriLIo2GfJ?= =?us-ascii?Q?V2CV3rW1NZ/m0xRFwhLEG+o8v7H1iUfiXIF3yCSqGQSqQPypG+snZzzIRrZ6?= =?us-ascii?Q?mYLLr/DjzqvO7o2/okuhMZRBwzo8A/NGPz1cB2OiBhpbxZnTSxezMAmafVfX?= =?us-ascii?Q?u0M61M/+dO5Uu5mBI+V6rs7iVydm2qQz8LnROcLCznwwhZtcA7LMRbHBYCOI?= =?us-ascii?Q?SCRzwnqTXFvh876chnbenixU3W0YT/qSbHQti21jMhXPvvmY/x0HJN0Ly3w4?= =?us-ascii?Q?7nA7ONU7WFY4nxEcgOsyc+gTAMdqn7H/BLPNMPZhDNCW5lRAP9F01mepldpi?= =?us-ascii?Q?rqySZCVXrgbJm27k5o/uf7Zfmj/a5heYbiLp2CS+vRkMikLZI615yTWPdDs?= =?us-ascii?Q?=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 344d967f-648b-411a-43c1-08dc80af44ff X-MS-Exchange-CrossTenant-AuthSource: SEYPR01MB4221.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 May 2024 13:49:04.7341 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYSPR01MB5657 Add devicetree binding documentation for thermal sensors integrated in Sophgo CV180X SoCs. Signed-off-by: Haylen Chu --- .../thermal/sophgo,cv180x-thermal.yaml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/sophgo,cv180x-thermal.yaml diff --git a/Documentation/devicetree/bindings/thermal/sophgo,cv180x-thermal.yaml b/Documentation/devicetree/bindings/thermal/sophgo,cv180x-thermal.yaml new file mode 100644 index 000000000000..0364ae6c1055 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/sophgo,cv180x-thermal.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/sophgo,cv180x-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sophgo CV180x on-SoC Thermal Sensor + +maintainers: + - Haylen Chu + +description: Binding for Sophgo CV180x on-SoC thermal sensor + +properties: + compatible: + items: + - enum: + - sophgo,cv180x-thermal + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + '#thermal-sensor-cells': + const: 0 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + #include + soc_temp: temperature_sensor@30e0000 { + compatible = "sophgo,cv180x-thermal"; + reg = <0x30e0000 0x100>; + clocks = <&clk CLK_TEMPSEN>; + clock-names = "clk_tempsen"; + #thermal-sensor-cells = <0>; + }; +... -- 2.45.1