From patchwork Fri Oct 18 08:20:00 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: 13841400 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 02478D2127B for ; Fri, 18 Oct 2024 08:37:07 +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=YD/BrAcHdAIIMXA1jUzknbvHmeKtjxe69u37Q8I7CtU=; b=ZnOkqf0KFVzJddSyp3VeFsE427 OCGP71nCZKzthuNCKzgS79RFpDAt6Vnc/7SdRO2rV3PuFa4qDwA9EBkXOmx47anc2TZK4QXbzg1Wf 7nR1kjou4N3UdZlL5R+FVCYfiDvJL1M2aLyXY9OmPgPOB9v4pqeVWtI0ibICVOmxpmJZ/aNyTkW1x lBbz32Q7KduDt0mMm1jiB/U7R99QFOX6yQfJHuRKnefC5A9IBqdlMKlTlXC7upJW86nD3yJ491xAk ueSKZzfsmTKgWpVe3FiJZXySkDCxQlM95Z3HT10C7SHi1W1ZF+I0pf61yp7Sy1mu0w3sK/BEioOeG PomZHBOA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1iTf-0000000HZrR-109B; Fri, 18 Oct 2024 08:36:55 +0000 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1iDP-0000000HU0F-0g2m for linux-arm-kernel@lists.infradead.org; Fri, 18 Oct 2024 08:20:08 +0000 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-71e7086c231so1359564b3a.0 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=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=YD/BrAcHdAIIMXA1jUzknbvHmeKtjxe69u37Q8I7CtU=; b=H5/rqhlDUVztqTwHdxFzizgw760Nj1l6jFYDaUVWcb2f2EXf7WmxsnLqvM+XtbDB1G PqR+Lut3BA2ypbCs9J+JbD0XK8Rvci3NOt0wpTRTzKnkA+Q1yFGgFBIs4UKKuOlAw18q SvDx/HFH7rQRpm2jeNg2un9jQaqUG1nsuMPw8= 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=p+wr6MP0INh/5+3Up+ynz0Ku4IIhnBrp1Hu/oIhtTAOEMhENX6vguYzsgKbHIv1Lqb XjtXKYFRkwVcIE1xbaEC9phNHg7ayx6qnQGqDJj0ic3W3m1+W69JNPzWlOAvzmrDqCsv Ap9LG9z+XC/YA9aBucJuVpyKxSLkSQRUJ9fNQJ+M6Qb3Nf0DQAppsBFFlo2HvHjSKyUk obRgsm5VXr6tgr4Sp/7Jar3xcmtvMf+5KXjndADtZhC9ZNXv0XgUhb9mwrpfN1lXLPLO R0y8Xh+dcdlw0HvD3AlbhO+sIN6l82I1MLoLH37FabTsLx3FcShf9VuqYfW5vAwZSNdY uhZw== X-Forwarded-Encrypted: i=1; AJvYcCUzJRotAqufLbdvzj97f9P8DmOWDGweUrfSb1WKOya7yBtud0P0ivbvZ45r5O+80iwHuX0wiypP00pV2Eew22SW@lists.infradead.org X-Gm-Message-State: AOJu0YzH831BLn0+xqVt4yEbGcCUk1vGhuVcE1wiepz1EERCdCG9b8R7 NWsoW4p/RMY+2v1ADJLXKyhqbYJG/5toKiXdoMrTWzsvHDj3mF1ICuHzaqneKQ== 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 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241018_012007_265055_4863CE0D X-CRM114-Status: GOOD ( 15.52 ) 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, 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 = <&pio 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; }; };