From patchwork Mon Nov 19 11:08:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 151479 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2520929ljp; Mon, 19 Nov 2018 03:08:50 -0800 (PST) X-Google-Smtp-Source: AJdET5fKvp0hOaXbwMyCO4gNO2yqAzKHYHAtEqDFqlu7pxPkqx/bIEzzzcX1ITZz/KY4RpnMpjfd X-Received: by 2002:a63:d005:: with SMTP id z5mr19605498pgf.64.1542625730158; Mon, 19 Nov 2018 03:08:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542625730; cv=none; d=google.com; s=arc-20160816; b=sbIyRB9loW52rG19fETc5elXl0cGcA0d19lml1C31u7+OXltlZetx4mbs2cCZbylko ZDD50nX/msqwr7ST8QcJ1MsANmamDkaIXAeiu2bBb69uRYAPwYK1JUzqRsTYfQqnQ+vd T4SjFPM4FhDy53feTEL/i9hINdP21P3nbOFqHl4ZpFZRqVHwOEWFZhvoiUH82oNpHcsK AijCemdOvM6H7HSMTiNDQWxRYbSQnOt/tcTR1p3Qq7iT3EQGJKhcRNDN1dQ6KMB6Qrsn 2uhQhY7WlK3Tkkg3koCdag/CYkhn+dXENhSFuc8XATaChxg/N2aQKrUtkqv9upjicwg0 A33w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=hcrTEn3IZek4MtdyEmTE+H8Qe3S1camCgGNvKmUVN5g=; b=0daNubTVuFAFMAWkI52Dg5NUFjVxKE3uQgkqOZM/oBKTjc8NNd0ikrBuMKl/rFH3hK 10xbam7mJTxwnR3HdZLS3eoVa/wci8I9e9H2Y+wl6J+6mkdx5DTgMwnGSHxHt5CMRTID QUjB5Ycz/hhtVsKeg6cy25pBUa9yYQCFZKji8E+LHZfFRr8h9NtLQ0RpKr3KOlsZdpgQ MqTFI7HNTExiQllrA2NaGq9xKNUtyPhxrlvMV0KuRwNich60if43oAG5UeAcQdL04v4F 8MitE8+uEo+fbkWi/Qs7jAu/8LuyBAFGtAHu4+EDgKjYgQR2tKs8CBBJ4qkOMXaKcMxg qp7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HgMDSgz7; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y63si9617722pfg.194.2018.11.19.03.08.49; Mon, 19 Nov 2018 03:08:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HgMDSgz7; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1728547AbeKSVcG (ORCPT + 15 others); Mon, 19 Nov 2018 16:32:06 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:39827 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728546AbeKSVcG (ORCPT ); Mon, 19 Nov 2018 16:32:06 -0500 Received: by mail-pg1-f193.google.com with SMTP id w6so1436572pgl.6 for ; Mon, 19 Nov 2018 03:08:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=hcrTEn3IZek4MtdyEmTE+H8Qe3S1camCgGNvKmUVN5g=; b=HgMDSgz7lIVkinQSPRcD0hc7uKMliZQy2dYzUBwzn50T/gCRORyT1jXm6M60h9IFFE W41VZW5kwuIinDWx0EpVvKWP0N1ift1G4vn26fAJa1NVA0TrqGhqpvMONck5xLXZRtVu SjXxfQ94tbKbJKEUe7m13/A6YWdmSfo7oAJ+M= 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; bh=hcrTEn3IZek4MtdyEmTE+H8Qe3S1camCgGNvKmUVN5g=; b=FKr+YKf7G/Uh4TeBFs8usG82wvkLZtvZqQhR+ChAbcf8gX60OZUdsAhskFCbUsNKte MJP+wTEpWt0cFr4zhaY9yihnPAxXG80XaPzMJ36J51F6ABME+wc88CSAP81djt/JaJAF JuGSWE54NSwNeRS7Kip9gJR0kU4NCqSszg60CgPdch07RnxPMRaE9rsLSFxy+BfQqwOW 8Gh6t/FCT2txM87Y+Pacf3m0O+GvIynfZNVRQfNyPVZFcrRjLTkzAQJjBu4KtRotGZfp rxVrzgR5pY+ate7heajuF711cQvhoDRuHpenNYR1N1HhIEi4MOOA8GR8eZcABP6x6X50 pwtw== X-Gm-Message-State: AGRZ1gLuv2VJpGKwVRh//daG7Oc30xZYq+gqZKZ+dgjn09UXB5dRkSAO XoVy6+sjk05/HpdilO4Smp5bXg== X-Received: by 2002:a62:a511:: with SMTP id v17-v6mr22366371pfm.18.1542625728236; Mon, 19 Nov 2018 03:08:48 -0800 (PST) Received: from localhost.localdomain (61-216-91-114.HINET-IP.hinet.net. [61.216.91.114]) by smtp.gmail.com with ESMTPSA id q25sm43906934pgb.2.2018.11.19.03.08.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Nov 2018 03:08:46 -0800 (PST) From: Shawn Guo To: Kishon Vijay Abraham I Cc: Rob Herring , Sriharsha Allenki , Anu Ramanathan , Bjorn Andersson , Vinod Koul , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Guo Subject: [PATCH v4 0/2] Add Synopsys High-Speed USB PHY driver for Qualcomm SoCs Date: Mon, 19 Nov 2018 19:08:10 +0800 Message-Id: <20181119110812.15825-1-shawn.guo@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org It's based on a downstream driver from Sriharsha Allenki that uses USB phy framework, and gets rewrote to adpot generic phy framework together with quite some cleanups. Changes for v4: - Kill device tree property 'qcom,init-seq' by moving the settings into phy driver as device match data. Changes for v3: - Use SoC specific compatible "qcom,qcs404-usb-hsphy". - Use OF graph instead of extcon bindings to model the link to USB connector. Changes for v2: - Add a pointer to phy/phy-bindings.txt for property #phy-cells. - Roll back voltage settings in case function qcom_snps_hsphy_config_regulators() fails in the middle. - Add a comment for init-seq tuple which consists of 3 numbers. - Sort include headers alphabetically. - Sort register definitions in order of offset. Shawn Guo (1): phy: qualcomm: Add Synopsys High-Speed USB PHY driver Sriharsha Allenki (1): dt-bindings: phy: Add Qualcomm Synopsys High-Speed USB PHY binding .../phy/qcom,snps-28nm-usb-hs-phy.txt | 87 +++ drivers/phy/qualcomm/Kconfig | 10 + drivers/phy/qualcomm/Makefile | 1 + .../phy/qualcomm/phy-qcom-usb-hs-snsp-28nm.c | 535 ++++++++++++++++++ 4 files changed, 633 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/qcom,snps-28nm-usb-hs-phy.txt create mode 100644 drivers/phy/qualcomm/phy-qcom-usb-hs-snsp-28nm.c -- 2.18.0