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: 380619 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=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 30A49C433E0 for ; Tue, 9 Feb 2021 10:51:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D40FF60232 for ; Tue, 9 Feb 2021 10:51:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232050AbhBIKu5 (ORCPT ); Tue, 9 Feb 2021 05:50:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232079AbhBIKsx (ORCPT ); Tue, 9 Feb 2021 05:48:53 -0500 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD5CFC06178A for ; Tue, 9 Feb 2021 02:48:12 -0800 (PST) Received: by mail-ed1-x531.google.com with SMTP id df22so22876610edb.1 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=rIJVFmJzEEqCYteQUS+3DW26pOtLq9QW9jgBbIDbqZrO+BeWgCaJs+7USbd1W+D+Md 4Vf48RjK6ba7LIjrg8DtE63nkwfHLcZ/gUmb0PshVPgSj0x1JyksRGIoTYI88uitkOIe kRwq6jf8Y9ZDqQY4rd/sp/3fVJiWyHD+56fxFYuUPOSXXFFW3dnNOvtmcET57emuxlk6 YPJc8vRWMOBDrRJfqKtpqvT0tz6+R4wypZCqyUs+1O3WnewXTZUWITc6pMfeOOpIFjic IJ0Ng02ZseUCcpDrnN+kJZxqIIzmWYFI+G2WGweApBeYMi8++Wm63Im06t5WkM/Yh1AG Vv5w== X-Gm-Message-State: AOAM5331UVh6UqL6nrLZhlL6OEnPAe7BQhaZV6eykTuLRw5syofQvyNL J0aYDM5yQzAE/EkHBngo1XHCttLCTUzG2w== 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) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Cc: Al Cooper , Alan Stern , "Alexander A. Klimov" , Bastien Nocera , Greg Kroah-Hartman , Masahiro Yamada , Piyush Mehta , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org 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 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.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