From patchwork Mon Sep 26 14:58:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyuho Choi X-Patchwork-Id: 9350803 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0D3DB6077A for ; Mon, 26 Sep 2016 14:58:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F311028AD8 for ; Mon, 26 Sep 2016 14:58:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E750B28AE4; Mon, 26 Sep 2016 14:58:34 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 0CEE628AD8 for ; Mon, 26 Sep 2016 14:58:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1034350AbcIZO6c (ORCPT ); Mon, 26 Sep 2016 10:58:32 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:36582 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034251AbcIZO6b (ORCPT ); Mon, 26 Sep 2016 10:58:31 -0400 Received: by mail-pf0-f194.google.com with SMTP id n24so9244541pfb.3 for ; Mon, 26 Sep 2016 07:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=B8IjCBnZ8P8QCZr4abGFyM3kuEZHORcQaPyDAJd7B6k=; b=BDLFILE8t8Igr7a+k7mAMcAtl2mZdSvDPmfLjtdahXlX1mF+Hf5PfJrwYM9Pm+2wsS nmRArCr3Klvy2IR820/3oeTQSp801LPp+P1g1Gwvxj3ltsmly/R/zziocEQHtz7RcnST MRbJ19KorglMcyRuMUDImNaOXHwa567UGfqZVSzBTo1i/LPVfvcKe5rLkKYmVcQlZYq4 gZybw38CL2MiH+lDAlZxQa403xZyUoOYW0WhpLqpmdFz7xKOk98IdoiRYQ9QGI4KQTpM SVJ4s0OlVGxzx3ScW5u+hLHEbWGd2stBrpDLo3lGGyuB+DLnPsqxrQpS5yblIJulIvBI 6GCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=B8IjCBnZ8P8QCZr4abGFyM3kuEZHORcQaPyDAJd7B6k=; b=BURD6JlYYE/VL3BfRUTf0S7e2MOmirrS255C0WKCiOmkD4qg45LnwbhOrVEVkNPIF4 GcpIqLumrXrovMLsq/pV4Y35uFIaMEWobNAD4ZKaVQLZi6LbgfjkdH4J+kBkTuo6jojL ERyg7CmYblNN/su7riFZGfs7dV+Q9YiUqMA5UQSSqR5p+inwVmI4UX31N/RL+GKIQGgi DTATM3Kg2pyJnmgkvV/2rLVMZbTEuQJHJBjHG+cFwoWX5JhzgEaivFIGKn/r0qEW2Vku vO6MTwSvzWID/pynYndNlXhgRQavR1g2Kg2RpTd1JpwzYx2RxG72182sR4k6dhlXyq0b 6nDg== X-Gm-Message-State: AA6/9RmJAjOjJHHmKt1x67B1DQZlO+6lUpr1sn5UXBX53TOcwrVvCrW9Elz0ln/+j8KkOg== X-Received: by 10.98.94.5 with SMTP id s5mr15681936pfb.126.1474901910982; Mon, 26 Sep 2016 07:58:30 -0700 (PDT) Received: from localhost.localdomain ([112.168.21.88]) by smtp.gmail.com with ESMTPSA id xv9sm31881163pab.36.2016.09.26.07.58.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Sep 2016 07:58:30 -0700 (PDT) From: Kyuho Choi X-Google-Original-From: Kyuho Choi To: vinholikatti@gmail.com, martin.petersen@oracle.com Cc: linux-scsi@vger.kernel.org, Kyuho Choi Subject: [PATCH] scsi: ufs: enable no vccq quirk for skhynix device Date: Mon, 26 Sep 2016 23:58:25 +0900 Message-Id: <1474901905-21551-1-git-send-email-kyuho.choi@sk.com> X-Mailer: git-send-email 2.7.4 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 This patch enable no vccq quirk for SKHynix devices. SKHynix ufs device don't need vccq vrail for device operation. Signed-off-by: Kyuho Choi Reviewed-by: Subhash Jadavani --- drivers/scsi/ufs/ufs_quirks.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/ufs/ufs_quirks.h b/drivers/scsi/ufs/ufs_quirks.h index ee4ab85..22f881e 100644 --- a/drivers/scsi/ufs/ufs_quirks.h +++ b/drivers/scsi/ufs/ufs_quirks.h @@ -25,6 +25,7 @@ #define UFS_VENDOR_TOSHIBA 0x198 #define UFS_VENDOR_SAMSUNG 0x1CE +#define UFS_VENDOR_SKHYNIX 0x1AD /** * ufs_device_info - ufs device details @@ -145,6 +146,7 @@ static struct ufs_dev_fix ufs_fixups[] = { UFS_DEVICE_QUIRK_PA_TACTIVATE), UFS_FIX(UFS_VENDOR_TOSHIBA, "THGLF2G9D8KBADG", UFS_DEVICE_QUIRK_PA_TACTIVATE), + UFS_FIX(UFS_VENDOR_SKHYNIX, UFS_ANY_MODEL, UFS_DEVICE_NO_VCCQ), END_FIX };