Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8435744rwb; Tue, 13 Dec 2022 06:24:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf7evi1hkJ1qwuK4ZW8ketKLczYsHOdUSdWJjNq2fGeS02ij9NdKuRYIlUSJKsJ0rkjQQ3O5 X-Received: by 2002:aa7:d912:0:b0:46b:2b37:ffa6 with SMTP id a18-20020aa7d912000000b0046b2b37ffa6mr18052121edr.13.1670941444843; Tue, 13 Dec 2022 06:24:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670941444; cv=none; d=google.com; s=arc-20160816; b=jY7oUo9h/SL1zQM0CWtCIJPAnKChz2HAzoEMngW5H+nyR+eIa3KTwYCOF9fI5m1pjk /LnLd8P8Y9TGKpoY9WM4K6CGNXqOisrIpk+mFKOzxId0gtAsXCO74BbCTPzuViU7udPx FEArUyE0b/1NfLpH8FqQZTJ5VsKsiTcTKaI0d6pItR38aF/YTEhifTqBmLPi1u9k5KA2 KyC4tirZOxMKxh+THrDDZXDn2DaiMONqWd7+W6RMXDlZRjAkZdvwkYOVnJqdRhNxOaFd NADRJPaVAm06jU+GN7Ln63MOoziNaDrMxLZUEbBbNr6plXc8hc4u72Gash0UaSJ3GhYY RJpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gT1SzmrwD2Q3IGrDxGN5feKqp7sHflj9viAxhsZoKW4=; b=ku0o2yE2Coee98DbUPOYWnR7uC5hRnGm9Vk4/NFwvolUzFKjrFoKbHQboZs29ElaoN 4wgtT2NikhQMtvIymTRF9Jfc6tFB3p6nb+d1a/8O+GMWewzp07lQWRHR4kknDgSKJY9c KkPh7C0MBaz8kznMe/LZg5LlUH5IcySMSdMMZT7qD/wOymne6VRTeqX6NrRhIxhmSxo7 qO2lf/Tm7MyGZZzBcIBUFlFsy02S/qWsx9aMTw4U0aOb+UI7mHn7dh7pl6ZViSh/rOcE LYKiby+cH+JR33a81FL5FBl4CvjrMi7u9+O8o3k7vn8MIdFbckbzRRpBNW1iO2ejwWKy U69g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MiKvh6M6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y12-20020a056402270c00b004703ba65850si1059153edd.288.2022.12.13.06.23.47; Tue, 13 Dec 2022 06:24:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MiKvh6M6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235601AbiLMNdY (ORCPT + 72 others); Tue, 13 Dec 2022 08:33:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235281AbiLMNdU (ORCPT ); Tue, 13 Dec 2022 08:33:20 -0500 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::222]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23D286361; Tue, 13 Dec 2022 05:33:17 -0800 (PST) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id A94F040004; Tue, 13 Dec 2022 13:33:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1670938396; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gT1SzmrwD2Q3IGrDxGN5feKqp7sHflj9viAxhsZoKW4=; b=MiKvh6M6NohegQpF1nyE16nFbZAqezBz0yefbmh9X5Rb1nO8uqnq3wo1Kgva5UC7bz/avV 1VMKO559UhUt0X40Qei11UIUhbixd5TAUi5KFpSftYXacCD+vO8O2BXenmv6J5CCbSfAXD gmOvQz1L9YIVeHsgx22Zz15Rqn2j0BE/1o+PpJJlzo29zNexIvvrBLyy3FNl9D1iEGLKgd 7gaQ6b1SJdzG9ImtdiUx9NjYDKZKr/aFLQ2P/7VXtoFeGJffJ+FlOz5BDuDezXItFAkj5N VOlko2XohpKb/ktikMeDH5FKmpyObZkwz2AHD39DxfiFwR8aUf42FlzbcIp3yA== From: Herve Codina To: Geert Uytterhoeven , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Herve Codina , Greg Kroah-Hartman , Magnus Damm , Gareth Williams Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Thomas Petazzoni , Miquel Raynal Subject: [PATCH v4 1/5] dt-bindings: usb: add the Renesas RZ/N1 USBF controller Date: Tue, 13 Dec 2022 14:32:58 +0100 Message-Id: <20221213133302.218955-2-herve.codina@bootlin.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221213133302.218955-1-herve.codina@bootlin.com> References: <20221213133302.218955-1-herve.codina@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Renesas RZ/N1 USBF controller is an USB2.0 device controller (UDC) available in the Renesas r9a06g032 SoC (RZ/N1 family). Signed-off-by: Herve Codina --- .../bindings/usb/renesas,rzn1-usbf.yaml | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/renesas,rzn1-usbf.yaml diff --git a/Documentation/devicetree/bindings/usb/renesas,rzn1-usbf.yaml b/Documentation/devicetree/bindings/usb/renesas,rzn1-usbf.yaml new file mode 100644 index 000000000000..b6e84a2a6925 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/renesas,rzn1-usbf.yaml @@ -0,0 +1,68 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/renesas,rzn1-usbf.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RZ/N1 SoCs USBF (USB Function) controller + +description: | + The Renesas USBF controller is an USB2.0 device + controller (UDC). + +maintainers: + - Herve Codina + +properties: + compatible: + items: + - enum: + - renesas,r9a06g032-usbf + - const: renesas,rzn1-usbf + + reg: + maxItems: 1 + + clocks: + items: + - description: Internal bus clock (AHB) for Function + - description: Internal bus clock (AHB) for Power Management + + clock-names: + items: + - const: hclkf + - const: hclkpm + + power-domains: + maxItems: 1 + + interrupts: + items: + - description: The USBF EPC interrupt + - description: The USBF AHB-EPC interrupt + +required: + - compatible + - reg + - clocks + - clock-names + - power-domains + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + + usb@4001e000 { + compatible = "renesas,r9a06g032-usbf", "renesas,rzn1-usbf"; + reg = <0x4001e000 0x2000>; + interrupts = , + ; + clocks = <&sysctrl R9A06G032_HCLK_USBF>, + <&sysctrl R9A06G032_HCLK_USBPM>; + clock-names = "hclkf", "hclkpm"; + power-domains = <&sysctrl>; + }; -- 2.38.1