From patchwork Wed Oct 16 07:43:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 835781 Delivered-To: patch@linaro.org Received: by 2002:a5d:6804:0:b0:37d:45d0:187 with SMTP id w4csp305451wru; Wed, 16 Oct 2024 00:44:04 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXn1eSxaymX5wXAIKHyXyYuD6cBmyHqtY7gKs9iJtOYE4IlzhmS95YRWsRdd7CVl7Hth4mcXg==@linaro.org X-Google-Smtp-Source: AGHT+IFGiBWKSQPYPRH9E7efKL04X3OQRzff+67KKhzjPp74vHwTF3x67p/ZJMGXO2codxnJsb3h X-Received: by 2002:a05:6e02:b48:b0:3a3:97b6:74e6 with SMTP id e9e14a558f8ab-3a3dc4a9b22mr35947735ab.8.1729064644590; Wed, 16 Oct 2024 00:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1729064644; cv=none; d=google.com; s=arc-20240605; b=h2Mzz9tqFlqN4w3XNU4EJT+wPBVHr18gzggqj6UClLJglwqNJb2PPrRUzLtaMwwPFM ffZhMMKR3vlXTdmWjGgE8Deb/C1I0hPtd+NY+B2/JLOldT/PVsdNymlVVBFzS9oPshnk H0e1z/BjOSCudM0e+F68TT3eGWXCoMWgSVnqiEdR57fAKRCDGbdtFQXqt9tI4y7JF1/x 6L2owyBPr/w9GmVGmY1tCudNXLhssEif6v/w1XWZUcko9GIzy0bJ/ewYEa1hpeqAgV92 z71A4L6VI/ICxNowOi4dhYYG0IG1nhX8HLukZbUJllCv67MDytfsUA6f7xS/X+XPM9Sw XKIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=gpsnpW3hOMoh2OLI5c9UMPVwWk4ktJrVj/MnC8opP1Q=; fh=yCVbVU2lgpYvh6mh003UOrANXMeirQrX5SzigSTHc6g=; b=HxQk11Ow2lgUfsI+Hj0lArGjaqCIfpptaKW5f0U+PUQ4Hp/BqIQzYnefOwy5IaXD1U ITvd3MRSzjBrcEXXQabmsXOB8PTJCvtCl8ukSypCWhBHXJNX2fcXHaX50CJlBykRNTnf smuwd9swQMKaSt7Iv+tnm3EuqTi9EaF1RFeIMYA+hBwVrICRjL+6j1I9Dwn6ireJFhZw K68PlOd9JDF2EkpNlyeAU3CVHScH/e6pJncfEsX6lyyzEZf4eCVJkQkoCxXyDDY0Wqyx c2K7JwwHWwWq5ftCgk6ZG9X5EPcuNBWt/KVpY5EUoV/7pcMeTfaJ76hSrFt9KWk+sGSV OR1w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ociCVijg; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id e9e14a558f8ab-3a3d7157766si15171375ab.82.2024.10.16.00.44.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2024 00:44:04 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ociCVijg; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EC79F88DDE; Wed, 16 Oct 2024 09:44:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ociCVijg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 18B0A88DDE; Wed, 16 Oct 2024 09:44:01 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2450488D99 for ; Wed, 16 Oct 2024 09:43:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=neil.armstrong@linaro.org Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4305413aec9so60139045e9.2 for ; Wed, 16 Oct 2024 00:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1729064638; x=1729669438; darn=lists.denx.de; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=gpsnpW3hOMoh2OLI5c9UMPVwWk4ktJrVj/MnC8opP1Q=; b=ociCVijgAXd/MC6Ex3Yvd/PnEz5BgDyU19ugwGeo5/YDrfd5zNemOXgUwHM3kXOUCF piWbOgcW/mJWJvIlTIK2NsGU/I+bv8fcu7OhVuZxr49JzQL07m3G/4glbOypdKE4ysHa htQ1JNyuNZHRLLFqeLmCWk8ZvKsT+bpIAHV2pwnQ1O+0sel2JwHhMz1XqHGl54u2HRCN HjrqE7O9E6C7IuQ7UCK5K//1JySuSgEzFghdaY2Ymtm2f/Wma7uUgTYP9bSCobWa4k60 pZWtahDC7fJILBVMcJqPLLVYozInSg8d5GgCxYaHXHy/Zg3gaLa+YjhRak1+npiiR/gx cEVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729064638; x=1729669438; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gpsnpW3hOMoh2OLI5c9UMPVwWk4ktJrVj/MnC8opP1Q=; b=JBDweYab2ektLuCLRa9XeSwg+Q7j6fTBtfBCHDkIVqKvj2ikASHwdW8tHbiN7RpvEo ySJCNtWB7oRaiWIU08OiJlRQlLo0GqwRXKLViYu2H036s+91M0pnzwhYTckrv/oNpIPX f7bMSi6auouc8YYEuWGqRgTs478ESGGAL/vPKMXvohDE/WMBPWA8JDLSoo2XyHLemt1H gGlfuet2eny3hKaTA0LgfCCpdEiBer7UB4WbB7SCIMEEFrnC4W3YdWBg6WmX8GukUCBd Mo+BDX2d76OcYuGMYUSPoE3+jf/Iu5foM26CyZMGGyL/vfcKsrEP/DWSypvTq4Kcxf2e yxSw== X-Forwarded-Encrypted: i=1; AJvYcCUJrebA8zgV4Elx+gQVXtLvC3ypeDtjWrD877crQ1kA2kOFb/JUoEWtw/awvlRv6ZPKi87LZ5E=@lists.denx.de X-Gm-Message-State: AOJu0YzayoTLFVhmB7UYJ1g7IROEddh6037CFj23lIOfqHq1cFQVu9XO yTJ9EpLJEwDj0E0r5lmU9AE3Fms4q8a/CJkrmNU+BRyCx50es+/saEEnedEeKWM= X-Received: by 2002:a05:6000:1869:b0:37d:4ebe:1647 with SMTP id ffacd0b85a97d-37d86d6945bmr2517967f8f.49.1729064638556; Wed, 16 Oct 2024 00:43:58 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d7fa908fdsm3582223f8f.52.2024.10.16.00.43.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2024 00:43:58 -0700 (PDT) From: Neil Armstrong Date: Wed, 16 Oct 2024 09:43:56 +0200 Subject: [PATCH] phy: qcom: ufs: drop unused ufsphy_v2_regs_layout MIME-Version: 1.0 Message-Id: <20241016-topic-ufs-phy-drop-v2-regs-layout-v1-1-af804ce47060@linaro.org> X-B4-Tracking: v=1; b=H4sIALtuD2cC/x3NQQqEMAxA0atI1gbaIoXxKsMsSptqQGxJVBTx7 pZZvs3/NygJk8LY3SB0sHJZG2zfQZzDOhFyagZn3GCN9biVyhH3rFjnC5OUiodDoUlxCVfZN8z R+U/wySYToXWqUObz//j+nucFAM5dc3MAAAA= To: Caleb Connolly , Sumit Garg , Tom Rini Cc: u-boot-qcom@groups.io, u-boot@lists.denx.de, Neil Armstrong X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1244; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=vE14gh7J73ks+cxqDSUGYx7PHZEEB1nEsEsMN+k4c8c=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBnD269H+slizJFwshcyUQ7RqO006KZSuZ4yKT0ZhOf LwMzE9CJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZw9uvQAKCRB33NvayMhJ0a7nD/ wPHPwAO2OZPIvd6HFrMIwOxNYBMsEshXiqyh9FXjCfNZur7vNmf69pK8lRmTtmuKAzfyOVec4DM2kK o9oWgTW/wRcAdsizIbEvyluMyxAoSCjOCW5CkFWh97+wV3Nj5+prVfmAwG6AjeiQeOvwRnuOQxhG94 wBrUakPuRBZcmPAADvt63zeUWRNnzo/z4nsal/KI33zMJSBQeBJ53kcoG23OjhPowXs5mB2r0yR7Dc K1pALYSgPaezxdv43iyf5MlTuBsCsKAFs3qAenJcdzm0e81CxftOayxNNgqmEE46cFTvmG++LQhKwD 56CM4nZsMXrRTLtK97CtMhZFeydrQtWFQUg7vWFSifNSDwky4S+SzBIxyYKXnD/j+HsjU1Z4uqz+Dj ct8lCzl8enwRD545JCLxKFBWjS7P8IyFYMUy9qkYLjQEwnhwO0NyIL+lUkg0V23YjKqeS/39o8MwA+ UVi7EiBT10TI1pNuAIjuOGPdlWN8O19xAM7OwT3QtpFtoP+Z9mMS8m1UUAhb5RDQmWTWKAMWXXbOmw GO7Mh3Eh2TDGw+MkQv6XoayollhjlToEvLxgvFdEPhhiFDsImOkF3tqt7Xb4qWvnXiyu+nCR06cW4w xmjLOrGhpL1ZCVZ210qu9gjbUT0WEkDsI9D2uqT6JuqlKI4HMBlkALsZogyg== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean The ufsphy_v2_regs_layout is not used, drop it and fix: phy-qcom-qmp-ufs.c:87:27: warning: ‘ufsphy_v2_regs_layout’ defined but not used [-Wunused-const-variable=] Signed-off-by: Neil Armstrong Reviewed-by: Caleb Connolly --- drivers/phy/qcom/phy-qcom-qmp-ufs.c | 6 ------ 1 file changed, 6 deletions(-) --- base-commit: d5cab0d6adc26ec1bbd45c2fed101184d04454ae change-id: 20241016-topic-ufs-phy-drop-v2-regs-layout-fc269a6d1d0c Best regards, diff --git a/drivers/phy/qcom/phy-qcom-qmp-ufs.c b/drivers/phy/qcom/phy-qcom-qmp-ufs.c index 8908a34df54..5b17f3aee67 100644 --- a/drivers/phy/qcom/phy-qcom-qmp-ufs.c +++ b/drivers/phy/qcom/phy-qcom-qmp-ufs.c @@ -84,12 +84,6 @@ enum qphy_reg_layout { QPHY_LAYOUT_SIZE }; -static const unsigned int ufsphy_v2_regs_layout[QPHY_LAYOUT_SIZE] = { - [QPHY_START_CTRL] = QPHY_V2_PCS_UFS_PHY_START, - [QPHY_PCS_READY_STATUS] = QPHY_V2_PCS_UFS_READY_STATUS, - [QPHY_PCS_POWER_DOWN_CONTROL] = QPHY_V2_PCS_UFS_POWER_DOWN_CONTROL, -}; - static const unsigned int ufsphy_v3_regs_layout[QPHY_LAYOUT_SIZE] = { [QPHY_START_CTRL] = QPHY_V3_PCS_UFS_PHY_START, [QPHY_PCS_READY_STATUS] = QPHY_V3_PCS_UFS_READY_STATUS,