Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4735576rwb; Tue, 8 Aug 2023 13:01:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH3vl0Fl9qvvivsHoOo0seuLZP3mDWyNh0KptKN/FgTJ253Qa4OqP/MeiGsbmakZP2o5wnG X-Received: by 2002:a9d:75cc:0:b0:6b9:5b75:969 with SMTP id c12-20020a9d75cc000000b006b95b750969mr557752otl.11.1691524891390; Tue, 08 Aug 2023 13:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691524891; cv=none; d=google.com; s=arc-20160816; b=d7yJ4w7L3hYq0Kx+V++iwn5z7BzDnD8Nol4Im8AvlJqKH9Uz9aGJF8mROfJ+0/FNBM wedPiM5iun0RD6r+3pgstTDIY5mSYM+6OxdXMhnixjtfTrRgh0EMo3gOmzFhKBRdR8Ek iK+qnLBnpEx7D0tQUg5jKMcmOWA/hwkbItywA7/jZzUkTM/h7nTifo0bLbNgaHxmYT3Z /Nso9+sdQUwSsmYbx4sJwGNQ445wHB0vlzWtL6L+S6lyDXZ7sXjz3xrxZQjGqRkbkhma PI5u7oy2tz3HOh6myi3qvKU/uDM7t51NX5495UarMKEyVifYFVklYdcII69ToLldBE/4 YnvA== 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=aKTM65Hk6mGoUuD04O4aN5AQ3hEPhlqNZbHsqhxOlFc=; fh=WCvyZzMo9TozdfJBdo0/WF1opwofCeY2Akq8pcEQTFk=; b=PvGXwX43Xpk6sq91EDWnEEMf0IJNGSPIs8fxoyY2Dr6JWZns+mD4QDmS05aFInXc8+ fgDmTghfC00+EoFdFOYAjY2l+vakefEKyx4kfpML+IHanKDlGCpo3PY0wXiWMsXOcqC4 W/LPtZerbbbF+YniKjHpejcRVpTtdcb7LDfz+5sycbVN6ZrYPDoMSAVmTQwzbETS7pKM d6S01ng+Y49x8qdecBJx+kgMXYc8wh1KbxP8WNOmKuiuWUYHNWU/TFslNVNm5ivDAze3 JIjMxAJQQZpyWI405Cab7RkGxAQd48vFannPseAj7eRCCEUfaZ1xAzlTIByS4ozohzqL GB1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=PGMQy2C5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w188-20020a6362c5000000b00564107825a4si7770396pgb.463.2023.08.08.13.01.19; Tue, 08 Aug 2023 13:01:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=PGMQy2C5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233267AbjHHRcs (ORCPT + 99 others); Tue, 8 Aug 2023 13:32:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234866AbjHHRcG (ORCPT ); Tue, 8 Aug 2023 13:32:06 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6919F91B08 for ; Tue, 8 Aug 2023 09:13:58 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3fe2fb9b4d7so49822535e9.1 for ; Tue, 08 Aug 2023 09:13:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1691511220; x=1692116020; 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=aKTM65Hk6mGoUuD04O4aN5AQ3hEPhlqNZbHsqhxOlFc=; b=PGMQy2C5Os2kHa7UatjlOZCDrLNrEwQrz1IItVAFXacHosKWUEf7fWStic2qmLhg2Y Ma6YBV4eD6kJ+H/HlR0RPZutppO5vEtVzYdlfIgd2A6/xLYe9PVOMihhPBCGg0bmBzy8 l73GPXsmQTSkbhj2SxJgHc9dYN1VdKyhyU8uAma9vJTYGeRtBEWFazjIvyRJms4xc/yD TxVgFthMiU5vnz/qtHEUthx+Y3OaxqbqrR5HjDsnanEL0NQfcWvBaDRna8kq8uj4b0lB 8p4QjhY4DZ7mCrOu5+Mg1ubYFDP/y4irbaOwmog7Ft0ay9aaa+k6lkMBtdthxu7gqSTU csvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691511220; x=1692116020; 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=aKTM65Hk6mGoUuD04O4aN5AQ3hEPhlqNZbHsqhxOlFc=; b=TepErPw6rwUKmc3c93F7hzIoK/+95V0e79unUlmYSIKtDssB719zdTzGRTiD97h0YK bbMqoxlb8ymAohcQrl5j5YnXYL6bkYy08qv++dbaMTru+aeWppS2sl5XMimUDFViRbai szla/gWMJG0Egy59n7sHIniF2ojsAlDcCeyWi+1mcvU1gY25rzsASiYZ7n1xehbMqGFe C7yCdpXzgx8FrhTV9TLdcb6IwP12nb2hRaffBoMkpenhzhfShwrG9fSMagfbkhZeGTLV n6NWAHsiDI3M0rvPHzA1LVAp+D9WoW1eXXUbq0xGCwhzru9SL218rRlM4aL3PnVxDbOO vDUw== X-Gm-Message-State: AOJu0YwyLMzlaTSAjbDnxgVtoYGKJRq3/JWWS4LPeDkvMWpSsSed1Caa y5cOb7RG93aHUNi9Ceo6ecJXQ7drAM+dl/PiMDA= X-Received: by 2002:adf:ffc3:0:b0:317:5b99:d3d8 with SMTP id x3-20020adfffc3000000b003175b99d3d8mr7412543wrs.20.1691489280387; Tue, 08 Aug 2023 03:08:00 -0700 (PDT) Received: from toaster.lan ([2a01:e0a:3c5:5fb1:efd4:f3df:2c50:1776]) by smtp.googlemail.com with ESMTPSA id e11-20020a5d500b000000b003143c9beeaesm13109420wrt.44.2023.08.08.03.07.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 03:08:00 -0700 (PDT) From: Jerome Brunet To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jerome Brunet , Da Xue , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] usb: misc: onboard_usb_hub: add Genesys Logic gl3510 hub support Date: Tue, 8 Aug 2023 12:07:46 +0200 Message-Id: <20230808100746.391365-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230808100746.391365-1-jbrunet@baylibre.com> References: <20230808100746.391365-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/usb/misc/onboard_usb_hub.h b/drivers/usb/misc/onboard_usb_hub.h index aca5f50eb0da..4b94ea375d45 100644 --- a/drivers/usb/misc/onboard_usb_hub.h +++ b/drivers/usb/misc/onboard_usb_hub.h @@ -22,6 +22,10 @@ static const struct onboard_hub_pdata ti_tusb8041_data = { .reset_us = 3000, }; +static const struct onboard_hub_pdata genesys_gl3510_data = { + .reset_us = 50, +}; + static const struct onboard_hub_pdata genesys_gl850g_data = { .reset_us = 3, }; @@ -41,6 +45,7 @@ static const struct of_device_id onboard_hub_match[] = { { .compatible = "usb451,8142", .data = &ti_tusb8041_data, }, { .compatible = "usb5e3,608", .data = &genesys_gl850g_data, }, { .compatible = "usb5e3,610", .data = &genesys_gl852g_data, }, + { .compatible = "usb5e3,626", .data = &genesys_gl3510_data, }, { .compatible = "usbbda,411", .data = &realtek_rts5411_data, }, { .compatible = "usbbda,5411", .data = &realtek_rts5411_data, }, { .compatible = "usbbda,414", .data = &realtek_rts5411_data, }, -- 2.40.1