From patchwork Mon Mar 18 10:11:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10857295 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 478C713B5 for ; Mon, 18 Mar 2019 10:12:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D72B29328 for ; Mon, 18 Mar 2019 10:12:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 217A62932D; Mon, 18 Mar 2019 10:12:42 +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 BC97C29328 for ; Mon, 18 Mar 2019 10:12:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727724AbfCRKMA (ORCPT ); Mon, 18 Mar 2019 06:12:00 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:33139 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727577AbfCRKMA (ORCPT ); Mon, 18 Mar 2019 06:12:00 -0400 Received: by mail-wr1-f65.google.com with SMTP id q1so648939wrp.0 for ; Mon, 18 Mar 2019 03:11:58 -0700 (PDT) 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=g6ocBA+5CcZLFehmuenX/brSnm02yANlgkqtJdTZvaM=; b=BpmL3z6K1oIo81odcihCKBfnXDjGvWfD2Kr6RBNXQ41EaMVoG/4LYFi+jourMJhqQF r9GSz4WyqhrJz07lssaq4sY27oxLWCQfi4P9EYsnEXQa/x3KhxMiTaylM09YuZIwlH9k T1AJ5ZGgGqXb1qrF581kM/r1XR8/BW//YpaLwquMtuwCXHiW1aSodQ0nYg6PF0LIZoK0 5hqV2Kxw6CVan35XSUZW43hos9+fECW1UoBfbHvlM+2sV2Or5+rD8e9vpip2ExposJbP Atq/fXxH9fR5KmQOlt7D/qzVw1aCCXWrjZ3LD6VUOfxwzw05kHLew88EyTu1sYanb1+q SS3g== 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=g6ocBA+5CcZLFehmuenX/brSnm02yANlgkqtJdTZvaM=; b=qaA3PjUqc1TckGOag/23OqgJ46bu91aKaPpNcIc6OAQ4zL+P6LIr8INXn5e4PrSuTo nJNjQ26qO6rj2ecuGmHb7mhTxvAYLJSv0RatyjzqaFG5/FSwJorKROOiCuXU3eBCr1fH GRNcvgNcYqxaDR2jxMvdzA7vbiQGjYIFeaR5tdJNJtUCnXynl/UX9D7L/tkMwuhx2xTQ 14dAYo+tK8d+Dce0sHh+FM+P/At/qef4vgSWphNiS23W4pWpWqgg9z24jPG+RNMulR10 pWriWKqDZkUO/iMvTOlBcs7DFKUfZO7mabLId4k8NqjQJu+wKw5etnqa2NBBumLOLuiy uvrw== X-Gm-Message-State: APjAAAWa5bk9n/SfPBYzR9/45eXNoj0MMZgMMyCpNNyRQaGz/8mnuo89 XRlmGfA3Dd47JoTQ4CS8DosUZw== X-Google-Smtp-Source: APXvYqx1AJ63n0tl2hlTrLnOloaBnlcu/datzW+s5d7DVDtnk2hh1NxTKTlVFSL5kIbF5w/Osfwfmg== X-Received: by 2002:adf:822d:: with SMTP id 42mr11907063wrb.162.1552903918168; Mon, 18 Mar 2019 03:11:58 -0700 (PDT) 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 z8sm6697855wrl.59.2019.03.18.03.11.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 03:11:57 -0700 (PDT) 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, Martin Blumenstingl , Rob Herring Subject: [PATCH v3 2/8] dt-bindings: phy: Add Amlogic G12A USB3+PCIE Combo PHY Bindings Date: Mon, 18 Mar 2019 11:11:47 +0100 Message-Id: <20190318101153.7531-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318101153.7531-1-narmstrong@baylibre.com> References: <20190318101153.7531-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 Reviewed-by: Rob Herring --- .../bindings/phy/meson-g12a-usb3-pcie-phy.txt | 22 +++++++++++++++++++ 1 file changed, 22 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..7cfc17e2df31 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/meson-g12a-usb3-pcie-phy.txt @@ -0,0 +1,22 @@ +* 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 +- reset-names: must be "phy" + +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_PHY>; + reset-names = "phy"; + #phy-cells = <1>; + };