From patchwork Mon Jul 29 08:00:58 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: 13744519 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 180E1C3DA4A for ; Mon, 29 Jul 2024 08:03: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:References:In-Reply-To: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:List-Owner; bh=Qwj4fJ5PcTIVxTcnKoK6Sn5Sy7ClPbtzG5l0PUGLdrw=; b=K1wQUuV4gYsx/IpUvyhuevj0OX nYtD8qJ/yVfXLv8dmnKcwMK/9fFRZqMeIDcS30ZeG8pPbeE23/AZl2r6tRcbUTmctYwBC7yxGvAuZ 6OD/BjU4bEJeaJ1OmwVUcXF1D5jqgxT5ptuWli5u24vSj4whaUf0tRtTyKABhxkXye+JJnMXx07t8 2fxopknCnNOfO0LIApG+zlscFEj9ns0RZKIAohaSJpo81wCZw8xNL9ZMSQHaunzkLNLRUPZelzWbC qkoSgqHzu7771mhXp8kzUQvAPyIg0ZMY/FkB9GBEaAIQgWfpv0QUc6lReyERu5tuTAJeJndGOztT0 4oDGb5+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYLLK-0000000ASsv-2PO8; Mon, 29 Jul 2024 08:02:54 +0000 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sYLJl-0000000ASFM-3e8x for linux-arm-kernel@lists.infradead.org; Mon, 29 Jul 2024 08:01:19 +0000 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2f0271b0ae9so40593111fa.1 for ; Mon, 29 Jul 2024 01:01:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1722240076; x=1722844876; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Qwj4fJ5PcTIVxTcnKoK6Sn5Sy7ClPbtzG5l0PUGLdrw=; b=bq6ITsHqkBr/+t/MiGvEqJdN8w0xuHIOe19x+H8Qur0scFssIdFC+J+BVtck+Q2zj9 YixGoiaUwndZqSgTzX5FLK1+XNQ9tJEH2hgrPs6g4VuhqeXYQE34jCtUGNuHPxWEnHVi 9X+v6v16MiaKL/JII+Bp/YRgxZexp7dpPfxDjEspUIp1T1ZkPdLklZ4fqOkncmJ+7ACg OBnz3R4W8Opm83ORQv3ftGR1ndNSam+7D3M4ZRwkkS+yOdn4MdqqBUSS+K+zI69OvEi5 gwB7o3+yOJ1SFyNS6Yxem8ZeER10tY0XL62VJVRrypqraThZKMqJOUwisDFEY33pVo/P lHxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722240076; x=1722844876; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Qwj4fJ5PcTIVxTcnKoK6Sn5Sy7ClPbtzG5l0PUGLdrw=; b=Nr13i5RthD5onk4+3jI12NNWKceEE6rmfNWhtic2y1o0732Bdgj83MDYJMljdZff1+ Cy/bsQIPlaf/grmugNr7KUPmeA1bFMMIma70o2E/Nhnos9ewdP32FCNi8TTwb0seOFtJ DpBR/SHUyQfDCFtO2xk/tfu8/RwrModIrcs7heSliTOehVvHyUWxs9btnj+l3N7lwJ5e huWJ98IUXxJhmzSYyEzRkjt0/AZTAllV4+ClHbaZPI3pEYZFlwfL2fkY5hU9LlotUFh7 wJHoiDNJtz3yVhRsybp3Ad0DtqMLhyeFOkJeE5ykfkXNh1C6CPzWsBtHFPyyfzVnAdgG wthQ== X-Forwarded-Encrypted: i=1; AJvYcCVLYSe4/U3+UmR9NJapnl0QbgfuFLt05tBAxCDzFEixXW2DB3kefkpvnMLt5J9radHnHNwjBCqh+Rr+kdwJhGUglRBuo6g26eqw6ZFIxSPDlFxpryg= X-Gm-Message-State: AOJu0YwmXr+sm0uafLE+LbJ8s52x4sdnl0iFHC3pi1arMbXnJLWqTh9i oriSTTBj+4MH8azeSkACyukDQDpBmpaxx6e01N7Oi3Hy/pQryjqb5Ok5UyYXJNo= X-Google-Smtp-Source: AGHT+IGk+Ma28FqZivTy+Lwf3ij5OpU/7rZpCibyXnynu0+yv9j7Y81EKKbkk1ve4///COt/muKc4Q== X-Received: by 2002:a05:651c:102a:b0:2ef:2d58:2de5 with SMTP id 38308e7fff4ca-2f12ecd1b89mr39762381fa.11.1722240075632; Mon, 29 Jul 2024 01:01:15 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4091:a245:8609:c1c4:a4f8:94c8:31f2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42819d9a007sm45452635e9.1.2024.07.29.01.01.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jul 2024 01:01:15 -0700 (PDT) From: Markus Schneider-Pargmann To: Nishanth Menon , Tero Kristo , Santosh Shilimkar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vignesh Raghavendra Cc: Vibhore Vardhan , Kevin Hilman , Dhruva Gole , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann Subject: [PATCH v2 3/6] arm64: dts: ti: k3-pinctrl: Add WKUP_EN flag Date: Mon, 29 Jul 2024 10:00:58 +0200 Message-ID: <20240729080101.3859701-4-msp@baylibre.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240729080101.3859701-1-msp@baylibre.com> References: <20240729080101.3859701-1-msp@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240729_010117_930892_D60D4CEE X-CRM114-Status: GOOD ( 10.11 ) 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 22b8d73cfd32..dd4d53e8420a 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)