From patchwork Tue Aug 8 10:07:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 13346928 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6A65C001B0 for ; Tue, 8 Aug 2023 19:48:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235217AbjHHTsI (ORCPT ); Tue, 8 Aug 2023 15:48:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235090AbjHHTrp (ORCPT ); Tue, 8 Aug 2023 15:47:45 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 975834BBFA for ; Tue, 8 Aug 2023 09:52:14 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-997c4107d62so820395366b.0 for ; Tue, 08 Aug 2023 09:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1691513533; x=1692118333; 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=r+/8A+T5kJZ2sAJcy7n9I+3axWMphmfRgNl05Gm90p8=; b=p5+5j+TqBHX6JDlv33bY4LrKL7skkWsaqTxc0b58EeuUDkmRKcgerX2TZABHdsjF2q QPCdxQUgrSO7aq5ZQq9Jdl+s+rCU6k9R315UjV8Rx1rrVBlIMVtMfZLGmZal1ZAzk3wD j9P1lKOGh0t2lOJdVd2853RFyYc2nmiCAp/vAen2F91OkI66uARi0q8zQ3Plvx4lSrKK VFGgq7U3ApezkJNtYqAwGZDmA3DI3MiAKPAJKD39ZSuXME3XUh1FhKpU6LzlHedtSRoZ 3entS9xnfGKvfD+uWiux2KNkZOWqyB6HlbFneniA+rtP9rjzlGajDKSudqUeQ2bukLf7 OfoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691513533; x=1692118333; 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=r+/8A+T5kJZ2sAJcy7n9I+3axWMphmfRgNl05Gm90p8=; b=ftTMbBKsyeaDZPixe9jjX5NxRLnsZ+e9rrgHpFXExRYj01FLRVH4W8N5VoTBr39AG3 0nVsxbA2hvyxqH5llxEmxGKjSAk989m9aTphA2y/cgOYqrivyEwHCLl24/BEozt6O+7h 7o8rZ3Ff4FQ25p0Tt4jLveOU4UaqTnJUtb4MjHi2JYpMSioSAl/8AgttMIstb5YAJkCJ Fp0W58V0adPv0P3yDa+rQTgNvHeECPlcxoPf3WsISEDUSf97m+SIhFLaxrWMmoUlD+V2 9+kRCubyRWWzFaNf4JijX4EBxEi7YqvhdjQfM6RWi+00xprjNAvqXfn9Dcw6Gr4B4a9g HH2g== X-Gm-Message-State: AOJu0YyB8GQEO2tZNzfaLc2qFMj4uUSFx17sXJAx76KRKn+13+ZwFe2d L3GyLS2/wFAj46KIEJCOC/s0vhnYXBklBas2k8A= X-Google-Smtp-Source: AGHT+IGCn2asXBAYQXYX9ZgKLoWcp+AtEuDppAqyRaH1bhY7zh95GS9v1NDzWXazD0FnzkfprrmIWA== X-Received: by 2002:a5d:6d51:0:b0:317:f7b0:85f with SMTP id k17-20020a5d6d51000000b00317f7b0085fmr1442288wri.33.1691489279549; Tue, 08 Aug 2023 03:07:59 -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.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 03:07:59 -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 1/2] dt-bindings: usb: add device for Genesys Logic hub gl3510 Date: Tue, 8 Aug 2023 12:07:45 +0200 Message-Id: <20230808100746.391365-2-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 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Add gl3510 USB 3 root hub device id Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/usb/genesys,gl850g.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml index cc4cf92b70d1..a7e7142651f8 100644 --- a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml +++ b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/usb/genesys,gl850g.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Genesys Logic GL850G USB 2.0 hub controller +title: Genesys Logic USB hub controller maintainers: - Icenowy Zheng @@ -17,6 +17,7 @@ properties: enum: - usb5e3,608 - usb5e3,610 + - usb5e3.626 reg: true From patchwork Tue Aug 8 10:07:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 13346547 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27E9EC07E8B for ; Tue, 8 Aug 2023 17:32:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234713AbjHHRcp (ORCPT ); Tue, 8 Aug 2023 13:32:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234626AbjHHRbu (ORCPT ); Tue, 8 Aug 2023 13:31:50 -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 645E97ED3 for ; Tue, 8 Aug 2023 09:13:48 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3fe4cdb72b9so31217325e9.0 for ; Tue, 08 Aug 2023 09:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1691511200; x=1692116000; 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=QGeAp9bM8QDClzlyLAomcV8NbeEkiYUVnPxu6iIgrHVc15Mpn5V/XTnCWPFYcGwrGj E1Ej3HeBruvfH+2wAh5DkT820ptpXNfK6gRjvdwfTCjiUODwMnaKkSs6PDpp4zI+tsrr zh9+B3EPF3nsGAAXldGhLHamc/vuVvkaPdzgUjT5kxoX2uoOBHTvrRSihZhb6NqlreWg 0no0oDUICwP0VdgJ2zspFjJHMAnSqzdy6Tv7l2VasjvJ0pFHD9FNO9YqmfZUzG9L/B0n IEEBTZzHtosm7XDao2W7DH/mo51i2iHlpwkg1BVpiu9OzUIsC3uj77ETR609zutbVpyN JW0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691511200; x=1692116000; 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=QsKVUnn2P+WiZExZpJgwWqb9+kaRid1K5zSMKanRwEvkMLZLxbdj38RK5HHtYMTpdl MNYsw5vLTlBZJCtKunQwzKTOqL5K2Vp74LWnFihOTlFQNnoRuSZye9SJ6jhZrWG0TcKq mqME8+w4vNd8jwtFRV/MzSqfH1XG+iOiMUeQynpp15NCafTQ2LLf8Itqk1jR1qobS6xc n0tAHnNnMn/75G7wRfQfmGdMhjHRB3hsjkKLR9W7UrpKpt4njP/j83BUJFpv2vtcddP6 ENaUc2VVivS+jgqa89xsScgFsFWXwHTzA9J+dBJ49w/zZ2SiKre+2HYBOMirq+aiQ6fj sugg== X-Gm-Message-State: AOJu0Yxv4kvr4o1UOgBZOAZQHV7Kgc0E08/lymF18kxa5qEvp7SOPjyq E7jk+3F5D4kYdfE4FF2G3wTcEWgqiyy6biKJZE8= X-Google-Smtp-Source: AGHT+IHCg6jK5QeAQL7ZbDp7JHMdEJbqOK7NfrBs1E2JWLSE/ov+AA3/Bp6bD/RPcGzaSByaM3IqVA== 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 Precedence: bulk List-ID: X-Mailing-List: linux-usb@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, },