From mboxrd@z Thu Jan 1 00:00:00 1970 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 B3FF4C433EF for ; Wed, 8 Jun 2022 00:42:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1391088AbiFHAmC (ORCPT ); Tue, 7 Jun 2022 20:42:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573473AbiFGXYH (ORCPT ); Tue, 7 Jun 2022 19:24:07 -0400 Received: from mail-oa1-x2f.google.com (mail-oa1-x2f.google.com [IPv6:2001:4860:4864:20::2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9B413F4A39 for ; Tue, 7 Jun 2022 14:33:21 -0700 (PDT) Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-edeb6c3642so24853953fac.3 for ; Tue, 07 Jun 2022 14:33:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7WQJ/XtKegsw42WINS+GcmBCB6YzztdG6Y2PPPtUW/w=; b=TrullXJMsk5YwE74aMpxuW61E1Hw1bnKtHsWUuwneaKzbWnpnuR+AjXBZ629aN2OD4 K8M0ZQuIVKorAfsPpsBq4P/2IJG0G29TGqlJA0BDh9WZ1T7oHDJej8Pa4GdBM1Px974A cFaCm7tTycbHC+Kgx1dTX3JZv8xASZxwar4EZmTS4r868fstIko0vde6uw7EGmO62bSp k9J9GAkUGTPbdwagbRBagx5TDT9IFym/yPArpVhVR2+zp4iu05KPEYJCDrOwJ5HliovS qmxbar3fOJ/dBtJBu0ZXgJRPAUTqg8kgwHHB5w8d+I2Ivx5MiU5sRuNowWjBNz9bAQIo 0yHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7WQJ/XtKegsw42WINS+GcmBCB6YzztdG6Y2PPPtUW/w=; b=wdCi+zWkQwtdoxFEEK/9x3a8iR/J2kUwgXEGSSkFDIOoLYiRnUKhi4jQXpYmf0O/ew V+J8dHod77V/1jondhZaBJ9AKmPZ+v55Ym9QfLbcFnQGi0Z17P5aLLHN5Nq4x/5s+hzO t4sjWsIkRFBpGqkxROSz/GATYa06QVtr75Gy1NBHOX4gzFHXSXSewuT5aLiVadXw7T6X K/SlpkQCfGbqgQZpV/XgDnDVgXATzDEBWXd7tPADurIhLOHU4JCps2IlCNFc9y/+3lFS 7zAdEbfNEJ3+2tjzVzk9RTiD9DZ1Dz5Lp+x0MBrFz3OL3+9sOdktl6AxFibz2xc7bHAF SD/w== X-Gm-Message-State: AOAM5337/shx/hY79G0hbl/+3icTOSOXv1cIfIEIZkT0NfVByDHgC//0 K+mfFZmPaqr7xmEeAXK6Ak+Qlw== X-Google-Smtp-Source: ABdhPJyU25K2d0bR0vnpnqOV1y2zdIZ6XN9gCVbMevu5CAiFWeOd1COsOlK9xlawqzqPKGiYAmdkLg== X-Received: by 2002:a05:6870:82a2:b0:f5:f1ee:cfdb with SMTP id q34-20020a05687082a200b000f5f1eecfdbmr538939oae.297.1654637599500; Tue, 07 Jun 2022 14:33:19 -0700 (PDT) Received: from ripper.. (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id cd24-20020a056808319800b0032e7205619asm4966031oib.15.2022.06.07.14.33.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 14:33:18 -0700 (PDT) From: Bjorn Andersson To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Manu Gautam Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/5] phy: qcom: Add SC8280XP UNI and COMBO USB phys Date: Tue, 7 Jun 2022 14:35:38 -0700 Message-Id: <20220607213543.4057620-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Qualcomm SC8280XP has two pairs of USB phys; a pair of combo phys and a pair of uni phys. Introduce support for these. This is based ontop of Dmitry's refactoring of the QMP driver: https://lore.kernel.org/all/20220602070909.1666068-1-dmitry.baryshkov@linaro.org/ A first version of this series was posted with only the UNI phy, this fixes a few comments and add the combo phy as well. Bjorn Andersson (5): dt-bindings: phy: qcom,qmp: Add compatible for SC8280XP USB phys phy: qcom-qmp: Add USB3 5NM QMP UNI registers phy: qcom-qmp: Add USB4 5NM QMP combo PHY registers phy: qcom-qmp: Add SC8280XP USB3 UNI phy phy: qcom-qmp: Add sc8280xp USB/DP combo phys .../devicetree/bindings/phy/qcom,qmp-phy.yaml | 2 + .../bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 1 + drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 205 +++ drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 138 ++ drivers/phy/qualcomm/phy-qcom-qmp.h | 13 + .../phy/qualcomm/phy-qcom-usb3-5nm-qmp-uni.h | 617 +++++++ .../qualcomm/phy-qcom-usb4-5nm-qmp-combo.h | 1547 +++++++++++++++++ 7 files changed, 2523 insertions(+) create mode 100644 drivers/phy/qualcomm/phy-qcom-usb3-5nm-qmp-uni.h create mode 100644 drivers/phy/qualcomm/phy-qcom-usb4-5nm-qmp-combo.h -- 2.35.1