From patchwork Tue Feb 9 10:48:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12077739 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22967C433E0 for ; Tue, 9 Feb 2021 10:49:26 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B68AE60202 for ; Tue, 9 Feb 2021 10:49:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B68AE60202 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=kpW+U9M5Mw1IN0L6cmL43efMFuetEx2/kMuS3dw8ErU=; b=PFu+LFDvJ/yW1L1FqKtrN/6rGG mMFnIN+Wv1w/vEgn1wJassr/a1wESiXuXLuRSb6sq6L6DlSx/eWx35gIOwna34h/JkvRkn+2gu/WB 38U3pd83dfVAr0ZRc8nal3JtJUksK8IUuQPKW4ApUfhB0ZoiKHW7RXFGPdSZi0XA6Yw7YQoQZTVNP wB6XvKPQ/tDszUHzImWkQZKnIRARPSQ36YdYvRwOBqvQrtVv4YP2yprJxFKOukrd75DFaD61pJI4T szaOfDKoDoh+gJRAcxRuTvuqiJT+eq3Ub8UStDuCJxakR91PnAK33pd+Kf9EpSh/w793zFcrbhUXB jmIM5QYA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9QZ4-0002Rd-Qg; Tue, 09 Feb 2021 10:48:14 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9QZ3-0002Qm-6w for linux-arm-kernel@lists.infradead.org; Tue, 09 Feb 2021 10:48:13 +0000 Received: by mail-ed1-x529.google.com with SMTP id z22so22777884edb.9 for ; Tue, 09 Feb 2021 02:48:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TCYYyYxqAgiBLSJ5bSlirMCh5sbeOM7VGMK5TP60Fss=; b=b9Yo9T36flpzfkT2q8cgN1WmWZFVS9xHxt2vib3CMlEM7QCeY1Zccd85r3GZ/1TryE laJtCaAHhmRp9KnQZwiACvemLIxSh7T0nIU9pquP9yEBN+NYa0+8SAr4v7No4m7nvENv SQepPxRcSVjemsI9d+sW4a5XO6pKTuw9syxPE59pB4GHwI3LiJuJuPTHUZj+p3wm1UZ7 9YWGNMxgRlWy3RfVLOqr+Oakt0wL5L8bvckZ81XwykgjXFZ/XwacFkMJvQduUnuwJrKi KRcTG/RffwlODLsA5eQJ1U3sPJMUdeMqaocox6XrXuICYV2N69D+TED5wMe9dX6um6LT tcWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=TCYYyYxqAgiBLSJ5bSlirMCh5sbeOM7VGMK5TP60Fss=; b=lAQUJnnEfcrzuteMry2XwUugI2ds9Qo7A3gSTADN5TQiGdcBGwQpyNQTuDmLHwSodF J6chGiflb0l7aDMkisdeXIrRyi1n9dbrPkV2qYosE2VytS5wHFRfMOBGhLA3JpBCLfna 5bqpeGtWYfvB5NylZBj0XW+Lt5pfZ6sE0jpphYFBvsjP04Hi+59H/COXKACmc2o2mKH1 jpsB1EJTo3YRA528txwQOVIujE26S4An1P/dDB5fIBGFNHX55AzTFeiwWgajRaaRjs1K TWxTAm+f6mGFUQKUTLeSDdSr6HXRtQmDtfF37QSGwnTz2ANAiOjMmTS5xc1y0XiMNQ3Y cL6g== X-Gm-Message-State: AOAM531qpyhAMdeXeWRaX7e253GJ2Wsh62OBEodLh0/9hLiEcOjpBrDL JJVude8NeFZ3AeRrlMtEjhpR1A== X-Google-Smtp-Source: ABdhPJzr01m5XL3lUEjgU7CoTO4lCwwZmN3dNOuZ4rreKz1xClAsawbZD2Q3iYy3QDVjKGuPLNRi2g== X-Received: by 2002:a50:c04d:: with SMTP id u13mr21924511edd.226.1612867691478; Tue, 09 Feb 2021 02:48:11 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id a15sm9852924edv.95.2021.02.09.02.48.11 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Feb 2021 02:48:11 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 0/2] usb: misc: Add support for Microchip USB5744 Date: Tue, 9 Feb 2021 11:48:08 +0100 Message-Id: X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210209_054813_285513_E35503BE X-CRM114-Status: GOOD ( 15.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-usb@vger.kernel.org, "Alexander A. Klimov" , Greg Kroah-Hartman , Masahiro Yamada , Al Cooper , Rob Herring , Alan Stern , Bastien Nocera , Piyush Mehta , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, the series is adding basic support for this USB hub. The key part is running reset over GPIO line and when i2c is connected it is necessary to send command to boot the hub. This chip is available on Xilinx zcu100/Ultra96 v1 board. Thanks, Michal Changes in v2: - s/USB_USB5744/USB_HUB_USB5744/g - Fix order in Makefile and Kconfig Piyush Mehta (2): dt-bindings: usb: misc: Add binding for Microchip usb5744 hub usb: misc: usb5744: Add support for USB hub controller .../bindings/usb/microchip,usb5744.yaml | 56 +++++++++ MAINTAINERS | 2 + drivers/usb/misc/Kconfig | 9 ++ drivers/usb/misc/Makefile | 1 + drivers/usb/misc/usb5744.c | 115 ++++++++++++++++++ 5 files changed, 183 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/microchip,usb5744.yaml create mode 100644 drivers/usb/misc/usb5744.c