Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2194921iof; Tue, 7 Jun 2022 22:50:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzESTrJugNheknzVSgp5vW/U943czMFP+AAU8mJHq5bBm+OfhUc2VWlhWLRBx8nR4VghtuZ X-Received: by 2002:a17:90b:1101:b0:1e8:5df5:b2ac with SMTP id gi1-20020a17090b110100b001e85df5b2acmr21648710pjb.239.1654667427795; Tue, 07 Jun 2022 22:50:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654667427; cv=none; d=google.com; s=arc-20160816; b=CSIds+mCzsFM3LUZkUgyCnZKRC7s5GPEW0APs0MVcmW5jcRyIQBP6GR2ynDPRe7gRt 9bC6DaUZiuFw21Is5HBYwZAoZKaQB1XjfyTxvXQmBc5gMwnUfptuay0tBckvwAFimrz+ tY2ovvyZ02F5F8jB0luCaz7UZbF2h3N2TdtHfPafzwxsmI3ICWuiBzmDwp5V06v2oYNR 1D+03dhzOjtNWQKg4hpFzqXC8A1AsO1dEWnx8rGhnPgne+2Bplh63ldyWe7ocbIYUptr OEvSSrNHhNVq4p9eq7ion1zIZVQon5U2D7UTL+K579a748zlJF+RNRnSRaZo6l9j2sGj q9Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=7WQJ/XtKegsw42WINS+GcmBCB6YzztdG6Y2PPPtUW/w=; b=rhPiBdJrIFYveGh8XtUvJ4mRu7srHgTUDrpWaALYFCkq0tgxdlbLNbyaTrIIG1q3Z3 ma734vdUkNnNOr2KTTSK6azAjzVBeIH5AMNCajpMEektXPecg6HIKvZz+2v9l6rpWnhw 2QWdtjf1RDeoyHFHbrigKlrN4BDkkK0Qk+GN8wkdKTEJrVB1L5hcLchDMO10yBFsp+48 2WBZqGoSfGf8U6WXRbLMccqNu6duCA5DuKxiku7V2bob9AwbPM7vUYs+js/qUgNIwDhf Z8vJpy1qNufYqgc4dbb3amJZJYot9VGJtv7bmzhfmZLBY9Qa9sDWOYOAG2Em+YbqAhY+ g5Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TrullXJM; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id p7-20020a170902e74700b00163fe7ad204si27905804plf.0.2022.06.07.22.50.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 22:50:27 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TrullXJM; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EE8014A5D18; Tue, 7 Jun 2022 22:17:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1391033AbiFHAmC (ORCPT + 99 others); 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-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 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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