From mboxrd@z Thu Jan 1 00:00:00 1970 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=unavailable 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 9CB04C433E0 for ; Sun, 7 Mar 2021 16:36: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 2CD6B65150 for ; Sun, 7 Mar 2021 16:36:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2CD6B65150 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=marvell.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=4S+7Vv3EZiuJNAjTUa3W5WhEwA+LQRcUz6VA46YeQHA=; b=IZoyeak2oudP7DgUJOayIppUhx ZEE7nqyGvYXgLEbX5BpMmo9j49/LkpwFovF7NHBJ+Gl9jjBFBIMXWLBLkrho7qnmSzHBHnCAH+2bu +XK5R8uBe7nxHy/eOXJ77rfA+Dg+2IQRtjN9oVhAbGEgDdJ8DwVBUgl1at1IL+CCLABQoJhQ+Uh22 Bp2zfhpRRPPE7cPdEEPCeyHC7G+NxtIrsUjCyaWSGo33fe6fm4oc7Na6zLhLPQbn3drRaOBzMJ7Ah apksgGET2yfINbtzzrd9avLbrzn1Jv4tF6Fvcfo0wSLbVH0EoND32qdPq+ts6qB7HO48fkwaw/za6 gKziq1Gg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lIwMX-00B49V-O4; Sun, 07 Mar 2021 16:34:37 +0000 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lIwME-00B42l-DK for linux-arm-kernel@lists.infradead.org; Sun, 07 Mar 2021 16:34:22 +0000 Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 127GU7in001922; Sun, 7 Mar 2021 08:34:01 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=pfpt0220; bh=KLPb1rsjkx3u5PlGJi+FbOtdgcEFCynWuOWB2GJCFGs=; b=Lgvh60sWzae7yYAxihota6M6a3gfJ4V2TK3Py6uRV5Hp4Hzi5s6miKdGgUJ2ySJm7aRt s44l5I2h8xsCkWq8CCZ4GVEkQ4MMOBeBSfu5auAQSF31RlzdRrt3AKwz3fvDhvO/2kMU 5saaU60P0/rbkvNaFFSIzhbp9OJon/yoFA/QvOQ29HVnnoiQl5bgPHE2HA6iLZYrp6h1 3R/T7IMzcEpJe79/HPVLl41pM87THgn3yol+tJq4MLZgpvs34I5Lk1vRH8utZD2HXIg2 eQGUmuon6PeWAmdfwrFtE2aIIFSr03Jz5TDtc/IYUh3AtrXYm3+5o02c6d0F+aTFquc6 6Q== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com with ESMTP id 374drqsr2k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 07 Mar 2021 08:34:01 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 7 Mar 2021 08:33:59 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sun, 7 Mar 2021 08:33:59 -0800 Received: from octopus.marvell.com (octopus.marvell.com [10.5.24.3]) by maili.marvell.com (Postfix) with ESMTP id 2DA893F7040; Sun, 7 Mar 2021 08:33:54 -0800 (PST) From: To: , , CC: , , , , , , , , , , , , , , "Konstantin Porotchkin" Subject: [PATCH v3 0/5] Add support for CP110 UTMI PHY Date: Sun, 7 Mar 2021 18:33:37 +0200 Message-ID: <20210307163343.25684-1-kostap@marvell.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-03-07_10:2021-03-03, 2021-03-07 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210307_163418_782131_3223361D X-CRM114-Status: GOOD ( 17.55 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Konstantin Porotchkin This series of patches adds a new PHY driver for supporting CP110 UTMI PHY in Linux. Currently the functionality of USB ports connected to this PHY depends on boot loader setup. The new driver eliminates kernel configuration dependency from the boot loader. v3: - rebase on top of Linux 5.12-rc2 - convert Armada 3700 UTMI PHY DT binding document to YAML schema - create a separate DT binding for Armada CP11x UTMI PHY in YAML format - change UTMI PHY port node names from "phy" to "usb-phy" v2: - extend the comment about reference clock - fix driver probe function, add some prints - move to usage of dr_mode from connected USB controller instead of dedicated device tree property Konstantin Porotchkin (5): drivers: phy: add support for Armada CP110 UTMI PHY dt-bindings: phy: convert phy-mvebu-utmi to YAML schema devicetree/bindings: add support for CP110 UTMI PHY arch/arm64: dts: add support for Marvell CP110 UTMI PHY arch/arm64: dts: enable CP110 UTMI PHY usage .../phy/marvell,armada-3700-utmi-phy.yaml | 57 +++ .../phy/marvell,armada-cp110-utmi-phy.yaml | 109 +++++ .../bindings/phy/phy-mvebu-utmi.txt | 38 -- .../arm64/boot/dts/marvell/armada-7040-db.dts | 14 +- .../arm64/boot/dts/marvell/armada-8040-db.dts | 21 +- .../boot/dts/marvell/armada-8040-mcbin.dtsi | 19 +- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 19 + arch/arm64/boot/dts/marvell/cn9130-db.dts | 12 +- arch/arm64/boot/dts/marvell/cn9131-db.dts | 9 +- arch/arm64/boot/dts/marvell/cn9132-db.dts | 11 +- drivers/phy/marvell/Kconfig | 8 + drivers/phy/marvell/Makefile | 1 + drivers/phy/marvell/phy-mvebu-cp110-utmi.c | 384 ++++++++++++++++++ 13 files changed, 650 insertions(+), 52 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/marvell,armada-3700-utmi-phy.yaml create mode 100644 Documentation/devicetree/bindings/phy/marvell,armada-cp110-utmi-phy.yaml delete mode 100644 Documentation/devicetree/bindings/phy/phy-mvebu-utmi.txt create mode 100644 drivers/phy/marvell/phy-mvebu-cp110-utmi.c -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel