From patchwork Sat Feb 2 23:59:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 10794523 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E0234746 for ; Sat, 2 Feb 2019 23:59:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C30E12D690 for ; Sat, 2 Feb 2019 23:59:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B20AF2D689; Sat, 2 Feb 2019 23:59:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57F272D689 for ; Sat, 2 Feb 2019 23:59:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726945AbfBBX7R (ORCPT ); Sat, 2 Feb 2019 18:59:17 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:33050 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726825AbfBBX7R (ORCPT ); Sat, 2 Feb 2019 18:59:17 -0500 Received: by mail-lj1-f193.google.com with SMTP id v1-v6so8856182ljd.0 for ; Sat, 02 Feb 2019 15:59:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jqG8bbOK8eH3rFqme09nv/zpTnlZAZt6xfY8EHM8lJE=; b=Koj8zuYAsk3xc9bnfUtXTETgb81E92Jlk0+OGeIyXsNpuOp5hBNuuxPFlmqOCxvpJF T/zYOLCIC7AsI7cPbbFIrM/5Atzvy1n39mjPdsJs0uY9VAcK1XdH6twCYh3IPfZ3Wmdh fNDIKUke6V2NWAXlB/wsMpiOpLuUVcM1avETI= 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:mime-version :content-transfer-encoding; bh=jqG8bbOK8eH3rFqme09nv/zpTnlZAZt6xfY8EHM8lJE=; b=YmfCLBt2+VRbkKzq/O5Lpp8Q6FcM/1pvKK/2TlMmHD8ETz1QbKFqFwNy9zPnonFBjG kkyrFBhMTAa+xr1oHX+2V+GXvok9vWsA0zA+aV8VOj6SyF5Ttg051QfV4IfFDAylXyKc RJ9aLIBUbc2keKbEvAw4B+tUJhKdqCKJRD5y8olCsP/pD/KdzatkjC7HPdn7kmlYmySQ RqhKMdPvjTVDBhqEi9d/cEiyX0B+xUSCA1GYBSh7vKbs7AxovwjfkB3EbBY8TyMb97mh qGVYTrkv/emmUS3IffzbLot75+zZbvrdyhjKNflWNBld8FxWedpB6yNMvu/R9nNRvSqK iyFw== X-Gm-Message-State: AJcUukfhCm/KzZHxylxRj6IbHpFxbxDrXu1rY0ANKORLHJc9/08po0x9 ApPAKUe2yKTEOhlvlelECIb83F6oCvU= X-Google-Smtp-Source: ALg8bN7oagvRB97RIxQilzxfbAfMvQn5TsttSyqXJs5UbmehvPBgsA5wqnKgA66O+SZpA5ZckRg6RQ== X-Received: by 2002:a2e:1bc5:: with SMTP id c66-v6mr37295394ljf.96.1549151954924; Sat, 02 Feb 2019 15:59:14 -0800 (PST) Received: from linux.local (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id o25sm2195724lfd.29.2019.02.02.15.59.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 02 Feb 2019 15:59:13 -0800 (PST) From: Linus Walleij To: Greg Kroah-Hartman , Felipe Balbi Cc: linux-usb@vger.kernel.org, Linus Walleij , Robert Jarzmik , devicetree@vger.kernel.org Subject: [PATCH 1/2] USB: gadget: pxa25x: Add DT bindings Date: Sun, 3 Feb 2019 00:59:07 +0100 Message-Id: <20190202235908.30751-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds device tree bindings for the PXA25x USB Device Controller as found in the PXA25x and the IXP4xx. Cc: Robert Jarzmik Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- .../devicetree/bindings/usb/pxa25x-udc.txt | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/pxa25x-udc.txt diff --git a/Documentation/devicetree/bindings/usb/pxa25x-udc.txt b/Documentation/devicetree/bindings/usb/pxa25x-udc.txt new file mode 100644 index 000000000000..bbdbe0df3565 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/pxa25x-udc.txt @@ -0,0 +1,27 @@ +PXA25x UDC (USB Device Controller) + +The PXA25x and IXP4xx USB Device Controller is different from the +PXA27x UDC described in pxa-usb.txt and is compatible between the +Marvell PXA25x and the Intel IXP4xx devices. + +Required properties: + - compatible: Should be one of + "marvell,pxa25x-udc" + "intel,ixp4xx-udc" + for USB controllers used in device mode. + - reg: usb device MMIO address space + - interrupts: single interrupt generated by the UDC IP + - clocks: input clock of the UDC IP (see clock-bindings.txt) + +Optional properties: + - gpios: + - gpio activated to control the USB D+ pullup (see gpio.txt) + +Example: + +usb@c800b000 { + compatible = "intel,ixp4xx-udc"; + reg = <0xc800b000 0x1000>; + interrupts = <12 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&pclk 0>; +};