From patchwork Mon Feb 12 22:39:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10214747 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DF2D660236 for ; Mon, 12 Feb 2018 22:40:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D44D328C92 for ; Mon, 12 Feb 2018 22:40:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C7AB528CAC; Mon, 12 Feb 2018 22:40:01 +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=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0A0CD28C92 for ; Mon, 12 Feb 2018 22:40:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=casper.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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=II9AE5ieOcqR82WmlHG6hlb7uy53Mk6LQqweArlykis=; b=FOitNVbDa6Q1vG4mEc8E9RDy7l k2kF+SFkWk6FAmmWqaoQKHZaUfwrqK7Ki/e3uL89WsRErw5j6RXt5G1ex++zmymwl8Xf1nGnJ6fQO lAWaW4+G/SfNptLe99mKUY2il7tBK1ogjS18h0zYvy7mfGTrpckRzF6Pbyc/XJXq6RrtHaS/JeWf/ JWBSAyIauAZbZcvGOdQQ0H9QyHhqWSREzHYcY8HTVr+hpP6jetJgbZspKVpnMjnAqsDaB59DUPSCg 3Q2VEnpo75wbJQR7E3g7F4VpURmQUrl62A0KVRiEAroGY45Q0rm78+yDIzZvVngPHcbAzCLquUoAg oQm7ot2A==; Received: from [198.137.202.133] (helo=bombadil.infradead.org) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elMlT-0000yb-AF; Mon, 12 Feb 2018 22:39:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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=II9AE5ieOcqR82WmlHG6hlb7uy53Mk6LQqweArlykis=; b=Hwg+sz74kSA3gA8cpnb0LYlK4Y BgGF3JVTg1G4B5ogcESq03+eaR/7vumLZMeNGRbqf3FIlkqFsz0R1l6J8WgWyWhwmzf4IOEyzcB5S Pfgd/ToykRrWQkW1JBjPugc6ii9hW4palgj2mWnhHzJh1eAGIjdarLNuzFzpcg71e4xzLQwimCpFo VPpJSV4tRPX5eatwhHmQ6r7f1UA4fsmG06gVCl7bZTIlN4MjxLBWgEZDeWpV9hFqbJ7lKg+MlX+66 G/2EaOOkKnGpVxmg9sSf0M4wHlmR+U7/0DXlKlvrjPykkm9j3cMS9n4Q2cvyStzoRHbsl8wOwSeTF 1VU3z6kA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1elMlR-0000RP-CH; Mon, 12 Feb 2018 22:39:57 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elMlO-0000Oz-FI for linux-amlogic@lists.infradead.org; Mon, 12 Feb 2018 22:39:55 +0000 Received: by mail-wm0-x242.google.com with SMTP id f71so12442547wmf.0 for ; Mon, 12 Feb 2018 14:39:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=xYzvJTa9VYw7T+A4GiFpQ86p9vuwl1rU88uBTZRkrU4=; b=tyO69jSUcOyMHI8tMjSfka7oXHXHSHsbpUqUTbrPOkxxfM2NImTaAkk9QvhUKaEDo4 wfG1w7RqIgBvzlZGhlLn4unNFxJSyzfeOFpTthRvCZLBhsUSl16oH4PFYJyKlAFTUl+N MLWV1Kuf0PsU9mInMGMWpSlMY5SV5MvwQwzHKBBlAzyoDJsUOEoA/C71cLs+n5+Qk9yw AbrUNsJIRPQGw1a6vzGu7i0+1p+LhIyIDKJR/jtYXithTmUyIAiE2+oRGlpMEdLHUCwl h/JFhjgVf5Et67yykfe0LQ5687OmGsVqY11Z9wPHG7KEEDHwvxo60ceaxxabuBLm2R3c ulYQ== 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; bh=xYzvJTa9VYw7T+A4GiFpQ86p9vuwl1rU88uBTZRkrU4=; b=hksVtfuQG7N3LgQ+Xbfe5wTz0XxNbFlJJfcL/k1U4NzBbHeFbANuMjsY9cHOCwE8ET wyKMTGzykEHw6fco6PPUCgvVRkJzMJ3325d5QzzXQFtrsyyHFrYNvfVZu+YIP4SPGh5u duzbVUhlD9Z8qiPnswXRy10CUVE21xzdwcAmG/KRACFG6fViT9pt3rof8yvHqUNn/Y6H MbjdQY60U2FUfOnuqScq0IePn2ZQar/L6mBmI60cN1jQPnIcfq0JQx10HNJq5tswNnXB UJ4eOZ2srz6TNvYIV9tuWKAkrmkWXw8PcRZRXcB9RhZRCa9n/Wt1jUOKA1OEtTIdoZMR 1jDw== X-Gm-Message-State: APf1xPCZ5nPF+msMG3m9XoYiNOxAyDQqIwQw4/YYU1M8otme0+ExTvLV LzX8Z0OxykX1YA2zGO5EiYU= X-Google-Smtp-Source: AH8x227zwN43saShfWubbSx9dQOP+FucKdwLEebxb2LJQjBf1kPcuvaKW46RVCOqW4KnfJuSFqLFkg== X-Received: by 10.28.236.77 with SMTP id k74mr84034wmh.36.1518475184293; Mon, 12 Feb 2018 14:39:44 -0800 (PST) Received: from blackbox.darklights.net (p5DE38597.dip0.t-ipconnect.de. [93.227.133.151]) by smtp.googlemail.com with ESMTPSA id 11sm8125088wmp.36.2018.02.12.14.39.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Feb 2018 14:39:43 -0800 (PST) From: Martin Blumenstingl To: kishon@ti.com, linux-amlogic@lists.infradead.org Subject: [PATCH v2 1/5] dt-bindings: phy: meson-gxl-usb2-phy: add the reset line and clock Date: Mon, 12 Feb 2018 23:39:24 +0100 Message-Id: <20180212223928.22993-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180212223928.22993-1-martin.blumenstingl@googlemail.com> References: <20180212223928.22993-1-martin.blumenstingl@googlemail.com> X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, narmstrong@baylibre.com, Martin Blumenstingl , khilman@baylibre.com, yixun.lan@amlogic.com, robh+dt@kernel.org, carlo@caione.org, jbrunet@baylibre.com MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The OTG capable USB2 PHY has a reset line (which is shared with other components, such as the USB3 PHY for example) and a clock (which are both part of different registers). Add the properties for the reset line and clocks as optional ones since not all PHYs have them (currently only the OTG capable PHY is known to use these). Signed-off-by: Martin Blumenstingl Reviewed-by: Rob Herring Tested-by: Yixun Lan --- Documentation/devicetree/bindings/phy/meson-gxl-usb2-phy.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/meson-gxl-usb2-phy.txt b/Documentation/devicetree/bindings/phy/meson-gxl-usb2-phy.txt index a105494a0fc9..b84a02ebffdf 100644 --- a/Documentation/devicetree/bindings/phy/meson-gxl-usb2-phy.txt +++ b/Documentation/devicetree/bindings/phy/meson-gxl-usb2-phy.txt @@ -6,6 +6,10 @@ Required properties: - #phys-cells: must be 0 (see phy-bindings.txt in this directory) Optional properties: +- clocks: a phandle to the clock of this PHY +- clock-names: must be "phy" +- resets: a phandle to the reset line of this PHY +- reset-names: must be "phy" - phy-supply: see phy-bindings.txt in this directory