From mboxrd@z Thu Jan 1 00:00:00 1970 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 38B52C433FE for ; Tue, 18 Oct 2022 07:33:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230322AbiJRHdY (ORCPT ); Tue, 18 Oct 2022 03:33:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230252AbiJRHdT (ORCPT ); Tue, 18 Oct 2022 03:33:19 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C83FA63FFC; Tue, 18 Oct 2022 00:33:16 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id 10so13085450pli.0; Tue, 18 Oct 2022 00:33:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:in-reply-to:references:in-reply-to:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=da75isXx88J+6UlTqgwNIlDk2sV2HDvdnOV1lRzZ9pY=; b=QGiLwnR8hHfj+U3sT4Ghd/2Jtg5z5rEQdWlM0zTyKpWBFGkNxQPMSydZ/j1O9zrTkr j2rYQYSC3REtq3MRfcbcLgzBfJwEow45hnXaNBYImRmspxddQMPEBVcfB4IbvO7g9Mm3 vsyENIBWWNn+9n+pWkTchV0lDsL7R0NZuaSNBojF1N7f1GmuJ2Cufwp899DSQYcAxxwW U1UcEH+DUGsmd4hJGGldWCByZpZxugL/K0V6dM8c+OD0WVA6fGfrUgvpltTRJF8iv3Ud jzO8ju8b44sEvmBOokNRpB567ZchAplBMCsRdXO1YXaNxfzF4IfmX/sBsrnBXJ/HGr0v AYjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:references:in-reply-to:message-id:date :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=da75isXx88J+6UlTqgwNIlDk2sV2HDvdnOV1lRzZ9pY=; b=C2LFz803qHn5bEiBGAhebQq7f0vf2dJUaN+oJ9zjq7j9Q70AI1R8LPRGwtu0Ro2gDn q3jKbl4fMQugHMMKzzxXJ9hdIKtguoY88elPVgIL+mrHGwhSOGI9cBnLIsk7QPia3LWG 1inFrwUYXR2mo863ZMatwFfDt8Jz4yW86IOap/RoOLdCzf747IQ0DwyoZs6r6gcXV/jG wxqyK4aNThz0kCyH//P9LQb20PZr+EpOktlAPxHyIB86DTpeyFQEx/kgGi9Nr50nsn0g uakcHc24Of2TYR/3qYO9L9syw+HSPjiQmrK7vclOdGPwFy1KLGAC0zKHOWAU6BZm6utP 2dww== X-Gm-Message-State: ACrzQf0zdQbKEDOVbtQpmvjRft/Ad3XcTIN7DjUSk83Fk6FAMYQq074W NQLVpFLp4iHe3OFbBaClubo= X-Google-Smtp-Source: AMsMyM4giiTRXCLbRjxm43ZeOdiU0Gl6VrrUtI79rKgepiikbMZYJ7W2Jo50WJykIKe6eRL0aDGGtw== X-Received: by 2002:a17:90a:ab06:b0:20d:8764:b97a with SMTP id m6-20020a17090aab0600b0020d8764b97amr2149193pjq.7.1666078395919; Tue, 18 Oct 2022 00:33:15 -0700 (PDT) Received: from scdiu3.sunplus.com ([113.196.136.192]) by smtp.googlemail.com with ESMTPSA id s1-20020a170902ea0100b001769206a766sm7853260plg.307.2022.10.18.00.33.13 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Oct 2022 00:33:15 -0700 (PDT) From: Li-hao Kuo To: krzk@kernel.org, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, robh+dt@kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: lh.kuo@sunplus.com, Li-hao Kuo Subject: [PATCH v11 2/2] dt-bindings: thermal: Add Sunplus schema Date: Tue, 18 Oct 2022 15:32:52 +0800 Message-Id: <038211f33e4d5dd5129712aef2738a83577c7745.1665990345.git.lhjeff911@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add bindings for Sunplus thermal driver Signed-off-by: Li-hao Kuo --- Changes in v11: - Remove the remove function of the platform_driver - Fix error reported-by: kernel test robot. .../bindings/thermal/sunplus,sp7021-thermal.yaml | 43 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml diff --git a/Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml b/Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml new file mode 100644 index 0000000..98b5674 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright (C) Sunplus Co., Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/sunplus,sp7021-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sunplus Thermal controller + +maintainers: + - Li-hao Kuo + +properties: + compatible: + enum: + - sunplus,sp7021-thermal + + reg: + maxItems: 1 + + nvmem-cells: + maxItems: 1 + + nvmem-cell-names: + const: calib + +required: + - compatible + - reg + - nvmem-cells + - nvmem-cell-names + +additionalProperties: false + +examples: + - | + thermal@9c000280 { + compatible = "sunplus,sp7021-thermal"; + reg = <0x9c000280 0xc>; + nvmem-cells = <&calib>; + nvmem-cell-names = "calib"; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index bf22c53..f41e625 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -19757,6 +19757,7 @@ SUNPLUS THERMAL DRIVER M: Li-hao Kuo L: linux-pm@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml F: drivers/thermal/sunplus_thermal.c SUNPLUS UART DRIVER -- 2.7.4 From mboxrd@z Thu Jan 1 00:00:00 1970 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 05F19C4332F for ; Thu, 17 Nov 2022 09:04:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239540AbiKQJEe (ORCPT ); Thu, 17 Nov 2022 04:04:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239476AbiKQJEa (ORCPT ); Thu, 17 Nov 2022 04:04:30 -0500 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E0D2AF086; Thu, 17 Nov 2022 01:04:28 -0800 (PST) Received: by mail-pl1-x62f.google.com with SMTP id j12so1035396plj.5; Thu, 17 Nov 2022 01:04:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:in-reply-to:references:in-reply-to:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=BKjqvqbDioqA/t/ty/ZgWuAel+J27n+XHO2hU9qfCqc=; b=p9P+0Tx0Yi24CVLn26fSncVi2CO6fdCS6/WcvYDvCTMolU+i2/hWDF/E/9ZOodvvPM D03xkSHBy5iBsOk0fvT+gGsDIn40hfHv1gqPpBQU5ec70vbkNrBo5bwugrRQqlMfupsU XDMBApEu7sbWXDTOxteoqA9gi+yGCay2EuTq/kj8ixmTKgAAhLlizcD7mSZhgt8D20dw 1mfGaBSCMlXCIVXbQp6FN0ih0vbEkFvtH+4AhpgpYbBIjK/5BxLXx1/1ZWPx/uDz9IFJ LSmfEr43VgXpDER2t7T2twc8wxcXo0yDueMWi4PPpBHLNXoEf6Oi4IlKg+G1x+gxCuN2 BtKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:references:in-reply-to:message-id:date :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BKjqvqbDioqA/t/ty/ZgWuAel+J27n+XHO2hU9qfCqc=; b=L/ezhut9P/yGVThFgod3yj7Nswi6MeUmwjakiv6ZYqQ6CXXh976e2BdgHnwlCAQ5Zd ihaoHnB+4gIyRbAcgoDuJtb7nrzQjNJ6hAJmEiM112SZEqj3+SASotpI341IfzKA0zKG 4IhklvvshFwJd6q7MPsZAj/QknLmEsQ5/uLeztEUQ9TLGiuqrRLcyFgCHF2uliSDccpX CYtBXxLf3ACJ/gQJIdb6Eb/JZ3+s9+RhyXJ+iWXW1WxujrsVJqqjTTVQ9XeakMllMDRD 718FslPQlkbMjg17dgFqpV/w8kRgVoV90O1gEAuBawD7cZW7SgAcYv8JlGGcTu1UEnKo 9ATw== X-Gm-Message-State: ANoB5pmT8sgXIj+gZ/ahCqDRYon0YbBEeAP4U9RVRt6Ox6c60jmhJ1Wu LfeTCNUGX2lUxbdFRfXTdNc= X-Google-Smtp-Source: AA0mqf4WKBDGcErHuuY90Srj+mbqmYEW26Vi7XfQnb+A+/djQU2xwGleQcXjQ41uMFpDPCU6OPC9MQ== X-Received: by 2002:a17:902:a60d:b0:186:9b19:1dbb with SMTP id u13-20020a170902a60d00b001869b191dbbmr1925053plq.59.1668675867623; Thu, 17 Nov 2022 01:04:27 -0800 (PST) Received: from scdiu3.sunplus.com ([113.196.136.192]) by smtp.googlemail.com with ESMTPSA id m13-20020a170902db0d00b00188767268ddsm731239plx.151.2022.11.17.01.04.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Nov 2022 01:04:27 -0800 (PST) From: Li-hao Kuo To: krzk@kernel.org, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, robh+dt@kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: lh.kuo@sunplus.com, Li-hao Kuo Subject: [PATCH v11 2/2] dt-bindings: thermal: Add Sunplus schema Date: Thu, 17 Nov 2022 17:04:21 +0800 Message-ID: <038211f33e4d5dd5129712aef2738a83577c7745.1665990345.git.lhjeff911@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Message-ID: <20221117090421.EqhKqUmiJSA0_U1hOH0gCcYYtLZLCI2ww9yCiAschxQ@z> Add bindings for Sunplus thermal driver Signed-off-by: Li-hao Kuo --- Changes in v12: - no change. - Reviewed by Mr. Rob Herring .../bindings/thermal/sunplus,sp7021-thermal.yaml | 43 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml diff --git a/Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml b/Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml new file mode 100644 index 0000000..98b5674 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright (C) Sunplus Co., Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/sunplus,sp7021-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sunplus Thermal controller + +maintainers: + - Li-hao Kuo + +properties: + compatible: + enum: + - sunplus,sp7021-thermal + + reg: + maxItems: 1 + + nvmem-cells: + maxItems: 1 + + nvmem-cell-names: + const: calib + +required: + - compatible + - reg + - nvmem-cells + - nvmem-cell-names + +additionalProperties: false + +examples: + - | + thermal@9c000280 { + compatible = "sunplus,sp7021-thermal"; + reg = <0x9c000280 0xc>; + nvmem-cells = <&calib>; + nvmem-cell-names = "calib"; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index bf22c53..f41e625 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -19757,6 +19757,7 @@ SUNPLUS THERMAL DRIVER M: Li-hao Kuo L: linux-pm@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml F: drivers/thermal/sunplus_thermal.c SUNPLUS UART DRIVER -- 2.7.4 From mboxrd@z Thu Jan 1 00:00:00 1970 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 A1B76C352A1 for ; Wed, 7 Dec 2022 05:50:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229658AbiLGFus (ORCPT ); Wed, 7 Dec 2022 00:50:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229623AbiLGFul (ORCPT ); Wed, 7 Dec 2022 00:50:41 -0500 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EB3456EF7; Tue, 6 Dec 2022 21:50:40 -0800 (PST) Received: by mail-pg1-x532.google.com with SMTP id f3so15363122pgc.2; Tue, 06 Dec 2022 21:50:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:in-reply-to:references:in-reply-to:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=O+1ypejFU1APOd5GvvtQXEabTn9dSYDIqBBadKI7UOk=; b=S80NPILH4Yzmh0UMLbWNZ05TGTXvcs+9VSyJLZJKyGIdHBlnPULYtQnTjd3ZYhGrBJ 3n5h+EnFsJGUoRaq6szX1c7h9avw2oSjMnFUNpL8TDFgdbTRusER5SGR7eE2rOTKzEMT r18SgDIwH1N24V1Ew/SDzZIzNQVFAlqsQF1/+E7TK7AXuyZ+FTZvGheTyZ12tF1/xXYM fO0+VfDvGYtCjwctUEa3pCkAnZWi3EJlxDnxI+B3p+id4HMreINkTwQFW35wYGNIL5YO eRNSDVf40fqwqExUN3XnLubiNyawfnGs2K8qs2WXWJDqifnUwG+kvUBkaLIjiLSINEd4 THIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:references:in-reply-to:message-id:date :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=O+1ypejFU1APOd5GvvtQXEabTn9dSYDIqBBadKI7UOk=; b=pkh2NoX1g7XnwRc8vS2ykQDr6wwX/jaM9DuS0812zlQs2YnqxenvTMvx9TfNHDVMmM R5aEOWsXcaYy6Cr3tvhFRWb2ewjPHHsq2ErASITBk0TEVJ6WJWTLRSBFHhGwprvgUSzh S3wan1gLEgPZ3K0W6anBS7A3XdssVC8R0qUxmYPic3IMZabnU/Mu5UjAgZAVCdV1/Y7A sni7f1QDQ8SyJJuX21QJUF0F/eL2tlzqxureulZ9d8pNme+JwhqVreSl2GEjarOUt3gt fyiDX56s5de1mU+u0jReG/v7r2XZ1eetryyw3rOZugGR/322+cwN3/zHV+tn8I6iJvU7 BaEA== X-Gm-Message-State: ANoB5pkoUVyig3VrDHyrHrgF5xG27b2hx5AZkx7Nq/jckPHZdjOHsUH9 gdDkRu2vjOkUje1Js+9L2ag= X-Google-Smtp-Source: AA0mqf5xMOeLZ/Tdsv7e/61cmANIw/ZO/tTxReqLKGh8ogspeOuLzhqvVPp5mLyFRh2cSTTB9DHkNA== X-Received: by 2002:a63:230e:0:b0:470:86e3:b93e with SMTP id j14-20020a63230e000000b0047086e3b93emr64149999pgj.337.1670392239525; Tue, 06 Dec 2022 21:50:39 -0800 (PST) Received: from scdiu3.sunplus.com ([113.196.136.192]) by smtp.googlemail.com with ESMTPSA id e7-20020a630f07000000b004777c56747csm10585615pgl.11.2022.12.06.21.50.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Dec 2022 21:50:39 -0800 (PST) From: Li-hao Kuo To: rafael@kernel.org, krzk@kernel.org, rui.zhang@intel.com, daniel.lezcano@linaro.org, amitk@kernel.org, robh+dt@kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: lh.kuo@sunplus.com, Li-hao Kuo Subject: [PATCH v13 2/2] dt-bindings: thermal: Add Sunplus schema Date: Wed, 7 Dec 2022 13:50:36 +0800 Message-ID: <038211f33e4d5dd5129712aef2738a83577c7745.1665990345.git.lhjeff911@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Message-ID: <20221207055036.XcSF0xGWtT9tmrUdcVY06ss9Vkt0MI4_dEG386X8agA@z> Add bindings for Sunplus thermal driver Signed-off-by: Li-hao Kuo --- Changes in v12: - no change. .../bindings/thermal/sunplus,sp7021-thermal.yaml | 43 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml diff --git a/Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml b/Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml new file mode 100644 index 0000000..98b5674 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright (C) Sunplus Co., Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/sunplus,sp7021-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sunplus Thermal controller + +maintainers: + - Li-hao Kuo + +properties: + compatible: + enum: + - sunplus,sp7021-thermal + + reg: + maxItems: 1 + + nvmem-cells: + maxItems: 1 + + nvmem-cell-names: + const: calib + +required: + - compatible + - reg + - nvmem-cells + - nvmem-cell-names + +additionalProperties: false + +examples: + - | + thermal@9c000280 { + compatible = "sunplus,sp7021-thermal"; + reg = <0x9c000280 0xc>; + nvmem-cells = <&calib>; + nvmem-cell-names = "calib"; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index bf22c53..f41e625 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -19757,6 +19757,7 @@ SUNPLUS THERMAL DRIVER M: Li-hao Kuo L: linux-pm@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml F: drivers/thermal/sunplus_thermal.c SUNPLUS UART DRIVER -- 2.7.4 From mboxrd@z Thu Jan 1 00:00:00 1970 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 AE240C4167B for ; Thu, 15 Dec 2022 08:24:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229812AbiLOIYs (ORCPT ); Thu, 15 Dec 2022 03:24:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229558AbiLOIY1 (ORCPT ); Thu, 15 Dec 2022 03:24:27 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCECE2D1F7; Thu, 15 Dec 2022 00:24:26 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id t11-20020a17090a024b00b0021932afece4so1962842pje.5; Thu, 15 Dec 2022 00:24:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:in-reply-to:references:in-reply-to:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=p1Kmh8wc8B768hb6NEwxEyoQrVxe7sg2+tN2PZX5I48=; b=ZUU6fRFAgDHWMOOBwLjYmWgSBGlGPLj4j9IhUifgPy48cmwsioOZ5sdfYqx1kA5X8v O1SV1490pzV8ti7HOlXU+xnw+f60w+sreKkrlPNmSWSYWI5o/NwbfSsZRNS/aZPx+oJ4 2Ur1AC6EzqYScIUDJ6wFsaiUONLIAWmJhZHoptn+ESiMNcGMg/9On/LbY6OfRE96UybT IWscjxu8vVOvc+KasOnZy3EqIjv1DzI/0PiNxJCu93MCtGlVrb1T7OKYP+6ZRuVRZvjD JiWyZzti++qhiTvrimQsdc+mMyIcDjx1WVWr7d4aDAlyUqn4Q6w6LVV+AgcQNI/eg25y 1vBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:references:in-reply-to:message-id:date :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=p1Kmh8wc8B768hb6NEwxEyoQrVxe7sg2+tN2PZX5I48=; b=uMZhFk38AIXFJRD0e3skecyNYOHe+k00l2NMsriRK4MecBhfWJ78RmDkECLFrguu+I wapk0lSlqgp+dGV2a+mpTMXryVEn1qEX6rBOE7cJ50EXRS9AjhV86Q96jYGOe3k6xv6S NDdFYaQBuK2t/RKi0DcjCAmGyLlFrcB+sGaXcX26DGmSl4hMmgag39U5iNlc/x4Gd4Ub T/KMchWvgyB7s/EPM4/0yL3Qr/q8OaL03Ss92LN0bK6zeSJGtaKZ6rauFWZq3ArNncLD oyQX2zxlVDHUBXomhpWpWtbkmfgW6M+n+2IC87L+8BgR5BgcxzyKbhq7ihdMaiiRG9DV RA7A== X-Gm-Message-State: ANoB5pnB+aej5YEdBEmOgneLW/XQiWEKqJODsn40ytnfEbkZSds+y5fg DMQu/mAu1HyiGyZpXNtmKbQ= X-Google-Smtp-Source: AA0mqf4H0xtf9PlO/ezZzhfvfMwH42TTqZAVpNPj+UUZjOqyfBIClcGHZKe61nqT7FufFf6yywo45g== X-Received: by 2002:a17:90a:6845:b0:218:cbf6:733 with SMTP id e5-20020a17090a684500b00218cbf60733mr27943740pjm.21.1671092666157; Thu, 15 Dec 2022 00:24:26 -0800 (PST) Received: from localhost.localdomain ([113.196.136.192]) by smtp.googlemail.com with ESMTPSA id k14-20020a17090a404e00b0020aacde1964sm2594606pjg.32.2022.12.15.00.24.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Dec 2022 00:24:25 -0800 (PST) From: Li-hao Kuo To: rafael@kernel.org, krzk@kernel.org, rui.zhang@intel.com, daniel.lezcano@linaro.org, amitk@kernel.org, robh+dt@kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: lh.kuo@sunplus.com, Li-hao Kuo Subject: [PATCH v14 2/2] dt-bindings: thermal: Add Sunplus schema Date: Thu, 15 Dec 2022 16:23:50 +0800 Message-ID: <038211f33e4d5dd5129712aef2738a83577c7745.1665990345.git.lhjeff911@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Message-ID: <20221215082350.847fb46UteHpKOelnBKTcWmSL0bUnoeAbHozAqxIRb4@z> Add bindings for Sunplus thermal driver Signed-off-by: Li-hao Kuo --- Changes in v12: - no change. Changes in v13: - no change. .../bindings/thermal/sunplus,sp7021-thermal.yaml | 43 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml diff --git a/Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml b/Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml new file mode 100644 index 0000000..98b5674 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright (C) Sunplus Co., Ltd. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/thermal/sunplus,sp7021-thermal.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sunplus Thermal controller + +maintainers: + - Li-hao Kuo + +properties: + compatible: + enum: + - sunplus,sp7021-thermal + + reg: + maxItems: 1 + + nvmem-cells: + maxItems: 1 + + nvmem-cell-names: + const: calib + +required: + - compatible + - reg + - nvmem-cells + - nvmem-cell-names + +additionalProperties: false + +examples: + - | + thermal@9c000280 { + compatible = "sunplus,sp7021-thermal"; + reg = <0x9c000280 0xc>; + nvmem-cells = <&calib>; + nvmem-cell-names = "calib"; + }; +... diff --git a/MAINTAINERS b/MAINTAINERS index bf22c53..f41e625 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -19757,6 +19757,7 @@ SUNPLUS THERMAL DRIVER M: Li-hao Kuo L: linux-pm@vger.kernel.org S: Maintained +F: Documentation/devicetree/bindings/thermal/sunplus,sp7021-thermal.yaml F: drivers/thermal/sunplus_thermal.c SUNPLUS UART DRIVER -- 2.7.4