From patchwork Mon Dec 9 15:56:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Pisati X-Patchwork-Id: 1206385 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47WnrG2tzCz9sPc; Tue, 10 Dec 2019 02:57:00 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1ieLP2-0004yY-TE; Mon, 09 Dec 2019 15:56:52 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ieLP2-0004yQ-1U for kernel-team@lists.ubuntu.com; Mon, 09 Dec 2019 15:56:52 +0000 Received: from 1.general.ppisati.uk.vpn ([10.172.193.134] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ieLP1-0004Qb-OB for kernel-team@lists.ubuntu.com; Mon, 09 Dec 2019 15:56:51 +0000 Date: Mon, 9 Dec 2019 16:56:51 +0100 From: Paolo Pisati To: Ubuntu Kernel Team Subject: [Unstable/Focal][PULL] Fold snapdragon support into generic Message-ID: <20191209155651.GA25473@harukaze> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" This pull request fold the mandatory code and config changes to enable the snapdragon boards (db410c and db820c) using the Focal arm64 generic flavour. It contains three code patches: 143b06aad5c56 ("phy: qcom: qmp: Use power_on/off ops for PCIe") which comes from Linato qcom-lt, while 58c4eb7700b52 ("clk: qcom: Drop gcc_aggre1_pnoc_ahb_clk clock") and 18a217bff02b3 ("arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core") were cherry-picked from Bionic/snapdragon. The config changes try to sync Focal arm64 generic as close as possible to arch/arm64/defconfig (plus a couple of ad-hoc changes for db820c). I tested mmc, ufs, usb, pci, ethernet and wifi, and they all worked on db410c and db820c. Proposing for Unstable/Focal 5.4 generic - since there are so many config changes, modules-check must be disabled before uploading. The following changes since commit f77b7acc39ef131f91db7fb6b17185c1ae03f118: UBUNTU: Ubuntu-5.4.0-8.10 (2019-12-06 12:56:54 -0600) are available in the Git repository at: git://git.launchpad.net/~p-pisati/ubuntu/+source/linux 1280167e6447c6efc63de3a63a250d12770d8dbf for you to fetch changes up to 1280167e6447c6efc63de3a63a250d12770d8dbf: UBUNTU: [Config] arm64: SCSI_UFSHCD=y (2019-12-09 13:57:36 +0000) ---------------------------------------------------------------- Amit Pundir (1): clk: qcom: Drop gcc_aggre1_pnoc_ahb_clk clock Bjorn Andersson (1): phy: qcom: qmp: Use power_on/off ops for PCIe Manu Gautam (1): arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core Paolo Pisati (37): UBUNTU: [Config] updateconfigs UBUNTU: [Config] arm64: PINCTRL_MSM8916=y UBUNTU: [Config] arm64: PINCTRL_MSM8994=y UBUNTU: [Config] arm64: PINCTRL_MSM8996=y UBUNTU: [Config] arm64: PINCTRL_MSM8998=y UBUNTU: [Config] arm64: REGULATOR_QCOM_RPMH=y UBUNTU: [Config] arm64: QCOM_BAM_DMA=y UBUNTU: [Config] arm64: QCOM_HIDMA_MGMT=y UBUNTU: [Config] arm64: QCOM_HIDMA=y UBUNTU: [Config] arm64: COMMON_CLK_QCOM=y UBUNTU: [Config] arm64: QCOM_A53PLL=y UBUNTU: [Config] arm64: QCOM_CLK_RPMH=y UBUNTU: [Config] arm64: HWSPINLOCK_QCOM=y UBUNTU: [Config] arm64: QCOM_APCS_IPC=y UBUNTU: [Config] arm64: RPMSG_QCOM_GLINK_RPM=y UBUNTU: [Config] arm64: QCOM_GENI_SE=y UBUNTU: [Config] arm64: QCOM_SMEM=y UBUNTU: [Config] arm64: QCOM_SMD_RPM=y UBUNTU: [Config] arm64: QCOM_SMP2P=y UBUNTU: [Config] arm64: QCOM_SMSM=y UBUNTU: [Config] arm64: QCOM_QFPROM=y UBUNTU: [Config] arm64: PHY_QCOM_QMP=y UBUNTU: [Config] arm64: PHY_QCOM_QUSB2=y UBUNTU: [Config] arm64: PHY_QCOM_UFS=y UBUNTU: [Config] arm64: QCOM_CLK_APCS_MSM8916=y UBUNTU: [Config] arm64: MSM_GCC_8916=y UBUNTU: [Config] arm64: MSM_GCC_8994=y UBUNTU: [Config] arm64: MSM_MMCC_8996=y UBUNTU: [Config] arm64: MSM_GCC_8998=y UBUNTU: [Config] arm64: SERIAL_QCOM_GENI=y UBUNTU: [Config] arm64: QCOM_TSENS=y UBUNTU: [Config] arm64: REGULATOR_QCOM_SMD_RPM=y UBUNTU: [Config] arm64: QCOM_CLK_SMD_RPM=y UBUNTU: [Config] arm64: RPMSG_QCOM_SMD=y UBUNTU: [Config] arm64: MMC_SDHCI_MSM=y UBUNTU: [Config] arm64: EXTCON_USB_GPIO=y UBUNTU: [Config] arm64: SCSI_UFSHCD=y arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++ debian.master/config/arm64/config.common.arm64 | 40 ++++++++++++++++++++ debian.master/config/arm64/config.flavour.generic | 43 +--------------------- .../config/arm64/config.flavour.snapdragon | 43 +--------------------- debian.master/config/armhf/config.common.armhf | 1 + debian.master/config/config.common.ubuntu | 6 +-- drivers/clk/qcom/gcc-msm8996.c | 15 -------- drivers/phy/qualcomm/phy-qcom-qmp.c | 6 +-- 8 files changed, 53 insertions(+), 105 deletions(-)