From patchwork Wed Jun 15 12:12:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 12882248 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 03D69C433EF for ; Wed, 15 Jun 2022 12:16:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: List-Owner; bh=CF8TX+gW5p5AF7mWFOGQu70S2YElU6M7PpsCzkigJBU=; b=itiUfGU6/i/yDt Pt8gS6tAjGvO5Bjp7MuUYKL0rXPeIhmmtLaDt+Q7tmaBmpLzCQUh3G0MdS0npPJK21Y9fA/9Fxi3g XgfSD9wP6ndsqK1joSj8hnjl6OOnadCyY8JKFKHHn4Upz4dO6FuqHMREMSF1enVjDI7bvHf9lz8ut 93wl/yyjIts2SLWYctCE0x62cu/O8PSg3PmA4BcjJt9MhgO5jzLY8WCOrMOQlSAJQPwqtdQURiimE GDnfSSza7+8MTLXdgKT93GG4DafKMIhojeDUV85zQa/cVq5zirpQz2F48Pc7yWYPAVvB6xT0Q4mzE uzg6nD7nliSV2MpgDiPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1Rvh-00EPfs-Ig; Wed, 15 Jun 2022 12:15:25 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1Rvb-00EPaw-QX for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2022 12:15:22 +0000 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220615121512epoutp04bfd0047c019e90a52dcb40a8f23ce03a~4ylEf7wXY2368723687epoutp04N for ; Wed, 15 Jun 2022 12:15:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220615121512epoutp04bfd0047c019e90a52dcb40a8f23ce03a~4ylEf7wXY2368723687epoutp04N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1655295312; bh=45EVsfyKlrStPGc+fbkJ+/PhzRWuoeaPcj31oX5+kQI=; h=From:To:Cc:Subject:Date:References:From; b=C1Nxx2YBs4fWdDBTN1/Up2alOxOsjlQTPxQYDaAq/aDlNTCpoQVqIfmkBl1Rg7b8b d2ry41oa8tD1g7JtHerV2cirBWUNsjxKXAuolP5KgeavU7Thy5OMyyNNu1JqVYgHqW 3958t3dDxLdZFpFZgYBU1QwZwRgV9+sGo++lG+zc= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20220615121511epcas5p3619574d4c9ea0cefacc447dca0bc8390~4ylDofWAz2105621056epcas5p3E; Wed, 15 Jun 2022 12:15:11 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.182]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4LNPQ55SD9z4x9Px; Wed, 15 Jun 2022 12:15:09 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 37.87.09762.D4DC9A26; Wed, 15 Jun 2022 21:15:09 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20220615121508epcas5p3a42f8503bb6c6120cb4c0606109fe9c4~4ylAqOeyM1809018090epcas5p3W; Wed, 15 Jun 2022 12:15:08 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20220615121508epsmtrp25980d86e295ce4be58a76bc40688f8b0~4ylApTicz0134601346epsmtrp2w; Wed, 15 Jun 2022 12:15:08 +0000 (GMT) X-AuditID: b6c32a4b-1fdff70000002622-a4-62a9cd4d9fed Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id A6.72.08924.C4DC9A26; Wed, 15 Jun 2022 21:15:08 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220615121505epsmtip25af5427dbaad4a1ac93d29b318c37e44~4yk9oJ11A0845808458epsmtip2g; Wed, 15 Jun 2022 12:15:05 +0000 (GMT) From: Alim Akhtar To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org Cc: beanhuo@micron.com, krzysztof.kozlowski+dt@linaro.org, avri.altman@wdc.com, bvanassche@acm.org, martin.petersen@oracle.com, chanho61.park@samsung.com, linux-samsung-soc@vger.kernel.org, Alim Akhtar Subject: [PATCH 1/3] ufs: host: ufs-exynos: remove unused defines Date: Wed, 15 Jun 2022 17:42:02 +0530 Message-Id: <20220615121204.16642-1-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFKsWRmVeSWpSXmKPExsWy7bCmhq7v2ZVJBls3a1o8mLeNzeLlz6ts FgcfdrJYTPvwk9ni8n5ti74XD5ktNj2+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120cb4c0606109fe9c4 X-Msg-Generator: CA CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220615121508epcas5p3a42f8503bb6c6120cb4c0606109fe9c4 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220615_051520_245860_10124496 X-CRM114-Status: GOOD ( 12.77 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Remove #defines as those are not used anywhere in the driver file Signed-off-by: Alim Akhtar Reviewed-by: Chanho Park --- drivers/ufs/host/ufs-exynos.c | 10 ---------- 1 file changed, 10 deletions(-) base-commit: 6012273897fefb12566580efedee10bb06e5e6ed diff --git a/drivers/ufs/host/ufs-exynos.c b/drivers/ufs/host/ufs-exynos.c index 068f881113ff..04728b5da040 100644 --- a/drivers/ufs/host/ufs-exynos.c +++ b/drivers/ufs/host/ufs-exynos.c @@ -136,16 +136,6 @@ enum { /* * UNIPRO registers */ -#define UNIPRO_COMP_VERSION 0x000 -#define UNIPRO_DME_PWR_REQ 0x090 -#define UNIPRO_DME_PWR_REQ_POWERMODE 0x094 -#define UNIPRO_DME_PWR_REQ_LOCALL2TIMER0 0x098 -#define UNIPRO_DME_PWR_REQ_LOCALL2TIMER1 0x09C -#define UNIPRO_DME_PWR_REQ_LOCALL2TIMER2 0x0A0 -#define UNIPRO_DME_PWR_REQ_REMOTEL2TIMER0 0x0A4 -#define UNIPRO_DME_PWR_REQ_REMOTEL2TIMER1 0x0A8 -#define UNIPRO_DME_PWR_REQ_REMOTEL2TIMER2 0x0AC - #define UNIPRO_DME_POWERMODE_REQ_REMOTEL2TIMER0 0x78B8 #define UNIPRO_DME_POWERMODE_REQ_REMOTEL2TIMER1 0x78BC #define UNIPRO_DME_POWERMODE_REQ_REMOTEL2TIMER2 0x78C0 From patchwork Wed Jun 15 12:12:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 12882249 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 9015DC43334 for ; Wed, 15 Jun 2022 12:16:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/bGKQEDqThnPQMRSUMpzv5LcBRELN6afeTMPj7noSOg=; b=yAZ4hxwX9Rq/uK o6exIDJ1DL/JlMEVrtkWgeZM1uupw+lnXxC4FHEwaLgM39+x92jV7T3zMxi1kMEJkglHb6nEIWWvJ BZlMKOhjFhzmsAwLGZ2JESH/gGybMCukT6hhqGiLorTu6IwtV8S06t1Knc7Qn7YZlCmZJqeOM5D41 kGnPtTB2pT176sVL+qkVGOnL9iQE7rcoC06vRwHDdGci55ZHjE9IC+8S32sxKkr8LKvdJzhzqTSUo qtTD6sSE5ypg5hZDKzl4kuR9APz3o05S8VyQwhqGtQzvUj+ndK78hn9xNHTOTEybjVkS5IONs8Ldt NrJl4K+Bs0c6QeguYDJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1Rvr-00EPij-7Z; Wed, 15 Jun 2022 12:15:35 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1Rvd-00EPcA-C9 for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2022 12:15:24 +0000 Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20220615121514epoutp013c28dc2d93a718ea254e8f8c3d6a32e2~4ylGTGp060781307813epoutp01i for ; Wed, 15 Jun 2022 12:15:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20220615121514epoutp013c28dc2d93a718ea254e8f8c3d6a32e2~4ylGTGp060781307813epoutp01i DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1655295314; bh=rt7zu6YaW3JrRH+QsNmwSsIeJCoaGLY0mVqfGMMxmHU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T+woY1plLl9c7cv1MARO95AlZCOKPWpnMGvf5opotRToezvDjQnHmEK2xHwl0loTZ 00TsjdS01vYWFGULRANLA9X6RUbu8g2KkILl+p+fWsoYk6k5dt5n6B/UBpJBFyyl86 hPFbhHD77C5VnYbfT3SKc6Jm1JQF0GpLwbCrRY38= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20220615121514epcas5p2c33b9729b5c3174c189e152b931d8e59~4ylF_z9su1721917219epcas5p2D; Wed, 15 Jun 2022 12:15:14 +0000 (GMT) Received: from epsmges5p2new.samsung.com (unknown [182.195.38.182]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4LNPQ81mBjz4x9Pp; Wed, 15 Jun 2022 12:15:12 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 37.85.09827.05DC9A26; Wed, 15 Jun 2022 21:15:12 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20220615121511epcas5p2d5afbc65ba52aa74cd18834ba771f718~4ylDjvPLJ0984109841epcas5p22; Wed, 15 Jun 2022 12:15:11 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20220615121511epsmtrp2657511d404b22246222217d412ea7019~4ylDi6gD00134501345epsmtrp2z; Wed, 15 Jun 2022 12:15:11 +0000 (GMT) X-AuditID: b6c32a4a-b51ff70000002663-83-62a9cd503179 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 77.72.08924.F4DC9A26; Wed, 15 Jun 2022 21:15:11 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220615121509epsmtip27245aa9e522984cb1a68b3a6b8928371~4ylBvNRxz0845808458epsmtip2h; Wed, 15 Jun 2022 12:15:09 +0000 (GMT) From: Alim Akhtar To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org Cc: beanhuo@micron.com, krzysztof.kozlowski+dt@linaro.org, avri.altman@wdc.com, bvanassche@acm.org, martin.petersen@oracle.com, chanho61.park@samsung.com, linux-samsung-soc@vger.kernel.org, Alim Akhtar Subject: [PATCH 2/3] ufs: host: ufs-exynos: use already existing define Date: Wed, 15 Jun 2022 17:42:03 +0530 Message-Id: <20220615121204.16642-2-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220615121204.16642-1-alim.akhtar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+Ng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V87e+JBz8pOqf28VVMapi+rM5wp JbA/wWNh6rm++Vwi99+dEFUNfh3eEvUpLji6RPzmAtHAw1rO089fFGV/fe9U1abkkG/nap01 H8oosRRnJBpqMRcVJwIA/JPDuc8CAAA= X-CMS-MailID: 20220615121511epcas5p2d5afbc65ba52aa74cd18834ba771f718 X-Msg-Generator: CA CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220615121511epcas5p2d5afbc65ba52aa74cd18834ba771f718 References: <20220615121204.16642-1-alim.akhtar@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220615_051521_835569_214B3CD5 X-CRM114-Status: GOOD ( 17.80 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org UFS core already uses RX_MIN_ACTIVATETIME_CAPABILITY macro, let's use the same in driver as well instead of having a different macro name for the same offset. Signed-off-by: Alim Akhtar Reviewed-by: Chanho Park --- drivers/ufs/host/ufs-exynos.c | 5 +++-- include/ufs/unipro.h | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ufs/host/ufs-exynos.c b/drivers/ufs/host/ufs-exynos.c index 04728b5da040..f971569bafc7 100644 --- a/drivers/ufs/host/ufs-exynos.c +++ b/drivers/ufs/host/ufs-exynos.c @@ -651,8 +651,9 @@ static void exynos_ufs_config_phy_cap_attr(struct exynos_ufs *ufs) if (attr->rx_min_actv_time_cap) ufshcd_dme_set(hba, - UIC_ARG_MIB_SEL(RX_MIN_ACTIVATETIME_CAP, - i), attr->rx_min_actv_time_cap); + UIC_ARG_MIB_SEL( + RX_MIN_ACTIVATETIME_CAPABILITY, i), + attr->rx_min_actv_time_cap); if (attr->rx_hibern8_time_cap) ufshcd_dme_set(hba, diff --git a/include/ufs/unipro.h b/include/ufs/unipro.h index 0521f887e3ac..ade92e8d3676 100644 --- a/include/ufs/unipro.h +++ b/include/ufs/unipro.h @@ -69,7 +69,6 @@ #define RX_HS_G2_PREP_LENGTH_CAP 0x0096 #define RX_HS_G3_PREP_LENGTH_CAP 0x0097 #define RX_ADV_GRANULARITY_CAP 0x0098 -#define RX_MIN_ACTIVATETIME_CAP 0x008F #define RX_HIBERN8TIME_CAP 0x0092 #define RX_ADV_HIBERN8TIME_CAP 0x0099 #define RX_ADV_MIN_ACTIVATETIME_CAP 0x009A From patchwork Wed Jun 15 12:12:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 12882250 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 E2A28C433EF for ; Wed, 15 Jun 2022 12:16:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nZSUo5xwqh7tjGn+repCGi650p+hV4pTwWJmMohkSlw=; b=2K49APaRh83bbx X38haWmH7PLjhcdX7O4tYojhozilhwt9kmQ9upb6rP6QvxO5ymbt9YCSpic4HBWm0MJi84G7E3hhX lgcQvP9Cdw3mM5rExB/8oi5icNWADY9P4RVQyqwldIjT2GH6cwJ+4hOKLIxvC1xpN+WFfG+OvQbyR c5MCBAnjFStPGdWQIk15N2fhZl768LJVodO/fmA+ythfz4wnBUuufa3hgk6dDp6g/YyECiXECqj0D AbwELf35AGZgIc9Uv1oJtIUEJkbRxDhJOhIIkD/VvD/yLSh7XhPw4z+uiK6ZGEpmVN5HC+1ikfUJV 5MP+1+WRJdMle5+avKYQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1Rw0-00EPkX-L8; Wed, 15 Jun 2022 12:15:44 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o1Rvd-00EPdH-Ds for linux-arm-kernel@lists.infradead.org; Wed, 15 Jun 2022 12:15:25 +0000 Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220615121518epoutp04cb0e466e710f20bc68248e69b881f329~4ylJerRv52120321203epoutp04P for ; Wed, 15 Jun 2022 12:15:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220615121518epoutp04cb0e466e710f20bc68248e69b881f329~4ylJerRv52120321203epoutp04P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1655295318; bh=5Ilj0JrS2l1vwaLwafYqmPNBBHc2ZRo4XhqkSS78FAk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=osa61Gktx/kc+raXmb7jVwDL4avr6wK/UvfwpRN6tQuX4uOydM53giC+TEG1dM2iI 8PhcrNTxU7HJjV9TaOWZp3fAtlYChjeeq7KmO+9Vl5Az7UaI1TnUSGn2B02nScTaFL jNp0eWSXUN28uVaI5qkzNiv4PUBMDLLkhtk+Aedc= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20220615121517epcas5p280fdc7a2e89eddd66da2605099d5120a~4ylJGHZGP0983109831epcas5p25; Wed, 15 Jun 2022 12:15:17 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.174]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4LNPQC6s4nz4x9Pr; Wed, 15 Jun 2022 12:15:15 +0000 (GMT) Received: from epcas5p4.samsung.com ( [182.195.41.42]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id D7.E9.10063.35DC9A26; Wed, 15 Jun 2022 21:15:15 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20220615121515epcas5p29fd5c0b2e215047926cb92507a9919c9~4ylGi3Lia0984109841epcas5p27; Wed, 15 Jun 2022 12:15:15 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220615121515epsmtrp18047fc871b18343fa2930f72177b2099~4ylGiEylU3132631326epsmtrp1e; Wed, 15 Jun 2022 12:15:15 +0000 (GMT) X-AuditID: b6c32a49-4cbff7000000274f-53-62a9cd53a9f4 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 71.17.11276.25DC9A26; Wed, 15 Jun 2022 21:15:14 +0900 (KST) Received: from Jaguar.sa.corp.samsungelectronics.net (unknown [107.108.73.139]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220615121512epsmtip24e1d46f7348c490c44fc68e88acf5099~4ylEWFLKO0846808468epsmtip20; Wed, 15 Jun 2022 12:15:12 +0000 (GMT) From: Alim Akhtar To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org Cc: beanhuo@micron.com, krzysztof.kozlowski+dt@linaro.org, avri.altman@wdc.com, bvanassche@acm.org, martin.petersen@oracle.com, chanho61.park@samsung.com, linux-samsung-soc@vger.kernel.org, Alim Akhtar Subject: [PATCH 3/3] include: ufs: re-arrange addresses in increasing order Date: Wed, 15 Jun 2022 17:42:04 +0530 Message-Id: <20220615121204.16642-3-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220615121204.16642-1-alim.akhtar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKKsWRmVeSWpSXmKPExsWy7bCmlm7w2ZVJBpNemVg8mLeNzeLlz6ts FgcfdrJYTPvwk9ni8n5ti74XD5ktNj2+xmpxedccNosJq76xWMw4v4/Jovv6DjaL5cf/MTnw eFy+4u1x59oeNo/NS+o9vq/vYPP4+PQWi0ffllWMHp83yXm0H+hmCuCIyrbJSE1MSS1SSM1L zk/JzEu3VfIOjneONzUzMNQ1tLQwV1LIS8xNtVVy8QnQdcvMAbpVSaEsMacUKBSQWFyspG9n U5RfWpKqkJFfXGKrlFqQklNgUqBXnJhbXJqXrpeXWmJlaGBgZApUmJCdsf+vS8Et04rWi31M DYzndLsYOTkkBEwkLi3+y9zFyMUhJLCbUeLj3UvsEM4nRol9iyaxQjjfgJxNu5i6GDnAWnYe qYGI72WUmPr8HSOE08Ik8WzXV1aQuWwC2hJ3p29hAkmICDQzShzs2AXmMAu8ZJRof3KBEaRK WMBbYsPOBywgNouAqsS9xqdMIDavgI3Er41XGCEulJdYveEAM8hqTgFbiTMPLSDCjRwS7U0C EBe5SHTtUYIIC0u8Or6FHcKWknjZ38YOUeIhseiPFEQ4Q+Lt8vVQw+0lDlyZwwJSwiygKbF+ lz5ImFmAT6L39xOod3klOtqEIKpVJZrfXWWBsKUlJnZ3s0LYHhL3P1+DBtUERolJlyezTGCU nYUwdQEj4ypGydSC4tz01GLTAsO81HJ4LCXn525iBKc/Lc8djHcffNA7xMjEwXiIUYKDWUmE 1yx4ZZIQb0piZVVqUX58U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lHye98+omo8vXVpgExTzli3+xrkwm/OifD5btrxYdZnmwWfPchNz2 OjM+h6gC0T+rDyS27bHPVgj9dKpz1U1XMa+qxsjJclnvY+skZqqrdul5/4hZfsj4R9blvmq7 5LsfxH5d7Y2MrZ09ZdHCF8fdvwnbfdJxOnT8Trxgn/eSxXZtoVYp38MXq2u8c+xbIb6jXfBf l1ldq6hJdrfKm2Jex826kV5ph0Lm1LTGFns5K8+/Fip7Rv6iL3NoTT17isCE9cKO3z9PjQ+Z dEY8KShzUc1zcS4NLc/nfy1de2bai+yc2Vu0y8HBIZatc2370+ezc+tUn10L9i5Y5jm7zkSJ pTgj0VCLuag4EQDFo/wozQIAAA== X-CMS-MailID: 20220615121515epcas5p29fd5c0b2e215047926cb92507a9919c9 X-Msg-Generator: CA CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220615121515epcas5p29fd5c0b2e215047926cb92507a9919c9 References: <20220615121204.16642-1-alim.akhtar@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220615_051521_873532_48EB174D X-CRM114-Status: GOOD ( 13.27 ) 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Rearrange all the unipro and mphy addresses in their increasing order. Signed-off-by: Alim Akhtar Reviewed-by: Chanho Park --- include/ufs/unipro.h | 102 +++++++++++++++++++++---------------------- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/include/ufs/unipro.h b/include/ufs/unipro.h index ade92e8d3676..4cbfe9272787 100644 --- a/include/ufs/unipro.h +++ b/include/ufs/unipro.h @@ -38,6 +38,18 @@ /* * M-RX Configuration Attributes */ +#define RX_HS_G1_SYNC_LENGTH_CAP 0x008B +#define RX_HS_G1_PREP_LENGTH_CAP 0x008C +#define RX_MIN_ACTIVATETIME_CAPABILITY 0x008F +#define RX_HIBERN8TIME_CAPABILITY 0x0092 +#define RX_HS_G2_SYNC_LENGTH_CAP 0x0094 +#define RX_HS_G3_SYNC_LENGTH_CAP 0x0095 +#define RX_HS_G2_PREP_LENGTH_CAP 0x0096 +#define RX_HS_G3_PREP_LENGTH_CAP 0x0097 +#define RX_ADV_GRANULARITY_CAP 0x0098 +#define RX_HIBERN8TIME_CAP 0x0092 +#define RX_ADV_HIBERN8TIME_CAP 0x0099 +#define RX_ADV_MIN_ACTIVATETIME_CAP 0x009A #define RX_MODE 0x00A1 #define RX_HSRATE_SERIES 0x00A2 #define RX_HSGEAR 0x00A3 @@ -47,31 +59,19 @@ #define RX_ENTER_HIBERN8 0x00A7 #define RX_BYPASS_8B10B_ENABLE 0x00A8 #define RX_TERMINATION_FORCE_ENABLE 0x00A9 -#define RX_MIN_ACTIVATETIME_CAPABILITY 0x008F -#define RX_HIBERN8TIME_CAPABILITY 0x0092 +#define RXCALCTRL 0x00B4 +#define RXSQCTRL 0x00B5 +#define CFGRXCDR8 0x00BA +#define CFGRXOVR8 0x00BD +#define CFGRXOVR6 0x00BF +#define RXDIRECTCTRL2 0x00C7 +#define CFGRXOVR4 0x00E9 #define RX_REFCLKFREQ 0x00EB #define RX_CFGCLKFREQVAL 0x00EC #define CFGWIDEINLN 0x00F0 -#define CFGRXCDR8 0x00BA #define ENARXDIRECTCFG4 0x00F2 -#define CFGRXOVR8 0x00BD -#define RXDIRECTCTRL2 0x00C7 #define ENARXDIRECTCFG3 0x00F3 -#define RXCALCTRL 0x00B4 #define ENARXDIRECTCFG2 0x00F4 -#define CFGRXOVR4 0x00E9 -#define RXSQCTRL 0x00B5 -#define CFGRXOVR6 0x00BF -#define RX_HS_G1_SYNC_LENGTH_CAP 0x008B -#define RX_HS_G1_PREP_LENGTH_CAP 0x008C -#define RX_HS_G2_SYNC_LENGTH_CAP 0x0094 -#define RX_HS_G3_SYNC_LENGTH_CAP 0x0095 -#define RX_HS_G2_PREP_LENGTH_CAP 0x0096 -#define RX_HS_G3_PREP_LENGTH_CAP 0x0097 -#define RX_ADV_GRANULARITY_CAP 0x0098 -#define RX_HIBERN8TIME_CAP 0x0092 -#define RX_ADV_HIBERN8TIME_CAP 0x0099 -#define RX_ADV_MIN_ACTIVATETIME_CAP 0x009A #define is_mphy_tx_attr(attr) (attr < RX_MODE) @@ -102,47 +102,50 @@ /* * PHY Adapter attributes */ -#define PA_ACTIVETXDATALANES 0x1560 -#define PA_ACTIVERXDATALANES 0x1580 -#define PA_TXTRAILINGCLOCKS 0x1564 #define PA_PHY_TYPE 0x1500 #define PA_AVAILTXDATALANES 0x1520 -#define PA_AVAILRXDATALANES 0x1540 -#define PA_MINRXTRAILINGCLOCKS 0x1543 -#define PA_TXPWRSTATUS 0x1567 -#define PA_RXPWRSTATUS 0x1582 -#define PA_TXFORCECLOCK 0x1562 -#define PA_TXPWRMODE 0x1563 -#define PA_LEGACYDPHYESCDL 0x1570 #define PA_MAXTXSPEEDFAST 0x1521 #define PA_MAXTXSPEEDSLOW 0x1522 #define PA_MAXRXSPEEDFAST 0x1541 #define PA_MAXRXSPEEDSLOW 0x1542 #define PA_TXLINKSTARTUPHS 0x1544 +#define PA_AVAILRXDATALANES 0x1540 +#define PA_MINRXTRAILINGCLOCKS 0x1543 #define PA_LOCAL_TX_LCC_ENABLE 0x155E +#define PA_ACTIVETXDATALANES 0x1560 +#define PA_CONNECTEDTXDATALANES 0x1561 +#define PA_TXFORCECLOCK 0x1562 +#define PA_TXPWRMODE 0x1563 +#define PA_TXTRAILINGCLOCKS 0x1564 #define PA_TXSPEEDFAST 0x1565 #define PA_TXSPEEDSLOW 0x1566 -#define PA_REMOTEVERINFO 0x15A0 +#define PA_TXPWRSTATUS 0x1567 #define PA_TXGEAR 0x1568 #define PA_TXTERMINATION 0x1569 #define PA_HSSERIES 0x156A +#define PA_LEGACYDPHYESCDL 0x1570 #define PA_PWRMODE 0x1571 +#define PA_ACTIVERXDATALANES 0x1580 +#define PA_CONNECTEDRXDATALANES 0x1581 +#define PA_RXPWRSTATUS 0x1582 #define PA_RXGEAR 0x1583 #define PA_RXTERMINATION 0x1584 #define PA_MAXRXPWMGEAR 0x1586 #define PA_MAXRXHSGEAR 0x1587 +#define PA_PACPREQTIMEOUT 0x1590 +#define PA_PACPREQEOBTIMEOUT 0x1591 +#define PA_REMOTEVERINFO 0x15A0 +#define PA_LOGICALLANEMAP 0x15A1 +#define PA_SLEEPNOCONFIGTIME 0x15A2 +#define PA_STALLNOCONFIGTIME 0x15A3 +#define PA_SAVECONFIGTIME 0x15A4 #define PA_RXHSUNTERMCAP 0x15A5 #define PA_RXLSTERMCAP 0x15A6 #define PA_GRANULARITY 0x15AA -#define PA_PACPREQTIMEOUT 0x1590 -#define PA_PACPREQEOBTIMEOUT 0x1591 #define PA_HIBERN8TIME 0x15A7 #define PA_LOCALVERINFO 0x15A9 #define PA_GRANULARITY 0x15AA #define PA_TACTIVATE 0x15A8 -#define PA_PACPFRAMECOUNT 0x15C0 -#define PA_PACPERRORCOUNT 0x15C1 -#define PA_PHYTESTCONTROL 0x15C2 #define PA_PWRMODEUSERDATA0 0x15B0 #define PA_PWRMODEUSERDATA1 0x15B1 #define PA_PWRMODEUSERDATA2 0x15B2 @@ -155,12 +158,9 @@ #define PA_PWRMODEUSERDATA9 0x15B9 #define PA_PWRMODEUSERDATA10 0x15BA #define PA_PWRMODEUSERDATA11 0x15BB -#define PA_CONNECTEDTXDATALANES 0x1561 -#define PA_CONNECTEDRXDATALANES 0x1581 -#define PA_LOGICALLANEMAP 0x15A1 -#define PA_SLEEPNOCONFIGTIME 0x15A2 -#define PA_STALLNOCONFIGTIME 0x15A3 -#define PA_SAVECONFIGTIME 0x15A4 +#define PA_PACPFRAMECOUNT 0x15C0 +#define PA_PACPERRORCOUNT 0x15C1 +#define PA_PHYTESTCONTROL 0x15C2 #define PA_TXHSADAPTTYPE 0x15D4 /* Adpat type for PA_TXHSADAPTTYPE attribute */ @@ -172,9 +172,9 @@ #define PA_HIBERN8_TIME_UNIT_US 100 /*Other attributes*/ +#define VS_POWERSTATE 0xD083 #define VS_MPHYCFGUPDT 0xD085 #define VS_DEBUGOMC 0xD09E -#define VS_POWERSTATE 0xD083 #define PA_GRANULARITY_MIN_VAL 1 #define PA_GRANULARITY_MAX_VAL 6 @@ -245,27 +245,27 @@ enum ufs_unipro_ver { /* * Data Link Layer Attributes */ +#define DL_TXPREEMPTIONCAP 0x2000 +#define DL_TC0TXMAXSDUSIZE 0x2001 +#define DL_TC0RXINITCREDITVAL 0x2002 +#define DL_TC1TXMAXSDUSIZE 0x2003 +#define DL_TC1RXINITCREDITVAL 0x2004 +#define DL_TC0TXBUFFERSIZE 0x2005 +#define DL_TC1TXBUFFERSIZE 0x2006 #define DL_TC0TXFCTHRESHOLD 0x2040 #define DL_FC0PROTTIMEOUTVAL 0x2041 #define DL_TC0REPLAYTIMEOUTVAL 0x2042 #define DL_AFC0REQTIMEOUTVAL 0x2043 #define DL_AFC0CREDITTHRESHOLD 0x2044 #define DL_TC0OUTACKTHRESHOLD 0x2045 +#define DL_PEERTC0PRESENT 0x2046 +#define DL_PEERTC0RXINITCREVAL 0x2047 #define DL_TC1TXFCTHRESHOLD 0x2060 #define DL_FC1PROTTIMEOUTVAL 0x2061 #define DL_TC1REPLAYTIMEOUTVAL 0x2062 #define DL_AFC1REQTIMEOUTVAL 0x2063 #define DL_AFC1CREDITTHRESHOLD 0x2064 #define DL_TC1OUTACKTHRESHOLD 0x2065 -#define DL_TXPREEMPTIONCAP 0x2000 -#define DL_TC0TXMAXSDUSIZE 0x2001 -#define DL_TC0RXINITCREDITVAL 0x2002 -#define DL_TC0TXBUFFERSIZE 0x2005 -#define DL_PEERTC0PRESENT 0x2046 -#define DL_PEERTC0RXINITCREVAL 0x2047 -#define DL_TC1TXMAXSDUSIZE 0x2003 -#define DL_TC1RXINITCREDITVAL 0x2004 -#define DL_TC1TXBUFFERSIZE 0x2006 #define DL_PEERTC1PRESENT 0x2066 #define DL_PEERTC1RXINITCREVAL 0x2067