Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3312605imm; Tue, 17 Jul 2018 02:39:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc7ryHzM9jvQWcnK1SwTsnfHvjLX4v21REgATSNAxL4EQyYxAujBQXZvZM/wHRPsfHX0iyi X-Received: by 2002:a17:902:4424:: with SMTP id k33-v6mr913193pld.242.1531820364153; Tue, 17 Jul 2018 02:39:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531820364; cv=none; d=google.com; s=arc-20160816; b=RWDg3TP9doaaVhciZhKJjy0lDcLDk/UfrJ+qRSQsKDQrcnf+zH+NmqxYvx2tSjgXJb tVroxlAbbHlmYXOg8DRtK5KR9PWV9+ddUH95ycbneQcN66kRaYBY/R298V0XLzZscyJ1 w9S+NM9YR7SBVZwcSvev7sDN5UQv7MaxGXJcWR7MB0WQpWouRWsnH217N+xMPbgcls96 rM94cjRylE0Gv2XDhJUQqa0a9gmz/7lSAl5YPFwPfDINKQC+xxXQNLalPvghF6AXV4iG AWOwT/3ngD0tfP1YujuARJH9WZMRe9UVcsEbNxcJUcWUS1QtRVZBsYlrId443u8e3rUX Nkjw== 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=+ayQjIpokzFcdzuiFcjCfAZQhzUySYCwTy2i1HdqYJg=; b=JJK93cOIDSneAS7T7PYyQlVyHB/hqw7tdkhSf28zPs/oPT1JH22hD2ErEmIlVRgGb7 YpKT0uaS6OopKsmG4f+P/hv5RHIzKmorECRkxNhmxllfgP0QPXR0Vwd0rPobv+YMAUbN Rce9OOEggXUzlxvcVSPcmIbm2R+DcKa4cyPu4sKp8+sqvdPtaTFoqJbX/Bdep8y8CvBQ tDuI5Yv8WM85HZVMCW8ojvNh8oyScb8WZLCbdxqBE1fAPPWq98/pxwhRMqU1mJwhQRas zj/jkOqj+HhjkxNvOJJ3fAyV3hEYTEjOqe+4fBWzAqSj4UUgauiVigzN+SvVKeeITnmL HbfA== 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 e11-v6si521882pln.161.2018.07.17.02.39.09; Tue, 17 Jul 2018 02:39:24 -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 S1730172AbeGQKJS (ORCPT + 99 others); Tue, 17 Jul 2018 06:09:18 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:9685 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730749AbeGQKJE (ORCPT ); Tue, 17 Jul 2018 06:09:04 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 03F449C633E37; Tue, 17 Jul 2018 17:37:07 +0800 (CST) Received: from vm107-89-192.huawei.com (100.107.89.192) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.382.0; Tue, 17 Jul 2018 17:36:59 +0800 From: Li Wei To: , , , , , , , , , , , , , , , , , , CC: , , , , , , , , Subject: [PATCH v11 0/4] [RESEND] scsi: ufs: add ufs driver code for Hisilicon Hi3660 SoC Date: Tue, 17 Jul 2018 17:36:55 +0800 Message-ID: <20180717093659.103263-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 (4): 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 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 | 1 + 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, 811 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 v11: - solve review comments from John Stultz. *include Rob Herring's Reviewed-by tag to the dt-binding patch. *drop the defconfig changes, such as f2fs and squashfs related. 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