Received: by 10.192.165.156 with SMTP id m28csp100833imm; Tue, 17 Apr 2018 07:11:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+WpwOVHqtTH4IJbBd25TA/CyD5khpA+U405VMLec9M0Zh82Kf6iaVSqzG82A2xCSP4NVQF X-Received: by 2002:a17:902:3f83:: with SMTP id a3-v6mr2198916pld.279.1523974289155; Tue, 17 Apr 2018 07:11:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523974289; cv=none; d=google.com; s=arc-20160816; b=RQ03OgdgkkkeZXxrMY+bLNYsBnq8f5saejoaqOwDY6Gk8b7mPsqSuWXpJ61YiDEHLr ZW4hiGHy0fbUqwUS6vPwQsezqTGxwGcXHqp4EV7Id+zZfzqQ2g0LhP+mrRzFEUmKiQww 29SrEu+uL9JvmVr3/Kd/leJYuLBhVbpdnG6/Z+5athI8VzLB9oG0RxU9Vrg7j3bbPAXq 5lo7naR/nmwkOnepr0JxLQI7RvVtwxePGcly0G/hfpd1Y2s0xDXryv7W2HE3jn+4i5E9 amixWqCY8KoeJ09VZiCc4KIEynQwc6Dsu1h8dVVFIyUNcN/ZZ0TTsj5O90R3DHO+Zq0e kgpQ== 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=0egDazC3BZBv57c65VIJ4Uq2md8snovuVnsMoDL+slw=; b=myL53TS44AkgZYM3F1mPP2usFQRmoAKAzfbZqyOjL4IlR/x/weDGnQM+rxyfTpLwBj 0wwLfguFLKiJZLWRowdFVjaqXCWPOkK971yevuU845Fd6s7iavfYc4K5QDErlx+9cr/e 7s0esdAc4aQiAoBv4Zn6C46CuXOJKEy1+sXi6QkltPYmnU8vmzpuCIXQJ11lotm+jwJx GFV9+P8BWnzgfl44REOZBfCkpoHjvuV4ZMBeyws+XQhYTKSIIAviXYyKwBLNYYMzy1PB 0u6v5fYNdzZyZDY7HKz61XfPFte0zbsegf89DgKKQVtJvlfeJFcVzKNPSanjs4HTsSle ezbg== 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 p9-v6si6429908plk.294.2018.04.17.07.11.14; Tue, 17 Apr 2018 07:11:29 -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 S1753303AbeDQOI6 (ORCPT + 99 others); Tue, 17 Apr 2018 10:08:58 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:56110 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752731AbeDQOIa (ORCPT ); Tue, 17 Apr 2018 10:08:30 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id B472E5783EFBC; Tue, 17 Apr 2018 22:08:24 +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.361.1; Tue, 17 Apr 2018 22:08:15 +0800 From: Li Wei To: , , , , , , , , , , , , , , , , , , CC: , , Subject: [PATCH v9 0/5] scsi: ufs: add ufs driver code for Hisilicon Hi3660 SoC Date: Tue, 17 Apr 2018 22:08:09 +0800 Message-ID: <20180417140814.38098-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 | 29 + .../devicetree/bindings/ufs/ufshcd-pltfrm.txt | 10 +- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 20 + arch/arm64/configs/defconfig | 11 + drivers/scsi/ufs/Kconfig | 9 + drivers/scsi/ufs/Makefile | 1 + drivers/scsi/ufs/ufs-hisi.c | 621 +++++++++++++++++++++ drivers/scsi/ufs/ufs-hisi.h | 114 ++++ 8 files changed, 812 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 v9: - solve review comments from Rob Herring. *remove clocks/clock-names/freq-table-hz from 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