Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932102AbdHVDUC (ORCPT ); Mon, 21 Aug 2017 23:20:02 -0400 Received: from regular1.263xmail.com ([211.150.99.132]:53730 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754446AbdHVDUA (ORCPT ); Mon, 21 Aug 2017 23:20:00 -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: <27eded7683273238814c310e40b9a3ce> 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 , Caesar Wang , Catalin Marinas , linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 0/4] PCI: rockchip: Move PCIE_WAKE handling into rockchip pcie driver Date: Tue, 22 Aug 2017 11:19:30 +0800 Message-Id: <20170822031934.8675-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: 953 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 v4: Rebase on newest for-next branch, also fix error handling by: 1e7f570a1b86 PCI: rockchip: Idle inactive PHY(s) Changes in v3: Fix error handling Changes in v2: Use dev_pm_set_dedicated_wake_irq -- Suggested by Brian Norris Jeffy Chen (4): PCI: rockchip: Fix error handlings PCI: rockchip: Add support for pcie wake irq dt-bindings: PCI: rockchip: Add support for pcie wake irq arm64: dts: rockchip: Handle pcie wake in pcie driver for Gru .../devicetree/bindings/pci/rockchip-pcie.txt | 20 ++- arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 15 +- drivers/pci/host/pcie-rockchip.c | 179 ++++++++++++--------- 3 files changed, 126 insertions(+), 88 deletions(-) -- 2.11.0