Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp310486lqh; Fri, 31 May 2024 01:55:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVXu7nmlvQBj8yzJgCRNQenFLmvfi9sez+J7tfffngq+jNnHsqvkUXR4Sy8pEKPvC3UP7OVS6IswZAy1JUtzZa6AA9W6HHBVlcMEGTtvg== X-Google-Smtp-Source: AGHT+IHLvT+Lmuqw/GaNZFQcd2d5vWt7UFQa1s/2JB5J9qhmP4CeK5r7w+SLoI5ljgYsAs7Fg4Gk X-Received: by 2002:a05:6214:2f85:b0:6ad:a272:17bf with SMTP id 6a1803df08f44-6aecd56b499mr15326286d6.5.1717145714105; Fri, 31 May 2024 01:55:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717145714; cv=pass; d=google.com; s=arc-20160816; b=R12JvueWddDMs7a0fWF1d2ArR+DsL6YS08WCq5lav3ldZGXJ4gaQlhQ8PHvrrREdZH Y4FX/WkcjNo+0gE5aF4ONLtOxUZ9KMe7EwobAxVTvaYV7TaipGHaN3qkd/dv8L2v6dZr Jf0P39lEh3irbxCtxs2Du+mC771L+9ItI+DK/p3JpIObAuWm7LoFUZs43cEr2IMBimxX zeh3kYW/n4SxjOe1ZajOdUXteh2NExPA1eOodwGryJHmtU8s1ai0+hbUazdAgJpO67UN D5oOgIJfz4PxqYjxE11CWsG8gCNRHCZ5njFfY2CaPjgolMhOVraI7h1O66o4SkQYMqje 7gcg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=buZmCVczGlPVcSWqDX1CdUGVv6bP+nP72bOLjSI6/FA=; fh=a0jj7Dg4hRZkLIMjO+DuzuWFSElPjFtG+rUvekVN0cU=; b=nizwKtxtNY4yl4NkO3D8+6d5w3n2zGAZeddBiNBBweuBXh95NXFm26VIDszSbf4k0I okVlkqieQ+Y0iaxIISw+GGzw0vv4LOBvgv0pd3houeCAreV46dWaMiEFZCRbJ44p0IMM KdK6gE7TolI4b0v+44EynJKYdbhHwxn0qkcJfHLWux30/7wc3uyfnPIYTSKO2yCI0qKm Ih3bCYofi0YVnWenClJ5SWcC2vH1ENc3L/URb034GK1TFOPuqOibvyYI33FXIO38IQqg pMLnQVmmibeCLkY+MYOOgOzKPHq07GgaVRPEi+bQ+TBc3hIUZy40P61H79SF/cZHZ8KK wIgg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WiqmmxjY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-196516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196516-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4b401db3si15840406d6.290.2024.05.31.01.55.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 01:55:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WiqmmxjY; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-196516-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196516-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id C12041C21C5B for ; Fri, 31 May 2024 08:55:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 56266156654; Fri, 31 May 2024 08:54:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WiqmmxjY" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 5D3AB15575F; Fri, 31 May 2024 08:54:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717145670; cv=none; b=IkJlsxg+mxL88aXyIdINS+S5pJPu5SGfl4H3zlADUfqngRlnMoL1qlO/v4PbHXRpe84pAwjRnyFJul6k/vwrDdLrKToXiT43zao0h02evKt1WI8I9XFzIrYmhssWNmrUqepfok9tVsDvTfyf1a/fmkotDr2DSGrnazmvx+Yvhkw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717145670; c=relaxed/simple; bh=uijlGJY6BcCp523uz+W92tg5mFXHcK2n0gXkKfnsWEw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=qzZ0sXeykDyiLrxetTCxGHFem7PuYOKFXwyKM0A81Z1TA45PfdQeFkQdxq4+pfLalUDwECQ4nxp3j4DQdsmG0dVxpWYuwnafU7RcGf5jOegWvgun8zDLyBYnoLnPwIKvZdSFRrFDwqWaILePxiTH89k5AdClm0yMNdrE6dgO984= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WiqmmxjY; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1A57C116B1; Fri, 31 May 2024 08:54:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717145670; bh=uijlGJY6BcCp523uz+W92tg5mFXHcK2n0gXkKfnsWEw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=WiqmmxjY1PWyVw3yg7otIA46yI6jHI6rRAui3aSxPiSYKF4PG7pcrg3ZJn1CsYsCo 3JJaOHasd5iXECvgNWcI1MXSfM61QnCZvs6aZlqAUr9+TKWJHo4HdNYf9pkvmTS6v2 2om5RAswO+N2kPymiUJPNgUuga9RF0oI3NilLjTvEOj6Zz/AF75mzwIA70MWXCVMwJ fL4Zg0hNKwsuVFyQKaCDn0LkLZ7ZX8VmWeS+UuLn+dx+fCYWjbYMi7AZnR5VHHJYBR ndAmFJxYetME6vNF8ZhEJyKR2PnjEiewTTVEB6oMzYEFMwzNfgSCnQabeCmMLrbr6l 9me4noA7o8MOQ== Message-ID: <1624f2f0-0a2d-4918-a129-84dca6da9af8@kernel.org> Date: Fri, 31 May 2024 10:54:24 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] dt-bindings: thermal: sophgo,cv180x-thermal: Add Sophgo CV180x thermal To: Haylen Chu , "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 References: From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFxwl7pDsAKR1InemMAmuykCHl+XgC0LDqrsWhAH5TYeTVXGSyDsuZ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Content-Transfer-Encoding: 7bit On 30/05/2024 15:48, Haylen Chu wrote: > 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: Drop items > + - enum: > + - sophgo,cv180x-thermal > + > + reg: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + '#thermal-sensor-cells': > + const: 0 > + > +required: > + - compatible > + - reg > + - clocks > + > +additionalProperties: false > + > +examples: > + - | > + #include Use 4 spaces for example indentation. > + soc_temp: temperature_sensor@30e0000 { No underscores, but hyphens. Drop label. > + compatible = "sophgo,cv180x-thermal"; > + reg = <0x30e0000 0x100>; > + clocks = <&clk CLK_TEMPSEN>; > + clock-names = "clk_tempsen"; You did not bother to test it, right? Best regards, Krzysztof