Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4681968yba; Wed, 8 May 2019 00:34:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHXS41zOrycV9SaEyxboa6Pw74E4vpO5gvG2EYREUsQahbDyznu8hGUHvxkD9cj9nW3z66 X-Received: by 2002:aa7:8b88:: with SMTP id r8mr46248045pfd.174.1557300887165; Wed, 08 May 2019 00:34:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557300887; cv=none; d=google.com; s=arc-20160816; b=Gi0hWpYK8lKnaryyuc4HVVGBBdmo93kn6VlNwF0/dCdRSV5Tp5Z0WGWp8QQUHPhA+n q/1wfaJ7NhdAbC3O25Kv7MlaxJLr9UNRSRc1tyCrZzirXcYgbLX8INpk2A14C3Thj35K OgPrBYRiHBk1Oph7fYUQsx4XBXaxv4VEJ8XoFQGNjLmZAecfYo+RRMhL/h2cCJ3PtcLC oIa/DiqnMUPPBTIXcSMu2Mjrcm3OAs06dqL+IDQjI3VhwdBfLLhZH6TOXSmxX3AOe4Dk U8XlO7ZKsNiRjaGeEf188R3JpxPO109CVcOva31d6vpwLuGCFdFmOZLVKCjyCV026TiT UbVA== 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=cXDSUoWLJ80ofU9SNBABTlyG/UyP3q/4EzPOKhLgxHM=; b=fzOGa55haAzxnyu4kp4xlYs5N2EBtyZZhhumhx2UaGdW4lCOQ+1EZ+YRou50UbEovf PRaasMyHqNeKSIiVdCbZVZm2H6J7IHZa/o/cPXhaOLQ9DX4q55xQTpPsad66D0OYhJLi aeAEc1IYBoIgUw2UNMvQetlMDy5nG6+mW3kwYWjKa8NwLuLvcXXRdNT6cPlQp99+tF7s 6e+Whp4gkJva55kMj9lqEQgpJZkiQ+faH0QmAmQFZLOJIw60Wzxj/bjeWbDggUrwbnug KPJ/u9XjM/Jdy3MtfiqInFxKElI4P+IhSDQnBsXrboZA9xZ7t+39UrQT9ERpgjLItKZY oYIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JAI6ShQF; 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 3si23573156pgy.200.2019.05.08.00.34.31; Wed, 08 May 2019 00:34:47 -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=JAI6ShQF; 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 S1727067AbfEHHdi (ORCPT + 99 others); Wed, 8 May 2019 03:33:38 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:43557 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726967AbfEHHdh (ORCPT ); Wed, 8 May 2019 03:33:37 -0400 Received: by mail-pg1-f194.google.com with SMTP id t22so9643925pgi.10 for ; Wed, 08 May 2019 00:33:37 -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=cXDSUoWLJ80ofU9SNBABTlyG/UyP3q/4EzPOKhLgxHM=; b=JAI6ShQFH5LPrZX4xP0iFXDlDAd4VN4ubLGwY2TwHwEtFJ4qd+UKB0kAFNMmlDUy3/ 9k6f03F08QS2BDgt/s4UrtkxIbFJsaLs76mX9jjd5fOIsOuNzAivPbnD08UX7gb3Jgqw 1ldBY+aY6kti87kHKpHzxW5ZMzbT0SLV3Eitc= 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=cXDSUoWLJ80ofU9SNBABTlyG/UyP3q/4EzPOKhLgxHM=; b=GHCr2U22Yx2KBHWdNYRlbnGqcQmMMF1gv0ZGJQqobn9xb4vZzi1k+Ff8QQtGKIu5ka arL687HKJkuOzHd3VN7Bg79wPt+w/Z/s7hIeYaWW/cJ/8NGwLVwaXbhXX7ZLYdP+DuGS 4ibGLxU1VUS8CDwhpaKVo4cLjhU+B+nBIxefsZDXhOVZgXID5+qa3McNFPUmgNg16Nx8 mzUQcld3iP7dDqYDxDSf6O6Arll5TyZBYYmhjjilDHMzYfIQicVESQ5SbLxdNHLqtr5e v8PSwHV+4j4hJWIXQtHvjvpLIcpspKU9nK14SrqLizZOt8bZJW34kOGRMVlxn/oR/TpL geQA== X-Gm-Message-State: APjAAAUy44IBsY/8+lpqi44G/miREOTSuWW82x0ICUGFZRUlLJNBPUoJ RO2UNDm6FYLcDd5pcC/KEBWV0w== X-Received: by 2002:a62:1897:: with SMTP id 145mr47430119pfy.122.1557300817134; Wed, 08 May 2019 00:33:37 -0700 (PDT) Received: from drinkcat2.tpe.corp.google.com ([2401:fa00:1:b:d8b7:33af:adcb:b648]) by smtp.gmail.com with ESMTPSA id n26sm29539047pfi.165.2019.05.08.00.33.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 May 2019 00:33:36 -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 v2 0/2] pinctrl: mediatek: mt8183: Add support for wake sources Date: Wed, 8 May 2019 15:33:29 +0800 Message-Id: <20190508073331.27475-1-drinkcat@chromium.org> X-Mailer: git-send-email 2.21.0.1020.gf2820cf01a-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). Changes since v1: - Move changes from mtk-common-v2 to mtk-pinctrl-paris, as recommended by Sean, to keep better separation between eint and pinctrl-common features. Nicolas Boichat (2): pinctrl: mediatek: Add pm_ops to pinctrl-paris pinctrl: mediatek: mt8183: Add mtk_pinctrl_paris_pm_ops drivers/pinctrl/mediatek/pinctrl-mt8183.c | 1 + drivers/pinctrl/mediatek/pinctrl-paris.c | 19 +++++++++++++++++++ drivers/pinctrl/mediatek/pinctrl-paris.h | 2 ++ 3 files changed, 22 insertions(+) -- 2.21.0.1020.gf2820cf01a-goog