From patchwork Sun Jun 27 18:57:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 468165 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 38598C49EA6 for ; Sun, 27 Jun 2021 18:58:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2244761C18 for ; Sun, 27 Jun 2021 18:58:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231549AbhF0TAY (ORCPT ); Sun, 27 Jun 2021 15:00:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231298AbhF0TAW (ORCPT ); Sun, 27 Jun 2021 15:00:22 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6CB4C061574; Sun, 27 Jun 2021 11:57:56 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id u20so4580791wmq.4; Sun, 27 Jun 2021 11:57:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hbU5C53by8ndXGtDEtCLVhoqtGIcQT0Y5XrfcYaPR5U=; b=XjbWv8UNt42p5A0Ph1knmvdygMxaAn/0g7apE32zRAGtCJ6jnfpBY3FMJOW/cYse9G 9JqccMrWywt7QkNDMNiupj0MLtOSD7MOG7L+XeOrsSPouSpsuRsNPzdecg+x113BFUIV yrR3FoJ4xRg+2YNePg4gmbRy9iobLHkmcCvvHSK7wuL0zzbbjiKnPykJcaRP3Owy9DpL tijine4/Bd1BDcYyxfFnlzVmG8fkWRwLd4KFdfdo8hXRRCaIS9BtOl8zj/ebqUo1WfA5 3EwtoFHVm9GnC679/nVA/Cgh97zeHJr2mWx8+bqGYnA+kgiWBtYqODrWb7gn6l5lEJAw zAQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hbU5C53by8ndXGtDEtCLVhoqtGIcQT0Y5XrfcYaPR5U=; b=ThBIl2i3gTCmRWLG9FPX1s+61NDUh4JW1ZhSIqUfG7f4j/2iT3YlWbNr8tYn1qIchJ laQeQmKJ3Bo0HLg1ow22SffyiaWTNI6sRg751TWFIFmhVXa6kJMoz96FnpKhtG6sX91H qK3R4885Le1HwhJOCOtdqkRAjJit/S2Yq4pa9tLg7nlxul6/sWmyoVgBl5dgHVYRNS8a zyNAf7akxvmiLwIYSSCeaxmUFjoVX0Ah1oEvMDRIrCCUtjJ0MLqWKALZWgzgg+DfBIXw FDwpX5XFqvn/zTt4AAYjlHDB/rfbEvvOu66Pta2YaOKEvy0pH70ZJwJlW6KxjkGfk/ci vJDw== X-Gm-Message-State: AOAM532/NqGtcakkocq/butwNRwX7hgDCWsz3nxzbnn3TG9qm5Qytjsh lKyMNp0QN2DxnQlXAOQ9PTA= X-Google-Smtp-Source: ABdhPJytfeyRGXE5YzR0zAsxyOTXEKP5cpkjgw0SUEWYEw3BnHQyhWkoHAtaXKSC0/4czYQMCh41Ag== X-Received: by 2002:a1c:4d10:: with SMTP id o16mr468366wmh.160.1624820275513; Sun, 27 Jun 2021 11:57:55 -0700 (PDT) Received: from localhost (178-169-161-196.razgrad.ddns.bulsat.com. [178.169.161.196]) by smtp.gmail.com with ESMTPSA id e17sm13615158wre.79.2021.06.27.11.57.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Jun 2021 11:57:55 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson Cc: Andy Gross , Greg Kroah-Hartman , Kishon Vijay Abraham I , Manu Gautam , Rob Herring , Vinod Koul , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-usb@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Iskren Chernev Subject: [PATCH v2 1/3] dt-bindings: usb: qcom, dwc3: Add bindings for sm6115 Date: Sun, 27 Jun 2021 21:57:48 +0300 Message-Id: <20210627185750.693222-2-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210627185750.693222-1-iskren.chernev@gmail.com> References: <20210627185750.693222-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Add the compatible string for SM4250/6115 SoC from Qualcomm. Signed-off-by: Iskren Chernev Reviewed-by: Bjorn Andersson --- Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml index 413299b5fe2b..938b1137fac0 100644 --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml @@ -19,6 +19,7 @@ properties: - qcom,sc7280-dwc3 - qcom,sdm845-dwc3 - qcom,sdx55-dwc3 + - qcom,sm6115-dwc3 - qcom,sm8150-dwc3 - qcom,sm8250-dwc3 - qcom,sm8350-dwc3 From patchwork Sun Jun 27 18:57:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 467918 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90D14C49EAF for ; Sun, 27 Jun 2021 18:58:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7B77761C2A for ; Sun, 27 Jun 2021 18:58:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231598AbhF0TA0 (ORCPT ); Sun, 27 Jun 2021 15:00:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231553AbhF0TAY (ORCPT ); Sun, 27 Jun 2021 15:00:24 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00B91C061574; Sun, 27 Jun 2021 11:57:58 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id u8-20020a7bcb080000b02901e44e9caa2aso9399537wmj.4; Sun, 27 Jun 2021 11:57:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WV89p0Dh9gFyvzsassxs03sxu1k2bjjeRxKtJF5OFHo=; b=r/FZHPU5TX09KIVaCfM9qyyo+peXe9RLGnjeSfKAMdkrItxgE9ofpNzg+AcKCNA5sz ainW9i0slya2f7w0LzdA9M/vfhK6EqE+Nz9HeKmcuTwqjuL8rqS91NMUsKnB+u6dQU7E lGQtyDP745holSf+DztMl8SRbBgTeiJPEESS+/hP7DFpS3dp6fzSStlFyyMMZtGbwEe/ rGKDVMxz8pu2RHaCNfHiXU0b0+60ia8P+B6Flyy0QXo8F096RpAmzp2uxULD3eg6QOyx 557x2ur4ux/HtHU45+TD22qbCVGU7B5sx0WcKFp97MV1teEukaanMhdcklz9YUdHlWCt 1kiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WV89p0Dh9gFyvzsassxs03sxu1k2bjjeRxKtJF5OFHo=; b=pcEuNEZP7f7TcYinRjWOZqWppvYpTRr3ChQKJ1gRE63oQCBAlI0PpfKCzNUaPfrT4Q fhO5J3dyq+qsAsj3IGlIkAGKOju2Ew6de3n5XJw6Y38tD2h85FynJm+lhLAucD57g7CX R1nA74MD5ot1WEmWdRpABchGFZLfgx2fOEmuwEhwaCAn16oauQmtSz4zpsVSqihz2XWQ 1N7gCeYH4wfA4KT/kOjWzAfR4F8InfejADWEp5BBplSTPDsBk750GQAtNgNYOGgF/4oH FbjCEECOPgnY9BnbfkGIVVqcmrMLSlc5nVkn8gGlbK4Kyk4oaJh1e4MDJPW8IL94jzB3 Rqxg== X-Gm-Message-State: AOAM531AmavysntU7Il6Hxb5UZDPcXhoQT05X7rcp8m/s25yRBKIkQim GKDLRIGK55Ny4Vn4n62zn2YdMlPFkA1gdg== X-Google-Smtp-Source: ABdhPJxZBXH4OwU+1hiA4jfv4zG3+2Hi4cZND0kX1kzYG49lBMk5OFZjP+Qqr6rW4KzCV4xiqM1K2g== X-Received: by 2002:a1c:4d07:: with SMTP id o7mr22141772wmh.97.1624820277600; Sun, 27 Jun 2021 11:57:57 -0700 (PDT) Received: from localhost (178-169-161-196.razgrad.ddns.bulsat.com. [178.169.161.196]) by smtp.gmail.com with ESMTPSA id g7sm8755840wmq.27.2021.06.27.11.57.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Jun 2021 11:57:57 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson Cc: Andy Gross , Greg Kroah-Hartman , Kishon Vijay Abraham I , Manu Gautam , Rob Herring , Vinod Koul , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-usb@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Iskren Chernev Subject: [PATCH v2 2/3] dt-bindings: phy: qcom, qusb2: document sm6115 compatible Date: Sun, 27 Jun 2021 21:57:49 +0300 Message-Id: <20210627185750.693222-3-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210627185750.693222-1-iskren.chernev@gmail.com> References: <20210627185750.693222-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org This compatible string is for the HS USB PHY on sm4250/6115 platforms. Signed-off-by: Iskren Chernev Reviewed-by: Bjorn Andersson Acked-by: Rob Herring --- Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml index 9f9cf07b7d45..3110d3a0331b 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml @@ -23,6 +23,7 @@ properties: - qcom,msm8998-qusb2-phy - qcom,sdm660-qusb2-phy - qcom,ipq6018-qusb2-phy + - qcom,sm6115-qusb2-phy - items: - enum: - qcom,sc7180-qusb2-phy From patchwork Sun Jun 27 18:57:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iskren Chernev X-Patchwork-Id: 468164 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7368AC49EB7 for ; Sun, 27 Jun 2021 18:58:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 55AD0619A1 for ; Sun, 27 Jun 2021 18:58:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231618AbhF0TA3 (ORCPT ); Sun, 27 Jun 2021 15:00:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231516AbhF0TA0 (ORCPT ); Sun, 27 Jun 2021 15:00:26 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5331CC061574; Sun, 27 Jun 2021 11:58:01 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id j2so17896492wrs.12; Sun, 27 Jun 2021 11:58:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8hmlrjkmcfJ1aygTd9/3P+2nz6SFwwd1iwgYQqcLxhs=; b=UfmKcy5TpNUzSWe4GDJCKf7QvH9lAePOnJ3l/TC7g94fZWkUGKrLKanodLbckQmQSp sGSy/AFz/V5SsyEYyE1UWwAO6pWI4w1SQ0oIC/TT+iQQwzaDj60bXsg5ITQ1ueFlkb4p SKFfl0wyY6vI8d3d8jkj+ZAni3IxYCgn5Ju9B+RVgii8GFNm6mbpJqosemtf5xASnl+E Ip0woSYOgNJ+WZkG/+klMFXX2Vpa7rK1e+i6B/Yus7JKKewa1NLu3yQU9yOdC3wCfhAL tbPiczpgRYNwOi/fZHllyhMzMIka+bOYXC/4g1d8mMfkaggAwyeO668jTlc/Gyzu4okJ JVhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8hmlrjkmcfJ1aygTd9/3P+2nz6SFwwd1iwgYQqcLxhs=; b=BsQlC/ucidjBFaeYkyfQMZpQsTBv5cAzZgTSQXQOURy7smpaq73h1TNtYp5ZL01ZC1 HwLp4GfNbqg3tGEyyCv1bIQ+WFbRrRf9TN6hLqnhoJaqFcOCmY5qq8P5WHa7zg0tiIcu vyf1bvV4UKb8b+4Uc4nxtHq2K7E4lRVK7almRyMHpvhU3xlMwTrFA7gHfVv+YVT8nEs8 rbUFNyEDhvik/DZ4XxEASnpVO8Sv07UfW04ornfP4dTmHGInv4PCRYgH/FgHJ1ok3NsW zN7enXIXTzrwixEZ1yernUCtz6s96cNRNJJf7mZYLOSe+0+0w0lRkaTvSc/57mrxAN4l MQWw== X-Gm-Message-State: AOAM5325fjtzbY6aNFsNvH8G4P+BHQ2uLaBb93VfVhzdPK5BWPQyngUi tRPubzqa3n28GyIVj5uqJvc= X-Google-Smtp-Source: ABdhPJwP2SMhEedxbe82P5wnMpvxkRpnjkXS+JizfvwCU1buhGIqG5czHnUzlvRZHiZeyJ85LnzcJQ== X-Received: by 2002:adf:a2d1:: with SMTP id t17mr22941948wra.74.1624820280034; Sun, 27 Jun 2021 11:58:00 -0700 (PDT) Received: from localhost (178-169-161-196.razgrad.ddns.bulsat.com. [178.169.161.196]) by smtp.gmail.com with ESMTPSA id i9sm11890745wrn.13.2021.06.27.11.57.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Jun 2021 11:57:59 -0700 (PDT) From: Iskren Chernev To: Bjorn Andersson Cc: Andy Gross , Greg Kroah-Hartman , Kishon Vijay Abraham I , Manu Gautam , Rob Herring , Vinod Koul , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-usb@vger.kernel.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Iskren Chernev Subject: [PATCH v2 3/3] phy: qcom-qusb2: Add configuration for SM6115 Date: Sun, 27 Jun 2021 21:57:50 +0300 Message-Id: <20210627185750.693222-4-iskren.chernev@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210627185750.693222-1-iskren.chernev@gmail.com> References: <20210627185750.693222-1-iskren.chernev@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org The SM4250/6115 uses the same register layout as MSM8996, but the tune sequence is a bit different. Signed-off-by: Iskren Chernev Reviewed-by: Bjorn Andersson --- drivers/phy/qualcomm/phy-qcom-qusb2.c | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qusb2.c b/drivers/phy/qualcomm/phy-qcom-qusb2.c index 8f1bf7e2186b..51e5478ea7f0 100644 --- a/drivers/phy/qualcomm/phy-qcom-qusb2.c +++ b/drivers/phy/qualcomm/phy-qcom-qusb2.c @@ -219,6 +219,22 @@ static const struct qusb2_phy_init_tbl msm8998_init_tbl[] = { QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_DIGITAL_TIMERS_TWO, 0x19), }; +static const struct qusb2_phy_init_tbl sm6115_init_tbl[] = { + QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE1, 0xf8), + QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE2, 0x53), + QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE3, 0x81), + QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TUNE4, 0x17), + + QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_TUNE, 0x30), + QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_USER_CTL1, 0x79), + QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_USER_CTL2, 0x21), + + QUSB2_PHY_INIT_CFG_L(QUSB2PHY_PORT_TEST2, 0x14), + + QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_AUTOPGM_CTL1, 0x9f), + QUSB2_PHY_INIT_CFG(QUSB2PHY_PLL_PWR_CTRL, 0x00), +}; + static const unsigned int qusb2_v2_regs_layout[] = { [QUSB2PHY_PLL_CORE_INPUT_OVERRIDE] = 0xa8, [QUSB2PHY_PLL_STATUS] = 0x1a0, @@ -342,6 +358,18 @@ static const struct qusb2_phy_cfg sdm660_phy_cfg = { .autoresume_en = BIT(3), }; +static const struct qusb2_phy_cfg sm6115_phy_cfg = { + .tbl = sm6115_init_tbl, + .tbl_num = ARRAY_SIZE(sm6115_init_tbl), + .regs = msm8996_regs_layout, + + .has_pll_test = true, + .se_clk_scheme_default = true, + .disable_ctrl = (CLAMP_N_EN | FREEZIO_N | POWER_DOWN), + .mask_core_ready = PLL_LOCKED, + .autoresume_en = BIT(3), +}; + static const char * const qusb2_phy_vreg_names[] = { "vdda-pll", "vdda-phy-dpdm", }; @@ -888,6 +916,9 @@ static const struct of_device_id qusb2_phy_of_match_table[] = { }, { .compatible = "qcom,sdm660-qusb2-phy", .data = &sdm660_phy_cfg, + }, { + .compatible = "qcom,sm6115-qusb2-phy", + .data = &sm6115_phy_cfg, }, { /* * Deprecated. Only here to support legacy device