From nobody Wed Nov 27 18:40:31 2024 Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) (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 BB33018C91B for ; Fri, 18 Oct 2024 08:20:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729239608; cv=none; b=sd1/74wN+0cgDdnm/w3C48YzXtP2hyV6ls3kHa5d9z+iS9ZF2n/sKXWfnqJvOUHJLB/R0S1xD+RW7+ASuvvha6gkCFITVJVX5kj5p0pe5gZT1rtCf3y8xaK2cd3zjtlEn8wtWhvna1/NTNW7ksD7S/SbzTKCzEhhALiuqC5jGpk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729239608; c=relaxed/simple; bh=nUeYxjFSTj5Ewg8DTNGbjcYFtI/FRFxM2OjqUh2NBF8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XCIwHfsOY0WZthtES/+a1K7bPfiFsrbbGHpvKwgGhE6iYgMFhhLS0aqCRwfUvNInSMIZRFeG1nNWhY1Z7GwYDWKD/khTHkT3MiOP3BnirJ+K0WHUGxHjvjLcFOVv7BB7vScW/cm3woHr/znpl++aEexTw1pw8P1GqPBQF1BlYsw= 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=ZSdVSchv; arc=none smtp.client-ip=209.85.215.178 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="ZSdVSchv" Received: by mail-pg1-f178.google.com with SMTP id 41be03b00d2f7-7d4fa972cbeso1532031a12.2 for ; Fri, 18 Oct 2024 01:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729239606; x=1729844406; 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=YD/BrAcHdAIIMXA1jUzknbvHmeKtjxe69u37Q8I7CtU=; b=ZSdVSchvO76yqw0xXlMT3KheBo4SGJyQ4jkyDIpnV8Y0KQmNYnlzYEoV81l27fGdlW MnMgWw/0i/LUNAPf6cab6FPLocfdwz+di3OPRUXSST0zpswIjGNcqqu2AMhlitJjCoTr D0K/3wFSFq+uvAgGhLz+MwX8/UvnZx6kdZhjk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729239606; x=1729844406; 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=YD/BrAcHdAIIMXA1jUzknbvHmeKtjxe69u37Q8I7CtU=; b=s+gUYgQy5bVt4olBSCI7XN1QvixBrTmWAmT38t8LhZkt+OpTfgZx6jFZCRsuvIcLS5 rorzwYHZ87jyUoOtxUsBQe2AdBVsW3tjcmkNwzm58AxaV2n/aq498SqMMjK/3QwKrNeK YkmTpvCRrl1IjdxSW1o76TmMeJ0CbxQqmXSQ/y+9fA5FbJx0Et0xEkL4jNFSqJMI9MSW v99jXe3kzmj68w0h9BPBN2lr9yYaYgQSmU93jGEbTLdCtSlbSBo6q2MNBRidEk7kCogK ws1Vrhqr7HStEi4Uj5HJGG/vnL9U+uSq+mt2qkXrJvAWCZj702Jkgmiuq1+vZCymQlV0 AvAA== X-Forwarded-Encrypted: i=1; AJvYcCWTKOuR+NeHbdKgeCDFqEs8JLW/KkD6MdiFyXR8A8ZwP0XzlNc6i72p9O4GJ8csam2pLKPJNwAi8PmK+/g=@vger.kernel.org X-Gm-Message-State: AOJu0Yx3emsYBuhv64AJproNkl0Q+Hea/7wS7za6NcS/ZbnDXIeLOgqE UaJ+6WqFfXYjwXtRb9imq2wiBH2oUX09d/7hzV3IWTPpz5KhP+cYJ/aS8xrFCw== X-Google-Smtp-Source: AGHT+IFwfYN5qZ6/UTJrq9b9zMKrlE4sxFnfRkL/+LlT9NlUwm0QDBK5n84qYUmrvBAFwk3vL771Fw== X-Received: by 2002:a05:6a20:e605:b0:1d8:ae07:c06 with SMTP id adf61e73a8af0-1d92c583d4dmr2151480637.48.1729239606136; Fri, 18 Oct 2024 01:20:06 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:5e77:354e:2385:7baa]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ea3459348sm900418b3a.155.2024.10.18.01.20.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2024 01:20:05 -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 v2] arm64: dts: mediatek: mt8173-elm-hana: Add vdd-supply to second source trackpad Date: Fri, 18 Oct 2024 16:20:00 +0800 Message-ID: <20241018082001.1296963-1-wenst@chromium.org> X-Mailer: git-send-email 2.47.0.rc1.288.g06298d1525-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, 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 --- Changes since v1: - Drop the commented post-power-on-delay-ms property - Document the delay in a comment --- 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 8d1cbc92bce3..ae0379fd42a9 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi @@ -49,6 +49,14 @@ trackpad2: trackpad@2c { interrupts-extended =3D <&pio 117 IRQ_TYPE_LEVEL_LOW>; reg =3D <0x2c>; hid-descr-addr =3D <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 =3D <&mt6397_vgp6_reg>; wakeup-source; }; }; --=20 2.47.0.rc1.288.g06298d1525-goog