From patchwork Wed Mar 17 16:09:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amelie Delaunay X-Patchwork-Id: 12146355 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=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 41676C433DB for ; Wed, 17 Mar 2021 16:10:20 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 B870364F09 for ; Wed, 17 Mar 2021 16:10:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B870364F09 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References:List-Owner; bh=FrjAkht1i1YTP0sNyH2qiOWfKQBbNIGYBhxONQkh4NU=; b=Mu4sRiOuGKMDVOEsFUb1CFMzQ5 A916myci5Cwsw8rYVKdG7CChE00abBG4Um90EhWjo22qcSIw+/v+i+JVU1EqUl6k/fe6pq4zLtqZz W0kZ+SG+qNAqJmWk6Mle15Qt/xb6SWScs669KeJbjCthflpkOY3/zmBEbT5OzL++e/9s/YZOecHfH tMfaD46jNy+wDJdg9kvqirQPDzzK5QnFvcapyRN8s6zcz8P2/ts7cT+ZmJgxpVHCfDc7h4eJ8qI0f 5iAoDnGUVPENLR1aC7RYPgwzf9BCzKluCw0nKC4WBhrTZpCSrc06O+t47h2VfseIlYMOxswAcO4yB FzzDIWNw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lMYkU-003VNp-6N; Wed, 17 Mar 2021 16:10:18 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lMYkP-003VLe-0I; Wed, 17 Mar 2021 16:10:15 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12HFlk8E009540; Wed, 17 Mar 2021 17:10:06 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=selector1; bh=Iz7+Lyw7xDy/yfHdJRZxvAco5e3gTiWzHz1ThRW4Ph8=; b=s8ZHEx63Owo1nhicnpGs4gsRTuS6gbMUnRAnLO154i+Gx+HMNjbtGuujGvbDG69yZc45 ers4wZEWIFGmyOkNlKrNaWGqf3or8ZX0B0niT05LWvdTbwn1/8qPg4s6o9Qmy+HZtbCy PlqKAayRxWKx+UWhRy7E1Ue1KS39TCZ+hPANetszjw5/CtLcQL4rPMveNnq7Z8SRLa3r g057Sg70FEnURZt58w5bkInwmulHwhkXo36KzPO3R16ke8LDn/J78IS5Ul2igyMpofMu 4kTbdWwjCTq8NPhVO5I9RO93Y3+6i6VwFHnTGFoXvWMUdGXxOyXqMhBMZkYfmRliOLXz 3Q== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 37a8pr67jd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 Mar 2021 17:10:06 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id AF17E10002A; Wed, 17 Mar 2021 17:10:05 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 9939A23E915; Wed, 17 Mar 2021 17:10:05 +0100 (CET) Received: from localhost (10.75.127.45) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 17 Mar 2021 17:10:05 +0100 From: Amelie Delaunay To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Alexandre Torgue , Maxime Coquelin CC: , , , , , Amelie Delaunay Subject: [PATCH 0/2] STM32 USBPHYC vbus-supply property support Date: Wed, 17 Mar 2021 17:09:52 +0100 Message-ID: <20210317160954.15487-1-amelie.delaunay@foss.st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG1NODE3.st.com (10.75.127.3) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-03-17_10:2021-03-17, 2021-03-17 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210317_161013_253409_160F1175 X-CRM114-Status: UNSURE ( 9.59 ) 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 STM32 USBPHYC provides two USB High-Speed ports which are used by controllers with Host capabilities. That's why vbus-supply has to be supported on each phy node. Amelie Delaunay (2): dt-bindings: phy: add vbus-supply optional property to phy-stm32-usbphyc phy: stm32: manage optional vbus regulator on phy_power_on/off .../bindings/phy/phy-stm32-usbphyc.yaml | 3 ++ drivers/phy/st/phy-stm32-usbphyc.c | 31 +++++++++++++++++++ 2 files changed, 34 insertions(+)