From patchwork Sat Oct 12 14:39:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 13833981 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 00675CF2568 for ; Sat, 12 Oct 2024 14:48:35 +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:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ULCkiQ8VoXo6ciE6Elqk4HCN1p6ytUWA5waL2W1UArY=; b=4uhXiX6XfKdK0B2q5A718Sz4qL 2y6YVC7sUII0TWmpykGvKjVieQFrN9mWqLAvdxw9WnFf72S3GI1+oNvJ6vvUyUY2puZOObeTV2/cp nJK+wW/kh/Jv/Dc1QTim6mQHq4Y1QSdsgimc24WcpmgwAHYTcDfRlcTySv+0cxZtgreEQUYuVQbxe ldoeBD8273E01do0K7mSxKv2OZ5EvpcuCCs8kXwaqG75txoUoNkDcvWa4wMXID8Y7CSVObP9u8pz6 r9Gu2hEDMYqpYtb3uVyrrR6n0k1khyORwofly74PQhQg/ll6uyv9HQyoGJ/p0y1ovzBPLM9AXdtiL HCXpB//Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szdPu-00000001NdD-3nge; Sat, 12 Oct 2024 14:48:26 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1szdI6-00000001Lja-3lek for linux-arm-kernel@lists.infradead.org; Sat, 12 Oct 2024 14:40:24 +0000 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a86e9db75b9so445119766b.1 for ; Sat, 12 Oct 2024 07:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1728744021; x=1729348821; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ULCkiQ8VoXo6ciE6Elqk4HCN1p6ytUWA5waL2W1UArY=; b=3L0Y+bNXN5R7vGe2q8xUUt/MfrEkM1jFaR1DxeHR5+fs4J2cH8u9r8oxave1+Q7pQY naOnI8zqS0V5jseHXtzLTatAdulpfGWUrbob0nQ11yGVVd4fJinV6UD9gs8vjR8PyjYw doGF9xBBhbFwq04aFyg0u1UzHk61yx6hueCsSAebqh6MDBQR8mIyCqEZ6oXPGA6ezxbY c9o+13eIHNuSXfpt0U4cr2LPyEJFBTeReNw7EEk06r6tvVNgkbVYhVBSEhkvECAy7gG1 IC70cjckHeF+XmrSxzYhXh9HDCCKLcg85lPiGQJia8Rldz0kY4NSFxXjBW+quZSd6yqS aWww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728744021; x=1729348821; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ULCkiQ8VoXo6ciE6Elqk4HCN1p6ytUWA5waL2W1UArY=; b=sMcGT+Dz1KBEvnmkcKkyklts1a9nUVUd/yvwR3NLUeGnIVQKY9KgSaKTO577Uvi7pI RCKQRePgZO3GUNdeBRR7ZIKDfx5HFMVMbl5kmc32bcJhhzip4hQa1hmoe0Aalxa6chBR Zt7r9qxQWyouVeA1+Z8FnVQGRSQA43a7zNeEEk917BNjLyX6/97xHCXSdRO5DE7e5Dea Grl54s/dmq4jALDaNMgpVLIgqkJX/cIHwDnjhP7JhyXZUGd9UnSG6AMpSe2XR4cZuYpZ 6uIjBwQX3D+avm61Vmh22nvGf7Sfjg81Y3I4hi2g0ocyO1zN58ky1jQerFEjXrijz1N7 osxg== X-Gm-Message-State: AOJu0YxuHputAdVqb89qXePGn5uwy+WitfdTuSSnZaiZy1bIH8VaDXF2 ENaxDFsPGZXLfkRMpZWwrUl4FsXa26sPH72RLFfImw4RPEqH0cPhaeeUnb6+oog= X-Google-Smtp-Source: AGHT+IGWlpkwYPvczR/HmMNrTZLwB3u77RjG+9e11crQIzq8pDrWM2fLtcRa72Csddc7F8rgokMxAA== X-Received: by 2002:a17:907:9489:b0:a99:e98f:e73d with SMTP id a640c23a62f3a-a99e9900010mr139675266b.37.1728744020855; Sat, 12 Oct 2024 07:40:20 -0700 (PDT) Received: from localhost ([2001:4090:a244:83ae:2517:2666:43c9:d0d3]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99a80dcd55sm332162666b.173.2024.10.12.07.40.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Oct 2024 07:40:20 -0700 (PDT) From: Markus Schneider-Pargmann Date: Sat, 12 Oct 2024 16:39:29 +0200 Subject: [PATCH v3 3/6] arm64: dts: ti: k3-pinctrl: Add WKUP_EN flag MIME-Version: 1.0 Message-Id: <20241012-topic-am62-partialio-v6-12-b4-v3-3-f7c6c2739681@baylibre.com> References: <20241012-topic-am62-partialio-v6-12-b4-v3-0-f7c6c2739681@baylibre.com> In-Reply-To: <20241012-topic-am62-partialio-v6-12-b4-v3-0-f7c6c2739681@baylibre.com> To: Nishanth Menon , Tero Kristo , Santosh Shilimkar , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Anand Gadiyar Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Vishal Mahaveer , Kevin Hilman , Dhruva Gole , Markus Schneider-Pargmann X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1051; i=msp@baylibre.com; h=from:subject:message-id; bh=raNMV7XctJIbSEmg1aR+IsRod9wfbi2q0jEtotc1h3A=; b=owGbwMvMwCGm0rPl0RXRdfaMp9WSGNK5umxevT6yTL1ugqjsyZ/d/gXll499jDv17/NM91mRA g/81Q/v6ShlYRDjYJAVU2S5+2Hhuzq56wsi1j1yhJnDygQyhIGLUwAmciyI4b+Xjcjhd2Hbfn+Y YHWNQa/HelKKjP3cHhmW5P9ZJz6kbHvO8L+yxdmtIUVko07zn7THwmUHvl0PeBMcwM21vePLNi+ zw3wA X-Developer-Key: i=msp@baylibre.com; a=openpgp; fpr=BADD88DB889FDC3E8A3D5FE612FA6A01E0A45B41 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241012_074022_999213_9C9FB422 X-CRM114-Status: GOOD ( 10.22 ) 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 WKUP_EN is a flag to enable pin wakeup. Any activity will wakeup the SoC in that case. Signed-off-by: Markus Schneider-Pargmann --- arch/arm64/boot/dts/ti/k3-pinctrl.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-pinctrl.h b/arch/arm64/boot/dts/ti/k3-pinctrl.h index 22b8d73cfd3264735ddf91874e60a0c5fc7ade5b..dd4d53e8420a1d671e04a70d4af8b0ea1b75b2b2 100644 --- a/arch/arm64/boot/dts/ti/k3-pinctrl.h +++ b/arch/arm64/boot/dts/ti/k3-pinctrl.h @@ -12,6 +12,7 @@ #define PULLTYPESEL_SHIFT (17) #define RXACTIVE_SHIFT (18) #define DEBOUNCE_SHIFT (11) +#define WKUP_EN_SHIFT (29) #define PULL_DISABLE (1 << PULLUDEN_SHIFT) #define PULL_ENABLE (0 << PULLUDEN_SHIFT) @@ -38,6 +39,8 @@ #define PIN_DEBOUNCE_CONF5 (5 << DEBOUNCE_SHIFT) #define PIN_DEBOUNCE_CONF6 (6 << DEBOUNCE_SHIFT) +#define WKUP_EN (1 << WKUP_EN_SHIFT) + /* Default mux configuration for gpio-ranges to use with pinctrl */ #define PIN_GPIO_RANGE_IOPAD (PIN_INPUT | 7)