Received: by 10.223.185.116 with SMTP id b49csp3429475wrg; Tue, 13 Feb 2018 02:17:02 -0800 (PST) X-Google-Smtp-Source: AH8x227T4h57UJLh0eXAbFkh0iF/Gp0M+hWDy9EOMib2HWSqAzYmFiNHhCuHgtGnamrc2J4+jBk+ X-Received: by 10.98.79.65 with SMTP id d62mr762748pfb.138.1518517022534; Tue, 13 Feb 2018 02:17:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518517022; cv=none; d=google.com; s=arc-20160816; b=0eAJigFrgQSaauev+OwQdC3bV0jLOYCgcMqESZna7MOcEpJwX/7DvYy+Oh1lHUdwuW miuzxEfR8Jl8+r2uJkw6crdZ/DKyDhnf3nwYIcTAIuiaol/c/XDj4LhZRXYWZi7wIAfU FwLgAaTdNf7kal0oIJNgJQyhpOFwC6GiPQ+ost5z1K82FpZkxvtWbELwRUfcg5JmB+5+ HJ70mjWgRgs4aRmsSjhwaeezcLquePtqqe66G5bb5DWVhRx0vh5cOn1pWbMaziBIF5xd /+Ikv9H4B815uS/i6kSKzstp7yr24CyjASZd1/hnCM43e4n+1fQOH2TPm7pZEzuh5A4C O4ww== 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=kaueSSlR58cGZqpsoRnmynPEci5nbt0gp6+4lsZTHqE=; b=tsmTvEKKkLKLH466j8Gb2Ve4xhUEVnrsepDeeardLOSEyuDeKNw+gr1LDvLWcDpN3t uKcXpFU9F7Ti2iKVcZfMX2aHWshjduGO1V2mgwu7JvsM9T3soSM8RUy4lxz2arz3HUFn 4SqbF/dyVIsJWCpOjzxiSIc/rWfIH4WU0X8SF/v9Jv6V2XVWPOfS8iYfFipPpb2Bbqng Z0ex3oZyGQTgng+RaDk/rvGHVsrxPdy5836qQqp3Z7u3AWMjSaUW1ZsPNzaZxG0Zu9IC 7k9Ya0+yCjUGd/0GwHLEXXbWIVafT6Zz4jeKpJp+fX9iMMx9M41nMxRNUUBo2V3gnz0V BuqQ== 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 c11-v6si1018875plr.611.2018.02.13.02.16.47; Tue, 13 Feb 2018 02:17:02 -0800 (PST) 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 S934097AbeBMKOl (ORCPT + 99 others); Tue, 13 Feb 2018 05:14:41 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:46940 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S933845AbeBMKOX (ORCPT ); Tue, 13 Feb 2018 05:14:23 -0500 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 5E7A0A312E586; Tue, 13 Feb 2018 18:14:19 +0800 (CST) Received: from vm107-89-192.huawei.com (100.107.89.192) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.361.1; Tue, 13 Feb 2018 18:14:13 +0800 From: Li Wei To: , , , , , , , , , , , , , , , , , , , , CC: , , , , , Subject: [PATCH v8 0/5] scsi: ufs: add ufs driver code for Hisilicon Hi3660 SoC Date: Tue, 13 Feb 2018 18:14:07 +0800 Message-ID: <20180213101412.5717-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 | 37 ++ arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 19 + arch/arm64/configs/defconfig | 11 + drivers/scsi/ufs/Kconfig | 9 + drivers/scsi/ufs/Makefile | 1 + drivers/scsi/ufs/ufs-hisi.c | 623 +++++++++++++++++++++ drivers/scsi/ufs/ufs-hisi.h | 116 ++++ 7 files changed, 816 insertions(+) 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 v7: - solve review comments from Philippe Ombredanne. *use the new SPDX license ids instead of the GNU General Public License. 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. 2.15.0