Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp928887imu; Thu, 13 Dec 2018 06:48:26 -0800 (PST) X-Google-Smtp-Source: AFSGD/UYoxV7x7GjH4q8ueN9P6OKqpYP0lu7rRT+aW85E2Cx55b6TXSzhBl4q5Uc0YwSFzzHWSGg X-Received: by 2002:a62:60c5:: with SMTP id u188mr24474140pfb.4.1544712506680; Thu, 13 Dec 2018 06:48:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544712506; cv=none; d=google.com; s=arc-20160816; b=ehitZ9imLEuB7k5o6BrJlZo5krT8eWxqdqcf8ThOJGEJPSkvgC6KVh1HEGEbUpewTd 2swW+pwbiQ0oCkZo4mvv19R3lNgRBqmEj0DNxy9eB1d1jxxLvz5rnsD3Bpvw5jMp+zvd HKtur/sY6SvNOfCZxSgQH22YdJ1g9K93dMsQPuptQ/Qgjb2GnRB79XtiRWx//QmsPGBu m030AG0lrmHYFzzUA4CHCA6Yd5UV1z+If2+hp+WOinPR8VRzfwFMZ3Enohx0Sf1edY+K PPU7/T4bH7CI3yBEus8z4Y8oBEaarl1FqK6kkhzh9HeFhu1aQqcU16BZflCCabfT4M8Z sAgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:message-id:date:subject:cc :to:from; bh=4y2hxwsZG4mriJ47HHwLXXiR4ye2MNK5snwtkVum/UQ=; b=JSCXVcJq2nyNna5Jyzf9hOonI8XTmGZJoNMNQivE49Wa5wyk244Jo8ibQBBOAMYEJq XYzXjT9IzhNce6ZQv6MJJEL775+QBakCDi+Pz3JrBX7Bo3dKvttMMr0iD7XncYDB3y37 UUdlG4YQSGlXV54xeDEkqH/c65z5oBE3IL06WBRrE9VXSnNNA04c/qxBuBQLowIT1bXs 4LSCGdL7G8lLKmAiRr/JE6LZSV3OmFuM03VV+WGphjVNEYBJcQ7tYdLHgErL4mHEb/5f CD1aOdGxwl25P4RAgYrQHn5X+mX3B2Y8sNKj3DhAEBmtaae8W+ds09FOQIX5Sw90M9sM aTGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=nruD8W6n; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1si1535729plk.257.2018.12.13.06.48.11; Thu, 13 Dec 2018 06:48:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=nruD8W6n; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728877AbeLMOqE (ORCPT + 99 others); Thu, 13 Dec 2018 09:46:04 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:43776 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728078AbeLMOqE (ORCPT ); Thu, 13 Dec 2018 09:46:04 -0500 From: Paul Cercueil To: Greg Kroah-Hartman , Rob Herring , Mark Rutland , Bin Liu Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, od@zcrc.me, Paul Cercueil Subject: [PATCH 1/4] Documentation: dt: Add binding info for jz4740-musb driver Date: Thu, 13 Dec 2018 15:45:52 +0100 Message-Id: <20181213144555.24031-1-paul@crapouillou.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1544712362; bh=4y2hxwsZG4mriJ47HHwLXXiR4ye2MNK5snwtkVum/UQ=; h=From:To:Cc:Subject:Date:Message-Id; b=nruD8W6n/Az0S/K+DFBi/ObT3qMWPgvHJRNpIXlY+LNwBSHxmNrs3y1CEfAKZy0VlxAQ5sDKcw1GnvgImRelayn374hRCzgTSbTj5YtEyQShOfta1ZIoe3Sd0gwRzbETG3xRtzGQehlQFIt4GWoyQG6qm8aDb1ejp7M3szT+vTw= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This commit adds documentation for the device-tree bindings of the jz4740-musb driver, which provides support for the USB gadget mode of the JZ4740 and similar SoCs from Ingenic. Signed-off-by: Paul Cercueil --- .../bindings/usb/ingenic,jz4740-musb.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt diff --git a/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt b/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt new file mode 100644 index 000000000000..620355cee63f --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt @@ -0,0 +1,24 @@ +Ingenic JZ4740 MUSB driver + +Required properties: + +- compatible: Must be "ingenic,jz4740-musb" +- reg: Address range of the UDC register set +- interrupts: IRQ number related to the UDC hardware +- interrupt-names: must be "mc" +- clocks: phandle to the "udc" clock +- clock-names: must be "udc" + +Example: + +udc: usb@13040000 { + compatible = "ingenic,jz4740-musb"; + reg = <0x13040000 0x10000>; + + interrupt-parent = <&intc>; + interrupts = <24>; + interrupt-names = "mc"; + + clocks = <&cgu JZ4740_CLK_UDC>; + clock-names = "udc"; +}; -- 2.11.0