From patchwork Mon Mar 25 09:39:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10868507 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 CF4B41390 for ; Mon, 25 Mar 2019 09:40:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC74A28E3E for ; Mon, 25 Mar 2019 09:40:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B03352911A; Mon, 25 Mar 2019 09:40:28 +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 4F76929112 for ; Mon, 25 Mar 2019 09:40:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730437AbfCYJj7 (ORCPT ); Mon, 25 Mar 2019 05:39:59 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43327 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730285AbfCYJjv (ORCPT ); Mon, 25 Mar 2019 05:39:51 -0400 Received: by mail-wr1-f65.google.com with SMTP id k17so1295360wrx.10 for ; Mon, 25 Mar 2019 02:39:49 -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=gVIrPdOFdZvdnroywufsY+QsNjB1DOvF/UDjdy0FiHY=; b=wHo/2/uZgXxm+xw6/nHYKVfXM1qkY/ErPBMa2PYelMs7twOKz97S2oNvRX8AOi21Gy EFWO93IYeW5Hf77WSES6WCShjHUbmPlzVDVfyLV6MNdDr9z15RpIrnBkn8sUI9ua1hUT 7XAhQ71P3GLWB3eyVj7eoe7nU78YWlwlSxLhOvwoJsQ6nt5FdyydSXUeZvi7CJAjyY7y FrlNuwGN/yfp2J1bRrXcOfajBDovrer3hkcZqDQIRsYIN0nq2roxErvfI+vfpwHByO+s OlLSeVMwLqk62qtVnWTZM0h5Bu4mdO8xUty2fkBCY9mVEpZJ+/zRp+SnzDzmr8mDoAEi zBHQ== 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=gVIrPdOFdZvdnroywufsY+QsNjB1DOvF/UDjdy0FiHY=; b=YQpslrOLg4DwUSVw8JxM2IW+4vtcdME25FSEmrjCE/2E4gpyOFCyMXplJtOrJXjsO+ n5oPq442+wXBXKtUkCZpGpdmAEZ2UuIcUCBC9rsJllIB9B0c0Ql4bsLHvQrtwA1ObnEW w9DP95KQxGtkdFnvWShZXxaGQvMNbzsgskzBLpUHWsS6eq2wajGUkyvr0X2Vtq69ikoQ D8Fv7IUet+9/iYV5tdE5cTxKgr0BCJg/GP1yefnyBdpGg4NWWLwPGzPMGk4u8TGnqbDz zKD2OEvRXmWjo5b+/5lFcMFboosCgKRvvFsYXemqEhErYRa97XKX9qJ7RIirxymNKyPc +Cxg== X-Gm-Message-State: APjAAAW/X27D7Q5vjnO5bLlVIpIBl2GTbOtZSKMjz3/DxdNy6NL8GI0w nKkNcFK3yLZV4fIGz0SdF0ABEw== X-Google-Smtp-Source: APXvYqxwz/TOn5DsU4AZsdlDrmumTaQph5bp62v3v6MVqtZfZ8nFKu+fGvjFZuZMOw+Mq/vfV6PAUg== X-Received: by 2002:adf:ec4e:: with SMTP id w14mr2332205wrn.53.1553506788719; Mon, 25 Mar 2019 02:39:48 -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 k14sm13044652wmj.26.2019.03.25.02.39.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Mar 2019 02:39:48 -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 v5 2/8] dt-bindings: phy: Add Amlogic G12A USB3+PCIE Combo PHY Bindings Date: Mon, 25 Mar 2019 10:39:37 +0100 Message-Id: <20190325093943.29138-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190325093943.29138-1-narmstrong@baylibre.com> References: <20190325093943.29138-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>; + };