Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1033367rdb; Fri, 16 Feb 2024 03:24:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVvDrkUu2jrIefk/tvoq6H2FQjZhibqSMBPanDkKh8Zgk1vNzMp4xyeSVD+NjErVWdk+9HBsjt0LSX5vgJSahj+VUfS7Cwbb5nNPU6Ctg== X-Google-Smtp-Source: AGHT+IEF/E0FTRDj+kK+u1QGkSLZNbKGKk627dGq2eMZna6MZZAxYA25r+g/1k+jsAy1NiuGjcWe X-Received: by 2002:a25:b18f:0:b0:dc2:5400:e33c with SMTP id h15-20020a25b18f000000b00dc25400e33cmr4007772ybj.15.1708082655104; Fri, 16 Feb 2024 03:24:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708082655; cv=pass; d=google.com; s=arc-20160816; b=VE3KcHvNVWCNUPWCCWltFVQoyiTJmsYs+TNk1efkydyzEy+bGSmhrJ5YNYLoj7mJwo Php5UC+GzWudOqT8+pgBYA7L1a2qvDtCtEm7HUhZKhds1u7I4nvgL/G+bwg3Oq4MLbjz rX6C9rjcE22GXEHQBwfHzx2w1xH1WGCS6JxliU/7klMfOuukjdYaxHQKy4nx1kl7dXau j3LDiBSrMNKqq9KA/3yaZLmEc0cLlD2UWLJbEUP/pAkS8AQHftSySAB9nlPBef5L4dH3 QexhPXH8xj/jT8L/4Snoe4XDixl1tCCFk80ZyoVYmGGa2VX3DiSBzVjslpFpoxTXmCyG b5vA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=kosvqZ7+fauTmRHBeE3NBeD9dIvArgLxg7rlpjssCDI=; fh=HMDkyCmh4teZGTHm5QQObB5qmLNTsI368Z6gTGNjbqg=; b=tlcCpvp5Z+EZMIXwbAJ7HoBmbzxvl/okLCNGwE1umfYWrWNHCGI+Q/5gdr0Eh/KEET aAfd5uhrh7RHGOv/SfF8iK6we1Z03C281hlgAn8gGOJHBt0c4aFjj0A8WD7OQJddp6QH Dej5xYz0Z8BYdghxRDZue63/yqxIgS4kNPhJdL2WXTQ9Jx0GxMhGkzA78iCgCmQLJbWx ej1LYTFugKBQkyi9CCI6ZECcAqTM5K5c8hv6fUB6ZXu5or9OAcgZSNjK1PpINBZEByMz Aq62MMljxDuIBf8m0ULIUwlRwABd8SkXctnkeagLaN/pCR2qJqm6nbCIZiL9TNqhOCpw 3y8Q==; 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-68516-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68516-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 e14-20020ac845ce000000b0042c459cd209si3504317qto.600.2024.02.16.03.24.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 03:24:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68516-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-68516-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68516-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 D70701C23D4A for ; Fri, 16 Feb 2024 11:24:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 369307762A; Fri, 16 Feb 2024 11:24:09 +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 410101BF50 for ; Fri, 16 Feb 2024 11:24:06 +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=1708082648; cv=none; b=uuwB52vvDxtlkMINLl38efWI6Vw9FYaCCRD9WeqMIYksQyBO1wnUtvREg6E3/wAcfAs6hkRTgS+OA0zOw7cDkvssv4VBT3rI48eCGVA2W+p8SODeW+WomeeYcZ3PeZ4s6r32lwz2OMuCqxsqzeOqRWfXUTFDeY7vIDUuKiyFlAA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708082648; c=relaxed/simple; bh=ek/PNQvE+A15nH8yH/1EIecS2w7cXCaEUjlHmYanmoE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FHuO5XIekadD1tWnv6iU44I6T7uUK49TBs2ebPbi7tN1SVWZ+7qushAvo2JMlj43PWFHufI8FtWtODYoY5o63Xe8as0HyxoO3o0Qs5AviH67hgoAAn7dwFDHWD6IsONVW+o0n2vm3/ZYKDrWHn4DkHxiQBO5+VZGRxK5FEfb7ig= 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 drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rawJp-0002lY-AI; Fri, 16 Feb 2024 12:23:49 +0100 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rawJo-00140Z-GV; Fri, 16 Feb 2024 12:23:48 +0100 Received: from mfe by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rawJo-00BU8B-1L; Fri, 16 Feb 2024 12:23:48 +0100 Date: Fri, 16 Feb 2024 12:23:48 +0100 From: Marco Felsch To: Jonathan Cameron Cc: puranjay12@gmail.com, lars@metafoo.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, thomas.haemmerle@leica-geosystems.com Subject: Re: [RESEND PATCH 1/2] dt-bindings: iio: ti,tmp117: add vcc supply binding Message-ID: <20240216112348.pamc4c7yemuz3sjp@pengutronix.de> References: <20240216102820.1395815-1-m.felsch@pengutronix.de> <20240216112120.76a0c0ca@jic23-huawei> Precedence: bulk X-Mailing-List: linux-kernel@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: <20240216112120.76a0c0ca@jic23-huawei> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: mfe@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 On 24-02-16, Jonathan Cameron wrote: > On Fri, 16 Feb 2024 11:28:19 +0100 > Marco Felsch wrote: > > > From: Thomas Haemmerle > > > > Add the binding to specify the vcc supply. We can't make it required > > since this would break the backward compatibility. > > Given convention for supplies like this is to make them required in > the dt-binding to reflect that providing power is not optional (unlikely > some other supplies that might not be wired up) and not worry about the > fact that we happily provide dummy supplies for them if they aren't in a > particular dts, it should be fine to make it required here. Will this fact apply to all dt-bindings? I'm asking because, there are many bindings out there without having the -supply in place. Regards, Marco > > Jonathan > > > > > Signed-off-by: Thomas Haemmerle > > Signed-off-by: Marco Felsch > > --- > > Resend since I forgot to add the DT maintainers > > > > .../devicetree/bindings/iio/temperature/ti,tmp117.yaml | 4 ++++ > > 1 file changed, 4 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml > > index 8c6d7735e875..cf7799c9734f 100644 > > --- a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml > > +++ b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml > > @@ -24,6 +24,9 @@ properties: > > reg: > > maxItems: 1 > > > > + vcc-supply: > > + description: provide VCC power to the sensor. > > + > > required: > > - compatible > > - reg > > @@ -39,5 +42,6 @@ examples: > > tmp117@48 { > > compatible = "ti,tmp117"; > > reg = <0x48>; > > + vcc-supply = <&pmic_reg_3v3>; > > }; > > }; > >