Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1618974rdb; Thu, 7 Dec 2023 04:34:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRf5+QZlmiZYQtbomvXdWa/KXVEfMWAA2cPmOEyVPPirTAP61A/6N2tlNK8fb0+0oxpXl3 X-Received: by 2002:a17:902:ea94:b0:1cf:dbf8:f242 with SMTP id x20-20020a170902ea9400b001cfdbf8f242mr2125966plb.13.1701952490408; Thu, 07 Dec 2023 04:34:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701952490; cv=none; d=google.com; s=arc-20160816; b=kOCZ09RCdqVMRG5KN93zkmb4pAb7wDBj77TwBLKQEIqGCfmP7i63vPToAEuJX21WrI +ItRDAnN5WRNZAj+R2frXsKMXNs0QEvp9DBYKSwRkwtJ5xhDsp20oCLECsZnMflili5D cmAw1nyAwFqslCvd5+PtK0mGQP2DtVxblA+T1fVufS6LcOm0fRHFCUe0btjgusurWV1r cjN90RvjjI33M21haeSpENlfIEjeBYP0wAuENzJqMgrjzbpkkB2jTFw7D1tPIqgu4iO4 T0+SYa4b9jUoakBu/p4lLri1Plfv11OHtUtSlnlnuQSQjDGZmcehREYAuOZp2SEdW3P7 v34w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=idNFXUDeTCb9cuCDDJuvMArzVa/3N4PhXRLdWCeeLAQ=; fh=s+PDyYpyrwxkpLuOU8IJmCH+vC5689MjifeK+8aZDEw=; b=CTQVjEVeMjbo9vj4EYKewu+iI+Mg37UzJJP9Oro5WldF9SYcaGACnv16aqEeLd5+5m Fp5e8G8oRrWO/vN6Eu7iDNbT24r36sqcIIQp0GDwzrvozdpbe7BjVUSnh7l/ErVa0i+C Cvh1vE3NOEnIiJXz2eBbn5iKzQ0yB++iGmaEkB1VWs9MG5UD1JUMsYpQD4LbaY9cZpb/ +WzpFZ6D0St6jGRsAGBivvDjl7PBZobEctunROwgi/Rip5IeiswcXvxrBH6/DAdD0Y9F TEsFPj3IpI/xDsIStyTZqg//Mr4gVc43Cjs0dtLyEDq4gmoO83UcnoqVC0cA6ptmAI1r nSiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NCXfN3Lv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id b14-20020a170902d50e00b001d09b00de2asi1064770plg.587.2023.12.07.04.34.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 04:34:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NCXfN3Lv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id C9DAF801BA70; Thu, 7 Dec 2023 04:34:43 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232598AbjLGMeX (ORCPT + 99 others); Thu, 7 Dec 2023 07:34:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232583AbjLGMeU (ORCPT ); Thu, 7 Dec 2023 07:34:20 -0500 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 601CE10C7 for ; Thu, 7 Dec 2023 04:34:26 -0800 (PST) Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2ca1e6a94a4so8809791fa.0 for ; Thu, 07 Dec 2023 04:34:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701952464; x=1702557264; 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=idNFXUDeTCb9cuCDDJuvMArzVa/3N4PhXRLdWCeeLAQ=; b=NCXfN3LvHbkm9CzgBUJPM/GGdPYswnH01PIhYuU/mXMw4FFIVlpJwn6rD8O5zqqAsP XxBCQR11ZQ4FZX4Os+LZUu5IGWGu4tN9wJH+HZM9n4uMtv3ZWdh+cxyQ0XNwZIdNaQDD Zlrx2T0uLwnIPQypT6K4k2zYR19lEDnOrGh/Um1BBS1Vyil3IgEa2JkSv6KTO7RZD2pn kxIgpiiFzqpeBy08j4O1SMOJ/nl01LuofFrlKUfazrcSDW+u2DQqowZ/rxHQNPrPNA8U vY2GEamEjeWqJzwNFEUseC/tiJH8nfG9YlUfodD45B53rAeDPJOdJoCQy9JsCcwUl4Ad nt5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701952464; x=1702557264; 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=idNFXUDeTCb9cuCDDJuvMArzVa/3N4PhXRLdWCeeLAQ=; b=w47XnfZM38lSJerMVNHitOyHn4T0Cva1PSEImMSAlrSlM+tM5nU2oTBheXjvQecivx qnyOWhR6wgrLkpyHC5pKURAd9TYAI/Xri7bo0IR5V6iuxy0osw20y4TS2QuezbmykbDY mw2/JjXPR45/+CCBCQPoJCEwk1zFrpt5b2B61yBM1JqyAIFEdCkh5GLM/WFWsFLSvHBe jBYkoF3S1IOrtqyVTV2dte86vpJO/av2ehOxzMdnX8Alj3yS9zuTJ83wAuqQ6BZo7Bcv ECWt0FH3IkxSMBOrCuECUJUeKqwQ3OJ9tfsP7b0yan0UHlYV+pwMxHSIS3+gSwF0Kyh1 VDPA== X-Gm-Message-State: AOJu0YxE8j67y4Wco7rY25kSSLVSCIVxW1gshQQMJxsl8/M97Q3iTefe L6qHFpx0b+oHAjqgt/w98vP1Fg== X-Received: by 2002:ac2:4428:0:b0:50b:efd4:1475 with SMTP id w8-20020ac24428000000b0050befd41475mr1392716lfl.9.1701952464529; Thu, 07 Dec 2023 04:34:24 -0800 (PST) Received: from [127.0.1.1] ([82.79.186.233]) by smtp.gmail.com with ESMTPSA id c69-20020a509fcb000000b0054c86f882bcsm747331edf.22.2023.12.07.04.34.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 04:34:24 -0800 (PST) From: Abel Vesa Subject: [PATCH v3 0/2] phy: qcom: qmp-usb: Add support for X1E80100 USB3 PHY Date: Thu, 07 Dec 2023 14:34:10 +0200 Message-Id: <20231122-phy-qualcomm-usb3-uniphy-x1e80100-v3-0-273814c300f8@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAMK7cWUC/5WOQQ6CMBBFr0K6dkxnCgquvIdx0cIgTbDFVgjGc HcLO5cs31u8/78icrAcxSX7isCTjda7BOqQibrT7sFgm8SCJClEIhi6D7xG3df++YQxGgWjs6u ckUuJUkJ1VnVZUlEhtyJ1jI4MJmhXd6nkxr5Pcgjc2nkbvt0Tdza+ffhsPyZc7Z7JCUGCagvTE KmmMPm1t04Hf/ThIdb8RLuTlJKoFWNTlcUp57/ksiw/u1tzSzsBAAA= To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Johan Hovold , 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.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1458; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=uCgc7bBM7vglJNBa0/vPovuGzjNc308c2ZpWtT5/tX8=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlcbvHE9IMZ3fwyYvfhXsLPGnaw5Cm10fetNyMn +z/C88MSreJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZXG7xwAKCRAbX0TJAJUV VlmaEADDe5i5PHYiZWvX5vSkL46jtrGdXj183eVPG/jscT/eq9bCp1+Xy8sGeMsjrZAxQge8tDJ ljQ8VE7I3PjguvYmkLhuM3d4ASL1kUxT7LEU05jM5RFFFcVflEgLbQMBDbiPHTEA4Hhwu/Ok0sL YxJ5m9Mzq86x6HSl15BgRVcHf15XiAmMmCJSCwfr2EkF4Ja/ISzJYprn5qnLrvYVAg/S1ssL55V XxHspXYn5J2AfdZwfiTF3x1xMTP0vGzONHTP3iy4wqPS/j1c7QE067x7FgCVQxsJXUK8JzI6hoM qBQlg5jHcLPW+W/5URC7tF9au8HDdtV1sWsDfv/u87aiZ2U5pF3fAQUDXjHNXItPred3tUA82MB EjDh+EDW9nXvhgpatZMw8g6T6PjITCg0KH9cO3yKGt0OuvMhUKNAsoJfc+jCGoFISTyjIoi2tPs +Exf7zKA0NKxLH1rDUkgcoCZ/Cz1AIxJsNsM7mhHdr8rwuOYyaja1n7jb/Ix0rJXw0EL8Gn2pPf AjfsMXmdVXVHGMqtyhmtAvElGzAt0DpJLpeP8Mrvn0etfgiSddu3lKu138t2wHnHT8YENdYqgqn EIvzQHwtQUmPzDxhdaGB9DL9vbNbQurk/PXU8bwnjy0yMKzcVRzGB2EQjF5yzzkgeWUyl59PIR3 7gFqLqQKOQy+wSw== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 07 Dec 2023 04:34:44 -0800 (PST) This patchset adds support for USB3 PHYs instances found on X1E80100. It depends on the v7 register offsets added by the following patchset: https://lore.kernel.org/all/20231122-phy-qualcomm-v6-v6-20-v7-new-offsets-v3-0-dfd1c375ef61@linaro.org/ Signed-off-by: Abel Vesa --- Changes in v3: - Added qmp_v7_usb3phy_regs_layout like Dmitry suggested - Added Krzysztof's R-b tag to 1st patch - Added Dmitry's R-b tag to 2nd patch - Link to v2: https://lore.kernel.org/r/20231122-phy-qualcomm-usb3-uniphy-x1e80100-v2-0-1a3e1d98564e@linaro.org Changes in v2: - Added qmp_usb_offsets_v7, as Dmitry suggested - Properly sorted the init tables, cfg struct and compatible entry, as suggested by Johan - Add entries to allOf section in the schema, as suggested by Krzysztof - Link to v1: https://lore.kernel.org/r/20231122-phy-qualcomm-usb3-uniphy-x1e80100-v1-0-3f5bd223d5b4@linaro.org --- Abel Vesa (2): dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: Add X1E80100 USB PHY binding phy: qcom-qmp-usb: Add Qualcomm X1E80100 USB3 PHY support .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 3 + drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 171 +++++++++++++++++++++ 2 files changed, 174 insertions(+) --- base-commit: a2a7cea5da9065b9e34a8bf3275241c1129ebce0 change-id: 20231122-phy-qualcomm-usb3-uniphy-x1e80100-973c882591ef Best regards, -- Abel Vesa