From patchwork Mon Feb 26 12:12:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marco Felsch X-Patchwork-Id: 206603 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2028173dyb; Mon, 26 Feb 2024 04:14:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUdFGXfJKfFDfi7+nOF/JVKQ8/Z9WvsTYt3PHLvA2Gm6Cai9iCfF2t7v7/q9C3RUrVXLKBIpYWG68CJymTosuaAiz2xIw== X-Google-Smtp-Source: AGHT+IGjTG6B6i+BfAmUh4wF4JY3aNzADfjgfhdbDi7+48D/2+y1GED4IkOaeIv0VmNGwOt5HDiy X-Received: by 2002:a17:902:ea0d:b0:1dc:90a7:2a43 with SMTP id s13-20020a170902ea0d00b001dc90a72a43mr6121121plg.7.1708949662876; Mon, 26 Feb 2024 04:14:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708949662; cv=pass; d=google.com; s=arc-20160816; b=UaMGetkAaPC2SLDGje0M9y2wb4bG3kbLvMNQcuEsGGC+S7dNRrqADHSSOc0EsOP0v2 Xwd/JPCmN3vp6McY1gi36G3gqYm4hv8ID8/Vpwb/BLIIxsgErVeIENrg0H3XAf2dwv4Q Dmk9SJ8BVKKBcl50HVOhCyOhoMlFPcrvaDkLAYthVV/lTyT+HUPPvi860Xrru7n0IQ/+ EkZLE/TuM+SaLoPK14IVuUslr3RUH+MVkdnUEP14QxRvJzs8B5dd37U6VDS4kofbvtH/ bW3sV3IIlLIZBuebj3IjzRjaQ17V7gVUgAzNqSCz3jE2y/lXYUbdnUVipw5eBoriLaTA xQ8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=z6ZPVX6GC+gXDJJu67R/+xv5cvITDrwr7C8cRE6ghsc=; fh=zmVzG05NpVlnLTT0oXB0z/FPhp9jfOGAZ1if1OYcdIU=; b=XfYq6btsINb6Wuy8iL8j/Ph4KxkAvj0l+luPsScGlLtVRDQLhYHQDTWt+TD2eN+rfa risWjv8lrIIg2f7MKhnZvacd6SGCM6/grEtM0sLXf4DpJ9xHO4Pd69Yk5fKRTNakABof 6YEY1JO5HrF6O/Df2Gsp45O0KBygxldgiR4QicSa2BxMdXK3OG6Ee7qkpZJzPj1hoWoX 4NIxPG2resijzRty6l5zaLmBORwAHr+T6F+TxLhZ441BY4Asdn6jU3J5VyyWRMwc+//e /GQS9k9NgELD+P6oHpW96Mo/50F9jH/uaND7gBnt7TSz2eIPLZdXDAfNvIwllUGbWi/f HVrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-81346-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81346-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id mc16-20020a1709032b1000b001d8882dd6a7si3608757plb.392.2024.02.26.04.14.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 04:14:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81346-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-81346-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81346-ouuuleilei=gmail.com@vger.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id AF9A028968A for ; Mon, 26 Feb 2024 12:14:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CA05860BB3; Mon, 26 Feb 2024 12:13:06 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 9887B604C0 for ; Mon, 26 Feb 2024 12:13:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708949585; cv=none; b=Lj4/IKjpp4bt3aKwSLDqYNU8TTvTy6ITTT/nk311OhCFCo0t5kjJSxjca9iFKQ54JGHFiG31xNdt7WLoegvHWozUboh2jYVVkevmXZvBS2EYyvw9kkB7MAVUlU0pPA8nGNexq8Cfi+BSb0OqoHyocXhrG95IEICWqkE+l7tKao4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708949585; c=relaxed/simple; bh=Zqo04H2DzDvwYeQ4VzSXFZIweYrrWsFzk6udQWidsg0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=g+Y8Ch7kCn2tTY9+zrgYtaWm6xMJ8GUJinb28b1Erlc8YmE51zDVc1DE/1DnCg1KJN5agSd0yTVhM7viHDkcoCdZKc4IeZmCdsuHC7ThRidXtT0/Xq/Lg1CTMDtG6TwrwoCKZtrdFVtYfmc+EK/mMADPw+dC4mgGygTKpJlGbLA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from dude02.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::28]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1reZqj-0001Kj-8b; Mon, 26 Feb 2024 13:12:49 +0100 From: Marco Felsch To: puranjay12@gmail.com, jic23@kernel.org, lars@metafoo.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: kernel@pengutronix.de, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] dt-bindings: iio: ti,tmp117: add optional label property Date: Mon, 26 Feb 2024 13:12:33 +0100 Message-Id: <20240226121234.545662-1-m.felsch@pengutronix.de> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:1101:1d::28 X-SA-Exim-Mail-From: m.felsch@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791963601800672666 X-GMAIL-MSGID: 1791963601800672666 Add the support to provide an optional label like we do for ADC channels to identify the device more easily. Signed-off-by: Marco Felsch Reviewed-by: Krzysztof Kozlowski --- Hi, patchset [1] should be applied first to avoid merge conflicts. [1] https://lore.kernel.org/all/20240219131114.134607-1-m.felsch@pengutronix.de/#t Regards, Marco .../devicetree/bindings/iio/temperature/ti,tmp117.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml index 33f2e9c5bd81..58aa1542776b 100644 --- a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml +++ b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml @@ -27,6 +27,9 @@ properties: vcc-supply: description: provide VCC power to the sensor. + label: + description: Unique name to identify which device this is. + required: - compatible - reg