From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83EFE563FDD for ; Tue, 8 Sep 2026 15:59:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788883194; cv=none; b=cc+ct7cn8G1xDirNNkrAbYiEiQ4Np84+X2jNam7Ag2K1IsPXwzdvIsj3mO9VlxMrxFyD8z9Nw5ARaxg6cENx0uj101p48AcjMVt/VlmudH4+v5WIDb6rSNlCR6Ee8t/JqzMQc1QZ9hUdLoBAysH17LthA2i2SQOuPTF1faoFIQE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788883194; c=relaxed/simple; bh=DPLLTBlulGDAXkVChW8w3cSATEMr3BsPlC4aCTDP18o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pkPuppY6jH1IJUFdk+tGVcInz2BX0TFNUOgPI3U/lLaeBy7BQ0CNj9Iy00j4x19H502b+X/EDZfPPg5ImOo/NyfIujmTJCdqKp8KF+gojIhXZ5dQTllSxWSw5EdO/znSIfKwFaTQNR/qy4XWSP9MZ/0OdTeKrBkiZAw3HrbzSjE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=gzDVu04X; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gzDVu04X" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2d9db539a54so40316455ad.0 for ; Tue, 08 Sep 2026 08:59:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788883191; x=1789487991; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to:content-type; bh=r/mir+2iQlJTvdPnCuP61g/f1Ie0oQVHQNrLp619CMw=; b=gzDVu04XIMON+YuzIfoXoYKmcl5BNCHrze45Z48VKWqSRK7CJs6FCEzohQqtdjuHLJ iKKFdZKQDUMR3Q7t6a37/bFp+cygYXVPjKlvsFFeIPBYrIwHAQCUUQFGCKZ+QHY9qLcr q6FdcDpiLfeIouzUevBs0gsEHDjQ4ekT3DG+bD2Uq7je1xtdnUBQQyMPBvH92wCOxMnp aejofaxzglzGlEMewrbvVn7xStooguUQ6eQpLHAES/+/q7heL5+szLtYrh5qxwMX/hWW YU+KcDY8fIzK2WrfcZzaKap32WNtsxjJu83V4cQGgn8XnrJOlCVgxlFFX/eod2MtoueV wvkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788883191; x=1789487991; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:sender:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=r/mir+2iQlJTvdPnCuP61g/f1Ie0oQVHQNrLp619CMw=; b=bRBj8uP1qwYQo1wBxp1k9yeJ05j9XZIUmC+w/JIJdnwVQw4xBbZsOhyVEWKEV2y+0v vn8la9/WF4WQQocgzEYR7gTBYgVFVdIBC7EVmiDJjmn2ZHSC/bLgbZ/IZaxUoOlfYvJd AhZXycqKmdf+jWwsbGsEpil+ahOcqOMJZWbO4bRFh/fAKjhtjMUCst7/ywijPAJGfDi/ nYy/NCXe7XtZVuxtkFOcLwx5CZMDorshIrHc3Ik2/7o8Vv5nFvTk78Gh3X6foIdAOhU/ XedKNi6hsA4b1Y6tAzu53Qs92qYEHaUqbZvMeb5Y25PlekXKaE+D75o/3xA0Jy3fOxgC IIPA== X-Forwarded-Encrypted: i=1; AKwUvBzYK1wEi62AYB4AlxeMCdTGiuAuPVXQqQfVr4xgVrjQMlSCxaeTvPRWOBMlmGA77yI1gohmQ00EC1Gk@vger.kernel.org X-Gm-Message-State: AFuF++m59PIyyd7P7gNGwBOIJmoQzcEB2ZpnnJVLtnqTC34J124tubKO 9S18v1mpX0v0xapw7WCkyIEwaajpersD2UekTwtz4KLCgF3ODL16lvYp X-Gm-Gg: AYBFou3rYlcM7s9JAyE/s/95VW8IwjyC373wEGC5rUzASGBhn0p3k4MsQLNXyEqNoYz oBwUzLsfZ5Dvkp9q78T9IrzY7/gq42DGRhynhMwczXsi0qSMB8EBLMDoGopwqvOASLx5CxYG4CY U9zqjuWwvJt4ytXYQ6c8ygEVl1HJApLCYNzxEZZtj37edMAo434sM5TRL62ysyiM/4r1md/soDR 3p0wInFtU7eVSt3YaOKvLaieyqH7NyabFoZ4e5v7mjXmIVdflqMd/s5y4WO7RAKVEndR9y1L6A4 69juebASpvzU9JD9taLNhlk1QrI6P9QaD4aiiv6t76Xxx880goQxTE5GPdyr7ZEpQpdLTUd28BN QbOTaP3oOLiqFyYOdesfJ4kH0WLceylnmq8+HFKGuW9qrdumNJT2QQVhdfA9V5gkOqwJWznbphT kcySPm5MHBboQ620dAWdBNl0OS2BNAEZyvtoqWBoLMIyb8eeKxvuXuKzoJKhU8F+yQ5/b8NVUke w== X-Received: by 2002:a17:903:2acc:b0:2db:5f8c:b81c with SMTP id d9443c01a7336-2db5f8cca7emr181466235ad.19.1788883190782; Tue, 08 Sep 2026 08:59:50 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:da43:aeff:fecc:bfd5]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2db2bbcc0c5sm47712845ad.53.2026.09.08.08.59.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2026 08:59:50 -0700 (PDT) Sender: Guenter Roeck Date: Tue, 8 Sep 2026 08:59:49 -0700 From: Guenter Roeck To: Vincent Jardin Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] dt-bindings: hwmon: ti,tmp401: add #thermal-sensor-cells Message-ID: References: <20260902-for-upstream-dt-tmp401-vcc-tsc-v3-1-49c484d2f08b@free.fr> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260902-for-upstream-dt-tmp401-vcc-tsc-v3-1-49c484d2f08b@free.fr> On Wed, Sep 02, 2026 at 03:54:00AM +0200, Vincent Jardin wrote: > From: Vincent Jardin > > Since commit > a3b61ba2558e ("hwmon: (tmp401) register with thermal subsystem") > the driver sets HWMON_C_REGISTER_TZ, so the hwmon core calls > devm_thermal_of_zone_register() for every temperature channel and the > device can be referenced as a thermal sensor. > > Signed-off-by: Vincent Jardin > Reviewed-by: Krzysztof Kozlowski Applied. Thanks, Guenter > --- > Changes in v3: > - Rewrite the commit message: justify the property from the driver, > which sets HWMON_C_REGISTER_TZ since a3b61ba2558e > (Krzysztof Kozlowski) > - Keep "const: 1": every chip in this binding has at least two > temperature channels, see national,lm90.yaml > - No change to the diff/code > - Link to v2: https://lore.kernel.org/r/20260825-for-upstream-dt-tmp401-vcc-tsc-v2-1-cbc360ec51d9@free.fr > > Changes in v2: > - Drop vcc-supply: tmp401.c has no regulator code, every hwmon binding > that declares vcc-supply today has a driver consuming it, so declaring it > as description only does not belong to this patch (Sashiko) > - Adapt the commit message > - Link to v1: https://lore.kernel.org/r/20260824-for-upstream-dt-tmp401-vcc-tsc-v1-1-ecb5ef7898bd@free.fr > --- > Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > > --- > base-commit: 89a312991dc6e638a36adc43ccb91dbc25504c04 > change-id: 20260824-for-upstream-dt-tmp401-vcc-tsc-a16bec8352e4 > > Best regards, > > diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml b/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml > index 0e8ddf0ad7890..f283b567d5b6c 100644 > --- a/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml > +++ b/Documentation/devicetree/bindings/hwmon/ti,tmp401.yaml > @@ -50,6 +50,9 @@ properties: > minimum: 0 > maximum: 15 > > + "#thermal-sensor-cells": > + const: 1 > + > allOf: > - if: > properties: