Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1123619rdb; Mon, 19 Feb 2024 05:11:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV0HaOpSdY2IWbbkm0tXoDmIB99c10ZT21vM4k0x3bZ+8ZGZAg/0RAuOJjh4fFEHy46I77FSSMHPdrj7Ahf4X+ltjGHimT/ovZobam2bA== X-Google-Smtp-Source: AGHT+IHynVIij+tWUpx8ywj4CadAshTsA+l7AOFZPJVjT46F2XJ6av1Mjzg5Bb29zA3GZ+bPCdGd X-Received: by 2002:a05:620a:383:b0:785:d9bb:b321 with SMTP id q3-20020a05620a038300b00785d9bbb321mr11173734qkm.18.1708348301819; Mon, 19 Feb 2024 05:11:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708348301; cv=pass; d=google.com; s=arc-20160816; b=MS28F0QOv+v5VL4YD9FPfbZNyyvrfwnGw2DEBiI3uP7svX4rSMUzn1kIZ0h4qIufnC hgD2AW8NqjuniJHCqiywGfbqZWpz1y553Qr1sqZz7cFxzw7+o0Zkzy8T6udYYmkwkCNN SLYVdWfwoCrZjbK4rXcdufTkMC89fUEA7nHjfFUjybAPmVkdZHhN1y8Vt94xGKTwGfRv n4j2HkWWa5xb6ISRhdDd2ahR4gvmnc9EmtTq1rL5p46HXv3DBe0b+5Zkr1XKFny+6iqF YE4vIwQOpPUOLilX8pRdxals2dwQSo02ektn58oaK79hcNYr1vwH1a8XRhsQ3ncDjlfu g2vA== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71383-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id os22-20020a05620a811600b00785b9c2ac6dsi5989434qkn.11.2024.02.19.05.11.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 05:11:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71383-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-71383-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71383-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8F9A81C22275 for ; Mon, 19 Feb 2024 13:11:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EDD733613D; Mon, 19 Feb 2024 13:11:32 +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 ; 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 ) id 1rc3QT-0005bN-Lc; Mon, 19 Feb 2024 14:11:17 +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: 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: List-Subscribe: List-Unsubscribe: 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 From: Thomas Haemmerle 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 Signed-off-by: Thomas Haemmerle Signed-off-by: Marco Felsch --- 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>; }; }; -- 2.39.2