From patchwork Mon Oct 2 12:29:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 147459 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp1675445vqb; Mon, 2 Oct 2023 13:33:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFKEOR55HOz8n/+F5bXuzwcishqIV8Xz3yY7iH+BnDC0fNRx5Vy5gjDE5owuijFBKjVUfan X-Received: by 2002:a05:6808:188d:b0:3ad:f5b7:d691 with SMTP id bi13-20020a056808188d00b003adf5b7d691mr15371438oib.18.1696278796570; Mon, 02 Oct 2023 13:33:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696278796; cv=none; d=google.com; s=arc-20160816; b=LrMz4wWjPfhfxrFYUbtPfKchq2eijbW/7xidolep7ngta9ylKqSMpGyoH1XTlGUoAF QmVP/WSQHbgmSeulVyrRy6KG1gvLVz8axTess35BikihtVLlcbj2dBJ2Hr1VFh6RcaMi sMmUokRyD5C7mGS+JZPaOpUKj0PoYwflT0uqokJ/WCz2dnfAgAatHWmbPQIyDaMW7P41 tEc24dP9OA0/9g7gWjQ0zrB9YI0ErF+k0ZMrWIoKHOtL21nMx51Pz8e9oF324zkDWHkB qKJK8JzNIF8Pq/gB7d1pQGYX+GELdTB0hhS6hFWwMo+nNqx3Fl3mHN/sffpajGaE8Ujs YPMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TjtZbkwdpi5si6/60UmQ8elk6PzuUnVoXbmSTS24hh4=; fh=cU4LvDoyFWmo6VVOprztGQOOtUUIc8nulOJW0jompU0=; b=cTYkcYJW/5Rano+0uS19hM38D80NLdtO4DaFCszneV5FG9TsiqzKkt14k3rzRQVLVx JDuQ7Y0T54aUp4v2lpAF4N9khtfZCfNgcp5FTS6CEqkrZKK0/RnHCgE+LRThI4CeCYf8 uWumNJgTRrrRwKfp+Hcw8wiheiKQtC7hrE7aGrRB5A/UeoSlGQXUhHVjx1TTSc6KGPJf Zd2gEio5fC5m2QLFwxmuQPfJIEowICIfhwggW6kyRSAaV/sCgk7x8CBaVfkEDE1ODq0w 1Xui3ITrgf2htudC3ca4ZAgBlEYk0CUZ5MACk2Vkkg/2woI87VrMr6lecClj+V+rGKmG LWZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=kvzDiVPB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id l14-20020a17090a49ce00b002741e78e66asi8109257pjm.153.2023.10.02.13.33.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 13:33:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=kvzDiVPB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id AB4B3806D7CC; Mon, 2 Oct 2023 05:29:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237087AbjJBM3Y (ORCPT + 18 others); Mon, 2 Oct 2023 08:29:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237028AbjJBM3V (ORCPT ); Mon, 2 Oct 2023 08:29:21 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8664CA6 for ; Mon, 2 Oct 2023 05:29:18 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4054f790190so156450875e9.2 for ; Mon, 02 Oct 2023 05:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1696249756; x=1696854556; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TjtZbkwdpi5si6/60UmQ8elk6PzuUnVoXbmSTS24hh4=; b=kvzDiVPBJcoM0lxiTfEdxRfR1uzNe3zxlkE1wmUHzAeppa1FzTCYmkmQxLfpNNJlqd ydks87WYg0n7cgpNZaF5RWMPJrLSUyWI/qdov4FCWc0PRCThuQ/+L4L7hirS7Q93i+jE SX/cImg5iFnWgZAixyqdQnxgar5FnNWTqxCOjEoIWN0zhwh9DKlQzy4H18KyoftdmgM0 SNhJrFucAOFf4vplQQbGzksqDIkmYSDMHVDeBdDDmRjuAB5/lCmtu0rNNy4BpX8GeBQW 0UwRRUIOspcdPSN5C7qZaida+gQZS2QFJYePA09EGOMsMi6z5WlDxg6naFtv4VPZKCpb VL9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696249756; x=1696854556; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TjtZbkwdpi5si6/60UmQ8elk6PzuUnVoXbmSTS24hh4=; b=nH+inAUHjdV9wAdge1S0dTRwGa+N9aKLq4EL2IwwBJa1mx/4IsAW9oU8Wjb8ZFR23z MUtUGy72j9OTWNxkbfqsCCd1LdGWWsV5vKEM8RNZb/9Uw2/zKSWyRH8LpRQMbl9cpztt 6HYGYacaprFitIaJ/2CjwNqK0uDAX2JR5TNLIQeYNnbPsKXBGFZeZYUT70yCptZT7pNJ OVjepxR46U84P/2PXKaxfmqPilTkghmagfQUg80AY53/HNZd4X68D4LgIEY6L5QW2l+H krBUgL3nK3XBQzYvi9EIcKPT3nPSB3pTRv+h5HSpERVjBp/KsZMdtBjv+wiljTQShyEs MdGw== X-Gm-Message-State: AOJu0YxicBZhvV5dCbny1VPfzL/wL/SrZ7qCOWJJQzl39wWx2BDCY2s1 0qpEub8KSUAuWP7T8PiGIM9CfA== X-Received: by 2002:a05:600c:1c1a:b0:406:53c0:3c71 with SMTP id j26-20020a05600c1c1a00b0040653c03c71mr9496024wms.37.1696249756516; Mon, 02 Oct 2023 05:29:16 -0700 (PDT) Received: from toaster.lan ([2a01:e0a:3c5:5fb1:fcf2:65f1:853c:13be]) by smtp.googlemail.com with ESMTPSA id s16-20020a05600c045000b0040536dcec17sm7144819wmb.27.2023.10.02.05.29.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 05:29:16 -0700 (PDT) From: Jerome Brunet To: Greg Kroah-Hartman , Krzysztof Kozlowski , Rob Herring , Conor Dooley Cc: Jerome Brunet , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH v2 2/2] usb: misc: onboard_usb_hub: add Genesys Logic gl3510 hub support Date: Mon, 2 Oct 2023 14:29:09 +0200 Message-Id: <20231002122909.2338049-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231002122909.2338049-1-jbrunet@baylibre.com> References: <20231002122909.2338049-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 02 Oct 2023 05:29:59 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778677235375886166 X-GMAIL-MSGID: 1778677235375886166 Add support for the gl3510 4 ports USB3.1 hub. This allows to control its reset pins with a gpio. No public documentation is available for this hub. Using the same reset duration as the gl852g which seems OK. Signed-off-by: Jerome Brunet --- drivers/usb/misc/onboard_usb_hub.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/misc/onboard_usb_hub.h b/drivers/usb/misc/onboard_usb_hub.h index 4026ba64c592..a9e2f6023c1c 100644 --- a/drivers/usb/misc/onboard_usb_hub.h +++ b/drivers/usb/misc/onboard_usb_hub.h @@ -56,6 +56,7 @@ static const struct of_device_id onboard_hub_match[] = { { .compatible = "usb5e3,608", .data = &genesys_gl850g_data, }, { .compatible = "usb5e3,610", .data = &genesys_gl852g_data, }, { .compatible = "usb5e3,620", .data = &genesys_gl852g_data, }, + { .compatible = "usb5e3,626", .data = &genesys_gl852g_data, }, { .compatible = "usbbda,411", .data = &realtek_rts5411_data, }, { .compatible = "usbbda,5411", .data = &realtek_rts5411_data, }, { .compatible = "usbbda,414", .data = &realtek_rts5411_data, },