Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2278122ybt; Tue, 16 Jun 2020 01:38:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRdDBqHAHtMTNdYp3yc6xPWjjz3B6cwwRaiX8hCbWeiHRjhP+z8swcc/qIUnJvm6hV8NYU X-Received: by 2002:a50:954b:: with SMTP id v11mr1565912eda.273.1592296712749; Tue, 16 Jun 2020 01:38:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592296712; cv=none; d=google.com; s=arc-20160816; b=kZ1wg/An0FmYf390+RLtIHZUjnnnCmA9GhSieWZFVnFnk12maSIbDSzXgSBQeef0u8 KeViFAc5VoHk6bbXnoDW51AgkzviAYNhObb51A1fPAMqCObEQKnR6IeNq5cfEeTZIoxO k19jzD7Vz80GW6l4pdWzgmk8Ggy75dg16Ms6T576fByNbcZieI3jVo2wHNzTXgNLSBbJ bGzEUOQ0E+wXFFRu+RoRc5YYiNGmqB8qpZPqZ0Bn5ge844CooinhTB4TI4DzafpeAo0c zHPlGGb5wNBxry0c5pGI3ozrlghHPqv0A7QX/jHnv1+g/txvXNfgCpzK/Zdygky9ZOpy QOIg== 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=wvcpsuXcW9VNFl6uXhkfn7k7tErP7EAuCbtAVgP08DY=; b=nNqMLNIXkaJfY0iW6iAg8Wet3KtaQEYIHaGOrXgKkBIVQJME+LWvIYgn0FFlc9kGDY uVEkZzuWjty3WGDnajdMoZFooMW+uEeV3IWPcyCp4/kPMDfdGRmTZzoAwfw5dSKgY857 dVxXduDQYN3kT8QL0D3NxrtJbbV7luKYJGC4hol8iJeKJ38LQ5JfJYBMNH15iI3gycch Hk1Pi2V6tEPXvwfo4pj1WHMWrP1k2swgU98GSvYNWDlPVaZRhbHvGZ3jh229Z0pRQMZZ F9npINsjtVB1DFmY7j15GXXaRroDaOWFag0LYgXLjKom7ly4gd04eeAnI6quCWx8rNpy uWBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eKNxEDg4; 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 b24si4158993edx.176.2020.06.16.01.38.10; Tue, 16 Jun 2020 01:38:32 -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=eKNxEDg4; 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 S1728030AbgFPIeS (ORCPT + 99 others); Tue, 16 Jun 2020 04:34:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726626AbgFPIeN (ORCPT ); Tue, 16 Jun 2020 04:34:13 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0948BC05BD43; Tue, 16 Jun 2020 01:34:13 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id j10so19795507wrw.8; Tue, 16 Jun 2020 01:34:12 -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=wvcpsuXcW9VNFl6uXhkfn7k7tErP7EAuCbtAVgP08DY=; b=eKNxEDg4kFcaZQIYB8OMYabj3dRfW6ebgoM3CIL/XF9nUW5TgSHDgSSNMKY3UYwtyW u19vQezA0aFVWemjhnnRihJhcoZ53OGOnoXXp9DoKXYkZCtIlP6nAnTW1bXM+9B0CC0b wCyZmQl9nKG8euyfbniidTkwAxW6HgUyrCYzJb8DX2BIJ+6QIWOD4nRcn9bxrzF+i6Gy Oxkicviin5NZDDJcMR8V8/f7WGQcOcP18TW/5aNoTjpbeKN8Cr1nnWf1Y8k8zXaaQGX2 3JmdeeIFqonNdJW0s2nHKdNmEaX4wJYfOqwEA1QD89e4Ua+H+cExAr1jpHUBrwusvrif XPzg== 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=wvcpsuXcW9VNFl6uXhkfn7k7tErP7EAuCbtAVgP08DY=; b=VRRK9gfY48gxI5sFygSUsVUmxwyv1cK+ddGXdM7Y6KnI0+FXYRMYd+7TPmUSKl5Swi NvxWL1heUMFSL+ZsoZMh1Lm2vSFhMG+ox3OSpXyl6nTXvnz6+OqADtMgj2KDPlcuPxO9 TTbvXMyXEPR/3FBWAylWx5LELMUHLU/xYFu9TAlTK3huCOMJ3ht08xreFIje6IVDHmAy mbT3SEmuouf17P50Q1fqg6UyjPSh2Gdaf9acryzpYwCAFL17TnoOfQIPcsO0HHClBYet tj6CJlZxtC9oLpJ1fL2jbj6Qt0Mq8jCrBD+dmHOm6DS8bwhdHHOrrp+gsUJX9qEtXZfv gyNQ== X-Gm-Message-State: AOAM532+SDHg/rm85IKbnKQVmIcv9e9/Xda5kggKpMyF1snFjExyBfuO /2WWFWpKOahtBvCGGgwU6i0= X-Received: by 2002:adf:f8cc:: with SMTP id f12mr1770425wrq.418.1592296451480; Tue, 16 Jun 2020 01:34:11 -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 s18sm34318981wra.85.2020.06.16.01.34.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 01:34:11 -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 1/2] dt-bindings: phy: add bcm63xx-usbh bindings Date: Tue, 16 Jun 2020 10:34:07 +0200 Message-Id: <20200616083408.3426435-2-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200616083408.3426435-1-noltari@gmail.com> References: <20200616083408.3426435-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 --- .../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..3e7c97799b91 --- /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: 0 + +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 = <0>; + }; -- 2.27.0