Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1020763imm; Tue, 5 Jun 2018 08:00:14 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ1ygNso4bztRdfl7KScrXtCIwTpCmDlii/OjgxLbSGPTAS3mk2WP1g+7XKPG/B29CPWfXg X-Received: by 2002:a63:2682:: with SMTP id m124-v6mr10947590pgm.56.1528210814418; Tue, 05 Jun 2018 08:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528210814; cv=none; d=google.com; s=arc-20160816; b=oJ5xcT85zO+2M6mNQllH3qF66dia89NUJb3Hw9RgSOlBRFPSJ9TgZYrye9FtMfjooT VeLgLQvBalWzuyu3a1NssDJPJe+Xnh20o2kCSv1zRKvt74XdsVcQEpTZZHUt2EjP6K5a MgdkT4T0u6FTlvPGsjGZjSzDbg1kgcl7+TRtMSRqwVV+/DgmaVjsiHIMgUPA/U6HQFdW NKqKDwQekovprCQVSdl8QtmEreuC0d4WkmY01X/0BEsMbrlhc3oFUr7+OntoymCv5GqH pX5NWB4nK8CT3SWhX949Uz1WlS99kMzRdw8iMNw5sQPHVW880ZfX7tOMIZ2WFnqqGZVT R66w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=Lk2wrBvzEaTvGgjuytnntwmm5kDPD6CASNaiuFpMfBs=; b=zfdXw/ez58VaJSXieIOuzLRB7RcQd7E/HaH3Y5wgCxk655I2Sm54JmmjO/5eEXDixU Pr6kXKJe2+/uydiSHRHMlijl4+pf9p05sxzyPBc0WK3wh8+S4FtA1YMKgcQOudvQkBV5 wZvr/AuGk9BffkJ0w2kfRgpfPOi+XEPWoHYH271E1dJsUtvey8+NZMtVAAk2MHYYuJNt kkEC9DeCbfuW4kq93GBRjf4PC5Jbqt16pYTWS6ZFZoWsNH/ZPtO6VU3fxw8LkKTR9eAg nTnHxDN8l7jaruMKJES7cei1mUv0D7kkxxgE7OckP8BonFBoRZS3TKvsba6wcLiH0rHb K16A== 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 u1-v6si9716643pgo.114.2018.06.05.07.59.59; Tue, 05 Jun 2018 08:00:14 -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 S1752476AbeFEO7g (ORCPT + 99 others); Tue, 5 Jun 2018 10:59:36 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:56984 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751925AbeFEO7e (ORCPT ); Tue, 5 Jun 2018 10:59:34 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0D4141596; Tue, 5 Jun 2018 07:59:34 -0700 (PDT) Received: from [10.1.206.36] (e113632-lin.cambridge.arm.com [10.1.206.36]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E0D193F557; Tue, 5 Jun 2018 07:59:29 -0700 (PDT) Subject: Re: [PATCH v10 0/5] scsi: ufs: add ufs driver code for Hisilicon Hi3660 SoC To: Li Wei , robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, vinholikatti@gmail.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, khilman@baylibre.com, arnd@arndb.de, gregory.clement@free-electrons.com, thomas.petazzoni@free-electrons.com, yamada.masahiro@socionext.com, riku.voipio@linaro.org, treding@nvidia.com, krzk@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-scsi@vger.kernel.org Cc: zangleigang@hisilicon.com, gengjianfeng@hisilicon.com, guodong.xu@linaro.org, puck.chen@hisilicon.com, john.stultz@linaro.org, fengbaopeng@hisilicon.com References: <20180525091712.37227-1-liwei213@huawei.com> From: Valentin Schneider Message-ID: Date: Tue, 5 Jun 2018 15:59:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180525091712.37227-1-liwei213@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 25/05/18 10:17, Li Wei wrote: > 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. > Tested on top of linux-next (4.17.0-next-20180605), I can reliably load my debian userspace flashed on the 'system' fastboot partition. Tested-by: Valentin Schneider