Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1188327rdb; Fri, 16 Feb 2024 07:51:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVjrSBH5MieE1SUevSKnkSDKkQaWzxTIoRemVY422jS6F4G+hFHKEYXC7akZlNC2H6iFLXvYjsGPmMk6wyHcM4nq+X+y6vbWuc88/I4KA== X-Google-Smtp-Source: AGHT+IFjaLFTOZ4TsQUAFhwR7R/S1TNQYvN2S+jJaZS0LHJMaZydsRp6RgROCi7F60r0XerlAmUP X-Received: by 2002:a0c:c983:0:b0:686:90c3:374b with SMTP id b3-20020a0cc983000000b0068690c3374bmr4864488qvk.31.1708098670406; Fri, 16 Feb 2024 07:51:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708098670; cv=pass; d=google.com; s=arc-20160816; b=Ps8CLA+xu1uepI+YdE3hVslXfn0UageReCjMVYmhuavZWENKJzOO835s9bqqixyp6U o6X9oOZWdoYsPhdiV4J0U1et7nMLuzHAR4AiJ/eiB9XTKYZTySlciTA5sohXJW0wUMuD 1rhqimeHi5uUEMHhCrMp7+xpKD+NMOiLjWvIw8qSk4jgSDbTbO7WZ4LmV/FqP/c4KaA0 nLvwx/tbZAXimXWAJMh4ny+T7q1w0Y9Y0RavwyToB/qA/jHCljUDJyQHPf7Ab+PjG2cx edRGQL7PR+/Mm1ijlywjLwtwOPDLkKfFcS5woa9li9k+a3JnlpfwqwWous2lYDQCFkbX WiGQ== 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:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=fkws+5jvfV98Ydkq64arjTL7ljQxl5eCUixkoqgbn5A=; fh=Pk6vaRCVsWC5tWQ96Qpdct+NUIshMi8JZblOghG8qPw=; b=0Q8pRPDnqHEwk6tzd+L2Bx671rgJ77G8ifwF+up37lZ42vk+ZUjx/wVFioH3OoW+cn HTKOuSkv3kMubEUmc9aUNnmbZlGRZh2CL6TVSSW4xjas1ykUHRUmMWaXeds8eAUydONx mGA62z9tGsfNRJg8EQPhsNVOJ/5r0LaJsXgyJWnxzLY114e0pf6pnaK57IYf/WGsTZnm aU0lHLWQ/O5GnfI3tRsfFW7wt0fpemGHH8wayytm8mnyDrcdwNf3z+WLXgUiZ4VBOZ8c 5b/IIAv6ZbmeGaYdtUXvb/a2bqc7yK7rv5w7WIVMDYqZFNm4J1uSmXgmZ2siv5S9jcRw ZtGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=skpgds00; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68904-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68904-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 jq9-20020ad45fc9000000b0068cdb0ede35si20248qvb.399.2024.02.16.07.51.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 07:51:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68904-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=skpgds00; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68904-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68904-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 281F91C215D6 for ; Fri, 16 Feb 2024 15:51:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B63E012F5BF; Fri, 16 Feb 2024 15:51:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="skpgds00" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D68961BDD8; Fri, 16 Feb 2024 15:51:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708098662; cv=none; b=oU4prlxkN639DHAAKuzD+u52EIrmHuLkMjyku8iMxUpwG+2/MfQNE4386v1MQmCo/gWg6R37XXT/OhS8iAMmoiVDjkg0zsiqG+2qpC9XF9j68ZE16EjI+unVHUYJ+f8coXi2UATDpmygftRuWoE6eea/XNZTAeF2ij1thPwNOUs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708098662; c=relaxed/simple; bh=XqumZg0Xx6R1zZIUJu7IqknRri8yZSUgg2ag/nPL14I=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=iUjF8PR996W9W1ElPZcx9omx7DCZcDIWKzMt7+snZAOUhW+SHvKMFbyzkOT/6wx8NclHToM55Bi+Da5Qn3mxt1VaGIHd144J6dOeRC+7rRMiVpQAhm5rw3TCxDKMby9/oQM3oBbcsGFWzLIX3QHu6XK0A91FvlZBVBpfQRRpA3I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=skpgds00; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB479C433C7; Fri, 16 Feb 2024 15:50:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708098661; bh=XqumZg0Xx6R1zZIUJu7IqknRri8yZSUgg2ag/nPL14I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=skpgds005HeZfnJM4/AXQU9lYuQcNubyIxR6+dlb+2BusjC/hA95dwI47l6nxndJc A8xVVij9W9Df2+aA8VWSX5/KNEmJrJHcvn/btb1KumrK1hC10aF99YRnNJJ4vj0AIV db224RP8P+p2sJs1diSnZp+o/Wp4UoWPOW0e/8tPApZA1/fA6imqjJDXWvzG8AU4Rr 5WyCCfCvn9fq32nUcJLCxeqqgQooWJoCLavMSxw8zIXmmTGQhcGeRfeiYssa/ChOix XWZoLHW7+iZ/yNICznkPPbbOie8lVRseUJcPzNj1tEMTpugKvGLIZtFFduRFqlq26x xjmUpoh2r5S8Q== Date: Fri, 16 Feb 2024 15:50:48 +0000 From: Jonathan Cameron To: Marco Felsch 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: <20240216155048.29b806a1@jic23-huawei> In-Reply-To: <20240216112348.pamc4c7yemuz3sjp@pengutronix.de> References: <20240216102820.1395815-1-m.felsch@pengutronix.de> <20240216112120.76a0c0ca@jic23-huawei> <20240216112348.pamc4c7yemuz3sjp@pengutronix.de> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit On Fri, 16 Feb 2024 12:23:48 +0100 Marco Felsch wrote: > 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. Yes in theory - in practice it's noise to do it unless we have a reason to be touching the dt-binding anyway. I don't plan to fix them up on mass. Jonathan > > 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>; > > > }; > > > }; > > > >