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: 157353 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2213804jaa; Sat, 2 Feb 2019 15:59:19 -0800 (PST) X-Google-Smtp-Source: AHgI3IZvDWZ9AWhNTKW0vi02tP04byZcMykK9eVg/KDTy9JVn9dH5FmX+Mi8FPJZEBblpfFZ8tox X-Received: by 2002:a63:ee4c:: with SMTP id n12mr7596854pgk.21.1549151959649; Sat, 02 Feb 2019 15:59:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549151959; cv=none; d=google.com; s=arc-20160816; b=ntKvE0VXIMm371IQDBeNG6Ue4StCHOqQlvoc69hDdytKy0SHgyzPk8HN1QIVQxlgC+ l+KtMlq183zle2GAsFiwM+lVpmaxiFwBN6SW/koRaYzLtSuS/bFL+HYzG6vFcon3lvlz C6BVADM3jtVn42yLTqFMx+h4qKTNLuAmPgYeO33QeKXB5qs2TjRD/7yDAOvh27Uk7ICH Lqo7igmGv8G/gGO7qluKmigXiBaRVNJFI6FDAWbZ00aIRCr/er4toOg5lW6EnCHgr8Ec NQzXZX5L6nSsPOONtaDU28soIoPPq12lVO1KOijO6unf9av1+Q8Y3iqvEYo0UEt9+52u X53Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=jqG8bbOK8eH3rFqme09nv/zpTnlZAZt6xfY8EHM8lJE=; b=xsDzK8N0B19ySXb4D+4E5yclQI/rs7XC9oBuHVnkiz8x8H40/xJ8cUHyIZ0VeDLfJG R077ZRztWWNCPn74xgHLCpdvM3iEB3MkVT6qPVMlRzj0t897+qG/49PyNSd2fMZGJ9xg n81olhPRspUjxLnRIMhe3pxGxvlSt8z2VmNjI5e+AuKZEmQq1h8ZlmAxmYL7Nl5RL906 cjy5SgLzOnoELKncG3l2bJOaa7RYadCF7ODup/4V3K0+TFfux+MiYubx6eBkAxI1UYtr BbT3LzJC5kZo0+HhsldjRLDbzr7rqPph6ok+AUniHh1DZHj4GBorOG0saRKmD9M/a38a Fi4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Koj8zuYA; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j7si12715718plb.91.2019.02.02.15.59.18; Sat, 02 Feb 2019 15:59:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@linaro.org header.s=google header.b=Koj8zuYA; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726825AbfBBX7R (ORCPT + 7 others); Sat, 2 Feb 2019 18:59:17 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:43047 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726710AbfBBX7R (ORCPT ); Sat, 2 Feb 2019 18:59:17 -0500 Received: by mail-lj1-f193.google.com with SMTP id q2-v6so8781236lji.10 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=ZjAXt8I/XEd3DgpPi6zDz2TtvgQQc8CyVC/RjD4jZh9B1I0Uee/LzFSo081kmvzMLz rinYBa9JLBz8vNujWWX1eha9/wApNy6PdTCY0NIMkYevYj23Yt2JuVtp9pVx43B8PjNT MySJqaZibaYmxF3KTgUdyKpg1KYesEGn4pM72pfUft/4zoO8An71WrSo5hRTokeYh2Bu lW3j2noFQFE6WF5IdSRXh6uGBvxzsFD5S8jZSlJrjs5WDnUySJFgZbtz+RttTTNdNBk3 DoVTmZkjeEAc7rZBDNEbxWbctrRKtgSXP632Fx7WuR0PCFTVucU8D9Thhn8uxQmHGdQu UYKA== X-Gm-Message-State: AJcUukfRwlko1M5w8qVHNPhVxP4sJIl6pcT1tAV2sfte74g9ZDN3A/mZ EC4lii5iw7/QJY4eYadqCBfLqQ== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 -- 2.20.1 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>; +};