From patchwork Tue Feb 3 10:17:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zubair Lutfullah Kakakhel X-Patchwork-Id: 435766 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id CA3DB14017C for ; Tue, 3 Feb 2015 21:18:47 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933542AbbBCKSa (ORCPT ); Tue, 3 Feb 2015 05:18:30 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:18193 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755208AbbBCKRl (ORCPT ); Tue, 3 Feb 2015 05:17:41 -0500 Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 6BF0348C1BF1; Tue, 3 Feb 2015 10:17:37 +0000 (GMT) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 3 Feb 2015 10:17:39 +0000 Received: from zkakakhel-linux.le.imgtec.org (192.168.154.89) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.210.2; Tue, 3 Feb 2015 10:17:37 +0000 From: Zubair Lutfullah Kakakhel To: CC: , , , , , Subject: [PATCH_V4 1/3] dt: usb: jz4740: Add DT binding document for OHCI Date: Tue, 3 Feb 2015 10:17:18 +0000 Message-ID: <1422958640-25723-2-git-send-email-Zubair.Kakakhel@imgtec.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1422958640-25723-1-git-send-email-Zubair.Kakakhel@imgtec.com> References: <1422958640-25723-1-git-send-email-Zubair.Kakakhel@imgtec.com> MIME-Version: 1.0 X-Originating-IP: [192.168.154.89] Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Paul Burton Add the binding documentation for the JZ4740 OHCI controller. Signed-off-by: Paul Burton Signed-off-by: Zubair Lutfullah Kakakhel --- The jz4740 is platform only at the moment. But DT support is being added See http://patchwork.linux-mips.org/bundle/paulburton/ci20-v3.20/ V4 Changes Removed clock binding because of pending work in clock tree. Will add binding later. Rather than introduce a bad binding now and change later. V3 Changes: named binding jz4740 instead of confusing it with jz47xx. The driver name is jz4740. And will not be renamed V2 Changes: Removed interrupt parent binding as that can be inherited. Forgot a binding for clock-names --- .../devicetree/bindings/usb/ingenic,jz4740-ohci.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ingenic,jz4740-ohci.txt diff --git a/Documentation/devicetree/bindings/usb/ingenic,jz4740-ohci.txt b/Documentation/devicetree/bindings/usb/ingenic,jz4740-ohci.txt new file mode 100644 index 0000000..29c1934 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ingenic,jz4740-ohci.txt @@ -0,0 +1,21 @@ +Ingenic JZ4740 SoC OHCI controller binding + +The Ingenic JZ4740 SoC includes an OHCI compliant USB host controller +interface for use with USB 1.1 devices. + +Required properties: + - compatible: Should be "ingenic,jz4740-ohci" + - reg: Should contain the address & size of the OHCI controller registers. + - interrupts: Should specify the interrupt line number + +Example for jz4740: + +/ { + ohci: jz4780-ohci@0x134a0000 { + compatible = "ingenic,jz4740-ohci"; + reg = <0x134a0000 0x10000>; + + interrupts = <5>; + }; +}; +