Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2950672ybz; Sun, 3 May 2020 13:20:30 -0700 (PDT) X-Google-Smtp-Source: APiQypK/pIv/kidE8ojy8UgkisLfDp0/gXeuIVh+dl07HDR+7pPgYKt4xZYcrYP7NJWp73/D+zxG X-Received: by 2002:aa7:c3d3:: with SMTP id l19mr11767661edr.14.1588537230221; Sun, 03 May 2020 13:20:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588537230; cv=none; d=google.com; s=arc-20160816; b=KAUr9HhylbWWeV1jrpmRTbGkcAuKyjWh8U1iT8pwwnOPSzuOc5VBdwhrg/cphobKtd BBLL2vbOBNyiv5Z0I0KGtGTu5UgjvlrXkUVOJhdeEDg1C7RCIFYzI2YAHESiFirQuPJX L5HzBiMd8MHl6d4RpTGyr0AR4bVL4oBYAjvsHYjRwcy2dwxXmKpgUcFu3BZOoKQ40uEs ZALf0HAuiM7Y4ah4xMnf3aNJWtNqcJCM8J6DDwsvblBAU6iAPO49o66C4BGonxSsPvoe XD5MvAsAxiYfy5PSl5QaIQPIojysVHOC9IlhFwO8Dmry4In+BDDEHMyV3rlhducbdWal x1Yw== 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=bfHcjYUyv6MlZjyzplfB3ZgEKhqt/zyKo76QSHG3/MM=; b=V0lTvFJepXItzwcjDSjLIIhfZp/j3n598A1pbmYWDe4osjDrF+jgjizO3KnFVZVeQt EsCKhcIbR1RoEmc/AXIit2nPc+xcNc7W84te4VmEBJ16FoFcowK2HfdLVO9ZePVWfW4k 9zihwAdei0CK978pBvRoIKknFJvenkgXL+39NCFQsRW9ciI7yYckE+92tkbml2tJUfB6 50iEvW1On8eV81k/KDixym39CxxRB9Z8eIX0DKXl2U6j2P8DGM1SvitNNj8tqKGIjfA3 8XsINo9s+ugHOtW/xsM7ySOGAmTODK/jHcENWIr1i1AOxBXIldincHLnp6CULB5msux4 U9cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sartura-hr.20150623.gappssmtp.com header.s=20150623 header.b=vZXEB2ep; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si6028112ejh.165.2020.05.03.13.20.07; Sun, 03 May 2020 13:20:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@sartura-hr.20150623.gappssmtp.com header.s=20150623 header.b=vZXEB2ep; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729123AbgECUSs (ORCPT + 99 others); Sun, 3 May 2020 16:18:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729075AbgECUSq (ORCPT ); Sun, 3 May 2020 16:18:46 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 672D2C061A0E for ; Sun, 3 May 2020 13:18:46 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id u16so6463939wmc.5 for ; Sun, 03 May 2020 13:18:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura-hr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bfHcjYUyv6MlZjyzplfB3ZgEKhqt/zyKo76QSHG3/MM=; b=vZXEB2epbIpVoA+BJfCm5fftLKSMUAJoOEtMs+B3adMDm9Pk9iaLOXSP4BpUSRDhgY b0+J+0VKPdfzIYDLCjf8fJL+CyoDkP1Dr2+y4aILDjIX4MxBBwixSWipfWBwfh5bl9ND VDu6Ntrp+NbDoDH688XyXKM8wOoKpk81Z1IqX4+fDzrGTfujw+LhSHsyR2mWQFMl/ckZ QOTyvOZuSpCXYbffGEpy14W9z+4dE21oV00zBErgFfvwvr0A9gQ+XEYucs3BXHePYsAx PxU+aQ3eqJHblN0nyJJBatw3tbnlgMXW28m0zeK//j4IwG8uLhL7S7rc6IwnG2yOxfO0 gtiQ== 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=bfHcjYUyv6MlZjyzplfB3ZgEKhqt/zyKo76QSHG3/MM=; b=VO4iQnYKwuO9zkQxpjYkEXl04WtbO/qxPqC0ulQsq5ZCqtEtYoepthLz566Gu5D/2H IDB7Ch+rCLKtoTSnjDvj7PdwEF4HOyoS+XpE35KhifqOhgdXMh7st/jQZyAiBr4NLIkT 0XLGBC5EfR/ER8BXpdQ8YQc6CfoZsRHcWTEK4lzOKZpAW2PIyJZsbUW0zrGFgkNzb7eV PZotK3LMLy6cGAUbki6ck54sLYl0VYwrpmc/jQ7+pn1OuHTy+u9xOFBC2Ebus0uX7hnh DoareljDJbla+7ie8qDhrwzXfVcu8N2f0/k5K/QsmHx86PKxllq3Aky48fieNK2xYG7W bKtA== X-Gm-Message-State: AGi0PubMZMQE4paXB8YgexhHOeA37i7X+MdkNJhtSfetkpV/T4bInZzA asrZnFdwO7F0sv2bK1BTP+/EOg== X-Received: by 2002:a1c:e087:: with SMTP id x129mr11207769wmg.127.1588537125147; Sun, 03 May 2020 13:18:45 -0700 (PDT) Received: from localhost.localdomain ([2a0e:b107:830:0:47e5:c676:4796:5818]) by smtp.googlemail.com with ESMTPSA id 19sm9891624wmo.3.2020.05.03.13.18.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 May 2020 13:18:44 -0700 (PDT) From: Robert Marko To: agross@kernel.org, bjorn.andersson@linaro.org, kishon@ti.com, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, vkoul@kernel.org Cc: Robert Marko , John Crispin , Rob Herring , Luka Perkov Subject: [PATCH v7 2/3] dt-bindings: phy-qcom-ipq4019-usb: add binding document Date: Sun, 3 May 2020 22:18:23 +0200 Message-Id: <20200503201823.531757-2-robert.marko@sartura.hr> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200503201823.531757-1-robert.marko@sartura.hr> References: <20200503201823.531757-1-robert.marko@sartura.hr> 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 This patch adds the binding documentation for the HS/SS USB PHY found inside Qualcom Dakota SoCs. Signed-off-by: John Crispin Signed-off-by: Robert Marko Reviewed-by: Rob Herring Cc: Luka Perkov --- Changes from v5 to v6: * Add missing include for reset defines in example * Fix warning for missing # in #phy-cells Changes from v4 to v5: * Replace tabs with whitespaces * Add maintainer property .../bindings/phy/qcom-usb-ipq4019-phy.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/qcom-usb-ipq4019-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/qcom-usb-ipq4019-phy.yaml b/Documentation/devicetree/bindings/phy/qcom-usb-ipq4019-phy.yaml new file mode 100644 index 000000000000..1118fe69b611 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/qcom-usb-ipq4019-phy.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/phy/qcom-usb-ipq4019-phy.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Qualcom IPQ40xx Dakota HS/SS USB PHY + +maintainers: + - Robert Marko + +properties: + compatible: + enum: + - qcom,usb-ss-ipq4019-phy + - qcom,usb-hs-ipq4019-phy + + reg: + maxItems: 1 + + resets: + maxItems: 2 + + reset-names: + items: + - const: por_rst + - const: srif_rst + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - resets + - reset-names + - "#phy-cells" + +examples: + - | + #include + + hsphy@a8000 { + #phy-cells = <0>; + compatible = "qcom,usb-hs-ipq4019-phy"; + reg = <0xa8000 0x40>; + resets = <&gcc USB2_HSPHY_POR_ARES>, + <&gcc USB2_HSPHY_S_ARES>; + reset-names = "por_rst", "srif_rst"; + }; -- 2.26.2