From patchwork Mon Mar 4 10:38:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 10837597 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 D60ED1515 for ; Mon, 4 Mar 2019 10:39:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BEFB6296DA for ; Mon, 4 Mar 2019 10:39:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B35E92988E; Mon, 4 Mar 2019 10:39:26 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5E4D3296DA for ; Mon, 4 Mar 2019 10:39:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Tm3W0RuSKHwi1i73GWbat71wTTfzu6ijufEAm/uDPug=; b=YffXYfqQhFAy/l 72dYq0kndMU5GA8cuG/ITLZ9PCYkzE71LGO2m4zCrD1OYccur4SoM6k9q7LkJbwl+qD4Uun0Pbts7 eibHdfAD8mT6tRcNZ3vGwGJxKKIMlwk5WWYRJS1G5Eyc00NLyDdAK8LQbt2XWEK7LSgI4U2H7wkTR gdyiREIKDWOwd90GjDJjnk9WLNAjxdKEE5t5gWxx22TCOsCSp1Tbyrfb6sjZ4CDj3l4OrjWm+snjG tGG83rnfqLzHXLJ0pVN7BVSpICObnV3GGVrnePluM+6id25GLS2GACcJCytSibVwFWKqEocapoeud A4gdNWUbKaVd6RRRlcug==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0l0C-0002Vn-Lr; Mon, 04 Mar 2019 10:39:20 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h0kzl-0001v0-0p for linux-arm-kernel@lists.infradead.org; Mon, 04 Mar 2019 10:38:54 +0000 Received: by mail-wm1-x342.google.com with SMTP id a188so4134539wmf.3 for ; Mon, 04 Mar 2019 02:38:52 -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=72v4hanMqXDrgOzm+tqI3X31HXue2r+EANQzMeKqzLE=; b=SB9Cs8NrcFoAysdT5wqeIpNirIvYRpHeUMRbI9E+2sthBPc7xfD1weWTfYu8CYHWOM YPd53BCc3lCMKuXBS6b3CwXNKvDGPGhrxYyLxKL1ybpJJTNgaukyhZnsSLXd1u5VTm+o uQOF/X8RKPUemDRtiD615+lctc7nzWcGXIn2UTpgEIAebsBG48/Lgm90UYYfaIsOOJaL VYmFJjcvK90pO7w+T3Qjm8UcPws+kL1qvdK3U6jFFvQK55zPtK1dwBCFLUWoJ5H9TR0S uOFJ+8okCGFe71b3Q873dQpKaV3xV6PQ0k9P3HifOElX4qwh9ElY7s1tXlId5mmohFSp m+Uw== 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=72v4hanMqXDrgOzm+tqI3X31HXue2r+EANQzMeKqzLE=; b=n3T/4/tmnMgKRVH7fqZNZAmqIoXEjj+Bm56WhuUv+O/vV59nJb/gpHPncIU0NvqZr2 ZVlt3+vfQmqnQ9eOgK7GdedbNoiS27lH2wvkkulKmrsShfNFZsyHWpA4KCstmNcDHJGa NYhkc6mj77bYdRg5oDz/Bo3KLhFTlgvxB/YP1A4L88jI4VbI3TQSBJYNdyabdOhXp4Db hjm/t5/Zt4Q1pQjq0B3uCXzMcwFNYU0qCC5oJGrBZDLS3gw5tYOkMATQwYpdtHV2EBom IDQUX+SDVH/1NC9lo7UARkdpOwFrz5Ge2yaYwsuuUcJJi6wyEnFQ1SNmR2B0R6f43ren JJKA== X-Gm-Message-State: AHQUAuZrBmkzZjNmwodkfjuVCMjeDA2Rb1as4RsYAPQQEeOrtrK5zTE1 gtE/WySHDm6mekx9gWXqS7KJbQ== X-Google-Smtp-Source: APXvYqwme+spwSChOM2OAQ1d4kRmi8GdP+TLE1UI9LgqzH9IUaC6HNhNDEmhNlB+8YvfArxsiseH+g== X-Received: by 2002:a1c:3b06:: with SMTP id i6mr10555237wma.55.1551695931563; Mon, 04 Mar 2019 02:38:51 -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 g24sm5505676wmh.45.2019.03.04.02.38.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Mar 2019 02:38:50 -0800 (PST) From: Neil Armstrong To: gregkh@linuxfoundation.org, hminas@synopsys.com, balbi@kernel.org, kishon@ti.com, devicetree@vger.kernel.org Subject: [PATCH v2 2/8] dt-bindings: phy: Add Amlogic G12A USB3+PCIE Combo PHY Bindings Date: Mon, 4 Mar 2019 11:38:40 +0100 Message-Id: <20190304103846.2060-3-narmstrong@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190304103846.2060-1-narmstrong@baylibre.com> References: <20190304103846.2060-1-narmstrong@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190304_023853_278762_57BC7505 X-CRM114-Status: GOOD ( 12.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Neil Armstrong , Martin Blumenstingl , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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>; + };