From patchwork Wed Oct 9 11:21:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 13828242 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 96C3BCEDD87 for ; Wed, 9 Oct 2024 11:58:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9yc2bquJWnC0TuLEtllIK7qV555Ljs382cn6kxswI5k=; b=1NnDT32Kf9NKwrvLZkKRE7qswi X8sSyWKUrzTrZ1lL3FDu0whsloPcCA54ib1DM4kei44A7lb/RedgpUiXNF0ozD3vIyu4nuT2Dbd8m MKlmAyHWshk3dTqnVcz4V+sQHqh3Ci2qZNRfp8tgJdkTfRy2QxmfcKQ3xplsJEbQnnDsbQxVkvSZz H+nPdttmtM2JjDHNgrz8oOPqsHGpDN2WEcTx5HrcS5+E5X2Xc31SqKtsy89hyg+R/MYxAdr98SsUR Z7ttt6VpClL//JxkfQKtDsEKgE7OpE9a3dyjLJAan2jijKIKvSFaovZ8AbIttZUf6lSAw0UzG0tby g16EBEjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syVKA-000000097Vm-1xqp; Wed, 09 Oct 2024 11:57:50 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syUlU-000000092Wg-3pJR for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 11:22:02 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-42cbbb1727eso67910275e9.2 for ; Wed, 09 Oct 2024 04:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728472917; x=1729077717; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9yc2bquJWnC0TuLEtllIK7qV555Ljs382cn6kxswI5k=; b=WF/Mikxkx0eVgFfIFFDzZAuJl47U3PveEcYpzPIdpM+o9+y3IR3xBGFUr32jX5+Nwz fbw6ebAl5tq13oZv6KEkTs6Ad3ZgS7cOrBZWDPZ97Zyl/Bw7J8eyR10YTN0cdUBTFmJy Zeodbd//RHhgjdfRnnrCzDql+SFiOPY0AkSP10P6ANx5bWwCtcgUMTfwRntC0hU7ASnA 1/E+Ny2uCzLDH0wx51MHtBakKIqV98n9Qtt2kklskmRKESQnbMhtcTN54vOc6/ZtuhX9 D/QPeYVljhCtacGaggbPPLNDIbIw7GjSLe3og5zXqtYQkPwO98eEF+hZef3G4zZnnbv1 QcCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728472917; x=1729077717; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9yc2bquJWnC0TuLEtllIK7qV555Ljs382cn6kxswI5k=; b=jOXFOUmDd9eQiN3hHl/zlRb+ipJsLNuir17GP9wFhXNNNKRU3ZD6TK+lieJTqW3yEy C0YyN8Z0PRARAqy7OyjN7sjUsDEo9VcN2ydHlre0FeTCC+UlonwM5hZBz5PaNU5qf5UM WGn3v7wgtH3yfzpc0RvIT4q4QOusjUsBthpYl/q+TGFVnYnRsgHYs8HTl6QM/8LSgIpV sI8xib3oGZz8GSeEa8C0V3f8qIWIHOkvvHVkHiJ0/ScmgBPRha6os14kLtnH1RRohaeN CO2403/YgBQ1i4qVvKW6mKD6HDIc2A1Qn/4OjSeQ4zsKN7+lmmfuya/SjzcFJ4NRsbe2 7IaQ== X-Forwarded-Encrypted: i=1; AJvYcCXlC1ps6zCi0qnl3Q64GuiLiaVSmxQWQha06bIXLTzZpdk3WAVeuZgA5X4ly23J5n2MxlP7zaEje077RKmvTmA6@lists.infradead.org X-Gm-Message-State: AOJu0YyqYXnJ01AGodhiRq5eT/bitogURtxVFACuXeKvtMZt46CMxbu6 JAKD0AG1+VCd6pM/TKQJfkmyTO3foqMOcCHNQ4+rKmwSdLEERq+F2N6xws4Av+c= X-Google-Smtp-Source: AGHT+IGVIzAhsUABVyJOyEwZGVXwYpzikVWau3b/o+ECvGcy7vkekMhISm+whoMp+we4FD4krW7kMg== X-Received: by 2002:a05:600c:45d1:b0:42c:a905:9384 with SMTP id 5b1f17b1804b1-430ccf4affemr14524345e9.20.1728472917542; Wed, 09 Oct 2024 04:21:57 -0700 (PDT) Received: from gpeter-l.lan ([145.224.65.7]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4310c3dcdcbsm12331445e9.0.2024.10.09.04.21.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2024 04:21:57 -0700 (PDT) From: Peter Griffin To: alim.akhtar@samsung.com, James.Bottomley@HansenPartnership.com, martin.petersen@oracle.com, avri.altman@wdc.com, bvanassche@acm.org, krzk@kernel.org Cc: tudor.ambarus@linaro.org, andre.draszik@linaro.org, kernel-team@android.com, willmcvicker@google.com, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Griffin Subject: [PATCH 5/7] scsi: ufs: exynos: gs101: remove unused phy attribute fields Date: Wed, 9 Oct 2024 12:21:39 +0100 Message-ID: <20241009112141.1771087-6-peter.griffin@linaro.org> X-Mailer: git-send-email 2.47.0.rc0.187.ge670bccf7e-goog In-Reply-To: <20241009112141.1771087-1-peter.griffin@linaro.org> References: <20241009112141.1771087-1-peter.griffin@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_042200_972612_E20ED274 X-CRM114-Status: GOOD ( 10.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Now that exynos_ufs_specify_phy_time_attr() checks the appropriate EXYNOS_UFS_OPT_SKIP_CONFIG_PHY_ATTR flag. Remove the unused fields in gs101_uic_attr. Signed-off-by: Peter Griffin --- drivers/ufs/host/ufs-exynos.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/drivers/ufs/host/ufs-exynos.c b/drivers/ufs/host/ufs-exynos.c index a1a2fdcb8a40..9d668d13fe94 100644 --- a/drivers/ufs/host/ufs-exynos.c +++ b/drivers/ufs/host/ufs-exynos.c @@ -2068,26 +2068,6 @@ static const struct exynos_ufs_drv_data exynos_ufs_drvs = { static struct exynos_ufs_uic_attr gs101_uic_attr = { .tx_trailingclks = 0xff, - .tx_dif_p_nsec = 3000000, /* unit: ns */ - .tx_dif_n_nsec = 1000000, /* unit: ns */ - .tx_high_z_cnt_nsec = 20000, /* unit: ns */ - .tx_base_unit_nsec = 100000, /* unit: ns */ - .tx_gran_unit_nsec = 4000, /* unit: ns */ - .tx_sleep_cnt = 1000, /* unit: ns */ - .tx_min_activatetime = 0xa, - .rx_filler_enable = 0x2, - .rx_dif_p_nsec = 1000000, /* unit: ns */ - .rx_hibern8_wait_nsec = 4000000, /* unit: ns */ - .rx_base_unit_nsec = 100000, /* unit: ns */ - .rx_gran_unit_nsec = 4000, /* unit: ns */ - .rx_sleep_cnt = 1280, /* unit: ns */ - .rx_stall_cnt = 320, /* unit: ns */ - .rx_hs_g1_sync_len_cap = SYNC_LEN_COARSE(0xf), - .rx_hs_g2_sync_len_cap = SYNC_LEN_COARSE(0xf), - .rx_hs_g3_sync_len_cap = SYNC_LEN_COARSE(0xf), - .rx_hs_g1_prep_sync_len_cap = PREP_LEN(0xf), - .rx_hs_g2_prep_sync_len_cap = PREP_LEN(0xf), - .rx_hs_g3_prep_sync_len_cap = PREP_LEN(0xf), .pa_dbg_opt_suite1_val = 0x90913C1C, .pa_dbg_opt_suite1_off = PA_GS101_DBG_OPTION_SUITE1, .pa_dbg_opt_suite2_val = 0xE01C115F,