From patchwork Thu Aug 11 08:48:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomer Maimon X-Patchwork-Id: 1665442 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4M3L8P751xz9sG0 for ; Thu, 11 Aug 2022 18:49:24 +1000 (AEST) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4M3L8M3w3yz3bmL for ; Thu, 11 Aug 2022 18:49:23 +1000 (AEST) X-Original-To: openbmc@lists.ozlabs.org Delivered-To: openbmc@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=fail (SPF fail - not authorized) smtp.mailfrom=nuvoton.com (client-ip=212.199.177.27; helo=herzl.nuvoton.co.il; envelope-from=tomer.maimon@nuvoton.com; receiver=) Received: from herzl.nuvoton.co.il (unknown [212.199.177.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4M3L886bCmz2xkP for ; Thu, 11 Aug 2022 18:49:08 +1000 (AEST) Received: from NTILML01.nuvoton.com (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id 27B8mwBB026502 for ; Thu, 11 Aug 2022 11:48:59 +0300 Received: from NTHCML01A.nuvoton.com (10.1.8.177) by NTILML01.nuvoton.com (10.190.1.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Thu, 11 Aug 2022 11:48:58 +0300 Received: from NTHCCAS01.nuvoton.com (10.1.8.28) by NTHCML01A.nuvoton.com (10.1.8.177) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 11 Aug 2022 16:48:56 +0800 Received: from taln60.nuvoton.co.il (10.191.1.180) by NTHCCAS01.nuvoton.com (10.1.12.25) with Microsoft SMTP Server id 15.1.2375.7 via Frontend Transport; Thu, 11 Aug 2022 16:48:56 +0800 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 874F660269; Thu, 11 Aug 2022 11:48:55 +0300 (IDT) From: Tomer Maimon To: Subject: [PATCH linux dev-5.15 v1 1/2] dt-binding: usb: Add NPCM UDC binding documentation Date: Thu, 11 Aug 2022 11:48:49 +0300 Message-ID: <20220811084850.45927-2-tmaimon77@gmail.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220811084850.45927-1-tmaimon77@gmail.com> References: <20220811084850.45927-1-tmaimon77@gmail.com> MIME-Version: 1.0 X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andrew@aj.id.au, joel@jms.id.au, Tomer Maimon Errors-To: openbmc-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "openbmc" This patch adds device tree binding documentation for the NPCM BMC USB Device Controller (UDC). Signed-off-by: Tomer Maimon --- .../devicetree/bindings/usb/npcm-udc.txt | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/npcm-udc.txt diff --git a/Documentation/devicetree/bindings/usb/npcm-udc.txt b/Documentation/devicetree/bindings/usb/npcm-udc.txt new file mode 100644 index 000000000000..938d163ad681 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/npcm-udc.txt @@ -0,0 +1,33 @@ +Nuvoton NPCM USB Device controller. + +This DT-binding describe Nuvoton NPCM USB Device controller (UDC) device node. +The UDC is based on Chipidea Subsystem Device Controller IP. + +Required properties: +- compatible : "nuvoton,npcm750-udc" for Poleg NPCM7XX. + "nuvoton,npcm845-udc" for Arbel NPCM8XX. +- reg : Offset and length of the register set for the device, + Offset and length of the DTD buffer. +- interrupts : Contain the UDC interrupt. +- clocks : phandle of UDC reference clock. +- clock-names : Should be "clk_usb_bridge". + +Note: Each npcm-udc which should have an alias correctly numbered +in "aliases" node. + +e.g. +aliases { + udc1 = &udc1; +}; + +Example: + udc0:udc@f0830000 { + compatible = "nuvoton,npcm750-udc"; + reg = <0xf0830000 0x1000 + 0xfffd0000 0x800>; + interrupts = ; + status = "disabled"; + clocks = <&clk NPCM7XX_CLK_SU>; + clock-names = "clk_usb_bridge"; + }; +