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: 10868537 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 0DDE11390 for ; Mon, 25 Mar 2019 09:42:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EAA482912F for ; Mon, 25 Mar 2019 09:42:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE9D729152; Mon, 25 Mar 2019 09:42:08 +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 7DC452912F for ; Mon, 25 Mar 2019 09:42:08 +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=CKf21bCXXV0rMenHhN8f6/625SMBiiiEe/v2Fu0B/fg=; b=m7tXh+PpqGczsa kPgigFOq75zHTK7uws2nj6Rqsh0OR8wUqY9vg5JwoZtbf0iIMr9K+vo4mdU9lejuS0nmeZzOg/3Uh DvQa7CvMux3ZxpRwNtqXKTn6veHP5SjQnn8fCMtZMJHfvcSKsWoJoCf6UUcIly2MzKpxx9l7+7Z4R 4GSc2aZ4W8cAVnOaUO501y4F1GfUTEAV2+G1++93fveYVOit1XZcHE8dXQUXz+lcdj7V01sxOGVK1 Nksgp/dXOhaRjmsTCSskT9id/yDFm6Gz+V7fddAHXLArOxR0qEH0U4skwWMLhWZ3PwnN8BXL1pvE5 mQJMdUBaAhtLxNquQI0Q==; 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 1h8M7F-0006U2-Ei; Mon, 25 Mar 2019 09:42:01 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h8M5A-0002p1-3y for linux-arm-kernel@lists.infradead.org; Mon, 25 Mar 2019 09:39:53 +0000 Received: by mail-wr1-x443.google.com with SMTP id t5so9216287wri.7 for ; Mon, 25 Mar 2019 02:39:51 -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=s0AlDQ/KYyAg3eNBqd3UlUe6ixrjeGOVhB43D1+Qc0CxKEA88nvxsuDwFgouWNaNTy VjBKKhZumYp49hP6Rbr1lzP1mjeotTF/sdBtww/JQv0LM3nDpx9rVu6JrEHg0kleh253 w5K/hkqHjNFXQXAyC2KI7TzQT60+UtV9sxdfnW0RQeYCgTmrz0AFl4fs0dXTES1OLx7y u0F5X6E8YCMtZAtoGFgDNs62SQ7NVTOLXJuohBizhND7S1pNVAY7pj4pr1zzNbEQQz4D hedkBZR0d2SskpvvIeR9tlj3uGKZMy9Ly5NQLENPccaJPFQ8t2H0GCu2m17c2eGaG/77 QLVw== X-Gm-Message-State: APjAAAUifuEziSW3GQEHPOOPOk06b7/mj1Dl4VqbEhZD4JvXTeerqYBp sPQnw0RQiBR371qxF8kxYKY0iQ== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190325_023952_196881_87F8F7AE X-CRM114-Status: GOOD ( 12.47 ) 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: Rob Herring , 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>; + };