Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751704AbdIKPKu (ORCPT ); Mon, 11 Sep 2017 11:10:50 -0400 Received: from regular1.263xmail.com ([211.150.99.140]:38890 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750937AbdIKPKs (ORCPT ); Mon, 11 Sep 2017 11:10:48 -0400 X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-RL-SENDER: jeffy.chen@rock-chips.com X-FST-TO: linux-kernel@vger.kernel.org X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: jeffy.chen@rock-chips.com X-UNIQUE-TAG: <0c0836d575c1d801ede18e15bd6b467d> X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Jeffy Chen To: linux-kernel@vger.kernel.org, bhelgaas@google.com Cc: shawn.lin@rock-chips.com, briannorris@chromium.org, dianders@chromium.org, Jeffy Chen , Matthias Kaehlcke , devicetree@vger.kernel.org, Will Deacon , Heiko Stuebner , linux-pci@vger.kernel.org, Klaus Goger , linux-rockchip@lists.infradead.org, Rob Herring , Mark Rutland , Catalin Marinas , linux-arm-kernel@lists.infradead.org Subject: [PATCH v5 0/3] PCI: rockchip: Move PCIE_WAKE handling into rockchip pcie driver Date: Mon, 11 Sep 2017 23:10:26 +0800 Message-Id: <20170911151029.25185-1-jeffy.chen@rock-chips.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 841 Lines: 32 Currently we are handling pcie wake in mrvl wifi driver. But Brian suggests to move it into rockchip pcie driver. Tested on my chromebook bob(with cros 4.4 kernel and mrvl wifi). Changes in v5: Rebase Move to pci.txt Use "wakeup" instead of "wake" Changes in v3: Fix error handling Changes in v2: Use dev_pm_set_dedicated_wake_irq -- Suggested by Brian Norris Jeffy Chen (3): PCI: rockchip: Add support for pcie wake irq dt-bindings: PCI: Add definition of pcie wake irq arm64: dts: rockchip: Handle pcie wake in pcie driver for Gru Documentation/devicetree/bindings/pci/pci.txt | 2 ++ arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 15 +++++++++------ drivers/pci/host/pcie-rockchip.c | 19 +++++++++++++++++-- 3 files changed, 28 insertions(+), 8 deletions(-) -- 2.11.0