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: 12346969 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=-13.8 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,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 73A38C48BC2 for ; Sun, 27 Jun 2021 18:58:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 302CC61C18 for ; Sun, 27 Jun 2021 18:58:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 302CC61C18 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WORNMFyIrxhLbs7fqOZCXyPNpfQ3k0DLJMRWZYMMPxw=; b=LIDN3myQDtaZLj 81PE0q21QZYhKOnhlYbBNnlhUNVVwGZ7vr1MBb/6c66lcME9lorgXYLfE5vHGqftS5m6xh3bpsy9r YVyvsXiWAElvUcR3dn3mycoaDTULXMyy0fdKikd9r5JymiiPpQs/eutNuCWVUFcTKYhv6LUpsU6+/ Gj6d6KxYqm+3fpcroZ1G3t4h7TDF0fBthYVCfsssX+RjanNouNOK/ZuB5hh5EL4eu3EO+6VsoovUu IAeBgioM0KQHHnr0kkD51I0MHmePdv/ABVI1/NjdYIzV5wrU5uAmcSUxJ/CPfDFkf8KcCzVak+jVp JjY4aO5AvDBJaUi+P6lg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lxZyh-0060H3-Lc; Sun, 27 Jun 2021 18:57:59 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lxZye-0060Fq-Tj for linux-phy@lists.infradead.org; Sun, 27 Jun 2021 18:57:58 +0000 Received: by mail-wm1-x333.google.com with SMTP id a5-20020a7bc1c50000b02901e3bbe0939bso9522006wmj.0 for ; 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=gEnYpj9vr0gtICUb29MtGuR35c1+0DMhA904+ygafFJ41xkyx1T3QjRD+k1/F3Iv5U KegW5Yy8m8XzqWGIvJmomfwME3zOyBkMPtRVoJATkgz9HqUJGB/oThS+xt8GRMYo55jJ mDOel7d1Kpuwf2NQo8+JWHebC+/R9V1IhDLRm7EwE3UZH/sJlq3yDFEdjlYx4fyj4AWC FmwVE5mjn2ZBMs0vb3LWQy9sku+ivwkVzleRg59y1tX4WRD6I8WtZLuf26so9o3u3HXS nO/KTlFnTVXKH1ft4Q7438gHQvcQtWcrdifzzoaAP4/RoHaiwSRxS1QuR48fxU1jvDWZ KM6g== X-Gm-Message-State: AOAM532f6OSeZvZKKM/Dz4N3EYPRb1XRJflwm5ncaQHqnNDlwJeJ8rsj 8ObA2LYqEehD27HRiLWZbA4= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210627_115756_997397_DCFB17F9 X-CRM114-Status: UNSURE ( 8.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.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: 12346973 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=-13.8 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,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 A8094C49EBA for ; Sun, 27 Jun 2021 18:58:02 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 77029619A3 for ; Sun, 27 Jun 2021 18:58:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 77029619A3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Y9JJXtW28kWsqoxPzPdQHyGp0il5/AfeRjYmVKyonbE=; b=YppEcHJT9dhiRH GVc8BYjCcFtCW6gAgiiepyHAeFUKy+cIscmU1KXbV6zoIpbqdrR7ETPEfVLHP/SBCw0L3XN2pOzj6 T94f7KMeejmPzpGAWFlvO5qvlCUSzr7HmAQOfnwEqrvhHGV/mWgSsaYlx/odbfRWLhVLQxopvyl/4 mvOdWVCKqmv/wsM0u0I0ajrQBidAW6X4l8YfjxqNVgWY7iKmT2hRZbUFmL5iMW6CUS5hjg00UATy0 LJtXc/Ya1HwuxhS8JtTffdFNo7tAWtB1LgG/M6ZwSbJj1C38d4dsatwfpA1Mehk8QgpOmZSRSabSz vi1BPALWhn71QVyFnWDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lxZyj-0060I2-UP; Sun, 27 Jun 2021 18:58:01 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lxZyh-0060GC-20 for linux-phy@lists.infradead.org; Sun, 27 Jun 2021 18:58:00 +0000 Received: by mail-wm1-x331.google.com with SMTP id v20-20020a05600c2154b02901dcefb16af0so9476777wml.5 for ; 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=T6/clQCmZoPDvgT2FRy4JDHLSg85iBRvsDabg0NQPURPq6rmQ2T0VYIsz+jQ5NPqHO s9YHles0mR3V5oytoTMR3A7HRKPE4gLN1OvZd2ZACaBnlRf95sELIurCbSXM+SB1MjmM AlqyXNtd3BIsoh2lSbrucQrMkUujGZtufQYCowNa2XgEYV74LHXuOG/QaHH9NAuQYgou 1ehC1wuk41YrNxGgFEMY3Dx88YEj1HICqWzkRkYsfM1Y8mHsPM6LEHMhSMzFxUW5pKUr 7lmLRHcJJ+2zucCfWxqvCYVp8vAZDN6a0Gqcuo7Ie2W8Nv9CZyy+IWGxYOfEkBoskftW KvBQ== X-Gm-Message-State: AOAM532selG0Ew6Ap1CdpRYZf+iz8TDq9b8LGs2bYblYR49jYaAUfj58 d0EFWLZgpwDUFUkcJeGTv+M= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210627_115759_143227_4236FA44 X-CRM114-Status: UNSURE ( 8.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.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: 12346975 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=-13.8 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,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 8877AC48BC2 for ; Sun, 27 Jun 2021 18:58:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 485F2619A1 for ; Sun, 27 Jun 2021 18:58:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 485F2619A1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZvonVRdqcoTw1Qp4gP5S32CyaYR5tK4k5XiQyohugqw=; b=J6q7o/A1DfPAil j3d6nKOyx0n9w3aBlcHOiP/KwPCWGKIxIIW9xM6y5C406L6GcC26AFx21pk5lVj7hOgmDwua0pdD1 ZI9+l+7WOaB3EXuz74N6gb2xKEezAUQVTAzcaDwt3S9OxSVZoap3FflqPXedu/6+zYfQzYENy4aj6 9seJkW861eY3dLcNyqZoRE3n1f+Wt5XNWNnoQnofXAKHpgY1xKK57QyVC9Q0lsAM48JHJkPS7FeeH 13b1tz4/24UBiRNDVAPUQEkFt9gWtMWqWmdCLUsFKINUVYciqZTIJ7TZ+VBAq1BgIjkHjeTXMvNqf DpVO0MK5x8TaRREnjC8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lxZyv-0060KN-R7; Sun, 27 Jun 2021 18:58:13 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lxZyj-0060HE-Ct for linux-phy@lists.infradead.org; Sun, 27 Jun 2021 18:58:02 +0000 Received: by mail-wr1-x433.google.com with SMTP id r8so4133024wrx.5 for ; 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=oswsSUCp8CEbIfFi7GdzmdLQ0eeULq6kcNF4f7vcov6/9OYGdq/tbaIrSAHcV5PhPq aJ505UstqJPNgXeYYNckEUCRjz/sFIPyc2n97uN4m7SzmBRX30uANeLI2LRC4uaEZxc+ SYT4ZDCwCnVRINIAryk93OBp7TbDGQMRH5zN3VoePaK2vsFCgMT33PBiG8hGHGsvcvwf TbNgOZDmB08PhQeRqW3CY8nM3+aov+v9ixGqlhcmtwk6Q6nU8Q2KqdgNlnMCF3390yqt vQtouQafJKtC3wPQK0nhwkvvaTbnXP7vNHtkypLsFqznY4ozYykXii2uL1QaVpujT9nU UFuA== X-Gm-Message-State: AOAM533eIJLzcCYCT+QhQ2k9dszIh6dn5uA53jrSv9Vl3XigLMkmsJ5g oWJ0uS3fAZkdEGVKX9vYgbM= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210627_115801_476790_680A92CA X-CRM114-Status: GOOD ( 11.83 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.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