Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3289158ybg; Fri, 25 Oct 2019 01:47:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqwBtY9DG06CwSJcjQT3qPVdPTh6bGVL9RTSfMx7f0AJSTJAfqpMtN8e55Z0cnk7+9IMNHIF X-Received: by 2002:a17:906:6844:: with SMTP id a4mr2316405ejs.102.1571993270010; Fri, 25 Oct 2019 01:47:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571993270; cv=none; d=google.com; s=arc-20160816; b=PcVbCBsSoEStR81NfKR1VtsWXsNTpsD9j6NTxhlylsklih5fZdDrp8yh4bEtPn4YT7 ZvYR4mAo6Rxntc2uO0DGcsLoJhX+J1smBFCoqTKtXTU67Dn9sHOlZ9rkcwLndJr1i3ch SomMhqD6fo7itfZASvYaU3j5FecLN467OcljqK1uLahQkcS/9uZhiKo0gPmixSsFD/aE fYv1I+U+d14bYsaL6HEYIct8s5eEp9LDOe5zzyG5sOamiPb/FoNQVrVXTbrjyK9fAkOz 0+czaUP6cfyVJkQZ2ZQCOLFo4WZcKfAhtJEFQJV2rySflrzNCE+rKPx+EmMk0vnCAQGo XrAQ== 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=/vdiumjDDvIJE6So+OOm6VE63N8ikZlHzbZLKuwJ6+A=; b=H4JjbvjXua4O9AoVWYC8cRalF4CWbF1P+qu3T7rw3/xerCdsh9xhU0apHYqnNJwuqb 2RRRjT3WeAE1uSvo6mhKXJB4I58OnRPwX1TzYy/hg/05xjpFDEQXylZDGjMjuYZtDKuY 8FSRZNUx9yTa7cj04CqBHuSUbR+d8qn0Nv6zJRbQYxj3FRwjjeeZfTJqgcKo5H4c8s3S Jcg3tIU7Q2KeoxikePWbLwy0i3oniGxcY7ZpwquY4SH5rEyDgMjIujhTZ2brfvoeDLkz FnQ9U7leD1wlOey8lwyvdw//FdQMsS9Nn/mQ8v+jwmf8ByM+pAn7u52mzWAY3MAOw+PQ g69w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=tUSjhbiP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q18si823342eda.291.2019.10.25.01.47.25; Fri, 25 Oct 2019 01:47:49 -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=@megous.com header.s=mail header.b=tUSjhbiP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393323AbfJXKzK (ORCPT + 99 others); Thu, 24 Oct 2019 06:55:10 -0400 Received: from vps.xff.cz ([195.181.215.36]:33836 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393300AbfJXKzI (ORCPT ); Thu, 24 Oct 2019 06:55:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1571914507; bh=iUH9bPvFqxvw8CBPdxNSViiL6MI9YLXFWw42NUKiO4A=; h=From:To:Cc:Subject:Date:References:From; b=tUSjhbiPUN6vr27VM5w9/52gNQhoJeZEUejypfDIuIDe04Rgyr+n6o0rMdWrxbW99 gplURlDzOb4S3gh6wOfSFpCeKancBBK1a/qYtL+Lek82pY1xkdUdiAen2Wpd0Olmbw AkKgE0rYTMqzY+p4egKakhVY2r/NX3jetO3NP7as= From: Ondrej Jirman To: linux-sunxi@googlegroups.com, Kishon Vijay Abraham I , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , Thomas Gleixner , Arnd Bergmann Cc: Ondrej Jirman , Greg Kroah-Hartman , Paul Kocialkowski , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 1/4] dt-bindings: Add bindings for USB3 phy on Allwinner H6 Date: Thu, 24 Oct 2019 12:54:57 +0200 Message-Id: <20191024105500.2252707-2-megous@megous.com> In-Reply-To: <20191024105500.2252707-1-megous@megous.com> References: <20191024105500.2252707-1-megous@megous.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 The new Allwinner H6 SoC contains a USB3 PHY that is wired to the external USB3 pins of the SoC. Add a device tree binding for the PHY. Signed-off-by: Ondrej Jirman Acked-by: Maxime Ripard --- .../phy/allwinner,sun50i-h6-usb3-phy.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/allwinner,sun50i-h6-usb3-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/allwinner,sun50i-h6-usb3-phy.yaml b/Documentation/devicetree/bindings/phy/allwinner,sun50i-h6-usb3-phy.yaml new file mode 100644 index 000000000000..e5922b427342 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/allwinner,sun50i-h6-usb3-phy.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2019 Ondrej Jirman +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/phy/allwinner,sun50i-h6-usb3-phy.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Allwinner H6 USB3 PHY + +maintainers: + - Ondrej Jirman + +properties: + compatible: + enum: + - allwinner,sun50i-h6-usb3-phy + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + resets: + maxItems: 1 + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - clocks + - resets + - "#phy-cells" + +examples: + - | + #include + #include + phy@5210000 { + compatible = "allwinner,sun50i-h6-usb3-phy"; + reg = <0x5210000 0x10000>; + clocks = <&ccu CLK_USB_PHY1>; + resets = <&ccu RST_USB_PHY1>; + #phy-cells = <0>; + }; -- 2.23.0