Message ID | 20240219131114.134607-1-m.felsch@pengutronix.de |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-71383-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp1282164dyc; Mon, 19 Feb 2024 05:28:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWQZyUNSg3JchiepId4gjz6d8Zj4D5HS3J8TGndRbkRWGNljjdtbTeuHmIXIZVkrsCvcvUERJtsljDmf/gjN2SOaWWmEA== X-Google-Smtp-Source: AGHT+IEgyCawYwJVrppXGtx9nX/EgAEzbMXxCBS/E+s7050MzIu+Ltb0dAbhbrVY1zKW06iHIuHf X-Received: by 2002:a17:902:b687:b0:1da:1daa:e2bd with SMTP id c7-20020a170902b68700b001da1daae2bdmr12875459pls.19.1708349290809; Mon, 19 Feb 2024 05:28:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708349290; cv=pass; d=google.com; s=arc-20160816; b=HGNMohmEMOHTaaTDQzmc2H1Rnub4sew/1NmZcpU/Q2+v7FIZKFi38E6qqmJnQ0L9G4 rjRRacyo4uqMy8ejjTz6PX/8grgLq4uwnh3uhCX9wILTvJtzLU9dG08lymEVMTgu7MrS p0xVtfWuMfc473fWgWMUQbkeIO6qBbY2XHw0aORzUPjbJzPSQIYoa7pEtuLn6FlXq0+a FV/1c3Qocsl3jCzuXdtCSZwJBSjgics4JEv9jsx0QMbLush0pd780xxy8CbaT9fD4ICP BcSfM8HOe2F8cZxGNZ/ICKbyRAAPd8UKVYl0kNR5uQlcep6cDvIUEv6oHfij8dzgbf8o U8+w== 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=l3AIqXyo/jpkWdtwFJq6rlHggDtkncGDOAsoOrHGmis=; fh=pxWzaSNjUAXZ4Spp2WxCoh8j4W7Aqh8wQQqkvGk8F7I=; b=0g7DyaDpk8zImnnZbLAH2tyVLrWBRyUsNOPb157klQq00Qpu123GqLlDrhG8RSdvFZ VWAMG/lLPk4HxF+BEujvHlGUlmt/63OIHDMB4GBWx1BQgcCTiM56iLW7pURdnhnJ/WRn a8b7zR0EWoqeaXCFHea8aUdi8bpBuieti8lApvXKN0XJ5neHhTqAlbE1unnOrlkX/X/r hmADKntYbsFga6XfqC8Eb6CdaqJVKUKCV1XtVDffY9GKhuwTFUdOsAB27QiaTHe9M9QA VrZyUbNVcNIVuYFAH8mZfoHKEhG20vojMS6efbk/OFO+/r/OJUwzpnHkF6XIygrdWN5Q l0OA==; 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-71383-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71383-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id f9-20020a170902ce8900b001dbd81089e6si3229543plg.515.2024.02.19.05.28.10 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 05:28:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71383-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-71383-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71383-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 88AB5B27464 for <ouuuleilei@gmail.com>; Mon, 19 Feb 2024 13:11:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0016236AEE; Mon, 19 Feb 2024 13:11:33 +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 1C59836121 for <linux-kernel@vger.kernel.org>; Mon, 19 Feb 2024 13:11:30 +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=1708348292; cv=none; b=qEf0VM6oxEDOv7jiZv8elFBpUgch8mA0/d20SdZeinKaW6QuX8P2/lD/NmAs+Amfh+5Z/SpriZR9tylVj0eZWWjj9csPSRciw2T8SCDa2+lDUt5zeDKjRaFYoDbT6Y178+NsCkkDXE/n5fXTCf9BfhXK8OBYB1R7ygQse7SpWac= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708348292; c=relaxed/simple; bh=TvR5U9f4990NVUGBUfBdVxKWjB8M/3nA9XEJ9d2pcvg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Sinz4D+6zS2eBopBRAqqAGX5+VTlmdqHxfGBtn5Tgfzk7zZa1yq1uxbtxM9XZ6fug33MAcjTUMIne5XPhAzhnnbbQnetxe5CyyaKuzzW/94pqDO2dyTjCsiVfTKe84eNR9Knjo7QhK12reiX9KXuZ1pmYeWE2tTSKmzSH9Ioen4= 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 <m.felsch@pengutronix.de>) id 1rc3QT-0005bN-Lc; Mon, 19 Feb 2024 14:11:17 +0100 From: Marco Felsch <m.felsch@pengutronix.de> To: puranjay12@gmail.com, jic23@kernel.org, lars@metafoo.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH v2 1/2] dt-bindings: iio: ti,tmp117: add vcc supply binding Date: Mon, 19 Feb 2024 14:11:13 +0100 Message-Id: <20240219131114.134607-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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 1791334065739639728 X-GMAIL-MSGID: 1791334065739639728 |
Series |
[v2,1/2] dt-bindings: iio: ti,tmp117: add vcc supply binding
|
|
Commit Message
Marco Felsch
Feb. 19, 2024, 1:11 p.m. UTC
From: Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com> Add the binding to specify the vcc supply. We can't make it required since this would break the backward compatibility. Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> --- v2: - mark vcc-supply as required .../devicetree/bindings/iio/temperature/ti,tmp117.yaml | 5 +++++ 1 file changed, 5 insertions(+)
Comments
On Mon, 19 Feb 2024 14:11:13 +0100 Marco Felsch <m.felsch@pengutronix.de> wrote: > From: Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com> > > Add the binding to specify the vcc supply. We can't make it required > since this would break the backward compatibility. > > Reviewed-by: Conor Dooley <conor.dooley@microchip.com> > Signed-off-by: Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com> > Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Series applied to the togreg branch of iio.git and pushed out as testing for 0-day to see if it can find anything we missed. Jonathan > --- > v2: > - mark vcc-supply as required > > .../devicetree/bindings/iio/temperature/ti,tmp117.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml > index 8c6d7735e875..33f2e9c5bd81 100644 > --- a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml > +++ b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml > @@ -24,9 +24,13 @@ properties: > reg: > maxItems: 1 > > + vcc-supply: > + description: provide VCC power to the sensor. > + > required: > - compatible > - reg > + - vcc-supply > > additionalProperties: false > > @@ -39,5 +43,6 @@ examples: > tmp117@48 { > compatible = "ti,tmp117"; > reg = <0x48>; > + vcc-supply = <&pmic_reg_3v3>; > }; > };
diff --git a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml index 8c6d7735e875..33f2e9c5bd81 100644 --- a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml +++ b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml @@ -24,9 +24,13 @@ properties: reg: maxItems: 1 + vcc-supply: + description: provide VCC power to the sensor. + required: - compatible - reg + - vcc-supply additionalProperties: false @@ -39,5 +43,6 @@ examples: tmp117@48 { compatible = "ti,tmp117"; reg = <0x48>; + vcc-supply = <&pmic_reg_3v3>; }; };