From patchwork Sat Jan 5 07:28:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 10749161 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9913713B5 for ; Sat, 5 Jan 2019 07:29:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 813AE2863B for ; Sat, 5 Jan 2019 07:29:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 750A2287AE; Sat, 5 Jan 2019 07:29:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 223B12863B for ; Sat, 5 Jan 2019 07:29:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726102AbfAEH3S (ORCPT ); Sat, 5 Jan 2019 02:29:18 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:46896 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726101AbfAEH3S (ORCPT ); Sat, 5 Jan 2019 02:29:18 -0500 Received: by mail-pg1-f194.google.com with SMTP id w7so18414658pgp.13 for ; Fri, 04 Jan 2019 23:29:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=y2kjBfabd8Ed22a6YMy+7qr6U4HPwKuqVjrbxxMoTC0=; b=bk66Cz+E38O/ZC4NZ3HWn4zbC4Z3nv6wD0dd6SVzho7SuWmKjSl0+9VIgg1un9Pgei TNShcJxBqQ2L0ttG6uaXAMf4ASRI85yVr7NWPq4V3wpDSYkk0egW2TVi6pBiMFQguzzC Dxoiox0dAuHnmSYs2OAeXxOsPwpR5lD7G0f9I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=y2kjBfabd8Ed22a6YMy+7qr6U4HPwKuqVjrbxxMoTC0=; b=nFLPId6ugodw8OO0nHHb4o5kVkmzU7ilr/JpVzNZNIin05x6CGL3SQtNtmKlKGU6CV YhhkbD65tXxVlKFwLH6yKCMreg2gvMa+TVakI6V5rBrh5n541z1GvjAz37kL5Ci+rtnn iOkOG1Lorx6vCbkhntO7uKcwrw+HS9mMbYi7GG9pld4NUB7vU9HbZP8uxcp3DRfZt98S OCLYct70eCrCB3N13KrV0hzpNvWxhZDQPFyjeatjVfg1XW2UmP1W8um9sjkUUMw9uAlh ZhAAT3t2z0KWl2e4NZM4fABoMaYk3YxykCcxY6UV5PhBjXRa0xj3G7mfK2M+LQrXPx1E QfJg== X-Gm-Message-State: AA+aEWYFdGXFXd9vDbT264P1MIAGb6JoRm2UWdHpI7w44E6p6VhtqaEy VnzL8oklQAUQGKzS001AzCIs X-Google-Smtp-Source: AFSGD/WfGxk0zTINcDE2Y4BN6JhcC+qf57cdNyTjKpB7QDFvlEVSKhuFgfRqChT7SBSqXK3F6frjmw== X-Received: by 2002:a62:1c86:: with SMTP id c128mr57541884pfc.54.1546673357404; Fri, 04 Jan 2019 23:29:17 -0800 (PST) Received: from localhost.localdomain ([2405:204:72cb:a88d:406c:3ac8:e78f:4779]) by smtp.gmail.com with ESMTPSA id k24sm90677367pfj.13.2019.01.04.23.29.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Jan 2019 23:29:16 -0800 (PST) From: Manivannan Sadhasivam To: vinholikatti@gmail.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, liwei213@huawei.com, robh+dt@kernel.org Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, john.stultz@linaro.org, amit.kucheria@linaro.org, guodong.xu@linaro.org, Manivannan Sadhasivam Subject: [PATCH v2 0/3] Add UFS controller support for HI3670 SoC Date: Sat, 5 Jan 2019 12:58:56 +0530 Message-Id: <20190105072859.9134-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hello, This patchset adds UFS controller support for HiSilicon HI3670 SoC. HI3760 SoC is very similar to HI3660 SoC with almost same IPs, hence the same driver is extended to provide UFS support. Only major difference is the PHY. HI3670 has 10nm PHY, hence that parameter is used to distinguish the difference between two in driver. Thanks, Mani Changes in v2: As per Rob's review: * Removed interrupt-parent property from binding. * Fixed the bindings patch commit message. Manivannan Sadhasivam (3): dt-bindings: ufs: Add HI3670 UFS controller binding arm64: dts: hisilicon: hi3670: Add UFS controller support scsi: ufs: Add HI3670 SoC UFS driver support .../devicetree/bindings/ufs/ufs-hisi.txt | 5 +- arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 18 +++ drivers/scsi/ufs/ufs-hisi.c | 127 +++++++++++++++--- drivers/scsi/ufs/ufs-hisi.h | 4 + 4 files changed, 130 insertions(+), 24 deletions(-)