From patchwork Tue Oct 8 08:20:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13825991 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 37638CED27C for ; Tue, 8 Oct 2024 08:37:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Wxe7XEN1LHMGd0Oyi47FAyf7OZba3eA58SL3i+FereE=; b=nlbKFoYhhasV8NCnPvjzvqMyEU NfN+Y4NfwZ0g3goPXBeeKkpoQgjLW1AxY2nyRUe6ZYXPVUHRCYwoLf+GjRs8O0sv/c0eIedXtXhI9 dJPHECfO4wgIBQzVLps0LhRYdHBFr1/d37/C2lr3x5PEOS6ulxvjAsUVjRSHtCzb8ywGJ5Fm4ngWf tNk0GgmiqP2pP6/PPG3qYgmIONcbop5PPOxEZgB9yQZP/Lrh5HQ2cmBzRnXCnm1Fszuz0JRbab4uX Oe1RjYOdbg5p+sGlg781cOMaZE1GGuu0x+AICaOib0CcmJ8TvJ85atW8NjpjhZe2Yl979vVm0h1pn LFLKGlcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sy5iL-000000054vU-2V4V; Tue, 08 Oct 2024 08:37:05 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sy5Si-00000004zu3-16sy for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2024 08:20:58 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-71dfccba177so1778859b3a.0 for ; Tue, 08 Oct 2024 01:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1728375655; x=1728980455; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Wxe7XEN1LHMGd0Oyi47FAyf7OZba3eA58SL3i+FereE=; b=Uxc54BevdkTaMTzXI2GHoCS3kbQlczVtPykRKj5dXBGRWHZ+bMMSKgkR0IGMoxeKrz yiwqPlCoyYtWteSRXMi1aeiRZLtJ3216ncgW/YINXUU7iLKaVFI7ZuGNXppk+mSlWRS1 /bq5cwwZ0o/SlGwnmCThODDWKTx+QqgQVhKuc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728375655; x=1728980455; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Wxe7XEN1LHMGd0Oyi47FAyf7OZba3eA58SL3i+FereE=; b=GJ8Hq5a/+To++2eznyda6fBKgTYBM/fMfKfiMSoJsjbdYpkCVjbZhAvMYd2jrEjg9J 0EktVrUYxtYAxGecUWWkafiPSPzmBsKiahukfADiR9HooZbNfghJVzoEoYozRu3O03Gs nege7wzVHJ0WvkuzbeR6JnplpDiYKCAvt/4sq3NTiI6Mj+ugVclS/5fejmf2Brq08kx+ /XZ9NGEREQ1GrOnAYv8DaiOJPAsdctuykDZUVVc+Dhyv87qQnHS1R+Ejekl0Pus+cwtf 0EnEG98EeCe4rSIu1VFl/e0rzib2n+W+QKuijsKbedG5D5eT7PijCieTNPO6sJR3pBFw bORQ== X-Forwarded-Encrypted: i=1; AJvYcCUSoeKoh8+w86KdSYQ9d2XW9K7SXPdJtI/pFChJdSaV+96jNPw0PyDLsp17INBGZwX/gEIh+6kk55wE5nJqxkI0@lists.infradead.org X-Gm-Message-State: AOJu0Yx8JYpXnajbIZbsBL5je1Te9q1Ye/BBx0s6Xgmqy0+TzOlgo8no g//Grkg6GhnFYsUK+w7jdUN5cX5p6Rsg22zCcyG5g78aqjwmzDyFunbbAaXDKg== X-Google-Smtp-Source: AGHT+IFJm0IcwI0CWnxra5LbX1O3mroQEd3t+K9JaisETjqWwQD9tUxGolk9e7WrRGrqYhb2Ata5Fw== X-Received: by 2002:a05:6a20:258a:b0:1d4:fb97:41b9 with SMTP id adf61e73a8af0-1d707459d68mr3493318637.22.1728375655445; Tue, 08 Oct 2024 01:20:55 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:10df:d27e:8d4b:6740]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71df0cd0ad2sm5672184b3a.63.2024.10.08.01.20.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2024 01:20:55 -0700 (PDT) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: mediatek: mt8173-elm-hana: Add vdd-supply to second source trackpad Date: Tue, 8 Oct 2024 16:20:49 +0800 Message-ID: <20241008082051.4002438-1-wenst@chromium.org> X-Mailer: git-send-email 2.47.0.rc0.187.ge670bccf7e-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_012056_312727_A9D61010 X-CRM114-Status: GOOD ( 12.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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, and the required post-power-on delay. Fixes: 689b937bedde ("arm64: dts: mediatek: add mt8173 elm and hana board") Signed-off-by: Chen-Yu Tsai --- arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi index 8d1cbc92bce3..e03474702cad 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi @@ -49,6 +49,12 @@ trackpad2: trackpad@2c { interrupts-extended = <&pio 117 IRQ_TYPE_LEVEL_LOW>; reg = <0x2c>; hid-descr-addr = <0x0020>; + /* + * The supply is always on. Adding the delay here + * needlessly delays the readiness of the trackpad. + */ + /* post-power-on-delay-ms = <100>; */ + vdd-supply = <&mt6397_vgp6_reg>; wakeup-source; }; };