Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2652060ybt; Tue, 16 Jun 2020 11:20:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzixxgosbL/m7dipFaUy12F+Ht7zKK1ONlSy694yj9uJI189htpmZfIry+xbGZAfl3u/aax X-Received: by 2002:a50:a1e7:: with SMTP id 94mr3697703edk.165.1592331648162; Tue, 16 Jun 2020 11:20:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592331648; cv=none; d=google.com; s=arc-20160816; b=aSk2exWeCQmNfJUVdBIc9Fl9j/A4FCF+ZXuyBgs+bDZfKAoYszodwHvDGvcEjjljWh WB6vJ/B1bO0dPvaWnb643MTRf6znu5LgtQzvw1TcLL61WmiJYeOSRW5TWoDni08LTcy5 lmP/FfMKAA9PsmUWr3bqwVQOeLlw6eAG9kxAbt7ZojixggibcahzdsDIJFkiI8CVpfNO pKUfNT6C60vJg+lAqPuChKZhS0fuEdzQVYxIhtCZn0AWeBcoH9PIuu3lOLehBJQr8pHA wE7i4e0CiOvbEgGQlwOL3HE7IUN6nv21a1YCle7F0Uon+EUX8Lot5XUOYwwm+vEwDZQO WjsQ== 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=8b9w5Bl2hRduQlm5Ms5q2rrQhAAPM6If/ziLRYU2pNA=; b=PtARrAB/YmL8TbgA2bFExM6CJXxN5o2smmaK9SZJtbcf4cQ7kUimYdV2uJ1ebi3j9p fVx6B9HEFrRWAbTwO2YXGkY5YRKHeQXTi6gAXOIxTbxLyg4KQHJEfeUXtlJBrI0RuV5x JZWN8+5YH77inVfomHZgvGFmX7zaoLYfyDWV4lY41DoolK0vzEhRnVxKp8PofMzcX3Jp AcnFMsj9TGMwio8g5eS2tpVYsnexKlXgzr7ncSnJL9Ze4JEPm4kd0ohzVyKcLs5ESaVA woPizVtDIO0oq81B2gDJU2kmMHXYwUIyl5tZdawQun4DcaLuNABSC2b7fi6vXGs/DaDx zARg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gwb3A+Az; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s28si8848339ejm.388.2020.06.16.11.20.25; Tue, 16 Jun 2020 11:20:48 -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=@gmail.com header.s=20161025 header.b=gwb3A+Az; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729809AbgFPSSM (ORCPT + 99 others); Tue, 16 Jun 2020 14:18:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726282AbgFPSSI (ORCPT ); Tue, 16 Jun 2020 14:18:08 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA8C5C061573; Tue, 16 Jun 2020 11:18:07 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id l10so21742277wrr.10; Tue, 16 Jun 2020 11:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8b9w5Bl2hRduQlm5Ms5q2rrQhAAPM6If/ziLRYU2pNA=; b=gwb3A+Az/M8/mSOMrobEndzEbDF9O6nZjaLrtPnL9ccc1tEDKZ4zoR/xI915JKDohZ nREap0BDMicV5GOHBYJQlC1KOgibyM+7Jo0dGStow2l0leuYM8Xx/oOeEh2rXw6eDgpa JiatzvrM/nSq6+J/+nSISzW0MPTsk0UjIJOQiufJNWojjwGW8+sMdzguhjSGX12TV+hA UGt5b9CG88h6eTxy4mzTGCspeESYLxq+J5MpSdVEaBu/PP6sQRs3sncrvd3BVmYroBri d4egmK76kwdzXQmypBXv0fPjzY8LUSkY+1iBU23PIoCl3zKAs893GOEyCycaju4d5Sn0 SNHQ== 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=8b9w5Bl2hRduQlm5Ms5q2rrQhAAPM6If/ziLRYU2pNA=; b=Rf8ZOkBx8qXCwHFGhe+jN8j5hEJGdZnfPACpMKUaxIrT4GApipS2LER690so37fHGg yrQnEUm/pmhlYoIB/XchmYS1Lm9pW1fRLH/qLKlOE3XnSn5+bi3BmNVjlZfxyXwA6/HI OVnoWLaRVAm4wi8pqQMn5Kxc4fhvIUoYMbyK+YpXDNXyfqwUneZCPEB5ueKORS+nxLth fwf3e8UeOdvTVBSeYxbeKYAlGo/cxpmgle2JbcexxoRbLBQWBhETuqwZj5l5yzsH4P9K FRKYeiaOx0ziAlxhFtM63cD9Z1m0K/dIY36UBrDlPGJZOlKtyxxxdc5nx7g9ZNOPC/w/ smtg== X-Gm-Message-State: AOAM531hjXEVxp6gDH6dqDgQ75y2cQKnC2iLrAoCKrIS+JMpo1dLDJGL 85o03dMAjuJRJEj/snhmOM/hHDQd4rU= X-Received: by 2002:adf:f2c2:: with SMTP id d2mr4204754wrp.424.1592331486195; Tue, 16 Jun 2020 11:18:06 -0700 (PDT) Received: from skynet.lan (90.red-88-20-62.staticip.rima-tde.net. [88.20.62.90]) by smtp.gmail.com with ESMTPSA id u3sm28651091wrw.89.2020.06.16.11.18.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 11:18:05 -0700 (PDT) From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= To: simon@fire.lp0.eu, jonas.gorski@gmail.com, kishon@ti.com, vkoul@kernel.org, robh+dt@kernel.org, f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, p.zabel@pengutronix.de, krzk@kernel.org, gregkh@linuxfoundation.org, alcooperx@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Subject: [PATCH v2 1/2] dt-bindings: phy: add bcm63xx-usbh bindings Date: Tue, 16 Jun 2020 20:18:01 +0200 Message-Id: <20200616181802.3498745-2-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200616181802.3498745-1-noltari@gmail.com> References: <20200616181802.3498745-1-noltari@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document BCM63xx USBH PHY bindings. Signed-off-by: Álvaro Fernández Rojas --- v2: phy-cells changed to 1. .../bindings/phy/brcm,bcm63xx-usbh-phy.yaml | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,bcm63xx-usbh-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/brcm,bcm63xx-usbh-phy.yaml b/Documentation/devicetree/bindings/phy/brcm,bcm63xx-usbh-phy.yaml new file mode 100644 index 000000000000..9ef2c1f8aa00 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/brcm,bcm63xx-usbh-phy.yaml @@ -0,0 +1,72 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/phy/brcm,bcm63xx-usbh-phy.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: BCM63xx USBH PHY + +maintainers: + - Álvaro Fernández Rojas + +properties: + compatible: + enum: + - brcm,bcm6318-usbh-phy + - brcm,bcm6328-usbh-phy + - brcm,bcm6358-usbh-phy + - brcm,bcm6362-usbh-phy + - brcm,bcm6368-usbh-phy + - brcm,bcm63268-usbh-phy + + reg: + maxItems: 1 + + clocks: + maxItems: 2 + + clock-names: + items: + - const: usbh + - const: usb_ref + + resets: + maxItems: 1 + + "#phy-cells": + const: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - resets + - "#phy-cells" + +if: + properties: + compatible: + enum: + - brcm,bcm6318-usbh-phy + - brcm,bcm6328-usbh-phy + - brcm,bcm6362-usbh-phy + - brcm,bcm63268-usbh-phy + +then: + properties: + power-domains: + maxItems: 1 + required: + - power-domains + +examples: + - | + usbh: usb-phy@10001700 { + compatible = "brcm,bcm6368-usbh-phy"; + reg = <0x10001700 0x38>; + clocks = <&periph_clk BCM6368_CLK_USBH>; + clock-names = "usbh"; + resets = <&periph_rst BCM6368_RST_USBH>; + #phy-cells = <1>; + }; -- 2.27.0