Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1357306rdb; Sat, 23 Dec 2023 03:56:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IFq1PLiKTQDcgxBH18FAFdmjpeeVLIeVg0yc3tebv7Qi9VAZ3gfKo3xCMOqH8d0Ce3Udiyb X-Received: by 2002:a50:9992:0:b0:553:6348:7360 with SMTP id m18-20020a509992000000b0055363487360mr1723811edb.4.1703332572112; Sat, 23 Dec 2023 03:56:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703332572; cv=none; d=google.com; s=arc-20160816; b=Z66v+tYNJJd9SksaK2H2KbOnNQzBh6t1BB7HEh5zAxSiRv7VuGb1qeorsMubgOKUnI 9sVsFl6SRXbogcWrVXfvS/U8qGtmbpFnOxCxVQ7p4pOWfWCUs5/PgvHoR/LVcLOTdQK7 9TJY0nKMkmPLdQehQ5OnIgU5FHX0voLB6CbJYYaYsxmPiZH1CE38QbqzdKk4zt7zH/7+ IBPbYWbqbH/Cxam+TDBu+wvIU3EIVpXrPIh0xw7XTcugXUVwsfjinQrZ3dmNnFGnodeu 4wtieFRRpWIdcOeikS0Uqju2SteVJG/idL5yV0XvQkB60jdlK+Fxjv+l2l8gimw2RKsY m10A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=vPGk0HjLiKQ+CxO6emi2O17JwxG8APTMJGWVOcTcvfQ=; fh=prVInD1SXw1M2j1g1IotpZO4gKqwzYtiUs1linLtXcs=; b=gIcE03aMgtkY/IMgfnp85U5Tmp0hWI+EgIVm0VbsDensqEdhouNwiNkwGnr+sNiRzv 6kS7139Pg+woCuVbkrfZgwO/FMGeRXyyPi3wjvc1UTziRqksGV+57duAsbkQZk/xE6Hn Dl+EDlkJpkzH6a5Clawj5IXz1lfySbXiMyuvtk3iFgC9D/83xGETuVZiS/Gst89rQc4L KF25mQyOY5rEM5jydUD/REgGa2NoD/HNr6yoBMUj7n1ovCctVDmEJoaJ8774ffhbiz33 9UFZKXnWZSATtQ34M9yyZxk76eY3mOZsycZ4uh28VucLITy2hvy1iB518KcCtHTAb11W i1cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tpSTe79z; spf=pass (google.com: domain of linux-kernel+bounces-10396-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10396-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gy1-20020a0564025bc100b005534aff42f2si2764675edb.594.2023.12.23.03.56.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 03:56:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10396-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tpSTe79z; spf=pass (google.com: domain of linux-kernel+bounces-10396-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10396-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BC35A1F21BC1 for ; Sat, 23 Dec 2023 11:55:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF8DDD276; Sat, 23 Dec 2023 11:55:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tpSTe79z" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96AC6CA63 for ; Sat, 23 Dec 2023 11:55:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-336897b6bd6so2322053f8f.2 for ; Sat, 23 Dec 2023 03:55:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703332541; x=1703937341; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=vPGk0HjLiKQ+CxO6emi2O17JwxG8APTMJGWVOcTcvfQ=; b=tpSTe79z/ylvB4kRUa0CzkaP883KVii01D+38IeF43N6OqRd5Y711S0rakhcKRqW3p YjiD3lOKbaJ8MHj/i5QQNG/QThsSV73E7u62nvmP93qUfmNiw5IugruzAGTd1tsvUIxJ 2a2L77Tfa6jL3900SEswn4gfxSeNGtSJnfQz/wCqLRNYOXAeSM5Iop8uxzxjCcs+Zb8B XuzcjAAxOxrS7n7YhUPWIHXh1qcdE0zIEfHrtrRY17o7OeCDTJSgcIwKDJlGsM1Jy8bx 8uzR4siQoswfJmGJIUBzQyyd9OJVtZdRRqe8KfdP0NPFnFTq7Aj2xN3XzG1vXdjDCa6l kvKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703332541; x=1703937341; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vPGk0HjLiKQ+CxO6emi2O17JwxG8APTMJGWVOcTcvfQ=; b=KAIFm108LmW3D4LqIXbmZ4A4V9+EC2WEbbUA0KyoU0muJgddYWiljtB/L9LvypNbpF WDGiwQosmqXj2ZrpuCdRLjQgdtREXP3rpqWw2okZrh5qUJ2Yv4LQCLOIiv5jjz7TnQy6 YkDnyXmgbZQFkG5oq4YX/cngmO52CEyx3fpz4d5GM3jzpWmE3BpOwQpRf3w0hn8jKoEI 1EbluH7QuDNX604hupH7+4jkScIUp6wYiuyBrBIiEJMCnB8rdCH8sgubGgWXOEQMWDul pSsxX8Xcua3CwEBMWlcKFMflhGZe1fR7pse7FhDiHUCVgSslU3ne/SaQOzu+47K8aSSy NzJg== X-Gm-Message-State: AOJu0YxCh+S17s9+sFxTaglTB47ZFP+FPWioHNo2yk6cedBzc48YoHVH oESeCWxrPGhTev2483w7nMzSlnE/g6aKgw== X-Received: by 2002:a05:6000:100f:b0:336:a0e2:1117 with SMTP id a15-20020a056000100f00b00336a0e21117mr671182wrx.140.1703332540494; Sat, 23 Dec 2023 03:55:40 -0800 (PST) Received: from [127.0.1.1] ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id r10-20020adfce8a000000b00336781490dcsm6351525wrn.69.2023.12.23.03.55.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 03:55:39 -0800 (PST) From: Abel Vesa Subject: [PATCH v2 0/3] phy: qcom: qmp-pcie: Add support for G3/G4 PCIe PHY for X1E80100 Date: Sat, 23 Dec 2023 13:55:20 +0200 Message-Id: <20231223-x1e80100-phy-pcie-v2-0-223c0556908a@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAKjKhmUC/23NQQrCMBCF4auUrB2ZJILWlfeQLpJ00gyUpCRaW krvbiwuXf4PHt8mCmWmIu7NJjLNXDjFGurUCBdMHAi4ry0UKi0VSlgk3VAiwhRWmBwTkL9eTG9 b4zWK+rOmENhsogv1Gd/jWMcpk+flgJ5d7cDllfJ6uLP8rj9CqT/ELAHBVsZJrVu0/jFyNDmdU x5Et+/7B3VCtr/IAAAA To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dmitry Baryshkov Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1235; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=Hk/a9Ag7u1CiPccqFteOJa8czWyyeAF22NOW7Iqw3qw=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlhsqrzQaD++ommUEpEZ5dUZVxjtSvLm9zc0r0C DsnFYzt2waJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZYbKqwAKCRAbX0TJAJUV Vq5WEACCOItGsuunfzlThSOrDl7CA89Keed1vy28p/oxWkC3c6Sjp204+Ld0LP9d6PBZCBXOd1o /lSem+tUVoBhQG119cd25oxEPXJQQ0l/pRTvevEZH3QVayUOM7YvgVQRBXmc8BIUEYJ3nt0TCLd RNjx4mHd08q3x5f5/yxvrE3VUpWWY6Ug9mBQ1+cFcbmBGySKOLNTIqaujJOH1GBCSIE8bHpKXRT eo9bA7hBuPymVUjTmENow7VO88QAR1npiUAWuIrtmkTb7xq1rygd/Jch1JNsYHfF1mNnHGN9tvp Iszcgr0HWHsIpAX1+FY1PVfFHPTn0bMuigZ37+kE7PZ2Fgrnrqz4DGqsmBQoD2pCyWxvTS9+nn2 jHXCHwC3sWmykaw2+4oxrN8bV3OT7dxOnJy/9I2PdbKo7qCbGxFgG4tSCAqDHAN909mL1E7U4FA 0PeZoNMHf/zl/3elRUtClKRj79dgFy7ieUIlsPj/JxInoqUF1FxZ/1oh8zfVe9xgLCFPMY/xOxB l5JSv+6xWFdSy1/qd9SJqVhJHBqP6V8Glfn6FDv+8K9jkk6HpQr9hQ9c7LeamRl8DKq91c/hiZC MtAt1N2XOsNi0F7zyr/kNVg438Byd/NhQa6lyd5KbIZDOcnVkS5igH91mVY2d4JkXHrUa9pfzRb 0t5/+gdmFezbxCA== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE This patchset adds the G4 tables and G4/G3 compatibles for X1E80100 platforms. Also adds the pciphy_v6_regs_layout to be used by the G4x2 phy and switches all the old QMP v6 PHYs to use the new regs layout. Signed-off-by: Abel Vesa --- Changes in v2: - Added Krzysztof's R-b tag to first patch - Added new patch which brings the pciephy_v6_regs_layout and made sure all older (existing) QMP v6 are using that. - Switched the regs layout of the x1e80100 gen4x2 to the new pciephy_v6_regs_layout - Link to v1: https://lore.kernel.org/r/20231222-x1e80100-phy-pcie-v1-0-b74ac13390bf@linaro.org --- Abel Vesa (3): dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Document the X1E80100 QMP PCIe PHYs phy: qcom: qmp-pcie: Add QMP v6 registers layout phy: qcom-qmp-pcie: Add support for X1E80100 g3x2 and g4x2 PCIE .../bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 6 + drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 186 ++++++++++++++++++++- 2 files changed, 189 insertions(+), 3 deletions(-) --- base-commit: 8a9be2a3cb673dba9d22311beb74be261f0b3f15 change-id: 20231201-x1e80100-phy-pcie-ef74adb9af30 Best regards, -- Abel Vesa