Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp536783rbb; Sat, 24 Feb 2024 11:19:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUWdLHx72qLO4xpXVlwiWEkogaeD80fyAlIoJxE4i4BdBamKRDKeySkLktzn0Az7Cj3Vj4+/7OEErCTpvLPazHhuK1nL0q0cuZub5KUUA== X-Google-Smtp-Source: AGHT+IGCRFov0pwrUOqwNGxq8ebzuI+DVnmSlj6Rxt/nAcIBc0WNfQFTjlWPcIvdQqiKyUk0iuek X-Received: by 2002:a05:620a:4627:b0:787:cbd8:4f94 with SMTP id br39-20020a05620a462700b00787cbd84f94mr65007qkb.25.1708802344845; Sat, 24 Feb 2024 11:19:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708802344; cv=pass; d=google.com; s=arc-20160816; b=AORQQ+na5e6QL95KbsDmRhkOaOFWSYqIlMYuPUOouNu45e+WJPf50+Tvq2WR0PppF8 j9AKn48Nkox0TGGq7w4J/ZSvaspboaDdS/lsjG+cwCbcB/MUM/gvpFhKWSckhuvXMxqP NZ2G9UnVSshgBcQ/zDASrqkyi8rDeOZvZ1j0ko72LHkiSOEAE0XN6XV/KaMCjh5SilD8 iIdcafK3Nt7c8lhURlrlLgbGkNhXGuDu7P1ObSM1TPQvYzIPqlknAxaUxyZbCa6PgliT S76zCaZQfljAIDyyTXa7QXqJaQWxKBcCYUNptGPZJ5+SvoYgaX9xD1NlG92+PJguuoT9 Lnfw== 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=CAI2xBKcZfe8oRa+LO4hmqSChQ+kxxMd+8jI//0AVJk=; fh=+u/VXUaXsR1NxgIjWT8E2IW2F/GBK5h3pKBt3J1WSkM=; b=f3osNFievOYn5Yl0emN9aFEtjvRjN0tRtTcFYpKVUaU3yiUQZ0yRrGC8A0zw7fu8RO Jjrq4n71MC0/NcnnO2MXkb0QAkccuQ7ARI1n2/pS8oFuJ5Xh+cptJI9wiu6pRznYBCVz 6NLxq4gZlejCPkQqU5H5Wt65W38Wv4NfOqZHJT4v70fg7NopG+C2QMPm8qBSTiAQ8msL ID+871btL7GXWR45EoS1omnilNHCqit+8sRa4Uao+mWIUBLc9vNs5i/uvJ7ENg4PKsu0 rVCIKSJpfqhMFYvhFSEhDFuxcbPnIe3VEAyYB8kNUi31r1qbn6C0DWgXcfK2zbmVQuro lOYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Pd+w5m7M; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79801-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79801-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 p7-20020a05620a056700b0078778e60d2csi1619613qkp.285.2024.02.24.11.19.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 11:19:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79801-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=Pd+w5m7M; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79801-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79801-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 799511C20E1E for ; Sat, 24 Feb 2024 19:19:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F1924C3DE; Sat, 24 Feb 2024 19:18:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Pd+w5m7M" 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 3002DEDE; Sat, 24 Feb 2024 19:18:56 +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=1708802337; cv=none; b=SChAHgSfdHnUKggQ6qcS4/nCcYm7gP/GGtulMEffvIFKOXRghP30TT2zpddy8u5+ouwbmqp87FCUpROklkYXBJJtsVHPLBAjZNMbpx5BDmphFUgJYw9rpV+XRba5s1Cu6wcWEXH8WwPhM2TiI3DB93M+L7K/5IacrcLwaE2YFOE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708802337; c=relaxed/simple; bh=15Z+svmWXnvuKAbgxBOoIfyNn9nC0bhPmQJ8VekgTSY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=gXMR6HiKz4hJvYWqopCPmP8b4cnXcZC16LArB1BJe6JowxxL6brU7v9Y8gk11aTESgux7gmbBohPpuxxcdpVbdnI6GU++YY4bu4DGpcyd4UE47T3WKUvOr+Yj8CU5PFH1yHSwvPUbAYv0eFVRqLxD9DwgKDEcZpPfsb4kTYJTsA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Pd+w5m7M; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79357C433F1; Sat, 24 Feb 2024 19:18:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708802336; bh=15Z+svmWXnvuKAbgxBOoIfyNn9nC0bhPmQJ8VekgTSY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Pd+w5m7MGpgkfvereSA8w363L0+0XYyy4mxCGYK1kLPRXuIphk7iNf9fYjjs9zmFF 4Rh6RW/SyhidEjSAVYl0YYg9VsKRKQJJek5X7pp+2u5uoJmm+d3nL3ZwEn44GXRD+A dgugZtqmOaP7YLbz55Zlil+KknYgufMCsfWBbdOAbFeEVAS0MfW3j9DwjoSdmtsPWG bWt+66/72K3W5BLYndjd+QiVd6P186MSkHaMKsSiVyBn1dq8V11KLhWABaiGGNQ0/A G7j2LIiUYPiq+ZCfC42cA7rQeoj09hHW/1h2c4GJE5rCnkfXTtzoND9vYgCirla/ZG +9xQqjeoG2NaA== Date: Sat, 24 Feb 2024 19:18:43 +0000 From: Jonathan Cameron To: Conor Dooley Cc: Javier Carrasco , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: iio: light: vishay,veml6075: make vdd-supply required Message-ID: <20240224191843.61796617@jic23-huawei> In-Reply-To: <20240223-niece-shakily-7e18b90f30e7@spud> References: <20240223-veml6075_vdd-v1-1-ac76509b1998@gmail.com> <20240223-niece-shakily-7e18b90f30e7@spud> 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, 23 Feb 2024 18:34:39 +0000 Conor Dooley wrote: > On Fri, Feb 23, 2024 at 02:01:33PM +0100, Javier Carrasco wrote: > > The VEML6075 requires a single supply to operate. The property already > > exists in the bindings and it is used in the example, but it is still > > not on the list of required properties. > > > > Signed-off-by: Javier Carrasco > > --- > > The driver and bindings for the VEML6075 UV sensor were merged in the > > merge window for v6.8 i.e. they have not been released yet beyond rc. > > > > Applying this patch as a fix now would avoid an ABI break like the > > recently discussed here: > > > > https://lore.kernel.org/linux-iio/8409a5bc71b995e3b738b817a074cfb131c3b2b5.camel@gmail.com/ > > > > On the other hand, from the same discussion it can be concluded that the > > major risk would be a potential warning with dtbs_check, in case this > > patch is applied during the next merge window. > > I don't care if it introduces a dtbs_check problem, we can fix those. > The device clearly needs power and at least for linux it being missing > gets handled perfectly fine. I think it's pretty reasonable to do this. > > Acked-by: Conor Dooley > Applied to the togreg branch of iio.git and pushed out as testing. Jonathan > Cheers, > Conor. > > > > > The VEML6075 driver already handles the power supply with > > devm_regulator_get_enable(). > > --- > > Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml b/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml > > index abee04cd126e..91c318746bf3 100644 > > --- a/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml > > +++ b/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml > > @@ -21,6 +21,7 @@ properties: > > required: > > - compatible > > - reg > > + - vdd-supply > > > > additionalProperties: false > > > > > > --- > > base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d > > change-id: 20240223-veml6075_vdd-e2220158ffda > > > > Best regards, > > -- > > Javier Carrasco > >