Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3248554imm; Fri, 25 May 2018 02:18:55 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp7yJg23ErgxD0QAU5Xl3dNP4zAR1uoITmollSJoUuPNk/GHH+ErY5cTbI+pTUslP8aUIGa X-Received: by 2002:a17:902:683:: with SMTP id 3-v6mr1760980plh.291.1527239935933; Fri, 25 May 2018 02:18:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527239935; cv=none; d=google.com; s=arc-20160816; b=vUBzH/EE/dz7cdBuspqwTEGb4kQrl5+TN4IVTb3I3on1HExqoPQW1E45iwcXNSxBdK WM8YV7UxTnh4xbZdtdoTpmUpsEDRgzKJg1+qHA5KVIEWgzYDGIsb2KjCwLttoKbi+RiM SoOYGXllHw/M6x10KvVs8x6mTD//cEskC5StBEQd2kMe891UZXDJZPNPhqVj13sPtzRJ CG2dCVPRkpwX1WiF/RzeJccuBK7CL8F78SggoPtODTCml9cVm54fJOpDA+KjIy/DkjmH uByGh6xY9iGiVlxQnRA/Ko04zwhbZTcwlUAt2Z4YCjsgesiu889Ph4emaU45MDmF/DYO SXrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=IH2U20grzjFZ/wDXVDJEUZ7gXgNescX5D2aiPIh/fvo=; b=x+SSlDYinoDlCqjXfKWEjOwJLNDtwTmMMt3rIO+bHZ23Afk8XpHz03MhyBxZj/yDiD D+E7Zrx/4pjTrPJK85llJpZW4aLwOM002olLpeVRRL9GnLsohfmHNbCh+8tj9z16cjma jLJbhrwle59l6tWPtIiYxTttiMgW8CZ8iw9/Z6Ta3p4sk855dq/uSsT1n3Iw1tiPtfQE B/00ffgQK/yXtc5KiUW4MCqSHv0q2WkYhs+gNGC6rSyHZEXISmMPE13Js9wUs/0zrmTM jn5m9K/bWZ9b2dzdw2oOg9eBeEONfnnnIN8Ls8aOjg+4sMQxZqzj2oilQVAHGr7Pz0xE 3vOw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b12-v6si23731026plr.42.2018.05.25.02.18.41; Fri, 25 May 2018 02:18:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965406AbeEYJRi (ORCPT + 99 others); Fri, 25 May 2018 05:17:38 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:8136 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965348AbeEYJRf (ORCPT ); Fri, 25 May 2018 05:17:35 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A45DDDE39DEAD; Fri, 25 May 2018 17:17:22 +0800 (CST) Received: from vm107-89-192.huawei.com (100.107.89.192) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.382.0; Fri, 25 May 2018 17:17:14 +0800 From: Li Wei To: , , , , , , , , , , , , , , , , , , CC: , , , , , , Subject: [PATCH v10 0/5] scsi: ufs: add ufs driver code for Hisilicon Hi3660 SoC Date: Fri, 25 May 2018 17:17:07 +0800 Message-ID: <20180525091712.37227-1-liwei213@huawei.com> X-Mailer: git-send-email 2.15.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [100.107.89.192] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds driver support for UFS for Hi3660 SoC. It is verified on HiKey960 board. Li Wei (5): scsi: ufs: add Hisilicon ufs driver code dt-bindings: scsi: ufs: add document for hisi-ufs arm64: dts: add ufs dts node arm64: defconfig: enable configs for Hisilicon ufs arm64: defconfig: enable f2fs and squashfs Documentation/devicetree/bindings/ufs/ufs-hisi.txt | 41 ++ .../devicetree/bindings/ufs/ufshcd-pltfrm.txt | 10 +- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 18 + arch/arm64/configs/defconfig | 11 + drivers/scsi/ufs/Kconfig | 9 + drivers/scsi/ufs/Makefile | 1 + drivers/scsi/ufs/ufs-hisi.c | 619 +++++++++++++++++++++ drivers/scsi/ufs/ufs-hisi.h | 115 ++++ 8 files changed, 821 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/ufs/ufs-hisi.txt create mode 100644 drivers/scsi/ufs/ufs-hisi.c create mode 100644 drivers/scsi/ufs/ufs-hisi.h Major changes in v10: - solve review comments from Rob Herring. *Modify the "reset-names" describe in ufs-hisi.txt binding file. *List clocks in ufs-hisi.txt binding file. *remove the "arst" and keep only "rst" in the binging files. *remove the "arst" member from both dts and c code. Major changes in v9: - solve review comments from Rob Herring. *remove freq-table-hz in ufs-hisi.txt binding file. *Move the rst to the ufshcd_pltfm.txt common binding file. *Modify the member "assert" of UFS host structure to "arst". Major changes in v8: - solve review comments from zhangfei. *Add Version history. - solve review comments from Rob Herring. *remove freq-table-hz. - solve review comments from Riku Voipio. *Add MODULE_DEVICE_TABLE for ufs driver. -- Major changes in v7: - solve review comments from Philippe Ombredanne. *use the new SPDX license ids instead of the GNU General Public License. -- 2.15.0