From patchwork Tue Feb 12 15:14:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10808139 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5D8476C2 for ; Tue, 12 Feb 2019 15:15:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CF522BB5B for ; Tue, 12 Feb 2019 15:15:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FC382BB68; Tue, 12 Feb 2019 15:15:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE13C2BB5B for ; Tue, 12 Feb 2019 15:15:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730297AbfBLPPC (ORCPT ); Tue, 12 Feb 2019 10:15:02 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:40133 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730211AbfBLPOW (ORCPT ); Tue, 12 Feb 2019 10:14:22 -0500 Received: by mail-wr1-f66.google.com with SMTP id q1so3071447wrp.7 for ; Tue, 12 Feb 2019 07:14:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=osllFgvA5o/xm9OT8Xpb7DYHPsPsZmWNpK7mAFRAhF0=; b=oiG+7YuJqM9Wn3QW7aHUgCS/ujcmlC66yyY0L75OKfZfhEsgXZGQp2Z4Ct+qlHmU7o zyParsGEfi6jFKGwT1Sm58Q8qak+h9AeePeIlLvc4+/zUEXTxtjThg0H0nNvX8yxataG giVR/PCot2NZA0WR/p3cxQAsNVSdB5GKKOKJQeuYEDGJZPVIbqVp53nOXP2m02tiAKIQ PquwisJwleHTWm7npHZn++dVEVj7o/zpwlDUOAUgMPK6xA1NVUXYIYso6V/NVOB4/3i1 dQw1UNEy0hA+owcyQXG/iWD53+HQMxaax3Y+zE+aBy3nBPyGemi/XeHehKveYrx1c6N6 wlZw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=osllFgvA5o/xm9OT8Xpb7DYHPsPsZmWNpK7mAFRAhF0=; b=Qy126+c3HwHIDmjCIfLI6YHTSiXx0Yd/4e7Yaqlc6vOE4HZErxiUYIRRvJCRsv7xzr 5BLIMv7pY0JASJthimH4SdQxrXA5MI/G2sxBGdCqBK+JCA0arJ0jKG6l5fppxSbuURqU OuCobeIQABcwBnyUVMntTe0Lr5MdHiJSjAglItyjfxKci7LDKIsvRdadNpaFAFlZz0Bh Cbr+jZy/CaC+rlXmxO0Mp+9DmMQLEpU5ATEQM7Y7JTqYi2LIdxvUnGPdA/LoEYW2vWm5 r5+0T6Wh6yDL/b7ooTBfdpqvA/xxnJB1g7w8afOuCpxLTWBzlxNPNTQZ/AhP2aTXtxAe mgTQ== X-Gm-Message-State: AHQUAubyE5SNahv7LU0h7dmQ77p6Gh7iJL6mbnAMBMpMp8hNcsVvw4as eXROgASNb8XTeg0gPqyxL0EFyA== X-Google-Smtp-Source: AHgI3IbQPmshcp7UbeGIucCzLiesV8ASLETHlCcJ+rDprRG/Eot3nXohyyE/10CpSA0gb4XgHD4aoA== X-Received: by 2002:a5d:52c3:: with SMTP id r3mr3246168wrv.163.1549984459784; Tue, 12 Feb 2019 07:14:19 -0800 (PST) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id c1sm1589515wmb.14.2019.02.12.07.14.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Feb 2019 07:14:17 -0800 (PST) From: Neil Armstrong To: gregkh@linuxfoundation.org, hminas@synopsys.com, balbi@kernel.org, kishon@ti.com, devicetree@vger.kernel.org Cc: Neil Armstrong , linux-amlogic@lists.infradead.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/8] dt-bindings: phy: Add Amlogic G12A USB3+PCIE Combo PHY Bindings Date: Tue, 12 Feb 2019 16:14:07 +0100 Message-Id: <20190212151413.24632-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190212151413.24632-1-narmstrong@baylibre.com> References: <20190212151413.24632-1-narmstrong@baylibre.com> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the Amlogic G12A Family USB3 + PCIE Combo PHY Bindings. This PHY can provide exclusively USB3 or PCIE support on shared I/Os. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- .../bindings/phy/meson-g12a-usb3-pcie-phy.txt | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/meson-g12a-usb3-pcie-phy.txt diff --git a/Documentation/devicetree/bindings/phy/meson-g12a-usb3-pcie-phy.txt b/Documentation/devicetree/bindings/phy/meson-g12a-usb3-pcie-phy.txt new file mode 100644 index 000000000000..714d751091f5 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/meson-g12a-usb3-pcie-phy.txt @@ -0,0 +1,25 @@ +* Amlogic G12A USB3 + PCIE Combo PHY binding + +Required properties: +- compatible: Should be "amlogic,meson-g12a-usb3-pcie-phy" +- #phys-cells: must be 1. The cell number is used to select the phy mode + as defined in between PHY_TYPE_USB3 and PHY_TYPE_PCIE +- reg: The base address and length of the registers +- clocks: a phandle to the 100MHz reference clock of this PHY +- clock-names: must be "ref_clk" +- resets: phandle to the reset lines for: + - the PHY control + - the USB3+PCIE PHY + - the PHY registers + +Example: + usb3_pcie_phy: phy@46000 { + compatible = "amlogic,g12a-usb3-pcie-phy"; + reg = <0x0 0x46000 0x0 0x2000>; + clocks = <&clkc CLKID_PCIE_PLL>; + clock-names = "ref_clk"; + resets = <&reset RESET_PCIE_CTRL_A>, + <&reset RESET_PCIE_PHY>, + <&reset RESET_PCIE_APB>; + #phy-cells = <1>; + };