Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3784153imm; Mon, 2 Jul 2018 05:38:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc7rTMVg/Ufb8uywvJLfp9UEp1rSW6nfOCnd/VwfM+sqwCGpvWeJH+btjTn7hYIYNlBJNdv X-Received: by 2002:a63:b605:: with SMTP id j5-v6mr20583713pgf.437.1530535081253; Mon, 02 Jul 2018 05:38:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530535081; cv=none; d=google.com; s=arc-20160816; b=rEbkXF8JM7BQycKtlWJP0W5B3X31E01feJXWABg/SXdBae+WiR/CemyXP2Xp6Gf3Yl bSKYNCSqti8wyLocQm8+YSqKjwIGn2xrg1Wd3ZK+Muyqv7MyImGABhUwEotk/+vQHjjD MGxUS1nWE9bd2marmQKLN7AK/FgRAspCCImtsy4wganu3IWDalO9ZB+ubiDo6hG7DmkV 7woeODrkVPmsiCoV+l6QYsZ7cyBOHXUS/DMWteUWgttAIE2PlEvRA1BR3kWBpqykXtG1 4LMj0p01aRkhCnVK5Tf6Fit9aCHMFgKCGt8RfzJLsj6Nob0cE1mCi3GYMnAIk3mBg/5t ctIA== 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=oAg8Q59ZaG856E93/V4IWecJNmo30YANBUjcRcg8fdDICQxZNHuvmgC8hSWtXe2X6g aH+JtGbstjvIyzNJQmXyOPg1/LZLlfp0FJrFhjlJ7/0hGgp1VoS1ofmfiqG5+r7hkPea 0xA8zMsutc6K/2b03dr2kVeHXuSvKiHK6FyZ80O+DRy5Qx6P0y2rO9H6flVHpHIzo419 chl18Q2VJnQmqF2SGvY+xwtp72z/YHeY3BrD4eu3lgskioE7AqwxTJoWoquTqExikd0U LJwbuThQOXvWOPhdQopLorbiFPDorJSnrWjUi8fUX4Z3u0veTgOSvqHw6wrc5gGnV+LE wT5w== 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 u3-v6si16294180plb.2.2018.07.02.05.37.47; Mon, 02 Jul 2018 05:38:01 -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 S964846AbeGBJf7 (ORCPT + 99 others); Mon, 2 Jul 2018 05:35:59 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:59015 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S933423AbeGBJf6 (ORCPT ); Mon, 2 Jul 2018 05:35:58 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id CF21231311901; Mon, 2 Jul 2018 17:35:53 +0800 (CST) Received: from vm107-89-192.huawei.com (100.107.89.192) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.382.0; Mon, 2 Jul 2018 17:35:48 +0800 From: Li Wei To: , , , , , , , , , , , , , , , , , , CC: , , , , , , , , Subject: [PATCH v11 0/4] scsi: ufs: add ufs driver code for Hisilicon Hi3660 SoC Date: Mon, 2 Jul 2018 17:35:43 +0800 Message-ID: <20180702093547.39507-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