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_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 7C1ABC433F5 for ; Sun, 12 Sep 2021 14:22:58 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8D63160F38 for ; Sun, 12 Sep 2021 14:22:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8D63160F38 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2581783907; Sun, 12 Sep 2021 16:22:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sholland.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=sholland.org header.i=@sholland.org header.b="UU1aSy5L"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="ehNVQg13"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 463C383914; Sun, 12 Sep 2021 16:22:52 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7DA9883903 for ; Sun, 12 Sep 2021 16:22:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=samuel@sholland.org Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 4C6F95C0078; Sun, 12 Sep 2021 10:22:46 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 12 Sep 2021 10:22:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=O69/G/v7AVoPT+fE+YfbZH46nn rTZWhNIZ75pUfog74=; b=UU1aSy5LkEalw2d9pgOKFibQrRDCNC2opxn2Z9gORp xC0YjNWgXhmv94N9vckrIipAgP9Wt9SqyKT6A1FDkVF0ICxKyRrTMLvTW3Laoclg ro+14YgvpmVYcxgaXwqGwrnmYLTXdwfv1gr6OIuptufOtMps7LOL3NEaxIwIE5V2 tY0ZaI9YDdOjTNCGtu4LUSI1nQ/TIqMT/N1REA3US1Rul2G9phk9IR4nZ/sFBsYs vCfsvqxdHnWHXWH2128lYa2QpXcX0om2LpCXwoNSytq0CCnDQGeoyUzSWlEb19su STR5gvm8mpxu7wqYIIO+o48MkiUFwrvqMoF39SyQ7brQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=O69/G/v7AVoPT+fE+ YfbZH46nnrTZWhNIZ75pUfog74=; b=ehNVQg13/vh48rgh/5H4gNCZoYkctQ2Jf lbAJFXxavmlyI/osaEpW+Stz3smJE0ajw17vLXhnLXdPYHs0RctSP/yH6AkPm0op 0aR1xOgtLS7SCgd/ohFx+fuuVc/9QH8CZia4fDTJ9aiJaHGRfKnXbAfS2X90jpyE i8RhuSLo9jUZhMOmgz6sbMkuA1WOLKTBWYAWglhN1M0vOGfrZSjfkkTulp0gwEUG OtpPkVHBnDhROiQuHNfOZ9hqFToKMcIu6GUHSFI6bpIcxz4x8yGuDjZsW/BkRdGW mgof+3VFq5esCGZrs6EHIF5LUc6GjsL5cuh8yitSMYiDARUiqgb0Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeghedgjeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgvlhcu jfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtffrrg htthgvrhhnpeeiteekhfehuddugfeltddufeejjeefgeevheekueffhffhjeekheeiffdt vedtveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 12 Sep 2021 10:22:44 -0400 (EDT) From: Samuel Holland To: u-boot@lists.denx.de, Jagan Teki , Andre Przywara Cc: Samuel Holland , Joe Hershberger Subject: [PATCH 0/3] phy: sun4i-usb: Support VBUS detection via power supply Date: Sun, 12 Sep 2021 09:22:39 -0500 Message-Id: <20210912142243.9912-1-samuel@sholland.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean This converts a hack (a virtual GPIO pin) to less of a hack (not-really a regulator), but at least it now supports the device tree. This series adds the consumer side. The new code won't do anything useful until the regulator driver is merged (which depends on the DM_PMIC driver), but it shouldn't hurt anything either. Samuel Holland (3): phy: sun4i-usb: Remove a couple of debug messages phy: sun4i-usb: Refactor VBUS detection to match Linux phy: sun4i-usb: Support VBUS detection via power supply drivers/phy/allwinner/Kconfig | 1 + drivers/phy/allwinner/phy-sun4i-usb.c | 34 ++++++++++++++------------- 2 files changed, 19 insertions(+), 16 deletions(-) -- 2.31.1