From patchwork Mon Oct 2 12:29:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 13406204 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6559E1802B for ; Mon, 2 Oct 2023 12:29:20 +0000 (UTC) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87096DA for ; Mon, 2 Oct 2023 05:29:17 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-405497850dbso144867025e9.0 for ; Mon, 02 Oct 2023 05:29:17 -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=XgkgY+Hphqjk3amPtIZgb/fXeevEe3mIn4vayjBuH/Q=; b=pWWuDtexRpwgrtrUTk3qRTe16jU+WxHXtAX+DGFDJirVkzGrnbVRVlDEaMmDGza7U+ /mwmy7T7gYHZtLSlIzqELL5g+ILgCUXyDf00Hz4icc6OrX36a6gU8cJscNc//j/cucHN SZ5fBca54cpK/hKDIEiTKUk/u93qfdGMKoydJjcVslLB6BjOWNeZiuqFQnGy+QBxBa3F sKWyt3QzW91uymMrgQiLcrjQ67nwZ28YumtuKFEb6rPPnBh+WlTHiv4iGwPTXWNLgUH3 mdaH++sdU2VGkxj6QUOP8iyZ581sLawOUC7Qhe4amQI4v2XWU5bWIk0WHMmm7SMof6Ix LfWQ== 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=XgkgY+Hphqjk3amPtIZgb/fXeevEe3mIn4vayjBuH/Q=; b=pjS70GTbiFCmAWE+9Q4n5a9LYbtKb4HJOZZutbMCYj17/RkLv7GrdE/KdnMqzddiku 7YQhafQbiT7e+Ksx2oTAzBrwvoqmLtQYHa4690B7FzoDl3SBUlgICF2t6UkpULw7Z07h 7BEInn1t4+0eEv0CCo/0hZ+SRXnKqkmym8x80emTi1AggLuNzXsM96dLB4OqwVgjL1/N sWWzQCGRljZzIke5Dmqqh/SyXw8TnocHAhI/HkYjCAZvOijQTUk4PAflkLlUIccthiGh WZVaxchy21ImhsLy7FSx1udKkNovq59Tlx+hwSxA6ds+XOKqD2bIenLqpj7m7oIwBU/6 P7pQ== X-Gm-Message-State: AOJu0Yz3SO5Wq82Vv19GRyU7GQWZZCaJJYANvfECH+B7OTQJf6SExbW+ RO1PDrfwgHPcxsQVRK/oMW3mvg== X-Google-Smtp-Source: AGHT+IHaICWozkAOxVKpDGyd190ouKwdneqDNILngD+XeRWNOuBi+o+3Ai7Htyu5JiiL2skBq8+P6w== X-Received: by 2002:a7b:c44f:0:b0:402:ee71:29 with SMTP id l15-20020a7bc44f000000b00402ee710029mr9655082wmi.10.1696249755731; Mon, 02 Oct 2023 05:29:15 -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:15 -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, Krzysztof Kozlowski Subject: [PATCH v2 1/2] dt-bindings: usb: add device for Genesys Logic hub gl3510 Date: Mon, 2 Oct 2023 14:29:08 +0200 Message-Id: <20231002122909.2338049-2-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> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Bot: notify 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 Add gl3510 USB 3 root hub device id Acked-by: Krzysztof Kozlowski 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 d0927f6768a4..ee08b9c3721f 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 @@ -18,6 +18,7 @@ properties: - usb5e3,608 - usb5e3,610 - usb5e3,620 + - usb5e3,626 reg: true 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: 13406203 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 857D318032 for ; Mon, 2 Oct 2023 12:29:20 +0000 (UTC) Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88744D9 for ; Mon, 2 Oct 2023 05:29:18 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4054f790190so156450885e9.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=SJAA0Mzmml4qgK16tvyLhRf7UkMrGVNPk4nrZpZI7tlAPnvxi0fl2sD+1PNTIZImj7 3x9IceEFXNdYlWuwVCFo14asQF2+pD6ZGi35Dev6TnXhsOfVd7aZWC1PK9/b3HjyZiNk UK+yJ7VpYYhZEFH6kiCw5SHOJDVfuuFUVkzT2QeUMR8qVu9XY+jxgJ1/VzNFRaP+QQ9S uwWeNyXWISjucHY1Q1/8nx59f0T/m0NG1az+9lhCoGsvpLgyyBwITaOtc1KbE3EE6izO Ew+VmqAyKQ1/b5xBmesHEVljGqGw0TkJBjGz5SXM8za5ksM9xfQyu7CE903xbcSBo/cL IclQ== X-Gm-Message-State: AOJu0Yzfy/MaXCIsXJHIeNy/jTjclJosW1v2TKst5mWSSr/2hvKuVi7w l0Sq6E6TOrqyBtPE45/U7Eeo4nBcR8BBqB9NocpVNw== X-Google-Smtp-Source: AGHT+IH8isDJwI38R+Jr+Y0fVPCC1GD2OBeFxwa7NTNH6jyRP11hujd1uNryVGx6f0C1STiu8GM1/A== 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> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Bot: notify 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 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, },