Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1023430imu; Fri, 25 Jan 2019 15:48:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN4jo5hop6OV83XnNfofxw9D21tMhKiB8KFbqoCVkGI0YtIdqhvpuYV5QZQKHC9iez6pfU6j X-Received: by 2002:a17:902:d83:: with SMTP id 3mr12741640plv.43.1548460123095; Fri, 25 Jan 2019 15:48:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548460123; cv=none; d=google.com; s=arc-20160816; b=yWR+bkjcFXnLL2GJI89oZAhQzfCZCO6pBYDcBsYtEChdJRqDj/giKKr4MLL+fxR79/ Cqrhr0r8RGN4rLtKliy9n8J7Y+Y4PZxdjf5OhiLK8JeY6Ga8/pdLQuHlddMHdX4prYth g6TQMj80w5+AFrOTR/6dxlt50Jd4wfr8SP2W6DkYylZVE1rUTE740QiovD5UjWJDEW0C vY25OtYXQZPOZ5g9Fp4PRn+4cirRnMb7PtJKlYn/fQumxk51GA9Z6K7xaoOAqBgalAA9 95nj+EwISi0gR8zh3iAE7AIOIbr6SkBY7rv3F6XW3S74khQ5m16bKULpC3nDeBcFXcWK 9MrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :dkim-signature; bh=WAJkt5pKYVfaSlTbiQyzNhjMJz/17VQ97ZsS8VrSTns=; b=OGj/nPIb3Gc3s9Os/2L6V4wfeN+Ht1U1DYVPXPBKZewBm0hp6wkefJVyewPMOSUqWU LAXcpTw98X5SyMkcCYOMiFrc+q3jM5nXn2+hXCJjg5sNqA8pSls/VffJYkW1x4Eg/qDZ 5JuwvCiWBbrwxiRcI1wjl10/eoKHTQth+DJhwYNLBpWztk+Vu6eLDcuQvYorVwsf5XIf d2Rio7y1lGjHFMnbqZfmUv+LRXWXHZg2Ts2Efd6YLnH9aBlsoxtN7mhDyvFDkIPA3eq7 lyOa+nNsBYQ+Cce26UsPWPdnAsFW8Ez+7+EDKcxAtDgG0CXOIJ0eD0E9Fmr6id+txTKF 5EHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=cOF2idGs; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y26si22462100pfd.25.2019.01.25.15.48.27; Fri, 25 Jan 2019 15:48:43 -0800 (PST) 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=fail header.i=@linaro.org header.s=google header.b=cOF2idGs; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729479AbfAYXpg (ORCPT + 99 others); Fri, 25 Jan 2019 18:45:36 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:40742 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726335AbfAYXpg (ORCPT ); Fri, 25 Jan 2019 18:45:36 -0500 Received: by mail-pf1-f196.google.com with SMTP id i12so5434055pfo.7 for ; Fri, 25 Jan 2019 15:45:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=WAJkt5pKYVfaSlTbiQyzNhjMJz/17VQ97ZsS8VrSTns=; b=cOF2idGsukSeFWXjra3D1geIqOCF4Z/rilqfKCLm/ozpaS8mpxBf1j0z/VErPBW1zq iDshwHN8rUvoughAq7E2/e7jzkFSha0QoBqW98o9oIvqNFHSY3V/0IO8IYwBMiiddWm3 LRPnBL8/93/jYbPvoUytLWMcrNl+GxK2+IVIE= 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; bh=WAJkt5pKYVfaSlTbiQyzNhjMJz/17VQ97ZsS8VrSTns=; b=j5xcdcLTqCWrq99vYj80ZsaHDc4LD6QIQBAlils8vjdP9jxpfaGD2vdZbxz7oFxmST dPYutdtCwbQi+wsxOzSHpumFutUdvQdYXV60FlyMsoQPD3Rp2wCqnKYin/CUeNPC1bMV dN7Gt90WFevNlKqw4HW/sEOsJZtt1RoCD78xE1dJhjHIKouwboho35eqRzKC9Vd+yICW 23L/gU77tZCYCqt6sgyw5FA414T5z7fXg70i1wZ66EsHLY7FQcUHK+drhSQBJ+/Gltbf BVwEr7k6ZCyr01XKDsNau0kgKhLZz977m+alfyqDK8Ns/7Ud/raMosA4Hetqvm3bP1v6 BL4g== X-Gm-Message-State: AJcUukcVQ28HOBa8KmmI6LSJks59rg00d50ZB5gAfP1F1O6sV7/YKAys tLegx+cwyPQSzpE5ERG5huoSjg== X-Received: by 2002:a62:4d81:: with SMTP id a123mr13327468pfb.122.1548459935416; Fri, 25 Jan 2019 15:45:35 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id y9sm32950302pfi.74.2019.01.25.15.45.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jan 2019 15:45:34 -0800 (PST) From: Bjorn Andersson Cc: Andy Gross , Bjorn Helgaas , David Brown , Khasim Syed Mohammed , Kishon Vijay Abraham I , Lorenzo Pieralisi , Mark Rutland , Michael Turquette , Niklas Cassel , Rob Herring , Stanimir Varbanov , Stephen Boyd , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH 0/7] QCS404 PCIe PHY and controller Date: Fri, 25 Jan 2019 15:45:02 -0800 Message-Id: <20190125234509.26419-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support for the PCIe controller and PHY found in the Qualcomm platform QCS404. Bjorn Andersson (7): clk: gcc-qcs404: Add PCIe resets dt-bindings: phy: Add binding for Qualcomm PCIe2 PHY phy: qcom: Add Qualcomm PCIe2 PHY driver PCI: qcom: Use clk_bulk API for 2.4.0 controllers dt-bindings: PCI: qcom: Add QCS404 to the binding PCI: qcom: Add QCS404 PCIe controller support arm64: dts: qcom: qcs404: Add PCIe related nodes .../devicetree/bindings/pci/qcom,pcie.txt | 25 +- .../bindings/phy/qcom-pcie2-phy.txt | 40 +++ arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 25 ++ arch/arm64/boot/dts/qcom/qcs404.dtsi | 67 ++++ drivers/clk/qcom/gcc-qcs404.c | 7 + drivers/pci/controller/dwc/pcie-qcom.c | 108 +++--- drivers/phy/qualcomm/Kconfig | 8 + drivers/phy/qualcomm/Makefile | 1 + drivers/phy/qualcomm/phy-qcom-pcie2.c | 331 ++++++++++++++++++ include/dt-bindings/clock/qcom,gcc-qcs404.h | 7 + 10 files changed, 558 insertions(+), 61 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/qcom-pcie2-phy.txt create mode 100644 drivers/phy/qualcomm/phy-qcom-pcie2.c -- 2.18.0