From mboxrd@z Thu Jan 1 00:00:00 1970 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 AAE401494B2; Fri, 6 Dec 2024 14:54:26 +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=1733496868; cv=none; b=fwfDs5TT5Egh3S/DKQlQmv5x5JwS1BWQOSz5GnwO7/WErOTKCrmbr5hWN9YXjhs4My37ZNwQQ+nxPR8tyFQUW5jWyoT467oOdrNFT0DVTMMZTYNG9EuJ8HKHAMGk5duSBowsmXzJCfZMFYdoU3YX7BPPkdCHXdWCiWZzoNlFy8I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733496868; c=relaxed/simple; bh=d6xZ1LgLYBcXMeqifFejfsQR38JkRj3HDryCWsf3ILU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=id5UTALgYCfRpOYTqzsvs5/PIdisV4NxpEPiO8PEEjhCbftWVg6kRzm/iBGlhHvpyeEQZ22AwCR4JzQZajd8OTJsZfNXPymZ+Gw4OLnJPLbQP10fdOk/U4uUeaX/XcWq7clvAWuvlovS1ruo9b+/l+Z+ndd7UXCReygvcO6fggY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=llnAxSTf; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="llnAxSTf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B85BEC4CED1; Fri, 6 Dec 2024 14:54:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1733496866; bh=d6xZ1LgLYBcXMeqifFejfsQR38JkRj3HDryCWsf3ILU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=llnAxSTfmZ1T8f+HqqAnS0wpCTMUO9hVeOWAdhpLwUY7G+nJvtGKZ7NCM0orxBYuu 9aEHNu1WqpLM8rVK+wp+2BXZkwi02LwjRQ1c0wEMoJhG+lB8NONqU8LGfbx0v3vP96 K3UalXpPlHaK8JeZQH786ljQ4uwuYhYFEzHIM1Us= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Chen-Yu Tsai , AngeloGioacchino Del Regno , Sasha Levin Subject: [PATCH 6.6 128/676] arm64: dts: mediatek: mt8173-elm-hana: Add vdd-supply to second source trackpad Date: Fri, 6 Dec 2024 15:29:07 +0100 Message-ID: <20241206143658.355695576@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241206143653.344873888@linuxfoundation.org> References: <20241206143653.344873888@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Chen-Yu Tsai [ Upstream commit f766fae08f6a2eaeb45d8d2c053724c91526835c ] The Hana device has a second source option trackpad, but it is missing its regulator supply. It only works because the regulator is marked as always-on. Add the regulator supply, but leave out the post-power-on delay. Instead, document the post-power-on delay along with the reason for not adding it in a comment. Fixes: 689b937bedde ("arm64: dts: mediatek: add mt8173 elm and hana board") Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno Link: https://lore.kernel.org/r/20241018082001.1296963-1-wenst@chromium.org Signed-off-by: AngeloGioacchino Del Regno Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi index bdcd35cecad90..fd6230352f4fd 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi @@ -43,6 +43,14 @@ trackpad2: trackpad@2c { interrupts = <117 IRQ_TYPE_LEVEL_LOW>; reg = <0x2c>; hid-descr-addr = <0x0020>; + /* + * The trackpad needs a post-power-on delay of 100ms, + * but at time of writing, the power supply for it on + * this board is always on. The delay is therefore not + * added to avoid impacting the readiness of the + * trackpad. + */ + vdd-supply = <&mt6397_vgp6_reg>; wakeup-source; }; }; -- 2.43.0