From nobody Wed Nov 27 18:43:16 2024 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 25DB11DE886 for ; Tue, 8 Oct 2024 08:20:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728375657; cv=none; b=Bx0OzZVH5tvIJvHtwcfufE9UUN6gRUR5Jh0WGAtGbhXks/Pk/1EAfsbFlSuxsJs8l1IIMEediOWCA9Dyr1h4+59ky1D/DzEOgu2oqfCtVICmTEAfe+y/d23QZLzdiTpUsleCIoDemXUlPeNeo5K/ekzc1qXzLIP+FIrLLdojbAA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728375657; c=relaxed/simple; bh=wfiE7qRSuZ7XkWPlS2rY8eBbtt9KomC4BJ9a9D0fvjo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VZNflK/AcZvE12Bbj97zpTy9DZw9KivKVQFzJXmb6PHfYbxKgetzim+b00jNWq7PVVAuYBpwNmjDovCsJlUZ5m/Z7mR0Nj20lOl+1G726N0Z8QiPAwJHsjEUhzQOO+yqdp1sYjhURa3mKokA86oTsxTOcxWjJSzaAQ4/KzHmvF8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=i23fUmGP; arc=none smtp.client-ip=209.85.210.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="i23fUmGP" Received: by mail-pf1-f180.google.com with SMTP id d2e1a72fcca58-71dfccba177so1778858b3a.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=vger.kernel.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=i23fUmGPWhmAABiuydxSfk3WCjj6BRHsjVBs8UZQ/aEC+1fPpRnENcxHUYCO34PBHX k6NvOfnLTwdrZtY+DaRg+xTp8MByIKwOOpXtHE2dP4te0BZj/YtO/MYi24EGmNrXTLvN Lp7+SiyyvwGjr59ZJRaEyLoXTQe9uwM5G3nbk= 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=s55nnLcpSfM4bhbbheRn/r7i4jClS3RtdgA7HrrGtKEX22mSYRQMCkrBgGs5UN3465 y7q/hw7CTH4mhubUxQxo8je3jJrRgpnBe+7tF+oaLGfr3DsWTBKPX8p3DTm2ueiXWbjQ XlANDM0Y63SYxN3LWXFWxSST0FxhmoOoBBLolHzX79iu+ahekJ/NHVOoltjxbDvpXrZo ZA5sxa4ELbqGAX7oD/008mkI71OPiHIXBgy3n9ivWSq5vJ59D3aXrfAPHT+ridKCh5aF MLkFFUbF4P3rBNUfJiYOw5gfIJkDGnrnDG+mtvco5GWz9r57rNkfidcVggyVXXhiKdpv mhEA== X-Forwarded-Encrypted: i=1; AJvYcCVhIfNWFZxiMTIXmDW6ILGvDt3CgSj7ubkM5ZuKw7yBnw1eB0X7Ri11oZF39MdpYWIiOaGKuLG63ccSrkQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yxp7dTITsnb8SNQr9Mt3M5OsUySDienmdcWw4xFHwCrMsdlipKq a9EBgEsIUb8TMvSRvafQWIjEQrNmbJbsp00Jtq4XQL3SNoPs5VZFsyO5Bu+cGA== 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 =3D <&pio 117 IRQ_TYPE_LEVEL_LOW>; reg =3D <0x2c>; hid-descr-addr =3D <0x0020>; + /* + * The supply is always on. Adding the delay here + * needlessly delays the readiness of the trackpad. + */ + /* post-power-on-delay-ms =3D <100>; */ + vdd-supply =3D <&mt6397_vgp6_reg>; wakeup-source; }; }; --=20 2.47.0.rc0.187.ge670bccf7e-goog