Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1360943iob; Wed, 4 May 2022 22:29:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPyGePk+Kbc6Ea6EAa+5IiaLOhHNw5UZraa/QRcZxLVn7XAGa4MHAb78P1MI3TnrX156ER X-Received: by 2002:a17:902:b70c:b0:156:16f0:cbfe with SMTP id d12-20020a170902b70c00b0015616f0cbfemr25307828pls.152.1651728577109; Wed, 04 May 2022 22:29:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651728577; cv=none; d=google.com; s=arc-20160816; b=rWlvhRpUHqhXe0zdkRuvIK6ipcSQrxIOlkvoHme/1cf8K0dqkxZyFXArqwJSqg3W/1 Hog2NHg3qPepfFFHUcqjfUAMRAkpRcmtiXIttLll9KtKXgU679ctesqSbD3iBXN4DA4y D+nEaNsnHy9tNU4PCQbHZmU5FBDFcjx3OlbPRwXC+VYO7PIw/0QZBXkSycqk/1sz3D83 vSKpVBxVagERXkzG8o+6ayhT7LIpULbXZJ78e+KI0t0pmB6HSRECKAdn+aR4ZNCUW1mC DubrDm08BTU2X+lyqE0y4wwAWBn8oPqOMkCRMcBkaXthqZw2IOKdq3pmpozIkGNH/nU/ rTew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=vhN5KYczMmv9TNqtRlooIo1ReYjcW4rlopTFOjfZfxg=; b=IzPZBgknUcWye7Rp5TdxV61kZdzSeiRfVH/lOQ6ZQ2x7+OJHxVfLGMYUrdsOE0Arzw Gt7PA4fD11DWBB0D8yQnrn8OAyUj7lf2HiBaKJaN8ynphej43+B0DOO3NGxQpf6fK0iX nQ5dX3zfoWviR5W3VJFCW9lxbwW39yTAcKeN4x7syCjpx+7ri9FBFTtuMy1DWap9Xt3M ajDc7cHcKiWYDTBegz+bcLMDIhOx3AOL9Z6O9AvVv3Wy/w3CeovHXZrm92vb++mLsiAv trn4SxLCny3KgdaAOCWAd5oPvLU1uxy1ACzpRc8QaFAAZELZTOR0/SSWP5R2tAqhx4l/ ivhQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u190-20020a6385c7000000b003a0771d526esi447569pgd.705.2022.05.04.22.29.18; Wed, 04 May 2022 22:29:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236622AbiECRxn (ORCPT + 99 others); Tue, 3 May 2022 13:53:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240692AbiECRxi (ORCPT ); Tue, 3 May 2022 13:53:38 -0400 Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D18F529813; Tue, 3 May 2022 10:50:05 -0700 (PDT) Received: by mail-ot1-f49.google.com with SMTP id 88-20020a9d0ee1000000b005d0ae4e126fso12121741otj.5; Tue, 03 May 2022 10:50:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=vhN5KYczMmv9TNqtRlooIo1ReYjcW4rlopTFOjfZfxg=; b=Q+3X+Ho1oeRngLCagsyeDyi1D+8FD57AJRmgSonq9QkSnjHmUWIjEqSef/roiVnNAO bOqrcM8BB4UYK+yPnIEcRmfSs4y3sRJwYM1iYUc6wkc7lVPvympLK+Wi1uL04nJhGGuP kyX/2hhqU8iggnGnSTEIPlXfMq/4QxqJpZzAb0N3umraKaCImuo+1cfH1CutccUT/Psu UqmfpBPE8BYVMNSjwHfKctwa5mTTg2EUfJfuVnxZjpryivliTqlGzifOCM69Z8PNuBXT yVVkhCBbpDYQpe8qGLCkdEVrkxSBQnH/2AobuX1Cc94Ori4FajeMiedFzypiPTS8nXli 6MDw== X-Gm-Message-State: AOAM531TZJwoNQla8e1kKac9dsXdAJpoAm8YicTBG2UHJ4Yi0gaUoDt8 VyUzzYtnjgZy46JnvqkYaA== X-Received: by 2002:a9d:19a3:0:b0:605:9af6:225c with SMTP id k32-20020a9d19a3000000b006059af6225cmr6226688otk.195.1651600205064; Tue, 03 May 2022 10:50:05 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id i5-20020a9d68c5000000b0060603221236sm4179544oto.6.2022.05.03.10.50.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 May 2022 10:50:04 -0700 (PDT) Received: (nullmailer pid 3948010 invoked by uid 1000); Tue, 03 May 2022 17:50:04 -0000 Date: Tue, 3 May 2022 12:50:04 -0500 From: Rob Herring To: Li-hao Kuo Cc: krzk@kernel.org, rafael@kernel.org, daniel.lezcano@linaro.org, amitk@kernel.org, rui.zhang@intel.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 2/2] dt-bindings:thermal: Add Sunplus schema Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 03, 2022 at 10:13:08AM +0800, Li-hao Kuo wrote: > Add bindings for Sunplus thermal driver > > Signed-off-by: Li-hao Kuo > --- > Changes in v8: > - Modify yaml file. > modify the setting compatible > - Change yaml file name. > - Modify driver. > mosdify and simply the nvmem setting and remove valiable > > .../bindings/thermal/sunplus,thermal.yaml | 43 ++++++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 44 insertions(+) > create mode 100644 Documentation/devicetree/bindings/thermal/sunplus,thermal.yaml > > diff --git a/Documentation/devicetree/bindings/thermal/sunplus,thermal.yaml b/Documentation/devicetree/bindings/thermal/sunplus,thermal.yaml > new file mode 100644 > index 0000000..1ecf6f6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/thermal/sunplus,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,thermal.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Sunplus Thermal controller > + > +maintainers: > + - Li-hao Kuo > + > +properties: > + compatible: > + enum: > + - sunplus,thermal I don't think is is what was suggested. This must be SoC specific. > + > + 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,thermal"; > + reg = <0x9c000280 0xc>; > + nvmem-cells = <&calib>; > + nvmem-cell-names = "calib"; > + }; > +... > diff --git a/MAINTAINERS b/MAINTAINERS > index 82143ff..ff49023 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -18900,6 +18900,7 @@ SUNPLUS THERMAL DRIVER > M: Li-hao Kuo > L: linux-pm@vger.kernel.org > S: Maintained > +F: Documentation/devicetree/bindings/thermal/sunplus,thermal.yaml > F: drivers/thermal/sunplus_thermal.c > > SUNPLUS UART DRIVER > -- > 2.7.4 > >