From patchwork Thu Feb 15 16:52:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Th=C3=A9o_Lebrun?= X-Patchwork-Id: 201671 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp3278dyb; Thu, 15 Feb 2024 09:34:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVbg+jHeGVVm3Uh1ZXSLQJj8in3+e6IWkJQo6dveo9XVH82dVxDV0f9HyIV9QySJlsuMa6STgAENDMy6U5koTKBOegWuQ== X-Google-Smtp-Source: AGHT+IFH+RUiEQEla40eF4hMhUpUlTOfKcAx5F2jEPJuaCWhyEc1KxI/snLBaE65ziIY8Uz9VyAT X-Received: by 2002:a05:6a20:4fa2:b0:19e:a9bf:d51a with SMTP id gh34-20020a056a204fa200b0019ea9bfd51amr2166448pzb.32.1708018455502; Thu, 15 Feb 2024 09:34:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708018455; cv=pass; d=google.com; s=arc-20160816; b=Ye9O+tsfXncbOz6pnuhp3zu1RgG/9rYtvzKPUTKy13JInEw7m22s6KDWYaxXL5E4tg j2X6oCZvSvXATAe6AYpwtTDWblrMC+UMaYkiU2dQhCPEByhulsNotVghewzJrNT6dwLQ KyL7Q81cTJtQ5i3rji6c+cY4FDlD7MX0EF9XqsyKCXyZdy8PIGe05WeiCw1fjiFYLVOI G5UVQPZ4VD8owxHT4fzAY1LBXCmLK1/tx8yuj4ZsNJKm9gzGpgf0roHcpqdBM0RYCkKZ 5QKdKd63F5cg/X/J88PF4opDC6EWqRFc0SR6oHwWvtz/BBFb25GvxBoMNY+rSbE98vR/ ri5w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=ribMBPqXMF0NG1bmqS6MEZxQmeMHwKGVz7dwwg0eqZ0=; fh=31k+45L1SwEhGwS8rEjMWL8LSxFM138EMuFf+H9IW98=; b=Mm1Jfoe3ekUzjbePoft8jKFC8FgE0NfyUUInk6bZBVmrSLZybuY/479KdAsTuUeB+c usMhsMfIh49cQUqwXmOr8fqer4XuvrhnBVGqa6VMBXgYG+rdsow36/1iSnS2HwOrDGPT j8BSDK6lOzXST4GcA/X9rCIL1weIUIBF/ImMQCY/r4Pclj0k/WfZLyg2NcdCDWAXx5I8 RVU6i2tdyeFc0NB8kbylnnCaw75SRhMgZWvrx9KeD7jf7lOmInYJgmiU6t+eXx0N/Tar +cKK8Jw0KAtSTUdJ0UOuErqeveyRslDyU5bvh1KQC2qRFm4AcFn1u/hoJPjLvB2Xh0fv Kq5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=kWG7BC12; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-67336-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67336-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id jw27-20020a056a00929b00b006e10bfd6a8asi1511243pfb.12.2024.02.15.09.34.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 09:34:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67336-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=kWG7BC12; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-67336-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67336-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 939DBB22BC1 for ; Thu, 15 Feb 2024 16:54:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E301139565; Thu, 15 Feb 2024 16:52:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="kWG7BC12" Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (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 6A9B9136641; Thu, 15 Feb 2024 16:52:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.196 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708015960; cv=none; b=dwJ+6MHS/206j5KcxQbaKRi9/ii58fExGbNZG2KVQ0X9nTElRtqvE0uaR58gVYH1ZIVt+D2php1VQa+7NgCdcBPobEvbpH39wh3dfA7x7w7Rw5k6VLTP/ExUyvPqDgwn7MwQAqj4ZRKoP6iYRY/mFAcEXywpn5C/AMPywuBNXMY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708015960; c=relaxed/simple; bh=PoCHE8ou+HqKf9q62XlctFuCc6VGGNXKJurmEW+jTBE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=T685ffRVP8pGUNxmzA65RMb0JJwz7INlNMaeaAHS5GIdk2mb1hXuQ5DNB4mch7KJUGvrCG4g/ULaa2IZudvW41ZmwCIoHnAcS1T5WnuRXbcXwYsgnksq6zw4kb5umEe56R+n/LWlXqu3phbYfe10GyoRTGVk49Z0yJEGLiwEV+g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=kWG7BC12; arc=none smtp.client-ip=217.70.183.196 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id AB00BE0008; Thu, 15 Feb 2024 16:52:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708015955; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ribMBPqXMF0NG1bmqS6MEZxQmeMHwKGVz7dwwg0eqZ0=; b=kWG7BC12XnwCMtgu8iNlZZ1k883FJfp/4NLueKs5RUtF4zoIBip8jNQPyQ2nfFyywkg+Ct x7u6YMzdUP7Aek/2T28DCeM7AR36ForU5LFQSzqhztJE5vpTccmvPpLiq3aB7cBPtfghEa RMtYir9OIFLeCD7xfH0ZdyV1Sb5vzqaDOEpGzWBQsL4LxYQfiKaVjSie831y6qQsDCpPXj hnytIyxnYl4hGDJxv9TD+WzkIgC6Du7os7sLCI0BYfGCu6VaPQnYo7qZV0Kskr98lWHwgq m29O/jQMpd0C7GFvFjYv5sUqrYdqGUzuvlUsHky+YcOKJbtHhnq0bUUWksJs6g== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Thu, 15 Feb 2024 17:52:10 +0100 Subject: [PATCH 03/13] dt-bindings: hwmon: lm75: add label property Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240215-mbly-i2c-v1-3-19a336e91dca@bootlin.com> References: <20240215-mbly-i2c-v1-0-19a336e91dca@bootlin.com> In-Reply-To: <20240215-mbly-i2c-v1-0-19a336e91dca@bootlin.com> To: Linus Walleij , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer Cc: linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Gregory Clement , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk , =?utf-8?q?Th=C3=A9o_Lebrun?= , Jean Delvare , Guenter Roeck , linux-hwmon@vger.kernel.org X-Mailer: b4 0.12.4 X-GND-Sasl: theo.lebrun@bootlin.com X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790987159645992649 X-GMAIL-MSGID: 1790987159645992649 Declare optional label devicetree property. Show usage in one example with dummy name. To: Jean Delvare To: Guenter Roeck Cc: Signed-off-by: Théo Lebrun Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/hwmon/lm75.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/hwmon/lm75.yaml b/Documentation/devicetree/bindings/hwmon/lm75.yaml index ed269e428a3d..5ca2c83b413d 100644 --- a/Documentation/devicetree/bindings/hwmon/lm75.yaml +++ b/Documentation/devicetree/bindings/hwmon/lm75.yaml @@ -52,6 +52,9 @@ properties: interrupts: maxItems: 1 + label: + description: user-facing name of the hardware monitor + required: - compatible - reg @@ -83,6 +86,7 @@ examples: compatible = "st,stlm75"; reg = <0x48>; vs-supply = <&vs>; + label = "CPU temp"; }; }; - |