Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp85083lqd; Tue, 23 Apr 2024 15:52:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV+b2poq0ye+Qma6/k22QXePYWCXgRdaEah4dBUAVnZKNZpS6rCiNolbKwTzgRPPi/vXf6XCv8fHhttyu0c2/3kjrnbdOa2QaECMuFyZA== X-Google-Smtp-Source: AGHT+IECSFpaiHNr95Meek3HJ3pza5XxlXQ7gycLwcLm13A3JrmjpN5miGiyPpPA//ApgeNmOMnc X-Received: by 2002:a17:90b:5383:b0:2ac:3c42:5839 with SMTP id sv3-20020a17090b538300b002ac3c425839mr717496pjb.1.1713912724710; Tue, 23 Apr 2024 15:52:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713912724; cv=pass; d=google.com; s=arc-20160816; b=GT9oTmVL7i4GoA52JAHSEdHYt6GKCfG6ObPC6up/iaDChIDkH0g28LOQRwz+9l/Dvc enswEC2PU8q7umJg0W+L1BWfdkvi8ZU5O1y6zBJOSoO02OvIJ9K+DwWrCsA8zQ59zxxB e8Ah1GsH9tcTNrlflu9m8N9RR+xEe1X4WRAWmp9A/BJ6Vi32/yGqA7pbyXzP0Az3q5W1 TDlz80OyvmxPPlObZVyJfGz+VSW0ZpWqfIodL8Pex+17XCt3vFVPa4A3LFTu/EFWE1AJ oKR/x81Jzf8znKdj3xWKQhoLkeUEljM2EhVvwQ4k50ej6fOkFicL0ymoldgJjX3F1bPQ pGXg== 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=FlEhwg2fHnQSDRwailCy+HoHae1eW6OjDstY8iNJk/g=; fh=tE5n859cV0BjUJONcvWuvDBTrbwjawIl47goqTT+08o=; b=yEj2XBV/eKAVxFyyICVUNPG91KTEdou/WtHThDuOkiDtrqE4Y/tUI6C0zV+TdLT4Fg WjDXI8BfSqFs7utm4zjVpmpMNx2dUSNdeVkBJJaqU9HJNGtY1fA5xtbzyEpCUDM3EpH1 QiqMJSQQsLWwf2JMlD6CrJh7HrFPVS//u2ys/8Jv2ftqZEZ2zxO4YNlJz6gsCzxNb/LP 8CxIia7i14I1COtTDKjpibTKrBgXS7eUhbB5zJU3mxrxpUX2iKkfU0rEDbamBV85G9a4 t3+d8T5a3kJxnNm2C5I1TwxgpFHZVBUGaKFSlIwlgQViRB5SUtMrpZkZR8PhZ3+9FyQU cZ1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@peacevolution.org header.s=dkim header.b=bI5ZZXB9; 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-155964-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=peacevolution.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id mq16-20020a17090b381000b002a71c749567si2355594pjb.78.2024.04.23.15.52.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 15:52:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155964-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@peacevolution.org header.s=dkim header.b=bI5ZZXB9; 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-155964-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155964-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 61B7EB23994 for ; Tue, 23 Apr 2024 22:41:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7854535A8; 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="bI5ZZXB9" 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 A82EB2E65B; Tue, 23 Apr 2024 22:41:18 +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=1713912080; cv=none; b=R7oQ76DOflgHBzBZUtA4q4OsQd7LD97mE03+1tsORkgvPzLPWTFFT5SvSgoUuKa3HyGd3h/xLhYpiX3MxAemxXyr+rvBnDHt84IktjxOQxIWcXaUEfMPX3VLJQ5lVoerK2M3LAaIfqG3yBFhMHlb2hmKY/5LQJ4yYPJMTjENBz8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713912080; c=relaxed/simple; bh=MfSd1egszYJN6TT1Fc9meDkLwyCYgqTRaV8UU9a38nA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UqBonOcfFOk3JFXk1OZXqQvIebnMe1Ipm1rL5n8PrmgS9hQIentiOr/OgeJmu76+wcuDJ0ZLdp5YPJEL9UXa3GBWwT7n+cA+0XSIuG6M73ctuzbHQVfO3JglsZPtu3FqAQlKTHTuyofQS4gnhIheSqjfoZri60aQPOBdinFDyiE= 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=bI5ZZXB9; 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 55DCF47A61; Tue, 23 Apr 2024 22:41:16 +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 6/6] arm64: dts: allwinner: pinephone: Add power supplies to stk3311 Date: Tue, 23 Apr 2024 18:33:09 -0400 Message-ID: <20240423223309.1468198-8-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=1713912077; h=from:subject:date:message-id:to:cc:mime-version:content-transfer-encoding:in-reply-to:references; bh=FlEhwg2fHnQSDRwailCy+HoHae1eW6OjDstY8iNJk/g=; b=bI5ZZXB9QPh5La2pxna6jqgxznrqm3ptb7Uv1iUqmd6Zb5pLCVBzRnKlAh9iZn3bszE+/V ACERH365ljdbaPRNR53Sp2P9OY6sDfCF83tL6n7oKHDWwDT4gRJgPl/jM8wd7TRawVhajI 0SqZ7lX8t711Nc2ZtzckwF+JSjOpRU8= From: Ondrej Jirman This makes the driver disable the supply during sleep. Signed-off-by: Ondrej Jirman Signed-off-by: Aren Moynihan --- Notes: Changes in v2: - add leda-supply arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi index b5a232209f2b..51ab1db95f81 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi @@ -250,6 +250,8 @@ light-sensor@48 { reg = <0x48>; interrupt-parent = <&pio>; interrupts = <1 0 IRQ_TYPE_EDGE_FALLING>; /* PB0 */ + vdd-supply = <®_ldo_io0>; + leda-supply = <®_dldo1>; }; /* Accelerometer/gyroscope */ -- 2.44.0