Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp431302img; Mon, 18 Mar 2019 06:27:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqyXyzoOZ18nt8NBPsJijyvbxW4YYEopJS/CpzdzHwOWBEuCIGbNseUuNkewkYpp6O/QRR18 X-Received: by 2002:a62:fb04:: with SMTP id x4mr19339803pfm.83.1552915675208; Mon, 18 Mar 2019 06:27:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552915675; cv=none; d=google.com; s=arc-20160816; b=kJOOaWW+fDqfclMUX48kLEhtxxO6ifA0P6Qpo+GOYnj1fSpQtWr/06OfiXcC4yVekH ptg7n483vqGXURYf2OTqhSxeee0UtXC64AVj2dX5u9iRq+31ELKJL2FhaQg4IC1LegiS tgFCmatO8AtnKjyArV6uCauUFnfkahmW6n9vQ9XI00tnTGnztGJbwzWrjloUj5oxFvQG PSuhbQXj512CPyONnK17cAxy43g9dwcDS2FcNRQpxbvDGTCzsNvjEijndA8XlFg4Ap9p U75pDyB/Uh4ZDZLBcOhS16s2ryzmH/lNGvS02xbUihbsgrWjgt/TpPf2DSLirL6ITTu0 lbcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=S2taATSeLwYLlK3AoeIDGHb1SmDZDEtC2Zy8s96NWr0=; b=KqYsnBUwvis9fOtdVII9zqVg2Qt27aONtEon1d6MDm1FC/1pkcSGfCxaQLRAxGHlx8 oBZxtFgE7lF6IgxbOL31hOzf1PyoLTzjLo/4l/p8VnRluqnrTdDyu5kkzF583xFHWSBt ds9zbb4xtDg0S0WQNnKh0cygST0UUKUG7bGquToVdHS/PQ7hUdguAJIgoFs6fuzPP3Tl Dek0dmAaOw3M+Djr46Rd7l6o0X5Sia2KXG8KuNLYeXHPvOBJICZjcEkt7j9a4WrqytDX 7RouOqELFgu5jJ1mz7+oCuNJ65MM2N9fHDBChRQNDhJjlikPFli9l8IHxkh+EeeW29e1 hiqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=UxfoaKCo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x9si8799181pgp.216.2019.03.18.06.27.40; Mon, 18 Mar 2019 06:27:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=UxfoaKCo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727601AbfCRN1E (ORCPT + 99 others); Mon, 18 Mar 2019 09:27:04 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43730 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727182AbfCRN1A (ORCPT ); Mon, 18 Mar 2019 09:27:00 -0400 Received: by mail-wr1-f65.google.com with SMTP id d17so17030659wre.10 for ; Mon, 18 Mar 2019 06:26:59 -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=S2taATSeLwYLlK3AoeIDGHb1SmDZDEtC2Zy8s96NWr0=; b=UxfoaKCodDKWM/fMLqfRLPZbMQ8mYOBpQVeNkESThMkjRtFNwenDw8/crEYok1ZT+c I3DbLBUoriYpbZfFJ4z1QH93cn44hzdy+u9n6t4V600opfh8oq9Pm4BMZp6EJCCBKazq FVObvP10p/bKKuDfPm2QwKo2+tHIfw3mcAeo3Jp6CPRm0blorH8WWkNUtafevy4o5bp5 v0vfqY04BiL6K5xtVP50yqkVl1SJG3ZCo9z9FcYECoYKCJ3FF7Qjjw8tAJ4+ivcf/iu1 1fO1u6VIhA3qBdiTZtrG9KA6ZVkzUB9iezOR2jv6xoU6wZ8pSTGakI+sjPpnDV4WEv2o mfuw== 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=S2taATSeLwYLlK3AoeIDGHb1SmDZDEtC2Zy8s96NWr0=; b=I7DXPCjvK6Isi3bljiZRaiRnrD/Drn6hfpugJ55bsHLfEgCuSBxGnxufA2EAZe47PK WRJ5isfQckYu0EDIO1ekkHTf3ZbrWzV5IGC4GCxKdd5oUeDjovjXgk4N/M5p97q0EsJc WMVbY2qs/57T3nx02z7E3w/HAfM6MjXA7dYhZ41JDcq8+GuJp7urWytomN2WBER7MaDM t70VfdZww0mGCB2WHF9wZ2gYMqxY3kCSfyRuH6yjdCgla60i2uWJqXXtih7bjj6/fY98 Vf2EPIEUPIYIyoFExPI0gp67rgiTLsU0raApcV6iAa8rAYRuUGgH86KU4JQNHmHLmFRM epAg== X-Gm-Message-State: APjAAAXtz3UYKQYFIoonIjLB3bLLBQ2Q4qL020cPrtBclaNxOjxqFfcm OKogLDug2V/ZG7zvFib7LWs0EQ== X-Received: by 2002:adf:9c85:: with SMTP id d5mr12098593wre.68.1552915618838; Mon, 18 Mar 2019 06:26:58 -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.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Mar 2019 06:26:58 -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 1/8] dt-bindings: phy: Add Amlogic G12A USB2 PHY Bindings Date: Mon, 18 Mar 2019 14:26:48 +0100 Message-Id: <20190318132655.30040-2-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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the Amlogic G12A Family USB2 OTG PHY Bindings The PHY can work in host or peripheral modes depending on it's position. Configuration of the mode is part of the USBCTRL registers which are outside of the PHY registers. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl Reviewed-by: Rob Herring --- .../bindings/phy/meson-g12a-usb2-phy.txt | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/meson-g12a-usb2-phy.txt diff --git a/Documentation/devicetree/bindings/phy/meson-g12a-usb2-phy.txt b/Documentation/devicetree/bindings/phy/meson-g12a-usb2-phy.txt new file mode 100644 index 000000000000..a6ebc3dea159 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/meson-g12a-usb2-phy.txt @@ -0,0 +1,22 @@ +* Amlogic G12A USB2 PHY binding + +Required properties: +- compatible: Should be "amlogic,meson-g12a-usb2-phy" +- reg: The base address and length of the registers +- #phys-cells: must be 0 (see phy-bindings.txt in this directory) +- clocks: a phandle to the clock of this PHY +- clock-names: must be "xtal" +- resets: a phandle to the reset line of this PHY +- reset-names: must be "phy" +- phy-supply: see phy-bindings.txt in this directory + +Example: + usb2_phy0: phy@36000 { + compatible = "amlogic,g12a-usb2-phy"; + reg = <0x0 0x36000 0x0 0x2000>; + clocks = <&xtal>; + clock-names = "xtal"; + resets = <&reset RESET_USB_PHY21>; + reset-names = "phy"; + #phy-cells = <0>; + }; -- 2.20.1