From patchwork Thu Mar 4 16:04:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amelie Delaunay X-Patchwork-Id: 12116529 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=-11.8 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,URIBL_BLOCKED,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 0EEBFC433E0 for ; Thu, 4 Mar 2021 16:07:10 +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 A1BD064E28 for ; Thu, 4 Mar 2021 16:07:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A1BD064E28 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-arm-kernel-bounces+linux-arm-kernel=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=dW3NMLFcxL5Zm3IQu7NrNI0dmIEU4sYQU8uH7f+W+hE=; b=U+sR5FjY0bqji5UQgvBSh4R8Zo IFPGWi7xn2gCIckL+qa6a6Qc8Fhc2+Ld8+5yzaqL9nRn2nqYzW9AjlRGZ8L426q0CRIqXvr7MulbS zBTKfUU+DR2StiW9L2nZHKNUCBnzoaT2yLHLY1YDzWhyARtdosgqEaIYTwfSoRoyzyLhSP8HtLO4H YgAPqe+ktw53cHVRxGBY4T7f+ygoomHY8M3A+Aw3/gDhDsoxMuAHfNjq5HzYmzUjFrIv0GrTZZ8dk VsEe5Xkg6i7l9zD2GubMtM6mAGjjR4KiIU9RuCPnBE+BQvv4eqwsd+8X/0jTTOOaaOkbLlE2B7JHp N0WICvHA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lHqTb-009AWI-Q9; Thu, 04 Mar 2021 16:05:23 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lHqTM-009ARw-4X for linux-arm-kernel@lists.infradead.org; Thu, 04 Mar 2021 16:05:12 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 124FpBRl023360; Thu, 4 Mar 2021 17:05:01 +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=w86J0gge9QVsrPFtN797NjGqHob5AHd2hTJorobuIx8=; b=ahI6NK5K25ZDiAuDUaE1DklQjn6ntjbrMeNwGGc8+YX9STLs/x8wlqoGVgdbehLHoLXo FRhEfj6kQLdxBfNXdOwuKykC47APomdNnH8rBoOYdSh6LiMs2EkiOgF00uw9mKigOMzQ 63689RT1haoVUGEqX337cQ8UrhqUr3E1f95kPd+6M/+GypFnMZLXpTFhT7hVRqIuTIDG fpWWOE9xwQz8p50W+pH8w5drddi2y6iSRzEflg53i8I6WOun5PiurgkOVWoTgpvchHz4 PQ5lkceh/zWd9OiUMUHXlx67U0GqK5XW2tU0CHC3BxythV525hzOuinJxwpJ0MWCwUHy AA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 370xej57t3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Mar 2021 17:05:01 +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 784FE10002A; Thu, 4 Mar 2021 17:05:00 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 649D52073BB; Thu, 4 Mar 2021 17:05:00 +0100 (CET) Received: from localhost (10.75.127.48) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 4 Mar 2021 17:04:59 +0100 From: Amelie Delaunay To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Alexandre Torgue , Maxime Coquelin CC: , , , , Amelie Delaunay Subject: [RESEND PATCH v3 0/2] STM32 USBPHYC ck_usbo_48m clock provider Date: Thu, 4 Mar 2021 17:04:38 +0100 Message-ID: <20210304160440.27612-1-amelie.delaunay@foss.st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG2NODE1.st.com (10.75.127.4) To SFHDAG2NODE3.st.com (10.75.127.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-03-04_05:2021-03-03, 2021-03-04 signatures=0 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org STM32 USBPHYC provides clocks to STM32 RCC pour STM32 USB controllers. Specifically, ck_usbo_48m is a possible clock parent for USB OTG clock, during OTG Full-Speed operation. This series registers the usbphyc as clock provider of this ck_usbo_48m clock. --- Changes in v3: - remove #clock-cells from required properties Changes in v2: - fix COMMON_CLK dependency issue reported by kernel test robot --- Amelie Delaunay (2): dt-bindings: phy: phy-stm32-usbphyc: add #clock-cells property phy: stm32: register usbphyc as clock provider of ck_usbo_48m clock .../bindings/phy/phy-stm32-usbphyc.yaml | 5 ++ drivers/phy/st/Kconfig | 1 + drivers/phy/st/phy-stm32-usbphyc.c | 65 +++++++++++++++++++ 3 files changed, 71 insertions(+)