From patchwork Tue Feb 9 09:53:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12077635 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 344C0C433E0 for ; Tue, 9 Feb 2021 09:54:45 +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 B681A64E88 for ; Tue, 9 Feb 2021 09:54:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B681A64E88 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=uNf7vSQ1uDF4T+RybDkdNiC0Uh8z/ZyWo7qi4Z6hARo=; b=rk/Bd7xJ+fc+L45gmFnrEVuY3O ygfsndaQX9C82zDJS/2Gd9hrFVTEUqI8yQllRf4aCSPBrZCwXiv/jvAYRPPMOP3PZYZFkMqNj87j/ 71ofDUdM+gQ0XMkUMC0YhAb0gr2Ck3UsOt+hjZmQzZZIbPp6Ksdqsyl5NfsFynHw6Uq+K1152s1qk MihsgP9QmeCbaumlhCx0HnKxhAb2qlea8rujkMRc6r5g9VUw/MaIC9A6AcAKQE3AJF/Erq8/9KpY8 PhyWNECb27mYzv2EqPQeIOLZugmHTblZYrCPqS6cGErBp4mqzkiHllwp0yblyI4h66bhjVVUu1rj+ SY+C5byg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9Pi8-0008Od-Lq; Tue, 09 Feb 2021 09:53:32 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9Pi6-0008LP-45 for linux-arm-kernel@lists.infradead.org; Tue, 09 Feb 2021 09:53:31 +0000 Received: by mail-ej1-x62c.google.com with SMTP id p20so30269490ejb.6 for ; Tue, 09 Feb 2021 01:53:26 -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=Pqbb2hbiFk/I6vb7TmhkdeW2Dsvn3o0tV40ygJzupJY=; b=b9Yr/WFLNTMKwRU/2j24yNwf+F6THMtjELrnzsywsXAvhuvqobOJXsTvc+lpvKP3TV JjyxjnXcK6zymN3TICdIcYxmJPe59Buw647pX/xX1GwjeksqDvnR1xClt3jNL9cruFPT k1RBj5wUH74f0g5nDeoMk/IqVDQCAhH6uMFIjZeTxzg2VE8FYH74AN+Lmk3AC8+F1tR8 wbdLI8NTK+qLD5yeAJxvhqx5NUL70wwjvLH5qYX1e1lrfYQqjLOLmMF8f6ccCcSBIR6h 0I35KsZlmdqauVSYeSmPW+hz/Smm1QWs2ndz0HZdUJ8n78SOkSI9E+davlobcA2tDpWP QqvQ== 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=Pqbb2hbiFk/I6vb7TmhkdeW2Dsvn3o0tV40ygJzupJY=; b=grRV0IFsvy9j51OMMPiE2jULyxj2auBVsvoPlwHjpCGtq/6Ya9/cHfjlW5UmE6HxZp sgkZuGUSzOdvuvPlj2xUuqKPXCCWps2h3n5ku/qnfnIzV1Z51v6YUP7rqyi9py5n5lTy 4KvGzoET4dCsjS9sllYofZxYdkxddsrg4Bu9g3fbn0bzjO+e40m7OgZJZFtfU1TsiH4r NwLdeqloDaKPEXIlqghvGPVFbYxJujag5MoDZxyPL77SjquO8MnJ0WYkOqXGoj4z1M2W tckE6yBcgANMnH2WbOudoF+blHIfn3cRjiv/14/LvEo5NFF8xR06MrFvhQNpj5N69fPr 9hpQ== X-Gm-Message-State: AOAM533IHSKmna9orfvO1zEzpaPG6zRIxcNtFSw8eDXCTV6blx3lB63q RRLyM7KLbH3OIiYUNLR55JqkIQ== X-Google-Smtp-Source: ABdhPJxTHff2sFseU/wwogexEzr83TWbeERuCDSraUtmSFT/XUiOPJ0B8MHbnrKRymb0cLjUniSZRw== X-Received: by 2002:a17:906:880f:: with SMTP id zh15mr8838974ejb.268.1612864405279; Tue, 09 Feb 2021 01:53:25 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id i13sm10249734ejj.2.2021.02.09.01.53.24 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Feb 2021 01:53:24 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH 0/2] usb: misc: Add support for Microchip USB5744 Date: Tue, 9 Feb 2021 10:53:18 +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_045330_332740_ABF0123E X-CRM114-Status: GOOD ( 13.87 ) 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 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