From mboxrd@z Thu Jan 1 00:00:00 1970 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 2B4F2C4708D for ; Wed, 4 Jan 2023 20:29:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235279AbjADU2j (ORCPT ); Wed, 4 Jan 2023 15:28:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235172AbjADU2V (ORCPT ); Wed, 4 Jan 2023 15:28:21 -0500 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBC6918384 for ; Wed, 4 Jan 2023 12:28:19 -0800 (PST) Received: by mail-il1-x136.google.com with SMTP id u8so12474092ilg.0 for ; Wed, 04 Jan 2023 12:28:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=U09sCY05I0lgOik13tLPEAUzNpPuoB0bv6c/i5l03pM=; b=FtLIMZ2EW8oJ3S+rWX0scL9X/78Tm7TdycCwBvBGRlnsJqnUaSRBn0eIp3wIrRSI8h E7aAUbfR9QjPw9YJg2UFIgye2I7VqkXF9ls3FVX8iMlvoUlPU3GqRg/fyGLMotKdC4Tt u0y//4/3H+AAEz7NWKB7zZ/42dWD0ugNzbNX8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=U09sCY05I0lgOik13tLPEAUzNpPuoB0bv6c/i5l03pM=; b=GLhn9CHp1mhie/qsFDmAKnNiBvK+q+pJ8/IIJCUPGZHa+s/7ZwffQuJyzDrgbFMS5p RQRbXFNxxvrvbZ1kiGUKHYfCK5RzhQ1fLv5vqcK+8ZbLjCCzC/Fkru4oMFBAC3AYsaM6 3ZAdqj35t1pMkbQLnWy1BaxZln5W6m0NS3TIy9oObLNOoRTpEE847b98MYAdMB4l98CI gWRTqbW/0SejgUOV8RQg6voHDw6GImdSa+tHQwtqDaPj7RMlW0jaLd3wPy1ndfMEEQgJ cYHiPXdradNUmblQ+haTIBxnlv+yKyaDHoqTDhHwt4j1GXedFhUsrMuEIM7tpecpZneZ vcYg== X-Gm-Message-State: AFqh2kpl31Xv9ErlDj0Ld1Bfu5cwd8LehSkRmaJx845PYGRYHUvGFDj8 ZS48JgRL+DGp+EOsDhsnJFnQMzN5Xz9FFzsE X-Google-Smtp-Source: AMrXdXuyuPSoDNQ0srwnO0clhF90LpLk0NmVj+xDseIlPnC9zy8tymPFa/yesZxHXlzMF/rOCESknw== X-Received: by 2002:a05:6e02:143:b0:30c:609b:340d with SMTP id j3-20020a056e02014300b0030c609b340dmr4844369ilr.0.1672864099303; Wed, 04 Jan 2023 12:28:19 -0800 (PST) Received: from localhost (30.23.70.34.bc.googleusercontent.com. [34.70.23.30]) by smtp.gmail.com with UTF8SMTPSA id u24-20020a02b1d8000000b0038a5b48f3d4sm10950716jah.3.2023.01.04.12.28.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Jan 2023 12:28:18 -0800 (PST) Date: Wed, 4 Jan 2023 20:28:18 +0000 From: Matthias Kaehlcke To: Anand Moon Cc: Greg Kroah-Hartman , linux-amlogic@lists.infradead.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 05/11] usb: misc: onboard_usb_hub: add Genesys Logic GL852G-OHG hub support Message-ID: References: <20221228100321.15949-1-linux.amoon@gmail.com> <20221228100321.15949-6-linux.amoon@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221228100321.15949-6-linux.amoon@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Wed, Dec 28, 2022 at 10:03:14AM +0000, Anand Moon wrote: > Genesys Logic GL852G-OHG is a 4-port USB 2.0 STT hub that has a reset pin to > toggle and a 5.0V core supply exported though an integrated LDO is > available for powering it. > > Add the support for this hub, for controlling the reset pin and the core > power supply. > > Signed-off-by: Anand Moon > --- > drivers/usb/misc/onboard_usb_hub.c | 1 + > drivers/usb/misc/onboard_usb_hub.h | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/drivers/usb/misc/onboard_usb_hub.c b/drivers/usb/misc/onboard_usb_hub.c > index 94e7966e199d..c0e8e6f4ec0a 100644 > --- a/drivers/usb/misc/onboard_usb_hub.c > +++ b/drivers/usb/misc/onboard_usb_hub.c > @@ -409,6 +409,7 @@ static void onboard_hub_usbdev_disconnect(struct usb_device *udev) > > static const struct usb_device_id onboard_hub_id_table[] = { > { USB_DEVICE(VENDOR_ID_GENESYS, 0x0608) }, /* Genesys Logic GL850G USB 2.0 */ > + { USB_DEVICE(VENDOR_ID_GENESYS, 0x0610) }, /* Genesys Logic GL852G-OHG USB 2.0 */ > { USB_DEVICE(VENDOR_ID_MICROCHIP, 0x2514) }, /* USB2514B USB 2.0 */ > { USB_DEVICE(VENDOR_ID_REALTEK, 0x0411) }, /* RTS5411 USB 3.1 */ > { USB_DEVICE(VENDOR_ID_REALTEK, 0x5411) }, /* RTS5411 USB 2.1 */ > diff --git a/drivers/usb/misc/onboard_usb_hub.h b/drivers/usb/misc/onboard_usb_hub.h > index 62129a6a1ba5..2ee1b0032d23 100644 > --- a/drivers/usb/misc/onboard_usb_hub.h > +++ b/drivers/usb/misc/onboard_usb_hub.h > @@ -31,6 +31,7 @@ static const struct of_device_id onboard_hub_match[] = { > { .compatible = "usb451,8140", .data = &ti_tusb8041_data, }, > { .compatible = "usb451,8142", .data = &ti_tusb8041_data, }, > { .compatible = "usb5e3,608", .data = &genesys_gl850g_data, }, > + { .compatible = "genesys,usb5e3,610", .data = &genesys_gl850g_data, }, s/genesys,// > { .compatible = "usbbda,411", .data = &realtek_rts5411_data, }, > { .compatible = "usbbda,5411", .data = &realtek_rts5411_data, }, > { .compatible = "usbbda,414", .data = &realtek_rts5411_data, }, > -- > 2.38.1 >