From patchwork Mon Mar 18 13:26:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10857647 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 A58BE139A for ; Mon, 18 Mar 2019 13:27:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8FD702910F for ; Mon, 18 Mar 2019 13:27:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7FD1A2911D; Mon, 18 Mar 2019 13:27:58 +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 26B872910F for ; Mon, 18 Mar 2019 13:27:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727830AbfCRN1x (ORCPT ); Mon, 18 Mar 2019 09:27:53 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:55003 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727367AbfCRN1C (ORCPT ); Mon, 18 Mar 2019 09:27:02 -0400 Received: by mail-wm1-f67.google.com with SMTP id f3so13137151wmj.4 for ; Mon, 18 Mar 2019 06:27:01 -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=k9psut69Jf3ozrHv0nsInX4d37vW2Pzw8gdMlerCQ8c8oB5YYt19lCo2mTOLbWFd+i 3dDLFHpE5CM1ZsWuqpzZBglObWO850Wkht7TT7LAfOL3C49G/sQypf7GIj+TH3X24jqR Q8daGAVWcgIYH5s63loThbf0HKnGl+zBD0NDMQPDpprdXcpZig6PXGqQm+gy/qo6mJYP Z0t8P+JF51Q5Qefsm2KdvPZkvqj14GSAYEhW1nkorEDzCeRxFE1p85M8cpeTgvgHUAKV 30yYmOhohJHwJNVe5MvnbWhM4vJV/fWf5rxcSkHhy+ni0/ai27gdG0KXvfD0QL+JUsYA /dXw== 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=XTIpw64x8ueex9rP+mxlBHD0FKArpav2X5uflpAvWpzp8XE+dJwefKgcRkKWvV4xO+ VPdzqtLxy1dkPXmKGkE1oZ7XqHjbsF6fUdN1txq5d+wCFspNr0P1zk8U7WSbj4lsQeRd otYP0blm84TtJRzGbp6lj8ce+D2dXw3e7eBcc3YVXKUkRjPl7f7VtdoxYj7+/lLTt/VA iBuyRNm1fDdtUOmUyQnquWhuzmDxOJyXONLhPCirZI+QBZCIxEuD0R5fsrT6DG7Mw/Zp 0tjJJQ3rY6TGlGsgW0jRZFrboKkPH7hyvgPaUWZ7qgscEg12/dkHKen3lVh2s0nHHTOx Cibw== X-Gm-Message-State: APjAAAW6KQZResUXEYnTRYwgA21svZzrohwKeLuuebPm53O6L1/sswyD hxBgoh1qHb0l5sgcFK3j1Fuz3A== X-Google-Smtp-Source: APXvYqy+438qD1uat7C6Dyw/bxfXr8AGTdadgnhWoXqIOwdUSthgwxA/qN2Mqb7oObjkcqc98xkXKw== X-Received: by 2002:a1c:234d:: with SMTP id j74mr10395413wmj.130.1552915620192; Mon, 18 Mar 2019 06:27:00 -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 j128sm10421601wmb.43.2019.03.18.06.26.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 06:26:59 -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 v4 2/8] dt-bindings: phy: Add Amlogic G12A USB3+PCIE Combo PHY Bindings Date: Mon, 18 Mar 2019 14:26:49 +0100 Message-Id: <20190318132655.30040-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190318132655.30040-1-narmstrong@baylibre.com> References: <20190318132655.30040-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>; + };