From patchwork Tue Feb 7 11:40:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 651339 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2ABDC64EC4 for ; Tue, 7 Feb 2023 11:41:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231517AbjBGLlH (ORCPT ); Tue, 7 Feb 2023 06:41:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231793AbjBGLlB (ORCPT ); Tue, 7 Feb 2023 06:41:01 -0500 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1417D193E6 for ; Tue, 7 Feb 2023 03:40:52 -0800 (PST) Received: by mail-wm1-x32b.google.com with SMTP id az4-20020a05600c600400b003dff767a1f1so5942150wmb.2 for ; Tue, 07 Feb 2023 03:40:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=3eY/XeHsmBpHFfWUU1KgjKnCSnSpQ/HCuRyOD3JEmOg=; b=ZV+ELRRC1rmE14CtaWM5a34Ivu1JV/24TbvQx9LG6zwTWvCEhOoQRxONQxf6C88UvP r+v9Ae8RPcSbDwy+tA8g4IvmOVhhC17NFwybFwv5+hzMZ+xR7qGZFc5zF6FIiSO9KWoR nKAuLz74nYs1lB93o3QGUyIp/J9H9k0RP5sVWHdvoSIC8Bmf9QnWpp+kFcTMgFQTihKw R3k6MxlF+r0e5uXUBM95sCz2NUZd+dNFow1LVQ7epMJIGaHrAXe2TAvYJYCwpylnpwwN MEZyfq5w+mcoZAcmDn5FGDZHiSwQjPIqmkqapOLgWVCtHxPEOMq1pYN678VeTlI79ttc mCLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=3eY/XeHsmBpHFfWUU1KgjKnCSnSpQ/HCuRyOD3JEmOg=; b=IwPKT3spBSjAvbszokQIf1oOaE5f2k34DPUW935jukwxQbAKojO4EX5Y08j2TpLg7E gBD7WDrdjsNuZ9kcRZvXirsIFnVcjp5U0dAr+Yb5l5oY5fQtSR8s4y6Zujmi0U2OMr1n V/drMupp/f/jkqwYy4dbG+PSg7KKtMwxrmmJmyuHJJYIUiHGAwrTIxUFF4lyOcrO+PAl 4ktSb944+OoodwPT3SHjwzPKLtcZ+gkY6boSSQm0Huv28019VkMpOCCw6gppLdIhxiIN RZY2Sjg61cE09XSLdqtE7Txn7TE6k4XOAWopgNdOpZotlMLM7wIWLMMIuOwjrUXvHRGh Sawg== X-Gm-Message-State: AO0yUKWHc26RJdRDGkJBHSxAy5On9kmD7VmqVthiby2qxct4XI71hXW+ zXgHOxTme9+mntpZtzLMf+o6Qg== X-Google-Smtp-Source: AK7set/ZrXcRdbVJ1NlZokDnVJqc8qclfZMr5nHHU0C8eW80+MnFHXVtpCsj/ZSTCozZfp8GzsUvGQ== X-Received: by 2002:a05:600c:1714:b0:3df:dc29:d69 with SMTP id c20-20020a05600c171400b003dfdc290d69mr2693353wmn.36.1675770050627; Tue, 07 Feb 2023 03:40:50 -0800 (PST) Received: from hackbox.lan ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id c7-20020a05600c0ac700b003d1d5a83b2esm18326005wmr.35.2023.02.07.03.40.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 03:40:50 -0800 (PST) From: Abel Vesa To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , "vkoul@kernel.org" , Kishon Vijay Abraham I , Johan Hovold Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, Linux Kernel Mailing List Subject: [PATCH v5 5/6] phy: qcom-qmp: Add v6 DP register offsets Date: Tue, 7 Feb 2023 13:40:23 +0200 Message-Id: <20230207114024.944314-6-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230207114024.944314-1-abel.vesa@linaro.org> References: <20230207114024.944314-1-abel.vesa@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The new SM8550 SoC bumps up the HW version of QMP phy to v6. Add the new DP specific offsets in the generic qmp header file. Signed-off-by: Abel Vesa --- The v4 version of this patch was here: https://lore.kernel.org/all/20230202132511.3983095-6-abel.vesa@linaro.org/ Changes since v4: * none Changes since v3: * none Changes since v2: * none drivers/phy/qualcomm/phy-qcom-qmp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.h b/drivers/phy/qualcomm/phy-qcom-qmp.h index 148663ee713a..7ee4b0e07d11 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp.h +++ b/drivers/phy/qualcomm/phy-qcom-qmp.h @@ -134,4 +134,8 @@ #define QPHY_V4_PCS_MISC_TYPEC_STATUS 0x10 #define QPHY_V4_PCS_MISC_PLACEHOLDER_STATUS 0x14 +/* Only for QMP V6 PHY - DP PHY registers */ +#define QSERDES_V6_DP_PHY_AUX_INTERRUPT_STATUS 0x0e0 +#define QSERDES_V6_DP_PHY_STATUS 0x0e4 + #endif