Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6681736rwb; Tue, 9 Aug 2022 22:06:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR6Ndw3i4xbkLFEc5Hupu3q5XL71RjLQjQA8r2lyCdO8FR6wd8yf3LFfjn+WVG8EP6cBdX8s X-Received: by 2002:a63:211e:0:b0:41d:3e03:3f1b with SMTP id h30-20020a63211e000000b0041d3e033f1bmr13615147pgh.23.1660107984755; Tue, 09 Aug 2022 22:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660107984; cv=none; d=google.com; s=arc-20160816; b=lgmzR1lizRMIs18QMMEIfC/CT8sU6r0i5crinL62b3VjCbh4rNvm/69jOPw8A6ZeXt Z6qlMRwxSJmcsA09Ulj57XrNnTl9wzRiF8jmdDmPtgr3vpKwScYKUu45Jk2aI7b56Zpk JOVrnqaKEU9zqzUiH5ppObaigcHAMsmfxRXkiJPF8KDx/NOLtu6vkpesjFNAZUXmgqDG aC9UPxGB3L/Rv3IKrQ77PvOpr5boidFX8eUZwrYyj1PARPLUvRjhHRaeoMVQn7xPCAb+ TyHWy1w70df21BwyzVY92pzCfBnO+f4MnT63BiZLsargyNkSlf+8XdT5LNx1UhULXgm5 BU+w== 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=Y2F/994jbOUuOzskqySafRo+v+bWjW7tzqSFDir2eDE=; b=iG7ZaCGL1Bktk+MNqjtX0QRCMZ2RBgPaA13ske/LG+CEBboUDFdf2X0t93rfc2VowX DVVpwisi3rOuUFYECoI119BYlnyIWeWpn0cOSAtffd3IZNz0pqsHyabrEXA9oBWnUpuH nKCOQEgI/n4XJvizDlViEeCfZbybdnsTn40YN9WuXDeDe7wj8QCqkMlgQhnJhvLOauYC 1frtisxiheHjqqhcBcUM8GuDX+8/XJS2iQMC5et3H9JosRxS+6ZdXztfRZ5IH2le6HSL x9e6Kt8+7lQsqR1b5HdidIXm9nKspA7bBNrEFpOqsMkwxs8JOCJrxfb3nZqaGHW/hIxW bICQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HCasqI3z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id il7-20020a17090b164700b001f31eab0702si1109795pjb.158.2022.08.09.22.06.10; Tue, 09 Aug 2022 22:06:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HCasqI3z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230375AbiHJEUa (ORCPT + 99 others); Wed, 10 Aug 2022 00:20:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229951AbiHJEU0 (ORCPT ); Wed, 10 Aug 2022 00:20:26 -0400 Received: from mail-oa1-x2e.google.com (mail-oa1-x2e.google.com [IPv6:2001:4860:4864:20::2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3E7F4D176 for ; Tue, 9 Aug 2022 21:20:25 -0700 (PDT) Received: by mail-oa1-x2e.google.com with SMTP id 586e51a60fabf-10ea9ef5838so16483036fac.3 for ; Tue, 09 Aug 2022 21:20:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=Y2F/994jbOUuOzskqySafRo+v+bWjW7tzqSFDir2eDE=; b=HCasqI3zEFTqcRbSy6Z2RutepSY3bx3zTM8dWQxCLo3l2tiwXIaYKic/NhqolJKNn4 u8wxFOidOhg/Z3GqXmgkmMUKGmccfDU6sqjfoWLdkPKyf0qWN4f4f3vtIQWZPU0kr8KH cYqGY05/46v9jZ55HLmPg/b7xUGb0yp7Fp1q1D/bMJKSGazAp9ZjOuJY8lajQaQfBPRR CSi6cPJB/v4tdeLsmGVme8pbI/8eweaYMMYFQsLaFLReCvO8ahczqIlacUyRSr/oOpZu vIYEbwfG5EPs+c4raVOlmMf1La+JhyYnRXC20rtQKsScOvZkL5KsAM4UafnBI2dkibnY N87g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=Y2F/994jbOUuOzskqySafRo+v+bWjW7tzqSFDir2eDE=; b=XgiT5BiMSFudZx21+bkeEA81nfZT8Kadbw4FyyOzg2VuucXGW9ZJffS8i0KrJmf5Mp sxeWozFz44cv0icKT0dR163BV7rUCRY8gzyB1sqLWVT0Z8KsEzuLqxqcwsUQRFFh0kZB wQ66ws23Z6FLCySlY8Tn1hCoQlmC/viHKcY+tV2hN6mwIY5Spt20u01197OrAlAJ7a33 cs7vzXC54/F9wtTJyfwwM0Ygms3pR5ZVCNQIej4FSmg1XxO55R9kh+JfS9Lz1J8TD5g4 6JCWMaSoxN2Ap1TL89+vdbWoOAwmXIHlQLdVFhVEwCDUlXW0RYLiSx7auJf1WF93lzZv KPFg== X-Gm-Message-State: ACgBeo0IESh+dBKR07TsKAy8dU9aidecC5vfZcM8RXI119cjH84S9yuQ TpQhLDF5rx8QGj58Hx2m6md4y75g8U2unw== X-Received: by 2002:a05:6870:c8a9:b0:f2:87f0:6707 with SMTP id er41-20020a056870c8a900b000f287f06707mr672930oab.97.1660105225236; Tue, 09 Aug 2022 21:20:25 -0700 (PDT) Received: from ripper.. (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id ba41-20020a056870c5a900b00101c76f7831sm3622747oab.24.2022.08.09.21.20.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 21:20:24 -0700 (PDT) From: Bjorn Andersson To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Wesley Cheng 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/4] phy: qcom-qmp: Add SC8280XP USB PHYs Date: Tue, 9 Aug 2022 21:22:59 -0700 Message-Id: <20220810042303.3583194-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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Introduce UNI and combo USB PHYs for the Qualcomm SC8280XP platform. Changes since v1: - Replace direct import of downstream register definitions Bjorn Andersson (4): dt-bindings: phy: qcom,qmp: Add compatible for SC8280XP USB phys phy: qcom-qmp-combo: Parameterize swing and pre_emphasis tables phy: qcom-qmp: Add SC8280XP USB3 UNI phy phy: qcom-qmp-combo: 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 | 429 ++++++++++++++++-- drivers/phy/qualcomm/phy-qcom-qmp-pcs-v5.h | 13 + .../phy-qcom-qmp-qserdes-txrx-v5_5nm.h | 333 ++++++++++++++ drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 137 ++++++ drivers/phy/qualcomm/phy-qcom-qmp.h | 1 + 7 files changed, 880 insertions(+), 36 deletions(-) create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v5_5nm.h -- 2.35.1