Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp81675lqd; Tue, 23 Apr 2024 15:41:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUR24HX5xWP4OzIBZPkXUTz9fdK4HA3T5W6yicIiJ/x6s+oXD6HSnZMMMIQ8h6b7H6eHhN0eSDOpGrAlQEgP8U7qxev0mXm9MULebmU0A== X-Google-Smtp-Source: AGHT+IG5ATVJEz3/ibd9oaBooKKuOaGxJ7BOQL+en4qXdWx9hbfXjDoChH054DA4K6ypi1SC85rl X-Received: by 2002:a19:7718:0:b0:51b:4d45:28f0 with SMTP id s24-20020a197718000000b0051b4d4528f0mr589015lfc.43.1713912103277; Tue, 23 Apr 2024 15:41:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713912103; cv=pass; d=google.com; s=arc-20160816; b=RsDD3lgWbBgOQGGombhl5Rf9Q8w+HNm4jk0g9ZeWNSFVw5KEAy0aA+Boq+QpNsnzDB RGRUWpuWvLm0POJhDsSMIK7wV3VSIXyk7aTdRs3HXQP7FFo8mDhHsTyb1DDAeGIGpny5 qQQGr+F+ojAtLkElkn9IC44IU1i3iB0pZJURuExeH87Po4YW0TdV+e9sbjyKcjTrqcnQ jO3iwkhFy5plwqAlm8b89Kh9EulAkMt1KbD5tCs4P37DD/byz2r4YiDWGlRv4GHG0Lg3 oKrIld0rFvCp0UrrQI+4FgCvRkFVbdGJmJpTCkgvFn1gqGExNpJFlgY3JjBA+neR7CbR tISg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=dkim-signature:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:from; bh=hlnyfPS5DLUVzYwzjrSWJSZ4OjlFWvwqBdiJD2oce78=; fh=tE5n859cV0BjUJONcvWuvDBTrbwjawIl47goqTT+08o=; b=buQzWfTG/c7+e+euXZBYJ7xo2y6nT+On7lFOiE1V7ltxyRs0Of8cJ/wGSFMq2QgM10 6jIgrZL3cpBUDt15rFXVgGOpwIbErELT0mGeCryI8VW89C0uzcGov/dOmvI4o/zTGQ60 8mTcdsh+neRKBPAMcRCxa0zE3zqEuRSS7yfcA7A8jKvtCLx8oMjcn0dcvKvassP3KeFE fyku7vSxDGJ+Dw402Ss+fUIvmhrDMwyvHYdbsMYzhX1IlQ1srkGW0KBgbEjAuHh/5qxO QdYr6GvbiSbYZHO+yeIyv2J7PnpH8LSx59ajedRI9Io5A34gV31Cv/AhHRjgBcZQg593 JRGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@peacevolution.org header.s=dkim header.b=FDF1nKYm; arc=pass (i=1 spf=pass spfdomain=peacevolution.org dkim=pass dkdomain=peacevolution.org dmarc=pass fromdomain=peacevolution.org); spf=pass (google.com: domain of linux-kernel+bounces-155963-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155963-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=peacevolution.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f17-20020a056402005100b0056ffbff2694si7595288edu.515.2024.04.23.15.41.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 15:41:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155963-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@peacevolution.org header.s=dkim header.b=FDF1nKYm; arc=pass (i=1 spf=pass spfdomain=peacevolution.org dkim=pass dkdomain=peacevolution.org dmarc=pass fromdomain=peacevolution.org); spf=pass (google.com: domain of linux-kernel+bounces-155963-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155963-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=peacevolution.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 04D921F2384B for ; Tue, 23 Apr 2024 22:41:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2ECC042071; Tue, 23 Apr 2024 22:41:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=peacevolution.org header.i=@peacevolution.org header.b="FDF1nKYm" Received: from a.peacevolution.org (a.peacevolution.org [206.189.193.133]) (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 EFD172D045; Tue, 23 Apr 2024 22:41:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=206.189.193.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713912079; cv=none; b=S0nMFleCM87+bd+letSG32IfNzFK2dwKodapfD1U9P1OM9Y8vLWmrKHdVJWUDKSpSVB4NcDq5YI9Z92V6NV0xr+6iuSe8s3A0QFLzo+FziO5TRDciq2Bt2ZdrzAb/Hw7rVLjc+oXdANA8YRxddeNGvkHTdn02A/4slVIrzFSrXg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713912079; c=relaxed/simple; bh=sPdQp0y78+aQ4Fsgv16GP6aktf1T+o0Ad2IvNQ7mtBI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=r/sgSVg2bbRJWdlyGpp9rhRsheNmsdtOLpxf1uqMTtDbmntWeMEFbvEuiXSpPKwTPwRIcGv+fbq46otjcY0N/ii4xgsZI/stdL4Ruen2hOCeGoPYWT1c7iU0dLlk0XvRzcC7wH+nAp4KHFrjxjnvbKAkq6CvqWVYSC0OnLuUlY4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=peacevolution.org; spf=pass smtp.mailfrom=peacevolution.org; dkim=pass (1024-bit key) header.d=peacevolution.org header.i=@peacevolution.org header.b=FDF1nKYm; arc=none smtp.client-ip=206.189.193.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=peacevolution.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=peacevolution.org Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by a.peacevolution.org (Postfix) with ESMTPA id B48B347A59; Tue, 23 Apr 2024 22:41:09 +0000 (UTC) From: Aren Moynihan To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Liam Girdwood , Mark Brown Cc: Aren Moynihan , Andy Shevchenko , Ondrej Jirman , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , linux-iio@vger.kernel.org, phone-devel@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Willow Barraco Subject: [PATCH v2 1/6] dt-bindings: iio: light: stk33xx: add vdd and leda regulators Date: Tue, 23 Apr 2024 18:33:04 -0400 Message-ID: <20240423223309.1468198-3-aren@peacevolution.org> In-Reply-To: <20240423223309.1468198-2-aren@peacevolution.org> References: <20240423223309.1468198-2-aren@peacevolution.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: auth=pass smtp.auth=aren@peacevolution.org smtp.mailfrom=aren@peacevolution.org X-Spam-Level: ****** X-Spamd-Bar: ++++++ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=peacevolution.org; s=dkim; t=1713912070; h=from:subject:date:message-id:to:cc:mime-version:content-transfer-encoding:in-reply-to:references; bh=hlnyfPS5DLUVzYwzjrSWJSZ4OjlFWvwqBdiJD2oce78=; b=FDF1nKYmRgxkjKMC7adv/4y67VUjqBxJcmtSVhHQcoS8nTaAWd+tXzFaSIaINcMlmAVOW3 kBJzxKIE5VTxxNMkTgtqfP7igJhw5rrvtQ5hnNZ/U4sw0TntAT9TapNfBBOUnHXMTJfMcg C3MqiYn2+Qn3sfIGGQOUs9YqlOcIU/Y= stk3310 and stk3311 are typically connected to power supplies for the chip (vdd) and the infrared LED (leda). Add properties so we can power these up / down appropriately. Signed-off-by: Aren Moynihan --- Notes: Changes in v2: - add leda-supply - add supplies to examples Documentation/devicetree/bindings/iio/light/stk33xx.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/light/stk33xx.yaml b/Documentation/devicetree/bindings/iio/light/stk33xx.yaml index f6e22dc9814a..43ead524cecb 100644 --- a/Documentation/devicetree/bindings/iio/light/stk33xx.yaml +++ b/Documentation/devicetree/bindings/iio/light/stk33xx.yaml @@ -29,6 +29,8 @@ properties: interrupts: maxItems: 1 + vdd-supply: true + leda-supply: true proximity-near-level: true required: @@ -52,6 +54,8 @@ examples: proximity-near-level = <25>; interrupt-parent = <&gpio1>; interrupts = <5 IRQ_TYPE_LEVEL_LOW>; + vdd-supply = <&vdd_regulator>; + leda-supply = <&led_regulator>; }; }; ... -- 2.44.0