From patchwork Tue Jun 16 18:45:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 11608443 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 25B0F138C for ; Tue, 16 Jun 2020 18:46:02 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 00CA72098B for ; Tue, 16 Jun 2020 18:46:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="c9KWKz/T"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XDv5Z/iY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 00CA72098B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ua3063YL3aB3hmJ6d+Ut/kST5haGeY/Iv9arRWp1TWk=; b=c9KWKz/TKv7CNg 8UyAH+C/+RCALFgpy5M1QTz5DTINRnV/VyOBGLTTiMYHtlmS6MicnGWw3NrLyrFY8Col+oROXox7+ zi3zLCo8aWt31jblpu69ut19PMa1RLrKZrRdM0x+A7dVOexCOihISfdOGH7hiVtqEgp8vy+fQkSI5 2Na9vm1m3OmXisd6KGkyB1Rl7m/DsCUzFzUKyGWTSdcqHEN8W1dWRqxrEuTj2sU7iMdBgfTca7AWu EAHJ0Zdm3NfknnCSuRLsrb0aibxTD7/vnUhRucdA0FjzY47tRiQH7c+PZimL2WyXFDlk1HOpvdfpd LUrkzpKfTPrXC8RA0Jmw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlGat-0008IN-Ee; Tue, 16 Jun 2020 18:45:59 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlGah-000892-8N for linux-arm-kernel@lists.infradead.org; Tue, 16 Jun 2020 18:45:48 +0000 Received: by mail-wm1-x334.google.com with SMTP id f185so4153040wmf.3 for ; Tue, 16 Jun 2020 11:45:46 -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=YMgA4YJ/qbECneRtetKCJmuDx4PxuOukQg7g/2crGKA=; b=XDv5Z/iYeTJ6vRnmkeD73r2vASjq0XQ/6aeW2+c0/m/WzbCOV+S8g5ya9ksurkHCOf umKx4XwA/E7X5+6KsaHSkP7cBcuEX+lt1nyPjIXpxcJ/QzKscKXzV86IBf3bQqnwMG/t 2RDMj+XIREq17ukVHhccGr41OGFquevUfoJuP3JnGtM0VHFoTyOny3Md8Wr8at8/NEDV tkvKryTUGBIAtt0vpUSB2Pb2t9EDDSnd54YgWrAZ0qh1RT+CgLR3sXHZAlevSAJqsH/R eCSGwaozu0d6o1zphS2Bs6rrNa6QZ/kjYYzKx9tU/3kLy1E4E2mAYmWw2Lg3u4ngL4Pr afEg== 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=YMgA4YJ/qbECneRtetKCJmuDx4PxuOukQg7g/2crGKA=; b=lpXYxmb5vgztDPRzFCSbFtViEfNymOB9aZfeV6IicHLn0BxFUp3xbiqcZ0/PWzzH0A iAsNaZSMKbOfgTEASL/fPh2Vid7j3J8clhxghcGiVMSybc42zi4PEySNdx2qE2v5fFMF KkleOY0ciZuYKg2hlc7qbEwP7fREUuCH35LATTEj8Ss9ly2idyKVD0ivIt+Od2d8f+R/ ST30cSOVSogilrQ8uAtT1LzAQ2bOtsCUzPNiMTMSWIQ1KmYaGwz3CA13eIrl+vxL3mH3 C46fInIMrtutEbxte9UhbIaCy0prs7I1eAMXEbTu3IKP779EHlFscdcq0NvZ88bdBuAO tasg== X-Gm-Message-State: AOAM530ohGIEQ7MV5wmMNDodsFuJwQUKktfbEehVWTqxc1KSz5rt0Xsh hK6rCbX+QoRUKaTba2uXzNg= X-Google-Smtp-Source: ABdhPJyyzLEab3tlZohjF60/d333MbM6aVxfC5uG4JauZWjsw2Da5X6n3CGsGR33Txl0YsoWhijvvA== X-Received: by 2002:a1c:9d53:: with SMTP id g80mr4858240wme.13.1592333145726; Tue, 16 Jun 2020 11:45:45 -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 q11sm30528707wrv.67.2020.06.16.11.45.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 11:45:45 -0700 (PDT) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= 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 Subject: [PATCH v3 1/2] dt-bindings: phy: add bcm63xx-usbh bindings Date: Tue, 16 Jun 2020 20:45:41 +0200 Message-Id: <20200616184542.3504965-2-noltari@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200616184542.3504965-1-noltari@gmail.com> References: <20200616184542.3504965-1-noltari@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200616_114547_295903_33F65F06 X-CRM114-Status: GOOD ( 10.41 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:334 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [noltari[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Document BCM63xx USBH PHY bindings. Signed-off-by: Álvaro Fernández Rojas Reviewed-by: Florian Fainelli --- v3: no changes 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>; + };