Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3211523yba; Sun, 28 Apr 2019 20:27:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/h0Xxh7CPfvp4muhGhuyq6gBptATcGuKeYVBQDHXFcqb5BbVTqpUHB8XBSZQFDO1Jr3Fl X-Received: by 2002:a63:c17:: with SMTP id b23mr20644056pgl.337.1556508468116; Sun, 28 Apr 2019 20:27:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556508468; cv=none; d=google.com; s=arc-20160816; b=v4xZmApK4iUh2nTkAxgDzDQ5McOvaygsOIlUkZcknb0w9adRBp661/+yHQG33/SuWh H8zo1+T2LnkYLk/bXyhv8HzczgLiJE8WgPjRHB+mJEYaUZFHAHlnK7m+5gRSxuq80E0k AWGm6fi9xP9nIFPBVGMYbgjHo0QmDKS3WcLfRDSBd2kN95rYJqJDx8ZbjBeTlFwSR7b9 YExDSMpTZNOTKhdqXebBE+9rZBDkLuCj2FxOhTHC6YcLM/raNm7wxPVPJXdEsPLF48y9 B5AhPyMMNotCOaJaDa+P65L4xQnnXAKSla+AHY8VG1Q0YnXvmH8vL5mTivqeQU8cKB0x V3SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=VfaUjavgU7FLcbQRnhsJ2vG6fwuvzcfeYnH0eMo2lew=; b=JuRfJQVYCLSqBO3fhVnLcRgwWqIX2lOgdsS0XP6F6mQJchNtn70SXdRz8UmNTfft5z tc3vHHybe+luEnngr7XfZmO8iNx6Fioglsc8rOsq+9YEB7fGYxz1+Imf/QuGaBqEGTML AmN2/vRewBb3Y1BIFxUhYIfJ9twOfekWCFRPw5X99CXG8aGNIuy88k764VvNKaxn35AM otHRucCSqLkVlZq8iIg/x2Yg4MJkwd8Yi0HUMKj1GlZG3lJPfmWGl2i8jocpeon/YWoD A43B5ZGvu1GRFacwOGEOTiTZ+1WPFe92CuaNcruKMu26slSQrDpwjC+ypC3mzz0DAYfo xjkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZIO9fcp3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t8si12811401plq.268.2019.04.28.20.27.33; Sun, 28 Apr 2019 20:27:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZIO9fcp3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727180AbfD2D0I (ORCPT + 99 others); Sun, 28 Apr 2019 23:26:08 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:33746 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727093AbfD2D0H (ORCPT ); Sun, 28 Apr 2019 23:26:07 -0400 Received: by mail-pl1-f194.google.com with SMTP id y3so3552099plp.0 for ; Sun, 28 Apr 2019 20:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VfaUjavgU7FLcbQRnhsJ2vG6fwuvzcfeYnH0eMo2lew=; b=ZIO9fcp3UVgcrIpro2HhbPWDhopkv0jrc/1NOivlvUpXqUNgaAWC3mq2KSfBJcfro6 FnUyZrktLKoHzUugRUgUO1fD0EBf6bACTP64AxQFAlOpDPq31IP1E0S/bAmcVJXu/mAx CW/Fu5r6XzT83MF0MjYDhG2nocDhko8GyAYAY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=VfaUjavgU7FLcbQRnhsJ2vG6fwuvzcfeYnH0eMo2lew=; b=SJI6ttCVILli31i3ZPn64/nmo42h+FpdeSPoPGQUy++FVtqhaOP+/a4D7hSc+MV6yU VVCbsMokOrH6399p3fJHdTnDqte8N9TSNS425ecY9CCDVUlFHff+hiYhF3GqmevuKGCd Ill1gJy/A2hET5GNg+AYJTdl6ff4pdSqAKDxat07lfcuBaVSLlY+HlDiHMoAw8yTsC16 1CylMnpLlFs9c/jlj2BiMxAkUpu6sHzpOOmLyuaE6O+bIJOOFesaEcsHi4bn2T4OuRHl /u/ODAkJPDy7UKlXZPmafUxJbPlhnbHzZyX1Jzlcz9nIYEti1PUP/M3uLZu4kzCVGOkS 86VQ== X-Gm-Message-State: APjAAAUb5DDpg6WIaiYpVUlizBvoipj1ZuiK0c28B26rlUYTuMRHTame F1a6i5uB7O9EtjB9UxZauhXtDg== X-Received: by 2002:a17:902:b089:: with SMTP id p9mr59602794plr.185.1556508366781; Sun, 28 Apr 2019 20:26:06 -0700 (PDT) Received: from drinkcat2.tpe.corp.google.com ([2401:fa00:1:b:d8b7:33af:adcb:b648]) by smtp.gmail.com with ESMTPSA id a10sm41364938pfc.21.2019.04.28.20.26.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Apr 2019 20:26:05 -0700 (PDT) From: Nicolas Boichat To: linux-mediatek@lists.infradead.org Cc: Sean Wang , Linus Walleij , Matthias Brugger , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Chuanjia Liu , evgreen@chromium.org, swboyd@chromium.org Subject: [PATCH 0/2] pinctrl: mediatek: mt8183: Add support for wake sources Date: Mon, 29 Apr 2019 11:25:49 +0800 Message-Id: <20190429032551.65975-1-drinkcat@chromium.org> X-Mailer: git-send-email 2.21.0.593.g511ec345e18-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds support for wake sources in pinctrl-mtk-common-v2, and pinctrl-mt8183. Without this patch, all interrupts that are left enabled on suspend act as wake sources (and wake sources without interrupt enabled do not). Nicolas Boichat (2): pinctrl: mediatek: Add mtk_eint_pm_ops to common-v2 pinctrl: mediatek: mt8183: Add mtk_eint_pm_ops drivers/pinctrl/mediatek/pinctrl-mt8183.c | 1 + .../pinctrl/mediatek/pinctrl-mtk-common-v2.c | 19 +++++++++++++++++++ .../pinctrl/mediatek/pinctrl-mtk-common-v2.h | 1 + 3 files changed, 21 insertions(+) -- 2.21.0.593.g511ec345e18-goog