From patchwork Mon Apr 3 20:31:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 669797 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d08:0:0:0:0:0 with SMTP id z8csp2086875wrt; Mon, 3 Apr 2023 13:33:53 -0700 (PDT) X-Google-Smtp-Source: AKy350aDiD9DsXz7f/fYrjKlh0Iy5NssVVl6aibjgS0XFpfpQts+BWXz7g04bjMrZYp14yFG0rjH X-Received: by 2002:a17:902:e883:b0:1a1:db10:7ba5 with SMTP id w3-20020a170902e88300b001a1db107ba5mr338436plg.41.1680554032844; Mon, 03 Apr 2023 13:33:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680554032; cv=none; d=google.com; s=arc-20160816; b=ljN+OFhg+s0RxslLucKPaK7H04X2v6GHLb3+osJo8zvQtUai2CpTpP0RV5NA5otX+B EvowA9aO6WPj0T1kmQKrl1DRtnHuUB7kST//i25MyB5cRTKFp1OaZFDeiN7PbOMCAkfp 0+bNTvlS6qdwEZAdu2XSo6gAxoqzFafPBUh33xW1oeMaqlb8fMOBkqhw3tlm7JMlATp0 VuSZq6Q9NcNX0aflXSwb6uuqQMsXWVIO3RX7WFdErjPdOsBytxxtFx9TKmE/5vKKlcAX lz4aYOwrySBuPwn3SjwtlNXUNGoGyD1W9K7JkZxH2caqvXmeStOYCjeltGq4UrOXOI/B 3fZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=/O8KwI35fBZJPebCjUUG25rK3SVyzqhzRcP4VMas84U=; b=imLUATyw2CZZAJIipmmXvlp+zKJRCsnFKvNBiFyrSbgbkrHeBGIXPMiRoKTlrkPJLB U52/z3prN2pTPlqQHls+WwvLvf3INAXQZJisXt8Cmtkoa5mkDetPVKFISxzDa8JcKqax Pgm3h1VZyYTA98xxE00CTsG1zEXGgl3SiqDQ0kXIsJfSnisXHUcmz4AqV7s5/E5k3WPl mpUcfE5VfIdmhgGlBrbcfDcUvVBQMWGyq8g9qgsmVENK1EEdnmRwOmRyx0+0pCOWaCHK geRmu5Tl22hPS+xSNevgOYdn8k1Jro73bX/dZckQ827oqYvdCvxtNhLXNevMnJ7/fxpZ HQtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="dp9i2/vZ"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id k3-20020a170902ba8300b0019cf4957404si5870702pls.24.2023.04.03.13.33.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 13:33:52 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="dp9i2/vZ"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BDEEC85C52; Mon, 3 Apr 2023 22:33:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="dp9i2/vZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7BC9D85B74; Mon, 3 Apr 2023 22:33:42 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8D91C85927 for ; Mon, 3 Apr 2023 22:33:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bhupesh.sharma@linaro.org Received: by mail-pl1-x635.google.com with SMTP id ja10so29249393plb.5 for ; Mon, 03 Apr 2023 13:33:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680554017; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/O8KwI35fBZJPebCjUUG25rK3SVyzqhzRcP4VMas84U=; b=dp9i2/vZlxdVUDy02kgfCQORfciLFKI3fHzZ8u2eItPK/3TGJcEwz5GLTPjE6mPfeg 8eF1iD9ubWGWzBuAmlnhqAXk55bP5vz4AxfUih46G5WWyn0LjX8DacRwPblkZY7JtpGv uM5IWPTgvMF4taCIdF1SxHhU38gokq2M10Ny2Jzmyh7LRAVCGFqsX+nFzIFl///E6SCX F9gAywa/ZsX1x+opw2LNk13qqBa7Da/tXT/xp0xSpPOd3oWNFKvNqLRfBBtBMth3y9Ek x2yXaI4jROk+hFDTf4XhN6j62jHcrTA4ISiJ66sWpeOcHkjpCuoizIngBohvhSdeieBs vitA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680554017; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/O8KwI35fBZJPebCjUUG25rK3SVyzqhzRcP4VMas84U=; b=bnyQ78zyzu/e2q/7iOQdi2EvTiHm06vr05BUtew7lVF87yANj5zuTukJqwbMDV+zEa 6y5i5RARdlrvDXtXbznoDu/j91vZJoDkmKWT60a1PrF1wlYEoXwx8PxI/5XW9VmnUpz+ 0VuyRM9DOmWR/yUwHaOJ0GY12IYC12R/jwY8QiZuVh9ZsHiR6C4hcMtprq3CaFnmgXeB jatMQXKRlHv6bVK2f9n+wtndRKnrorV9e92RaW0zcEmhda5Dm4kkOzD67msUUshdQvRT PdmDyuF5K1WPtMIq9K1FQlBUmXBihNq0boOYw2N1yw3fp6sYlnYLDf8CoWJq/3fLlo+T aV9Q== X-Gm-Message-State: AAQBX9eI13ENAy3S1J9l6PLsvlvJ4dAKgMlPY1x84aKgX3AmY+jnON9D ZQtwJUkpAVjwBY8/JVfNlib7EI2sQz+ph8XxJtE= X-Received: by 2002:a05:6a20:8b8a:b0:de:ad43:3966 with SMTP id m10-20020a056a208b8a00b000dead433966mr102441pzh.4.1680554017471; Mon, 03 Apr 2023 13:33:37 -0700 (PDT) Received: from localhost.localdomain ([223.233.67.41]) by smtp.gmail.com with ESMTPSA id z18-20020aa785d2000000b0058bcb42dd1asm7359039pfn.111.2023.04.03.13.33.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 13:33:37 -0700 (PDT) From: Bhupesh Sharma To: u-boot@lists.denx.de Cc: jh80.chung@samsung.com, peng.fan@nxp.com, rfried.dev@gmail.com, sjg@chromium.org, trini@konsulko.com, dsankouski@gmail.com, bhupesh.linux@gmail.com, bhupesh.sharma@linaro.org Subject: [PATCH 0/2] Add support for Qualcomm QUSB2 USB PHY driver Date: Tue, 4 Apr 2023 02:01:18 +0530 Message-Id: <20230403203120.1405733-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Enable support for HighSpeed QUSB2 PHY transceiver for USB controllers on Qualcomm chips. This patchset adds driver support for the high-speed PHY which is usually paired with either the ChipIdea or Synopsys DWC3 USB IPs on Qualcomm Snapdragon SOCs like SM6115 and SDM845. Bhupesh Sharma (2): dt-bindings: phy: Import phy-qcom-qusb2.h phy: Add Qualcomm QUSB2 USB PHY driver drivers/phy/qcom/Kconfig | 7 + drivers/phy/qcom/Makefile | 1 + drivers/phy/qcom/phy-qcom-qusb2.c | 423 +++++++++++++++++++++++ include/dt-bindings/phy/phy-qcom-qusb2.h | 37 ++ 4 files changed, 468 insertions(+) create mode 100644 drivers/phy/qcom/phy-qcom-qusb2.c create mode 100644 include/dt-bindings/phy/phy-qcom-qusb2.h