From patchwork Wed Dec 28 10:03:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 37162 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1812637wrt; Wed, 28 Dec 2022 02:06:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXvBThrxjEg8HV8zxBEdKTMTIvEp+PKqM46ouKkXtyjp+7GM2pXahK03gU1Ic5llvRoZV/60 X-Received: by 2002:a17:906:184a:b0:78d:f456:1ed0 with SMTP id w10-20020a170906184a00b0078df4561ed0mr26010784eje.33.1672222004032; Wed, 28 Dec 2022 02:06:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672222004; cv=none; d=google.com; s=arc-20160816; b=aJRfFQSmj89g3xx3fTwsOysHmx50FPUktdLVo8XJAC7DxdjKPGIjuix2CDMZwv7yNU nQvZf0AOBroXA4B9YU4n45tYCyqYYxoqaVXaMAar5w/dqRrVPBywOpD3/c+Pe8B1A8OZ JQIurJI3/tRNJRsP2ayxWqY2baVLnGAvmpdFBjCp6b8FENh/nnFCUiU7QLulqu9LupGp LedhWCpYYDzY+oD03QTA4lCbycSEZ9AHcEQov4PYn8gbpKgs2fbxNPtj9MReoSkQR8P0 aBWwH2LLd2usBfv4QdECvwjSKP+4Rv7ylNnKTLu3ucwQEst4tdq3ihHJga6zaqkTbiTq KUZA== 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=2u7Uk1luvmnMjmFHjGbs37xOdHZWhJfRtivVYvqsKyM=; b=piClOPI35DWfdtJe3lKBbPIZNMEcsAxJPPjjCI05AKki9RAUwX27cBeXNOAu6yAOCb hAOvaqq0Tkwb/+v0gH+DfSFgwz2NptSbXoWne3VvkAz7s8mhg0vc4ZRg/gHOqTXjV3Vy 1PwvggliiKl3JxJNU4psAbueLgd1gauD69YKi5Fc7JU1siTRSIukAQ3plJYSryQD6TI0 CwF3yX+EtCwGR04O70+mKgsz6JGogQhk8Js34w5/2lBqC/0gOQjpIAu7tmCxsJEW8pe3 lhtLcsnh7ItNAHDQv/71CwhvKBcHG/m6IEPeE0dCUP+86UqJuw/syJf+4wDPgAlM/fzQ bUzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=BlOZxQ5+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be3-20020a1709070a4300b007c0b79e51casi12427526ejc.726.2022.12.28.02.06.18; Wed, 28 Dec 2022 02:06:44 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=BlOZxQ5+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230398AbiL1KF0 (ORCPT + 99 others); Wed, 28 Dec 2022 05:05:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232756AbiL1KFI (ORCPT ); Wed, 28 Dec 2022 05:05:08 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D17C1007B; Wed, 28 Dec 2022 02:05:08 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id d7so15626659pll.9; Wed, 28 Dec 2022 02:05:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=2u7Uk1luvmnMjmFHjGbs37xOdHZWhJfRtivVYvqsKyM=; b=BlOZxQ5+5ju6hXADgDx2hPBqe9r38X9X8SmUUkifVf4KIr45ylB/tSiqMtWEsEbn7Y EhQ1f3ozW+hw3PdFi+cM9TRtoRR/hS7auXKnoNSvzVMGKj/sTmd0GydvJ2XPgdpHwk8T vpSzFMx9qo8J6p+g4uwaMeU0Oqf0Uc82mJEXehu/zEvQLRFmi7v3O+sEbcLpt60y601y r+fHvKFhmSIQ4snrIJRCQ5bRPdlaiNDhA/Q+HdHRbZAlBvflUZndIsQ043Sxxx8UpblI c6XFyqDqC/jaRk4F87Zbj+fCA9iSlDitrUMVhyZZ/NLD2qg5LFgP2IqQEAGEyUoS9W1t LFwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=2u7Uk1luvmnMjmFHjGbs37xOdHZWhJfRtivVYvqsKyM=; b=b6bZRH3/vNGJ+Ap+L5jO202W8k8glKf/r0rYt9EFLzuYENBOILnSorFWJRaXLCHyu7 z3Zy/CHDwbk3mpZdfAAq3WI4vwaKZ0Kyyg9zIWRxc9vTRlcU+dm9PaOpvz0K08aHv4Qh 4QVdvZAjjjAByHOPMlUt/mebZIThl1/kK8BXgDYm/hKgiEInH9xr0cj47mWiFvuX2Kto 0MXtOeiW+2flnw4P9jLufLqggirzxznCCL1om194hYo8BAvSyfIZt5MVKb2mDKsbR0Zu 40xBF3JQHtnH6SNNGOulbQGe4mMQIVWKI4JfDcoN+QBTyWnEw4uE/SQRHvEqMCj/pi6P LHqg== X-Gm-Message-State: AFqh2koK8Id/obqE4gy2m+1hIyg7KHOAQq9DwL3NA6ki0y55MdV/TBw5 FgdrTZXwfU7TAj4ToW2ls3E= X-Received: by 2002:a17:902:b114:b0:192:64a9:62f3 with SMTP id q20-20020a170902b11400b0019264a962f3mr17041434plr.48.1672221907772; Wed, 28 Dec 2022 02:05:07 -0800 (PST) Received: from localhost.localdomain ([45.112.3.26]) by smtp.gmail.com with ESMTPSA id t6-20020a1709027fc600b0019277df45a6sm5794915plb.53.2022.12.28.02.05.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 02:05:07 -0800 (PST) From: Anand Moon To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Icenowy Zheng Cc: linux-amlogic@lists.infradead.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 01/11] dt-bindings: usb: Add device id for Genesys Logic hub controller Date: Wed, 28 Dec 2022 10:03:10 +0000 Message-Id: <20221228100321.15949-2-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221228100321.15949-1-linux.amoon@gmail.com> References: <20221228100321.15949-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753451860101030274?= X-GMAIL-MSGID: =?utf-8?q?1753451860101030274?= Add usb hub device id for Genesys Logic, Inc. GL852G-OHG Hub USB 2.0 root hub and Genesys Logic, Inc. GL3523-QFN76 USB 3.1 root hub. Signed-off-by: Anand Moon --- Documentation/devicetree/bindings/usb/genesys,gl850g.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml index a9f831448cca..db009f3ef438 100644 --- a/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml +++ b/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml @@ -16,6 +16,8 @@ properties: compatible: enum: - usb5e3,608 + - genesys,usb5e3,610 + - genesys,usb5e3,620 reg: true From patchwork Wed Dec 28 10:03:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 37163 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1812639wrt; Wed, 28 Dec 2022 02:06:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXtkSbej1Xagzn7tu8PBD+Ht1HvgbN89ncUgAs57IN09PK8RdnMkTCprhXUneBTpYmFxPtH3 X-Received: by 2002:a17:907:2587:b0:7c0:ac4b:8b9 with SMTP id ad7-20020a170907258700b007c0ac4b08b9mr16753013ejc.14.1672222004641; Wed, 28 Dec 2022 02:06:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672222004; cv=none; d=google.com; s=arc-20160816; b=uDGh2U43O/Zq5UBhw7zD5MRUHg941vFIIoB8DnmpAF1dKMj1RlcWsb/QlNmH49QncO 9i8YUIqHuf+lFmnwqptR9fKTY0Vmdpxh6crJUAmTEeQwTLCnOsZ/Y+cUzXfSalSX2F92 dgcdgd4pUn5hZ1AIejgYXcqOoNFTezteW6lBe2ZFi6ud+v7aeqPWyCh+5qqUwwgcP3ui eO8hbTc0PINjzImhXKFjx48N24aU1k2R6QDfx4xPD7vdPKH4VauPpJOu2Pm+uDYPM267 /3s7WVPeuYWd2BnO9q9ES5BMtZ/2ecbl0fewS5xpEGXJ2lTksYCk6fnVRKatRhmVK+h2 NC4A== 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=d3xQEZHxsyANIGoODmNVjsjeyx1NMMrnI1xGIfGuTuo=; b=oaUSLXjArg6aqKpywFWV5tcwAbfjXTfkM6ARONFyp96MZjLekT+q48AUoPX32WdnsO 57R//nSiEkfXQ4nsPHWMiGeELSkl5UW6xrDyYBX9zcyimfV56Fw8inrQKRuqPJKruaTB 73++ZK6r5Y0rLrd6Sj9L5suH/yrbdrF2F+AVOsZ90C1qQFYk0XpnG6q6u0hLvUmSW9UI d3oLvZqmEwMSNkwh7qJ6hBZS8+L7YJ6CrdRXSFf6ZalWeC2mIHrizwbWAUnpgM+NCpYB VDnqQLDLhahn3D4qTJlOjFvU5EQ+p8PpAgNQTdh4T65mHU9pPOsD8LJ0uyAiJWJaCfOu ZimQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XtS8+r1I; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wv1-20020a170907080100b007a2d966eeccsi12415567ejb.686.2022.12.28.02.06.19; Wed, 28 Dec 2022 02:06:44 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=XtS8+r1I; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232714AbiL1KFv (ORCPT + 99 others); Wed, 28 Dec 2022 05:05:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232743AbiL1KFP (ORCPT ); Wed, 28 Dec 2022 05:05:15 -0500 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78C171004C; Wed, 28 Dec 2022 02:05:14 -0800 (PST) Received: by mail-pl1-x62a.google.com with SMTP id n4so15661309plp.1; Wed, 28 Dec 2022 02:05:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=d3xQEZHxsyANIGoODmNVjsjeyx1NMMrnI1xGIfGuTuo=; b=XtS8+r1Iur/AdNm/wzdsGhQS7RnCEgs1MyY2YbZGgbt122+fsGuJSzc/j9KP6ezmnq nNS7MWWhdD5E9dJaL3kWWylVGgGB80K89KpXIgPznDXhJ8IGtliF2R9zHKuEoWYiwZfo YPxvDwJElMdaJcdM1g1dgxzPHZobHasK6JfkP6UHyVb2Q3DWYbatJWtJbJyMBOZHyISx d0m6UojgOIgAUY5GWaWRvK/GCUAPUQOsinBXphlSu6+PHwqHm83uGnNOvXBIpJRJXYn5 b8rwswwSXJWMTtuQZ3LikoZtS3PCWUM5zvC0/rbhRtZCTW8RmujeyN3I7hvwzfguEGoA IcSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=d3xQEZHxsyANIGoODmNVjsjeyx1NMMrnI1xGIfGuTuo=; b=fLeKPIPX48KlhWIff2AAiJEDrYFjFaB+8jXUtBgl3l9b+91aT+Yv/qX16S4HLdLWy3 yBCItU8QjrXuJ3Od4Z1b3SyCyrVC4i6UooMs9/a/ml4tO1B7kMKcWh91zvTygb9BnxQO 00s2kJusv1NFeLwU+HBYcur5ZNkeU+uG15XtrEGmPCHE2GMKYSeS7qdiupUmkqU1Nf4W iNI+PFB55F2ZqJUtic2Gy52esrGJOqLAvbc/HHhNRVqCFkzOBi9ow29jKrTVmbMpxDTk NRc8b5g5b3yh/FqsrSXXhpRzo+f0fFQlGkI/jGLeatXn04KIXwbYxyozG6JosCgFTcjX KzkQ== X-Gm-Message-State: AFqh2kpEcKxfX5xqQ/YAtd9XMxkonyOkdsb/7ot1ZRECzp7fLWlGiNR7 dF+Qe+Xj+I0T827DWC0yFtw= X-Received: by 2002:a17:902:ecc1:b0:192:760f:c35e with SMTP id a1-20020a170902ecc100b00192760fc35emr14421541plh.53.1672221914056; Wed, 28 Dec 2022 02:05:14 -0800 (PST) Received: from localhost.localdomain ([45.112.3.26]) by smtp.gmail.com with ESMTPSA id t6-20020a1709027fc600b0019277df45a6sm5794915plb.53.2022.12.28.02.05.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 02:05:13 -0800 (PST) From: Anand Moon To: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 02/11] ARM: dts: amlogic: Used onboard usb hub reset to enable usb hub Date: Wed, 28 Dec 2022 10:03:11 +0000 Message-Id: <20221228100321.15949-3-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221228100321.15949-1-linux.amoon@gmail.com> References: <20221228100321.15949-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753451860766190367?= X-GMAIL-MSGID: =?utf-8?q?1753451860766190367?= On Odroid c1 previously use gpio-hog to reset the usb hub, switch to used on board usb hub reset to enable the usb hub and enable power to usb hub. Add usb hub regulator as per the schematic. Signed-off-by: Anand Moon --- arch/arm/boot/dts/meson8b-odroidc1.dts | 40 +++++++++++++++++--------- 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index 04356bc639fa..3b29169aac43 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -185,6 +185,33 @@ vdd_rtc: regulator-vdd-rtc { vin-supply = <&vcc_3v3>; }; + + usb_otg_pwr: regulator-usb-pwrs { + compatible = "regulator-fixed"; + regulator-name = "USB_OTG_PWR"; + + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + + /* signal name from schematics: PWREN */ + gpio = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>; + enable-active-high; + vin-supply = <&p5v0>; + }; + + usb { + dr_mode = "host"; + #address-cells = <1>; + #size-cells = <0>; + + hub@1 { + /* Genesys Logic GL852G-OHG usb hub */ + compatible = "genesys,usb5e3,610"; + reg = <1>; + vdd-supply = <&usb_otg_pwr>; + reset-gpio = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_LOW>; + }; + }; }; &cpu0 { @@ -281,19 +308,6 @@ &gpio_ao { "J7 Header Pin 6", "J7 Header Pin 5", "J7 Header Pin 7", "HDMI_CEC", "SYS_LED", "", ""; - - /* - * WARNING: The USB Hub on the Odroid-C1/C1+ needs a reset signal - * to be turned high in order to be detected by the USB Controller. - * This signal should be handled by a USB specific power sequence - * in order to reset the Hub when USB bus is powered down. - */ - usb-hub { - gpio-hog; - gpios = ; - output-high; - line-name = "usb-hub-reset"; - }; }; &ir_receiver { From patchwork Wed Dec 28 10:03:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 37164 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1812708wrt; Wed, 28 Dec 2022 02:06:53 -0800 (PST) X-Google-Smtp-Source: AMrXdXuALxeR1Uwq68Wb11bMEkegDc9MMRKc6LmQMjQV6Nhn69jq7jazeponuiES2F24WSG+D1Fr X-Received: by 2002:a17:907:1c9a:b0:7c1:2f05:7fd6 with SMTP id nb26-20020a1709071c9a00b007c12f057fd6mr22925409ejc.39.1672222013417; Wed, 28 Dec 2022 02:06:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672222013; cv=none; d=google.com; s=arc-20160816; b=poGWVkSzK1f5P7DvXeiUQi2FGK5Pt0Nw5sOvSkh0E1vVaiDdjX8Xt729NkUakg+Iy5 NN2G8qNNg+Kq8tzi+NOmxwpVpzf/DuTrPM8rDEGHLtNgYh8H4sP7xfVfsDE4EAE+/aJl dBZfuIOWnW8fxMY1duXy7TjMYsTO/bzAHqNL1+Q2gvDzXHAPTb9nS/GLp3aX/9HwrTe/ HXQ1TWoeK4S5D2QVRaNabjCiJmPpFnXpFo5l/EO6KIXBdSVQez58EADHpaqzouyO4IBi 8Hp3NJCyjXsOKuT1w+XiW6ZX6gCj9IjlLgZcCHNIo6f3s3SUPp1HSOA7txHg87hZdblR zXgQ== 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=Gn5jvMyqX0GecgS3SjW9qlzhKx37olketReSn4DJoo8=; b=J0C9br9I92aNiBz7+FKDcAmzn1n4qXre+hkpk8epfgHiQoJlzGCkAUhJMCqJW39r/r QCvv7PbY5DARCGAOHslgVmBoIYKZXpeVtFMtTi+5NozoHgwRfVCJARdrZRP5ATQPl8k5 ZAOYJWFArrOa3mZJVGxUKMxbSRUoyj8UNKMlHm/sIepj2WmoVaw6XL6yy3ZBOldBYPMp 7BUtPjuMDglSMaOPf7dWEHjaNUsNYmG3onj8Bi7q8mnnpcc++kKWFAUqgDQO12522OAe GKQdwiVDuPI+Xq0NU9iNYJEb4E8Kze4548XRQJ6MbZa1VYGPwnqd8ImWpxK4zC78ELO5 2+PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nAkTmTUi; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs15-20020a170906dc8f00b0077fc66b581esi13597750ejc.688.2022.12.28.02.06.29; Wed, 28 Dec 2022 02:06:53 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=nAkTmTUi; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232891AbiL1KFz (ORCPT + 99 others); Wed, 28 Dec 2022 05:05:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232786AbiL1KFV (ORCPT ); Wed, 28 Dec 2022 05:05:21 -0500 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D455510069; Wed, 28 Dec 2022 02:05:20 -0800 (PST) Received: by mail-pj1-x102e.google.com with SMTP id gv5-20020a17090b11c500b00223f01c73c3so16092466pjb.0; Wed, 28 Dec 2022 02:05:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=Gn5jvMyqX0GecgS3SjW9qlzhKx37olketReSn4DJoo8=; b=nAkTmTUil3MywHiG+sLJPQZJPLM3Dp/Oe56sMR/xDQTY7uIbMdzZ466Tz0A+cUORlr 2fxDuPotsYVpIe55fsGRVNcZRm5MSlTCdVUeGzuPIzifG8ywpZ8wfrs+XRpVRCo6+ih3 H8vwP5AEnc73NOcsD9thwEDSa4HennnRpFBjlyOEMB5rFDdxrRzJVoR2NQZcK8jstx9K 7IMJgBo1RaksgBbOJSo+kjw3qhFnR/9rCxeJEBJVwiMOocU/XeSQa+/bfSNt/YQ3C7IU Z0jhKHp8Fa5BooM66tvsxvxdmQbQc9fKU3nUD8nt4xmIs7DfJo9cPDzEH/mTjqi3tmfK RenA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=Gn5jvMyqX0GecgS3SjW9qlzhKx37olketReSn4DJoo8=; b=Kzo3SOlx8sAOcTggpY8Ta7eLzrxXFYrFUZTJrYFf+pCFdPPgTEFesuVd7vkYJ1+6G3 qv7k8h9e3ml7FM1OZU+NZIqHbfuQpJ9FQdP0ffx3s4rsPo9GvWZdnr0ygwWq7VWqxzjZ Y09IuVoTVEmkRDZ+BJynwrxgS6NFftaRJ/OTg7+xh/B1Yd0VhzwrGY7/2pkuT1fcLH5r 7SsqcyavZAJNROUpEmbK1gRjN+UB/Imyv1WPOGIgOezym16Gcc4DHqCT1r8pPDfL2Gxs NhtbQzOJoTGkxbz1mis2BjNz/yFdcRztJz22LO+ygdwbutBGcd81Nbc5nzOCaP8Lh3yH Ik/g== X-Gm-Message-State: AFqh2koCXLRGoNsJJ3P2rkIRKqIdFG/qq5zx/on+bSEptggBBbZQKlDm G/m2b/4F0KAD5WydVc+BGng= X-Received: by 2002:a17:902:ce10:b0:189:af28:fd8d with SMTP id k16-20020a170902ce1000b00189af28fd8dmr31817789plg.1.1672221920466; Wed, 28 Dec 2022 02:05:20 -0800 (PST) Received: from localhost.localdomain ([45.112.3.26]) by smtp.gmail.com with ESMTPSA id t6-20020a1709027fc600b0019277df45a6sm5794915plb.53.2022.12.28.02.05.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 02:05:20 -0800 (PST) From: Anand Moon To: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 03/11] arm64: dts: amlogic: Used onboard usb hub reset on odroid c2 Date: Wed, 28 Dec 2022 10:03:12 +0000 Message-Id: <20221228100321.15949-4-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221228100321.15949-1-linux.amoon@gmail.com> References: <20221228100321.15949-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753451869729744123?= X-GMAIL-MSGID: =?utf-8?q?1753451869729744123?= On Odroid c2 previously use gpio-hog to reset the usb hub, switch to used on-board usb hub reset to enable the usb hub and enable power to hub. Signed-off-by: Anand Moon --- .../boot/dts/amlogic/meson-gxbb-odroidc2.dts | 29 +++++++++---------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index 201596247fd9..3d3e61cf65a8 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts @@ -208,6 +208,20 @@ codec-0 { }; }; }; + + usb { + dr_mode = "host"; + #address-cells = <1>; + #size-cells = <0>; + + hub@1 { + /* Genesys Logic GL852G-OHG usb hub */ + compatible = "genesys,usb5e3,610"; + reg = <1>; + vdd-supply = <&usb_otg_pwr>; + reset-gpio = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_LOW>; + }; + }; }; &aiu { @@ -250,21 +264,6 @@ eth_phy0: ethernet-phy@0 { }; }; -&gpio_ao { - /* - * WARNING: The USB Hub on the Odroid-C2 needs a reset signal - * to be turned high in order to be detected by the USB Controller - * This signal should be handled by a USB specific power sequence - * in order to reset the Hub when USB bus is powered down. - */ - hog-0 { - gpio-hog; - gpios = ; - output-high; - line-name = "usb-hub-reset"; - }; -}; - &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; From patchwork Wed Dec 28 10:03:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 37165 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1812777wrt; Wed, 28 Dec 2022 02:07:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXsAZJVDx1L5Ml6QtE6whWPSF7C4+4G9NcskDx6ha4k2v/mPDy4fv+aKw/4gv0VkRErO8TOT X-Received: by 2002:aa7:d689:0:b0:461:8a19:414f with SMTP id d9-20020aa7d689000000b004618a19414fmr19584080edr.36.1672222023698; Wed, 28 Dec 2022 02:07:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672222023; cv=none; d=google.com; s=arc-20160816; b=ygRwNND96jR4yJiohAABPDHU1N0K6sbVgh+maejWuCWa6s8XJMfO+rZoCH/5GPLIZy miRO27lSFVSaPNxIzRoKuoJfhWNZ4b/9uG3WfQACvRCyj4c7CdfzCcUwhv8elmQH7qDH CoPnNex5ySjhkEw6t0JrNlLOSyxG5GDZydR2B+spDncnUnt0w+yid8QWZPK+bn+yUeYQ e21hu+WwU+Lj+imzGYBfQPNXTLoOx659iaczFURZAFu36TseVp8ZgiMW2mESlQAgI+l1 jv6EViJVMveuwJ29mY/NL5ExVE3k/h65XMInu863jGMmDZ96ip1uWQ0S5SGrn1QXLTSm jkig== 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=RV2gKx+ImpgFBjPm9dyBpImlDYC4T4c39ICqJ71RD4Y=; b=vjRRxK97XShQP+KS9rY1RDY5Z4JOT+zp1esps8NF2q1wRlitku4TW/F0Cc03D2aO+m 3ab8oqfDdVK0tCy23t8LUShomWewIXbZ1GYdfxbOREPlIS0a3SBOaN+x+vtHaisNQ6cw lNs7+O4fxJnnx9tTZvyrC7enkK51f4QyZad/POpa/W8xxZ8tl8/+rdqnm0eC/DxylNe5 GET0FKVyYd3vST1isBdHZ+Gbi6cOWnuNST5TVM5PWrnZ/VuwWtjTYBdB3lffgiEgvBKJ J1bQCUp+CDH0yBH11XyiH6aZnZAruVNr/RrEpiHGZvDwSMWkibtnUBQvwY5QptSxC80j rmkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=m7XOWPjk; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y14-20020a056402358e00b00484c1d97aa5si7767642edc.278.2022.12.28.02.06.39; Wed, 28 Dec 2022 02:07:03 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=m7XOWPjk; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232969AbiL1KGB (ORCPT + 99 others); Wed, 28 Dec 2022 05:06:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232836AbiL1KF2 (ORCPT ); Wed, 28 Dec 2022 05:05:28 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28F8310063; Wed, 28 Dec 2022 02:05:27 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id n65-20020a17090a2cc700b0021bc5ef7a14so15654391pjd.0; Wed, 28 Dec 2022 02:05:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=RV2gKx+ImpgFBjPm9dyBpImlDYC4T4c39ICqJ71RD4Y=; b=m7XOWPjkKjPzvRjq/Gd84qiQH3j0ogxyHrKL6mktIATiS7MLRQjNo9Jze14v8qw70Z M1jYBiz92tL7+wITxqo3KT31+w5qZ/WlpUR0fjRogyrDBDSuFGMPkP76mDgSPFqI7V2T GpPI3jyY3gs7eM8eXYtGZakp1DUgFtNg9rhbyzlEsoDxAdpeQFLZ8LPKSacUJumUHYWl F2axCUDA4ItmZkbPQZP5ZeQC8VcBQN67rVkSOD6izwbe27/mIiSRkf99JxnTixTJgSIL OZRW+gf3oHGo7Z3d7F3g9ztCY3F3iHt3VDMQ7L/+1N7H+NnUGDwxdSFBZ/REy7xDB6Ys EJjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=RV2gKx+ImpgFBjPm9dyBpImlDYC4T4c39ICqJ71RD4Y=; b=ce/v31Oh8MWxn9Gt8eLoUELLub3Oacj1/spQ7DBg38XtEGydCQ/eWI8GLTVTA8+cmw 2jf+O3cXsgOELlCDN10ks/0ypmuHCCez5XahTKdsuk/4q7hFcBabqMWz6hTKtZsi/yNE YKxe4A4/QnFtATqAtgsMbkkWDJ4wKUlahqI8lEXEb1HmdWxJyjk3Q+YdFmDvtbgirTRC aiDTiJuTJixHU+XI2AsyHAgmYs28CjA1YLaLRDZbtOqcUxxT1DQI3pksCnGpqV0kH3hk IAhosoongOtXg/5CeUKRatjgtv1mH7QjHubuTfRyEyne7+GtRCB/Np7AewKn6FeZvwit jbvA== X-Gm-Message-State: AFqh2kqQYA36+oLW0AQGihoD1UXv9ppf1fNdW3ovWah3fbqIPlL9kKiC 77Rbx2ZOry1fSuWUEBScQkw= X-Received: by 2002:a05:6a20:8f2a:b0:9d:efbe:52ae with SMTP id b42-20020a056a208f2a00b0009defbe52aemr38715217pzk.30.1672221926637; Wed, 28 Dec 2022 02:05:26 -0800 (PST) Received: from localhost.localdomain ([45.112.3.26]) by smtp.gmail.com with ESMTPSA id t6-20020a1709027fc600b0019277df45a6sm5794915plb.53.2022.12.28.02.05.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 02:05:26 -0800 (PST) From: Anand Moon To: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 04/11] arm64: dts: amlogic: Used onboard usb hub reset on odroid n2 Date: Wed, 28 Dec 2022 10:03:13 +0000 Message-Id: <20221228100321.15949-5-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221228100321.15949-1-linux.amoon@gmail.com> References: <20221228100321.15949-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753451880448483961?= X-GMAIL-MSGID: =?utf-8?q?1753451880448483961?= On Odroid n2 previously use gpio-hog to reset the usb hub, switch to used on-board usb hub reset to enable the usb hub and enable power to hub. Signed-off-by: Anand Moon --- .../dts/amlogic/meson-g12b-odroid-n2.dtsi | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi index 667d2b774924..e5ae885c4008 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi @@ -347,6 +347,20 @@ codec { }; }; }; + + usb { + dr_mode = "host"; + #address-cells = <1>; + #size-cells = <0>; + + hub: hub@1 { + /* Genesys Logic GL3523-QFN76 usb hub*/ + compatible = "genesys,usb5e3,620"; + reg = <1>; + vdd-supply = <&hub_5v>; + reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>; + }; + }; }; &acodec { @@ -535,18 +549,6 @@ &gpio { "PIN_3", /* GPIOX_17 */ "PIN_5", /* GPIOX_18 */ "PIN_36"; /* GPIOX_19 */ - /* - * WARNING: The USB Hub on the Odroid-N2 needs a reset signal - * to be turned high in order to be detected by the USB Controller - * This signal should be handled by a USB specific power sequence - * in order to reset the Hub when USB bus is powered down. - */ - hog-0 { - gpio-hog; - gpios = ; - output-high; - line-name = "usb-hub-reset"; - }; }; &hdmi_tx { From patchwork Wed Dec 28 10:03:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 37167 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1812818wrt; Wed, 28 Dec 2022 02:07:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXuk6+iVWCba1VZwID9crRmxpqidyIsK+odLQAICzIcqk0livZvyf9clVqBWegZHV0ZN4pZi X-Received: by 2002:aa7:ca55:0:b0:468:38e5:f233 with SMTP id j21-20020aa7ca55000000b0046838e5f233mr21307772edt.24.1672222029526; Wed, 28 Dec 2022 02:07:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672222029; cv=none; d=google.com; s=arc-20160816; b=nkmpVdPynp1JiCTHhrhtsczX4GveJtoAORC5zOs25YEcXTazZeTAHeQUHHRBFnCiRV YtIJDGZN9YJ0U6z569WiREXP3IGFP36Zq/97vbQSSLqO/jJVV3fp9PYaF49WEwhW1ZLi sewTG/1lymOW6xk90Y0Ssyl0GfSBLnXgdu7ryMgAA60dPoR9A1uOY0FbxjvmQ9goohz2 YT8a3QpPi05lQd5AafcgAeWtx8cyJxhszjeaxZeAxGuqjmMb2OJ4LM1exmo/wZBfmk/M 4UaFdI44EZ+cu3MS4L+J0D+PdCs+MmXv8j41GTcdXksTXskbozwSyc2qKtyiO+KojHhB jH4Q== 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=GTZpZDLmOBMESWnhE00PibYliTCVq7n9n0KaHIBRUgo=; b=UBFBFYnj4dOh1ZJiC1M1ep/sALsO8kRpKPCF3Pv+ZOunzPfyfhan7p/2nFk4T955s7 lWua/dDhInYR8eaycG7GMMIuSYAE3rukyP0O3qbCPXDisetVx4nJv5kioOI4JAYJo2SO 3/WGxPhuDAd7ux/kzGpvsyXvaUbDNolLpRSua2/T9wYL/rAZ3cH993ggcaGGA2XVFOjz yYy/ERQRnqSnSnouILDqxVSEBigLRwGVpn9exZ0QvFmAEWd9ikAnVGQ8afX3iLQhWn6U Vnt0T3iitYWKQQyvngjeTflcCj5kPx4sql3RYkZIaNzbmVNk06WHfSikWpu/sSBO3nnE 26FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ASD375cp; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z16-20020a05640240d000b0046b5f810167si14746922edb.279.2022.12.28.02.06.45; Wed, 28 Dec 2022 02:07:09 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=ASD375cp; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232987AbiL1KGH (ORCPT + 99 others); Wed, 28 Dec 2022 05:06:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232887AbiL1KFd (ORCPT ); Wed, 28 Dec 2022 05:05:33 -0500 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17A9B1007C; Wed, 28 Dec 2022 02:05:33 -0800 (PST) Received: by mail-pj1-x1031.google.com with SMTP id j8-20020a17090a3e0800b00225fdd5007fso5996989pjc.2; Wed, 28 Dec 2022 02:05:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=GTZpZDLmOBMESWnhE00PibYliTCVq7n9n0KaHIBRUgo=; b=ASD375cpLc8wE91QgoQZ79vhHoTccoa+M+X5uZ7MY27gKKGlPUZycPZp5ItavoE8Y2 mmmSRWhRwvpBCtlaexQrHpIx9cS4zCvabcVfw41PxMsOXRs2kYhz1QYaNYt71MVWasdo tE+7YN1OMa9d83NfJRqK/CjrQLVtJH4zbAXH0JwSu17WcjvQLE6r8f/XQx/hz5vlh3Up GCusR8SIRGkI8ZYOcs8kj8zS3pbNplb6OiDTMMJB42gVpOD8qFHRP5t8YxVpFf+OiC8+ 2X2qvKUD2Lsw/n3ieW7Cv9V/UoOzKY4xDJMGeTOluGsIDDL1Km3KVPUfmThSSzf6WKPL K3bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=GTZpZDLmOBMESWnhE00PibYliTCVq7n9n0KaHIBRUgo=; b=b7QmiUPTZJVeWnJso/03KhggRltjExe3IjP6OfmGMfdjDGYhkYHdjDF8SXqfgL296w J1nXuSICmv0t7LqKBdiGnhitORRr1ziKU3djvfUao7UTVlSDu/amWj+LfMTXCKbqVfoe CbkBoDmncGCShe9CO0iAdrbzFH3lef3lF1BSRt3v9Msip3n3kCqmHM7+UadfPvf7Lnu2 +/22bw8m7dQ6toke81rtsoddc3B8VPJd9TrnbZ8eUGHjKuKWSG4uEwdJW5xsn9WZjsND xruiks1/2OjzxAkWEfcjD6O/ybhpZHjBOzQ2JeUBQT8Qw4IEnr2GjNxIyife/X8dnm0a Kpdw== X-Gm-Message-State: AFqh2krHTPbgp/9avWRn61rB6Zk1GRzmrZBFrz87TURaJT9EfVV8xQoB Au+QpsUuPyP6iV9OJk8cE6k= X-Received: by 2002:a05:6a21:3988:b0:ad:a09c:5734 with SMTP id ad8-20020a056a21398800b000ada09c5734mr37897250pzc.44.1672221932657; Wed, 28 Dec 2022 02:05:32 -0800 (PST) Received: from localhost.localdomain ([45.112.3.26]) by smtp.gmail.com with ESMTPSA id t6-20020a1709027fc600b0019277df45a6sm5794915plb.53.2022.12.28.02.05.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 02:05:32 -0800 (PST) From: Anand Moon To: Matthias Kaehlcke , Greg Kroah-Hartman Cc: linux-amlogic@lists.infradead.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 05/11] usb: misc: onboard_usb_hub: add Genesys Logic GL852G-OHG hub support Date: Wed, 28 Dec 2022 10:03:14 +0000 Message-Id: <20221228100321.15949-6-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221228100321.15949-1-linux.amoon@gmail.com> References: <20221228100321.15949-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753451887051385253?= X-GMAIL-MSGID: =?utf-8?q?1753451887051385253?= 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, }, { .compatible = "usbbda,411", .data = &realtek_rts5411_data, }, { .compatible = "usbbda,5411", .data = &realtek_rts5411_data, }, { .compatible = "usbbda,414", .data = &realtek_rts5411_data, }, From patchwork Wed Dec 28 10:03:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 37166 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1812817wrt; Wed, 28 Dec 2022 02:07:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXtuwz6H8ieFN2dhJkH5GRAa4qpRBU3xo+eD/nuNibR0IeVOGC7+RDhoZ142Dhhl+Nen9IV1 X-Received: by 2002:a17:907:d50e:b0:7b1:316c:38f5 with SMTP id wb14-20020a170907d50e00b007b1316c38f5mr21920979ejc.30.1672222029032; Wed, 28 Dec 2022 02:07:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672222029; cv=none; d=google.com; s=arc-20160816; b=nVj5bUhpDULGTfAniUosrUsZ9kJIWntjnDKFPIjoFbbhACUqoSs6sby8vrNY6pKzKG SCxaogOaojaQjD/Uv+XfsaNvuKPDRDMrEldk4Sp5GnvUTjkyfIN2FyvV9rc3TutTN9zj D+sLbKRCoEJBzpeLhGXmqYzjYE7IIw9HcmthlD2albPRrskkNGMrcy69OYIboe46uHKl 4WUk8BVWnpS/W6TooAoDOJqBs07/DB1JCsV84Tl4Nf6KvVYZW1krd/D9elsxyrOTPLaK DYM26OEPTBMhHFCAHKeWazdN6clWL0egUBfi4hFazcF4clEV/nzEbgG9OVQMv1DNH1h0 GyxQ== 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=mxRBm2XU4XIQi7X1v3Ft+eONrO9UoVmTZcrD/eMtUhA=; b=T1i64UvOT3VYPc8OZ7Xb9CZ2uSOqbawLtvu5VhJ4Eqow0FfftSyAYLGYTR2Z/LRERO 14tFtPgdtixhrjtiXuS6+UWfY24Mv+2/9BtjtoibNsurTALRiI85xwDq5bzVVvyoohfk 6yKibhJB3kTTrbCyJcWtzR+zMZNtPWVHZKAlP7RqoJE2gz6rX6BLQbkt4x7rtHHe2hhJ cwm7iNgAZFd3vcD5IlkEl3i4agtUly93JUIScrWy4CqgnixefxspfoHxCd4GTnRIyIz5 YNAmRcfBpcD3W6or/vO6iw829GXEPbs9sPgWMWGM53yBgV01EkI2hDqrtpnaaPOyu+y5 3cMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Hv0yLKSA; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s1-20020a056402520100b004761d56a66asi14577604edd.271.2022.12.28.02.06.45; Wed, 28 Dec 2022 02:07:09 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=Hv0yLKSA; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233000AbiL1KGJ (ORCPT + 99 others); Wed, 28 Dec 2022 05:06:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232916AbiL1KFk (ORCPT ); Wed, 28 Dec 2022 05:05:40 -0500 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 589E510063; Wed, 28 Dec 2022 02:05:39 -0800 (PST) Received: by mail-pj1-x1033.google.com with SMTP id o8-20020a17090a9f8800b00223de0364beso19634461pjp.4; Wed, 28 Dec 2022 02:05:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=mxRBm2XU4XIQi7X1v3Ft+eONrO9UoVmTZcrD/eMtUhA=; b=Hv0yLKSAHoWZ2/9bzhG3A+tIIUGjScb43m92UrfPWc6xCgpHp9lR4WGbUASMXI05BH S7CE7WBmVOapa2gkkdkYpjA314eulSNrRRTF+ctmtR0JjqChdWJLPYZ9Y2Ln6+WbW7Zy RoWu+Va2xQ3MEdAQ5QfyMXIqUtOIvz0umLKxfWGz7xtBln24SJLjoc/6xs0x/TLofVSX Q28A31YRPB4CVkoWaN/XaqrsOFI/Td1tkcqmOllJkd+PED6716ZbO31Lpbtge4/SgzNU gA4KNDoiTnnlCvPwHpRpdR6A/37deTAe+Rr+dJnyqfgMU1dBUkNk3/Ux0vHLp1iUyIs3 /LoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=mxRBm2XU4XIQi7X1v3Ft+eONrO9UoVmTZcrD/eMtUhA=; b=AfCS05AWppxeEO7Q6Is8HyQNhTHEeNJPx47ww/eqJT/9m6uafyOxA1YStAXfslvVNy XYXX3kw7O/eLvLqNpZxo93YVNngGSZXdj3mmYrgmo6p6gbDPkSYKxrjrd2oBLLraoOMt cU6WPEBtzp8LAthvOK+cRbq1iNiIgteZCyXJ8O8k2Z7k+0mUGY6xVFm4SPfxoK/Bja9t APftP2vn9mdZ2VNERfUNnV+rTErQePdDQV5dop3YQJcgUt3YWyouzKMMyBkaG5Vm3YDM JvR3VfZBPWU+YnXXEIRqoUe77IRyXZYsGb6eWiMN4IOUMbPAhd5vLCvkNlOkQaylfrZl HjQA== X-Gm-Message-State: AFqh2kqcaK5DeCP5VJIwj0lCbU/DpI/7kApARSJC8XQVyuIsqxXtnGTD CI+bZ2kj4/r7tnPJZ/F5vDZrLIkMh7N1AQ== X-Received: by 2002:a05:6a20:94c6:b0:ad:aaac:d40b with SMTP id ht6-20020a056a2094c600b000adaaacd40bmr30232618pzb.45.1672221938899; Wed, 28 Dec 2022 02:05:38 -0800 (PST) Received: from localhost.localdomain ([45.112.3.26]) by smtp.gmail.com with ESMTPSA id t6-20020a1709027fc600b0019277df45a6sm5794915plb.53.2022.12.28.02.05.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 02:05:38 -0800 (PST) From: Anand Moon To: Matthias Kaehlcke , Greg Kroah-Hartman Cc: linux-amlogic@lists.infradead.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 06/11] usb: misc: onboard_usb_hub: add Genesys Logic GL3523-QFN76 hub support Date: Wed, 28 Dec 2022 10:03:15 +0000 Message-Id: <20221228100321.15949-7-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221228100321.15949-1-linux.amoon@gmail.com> References: <20221228100321.15949-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753451886113698639?= X-GMAIL-MSGID: =?utf-8?q?1753451886113698639?= Genesys Logic GL3523-QFN76 is a 4-port USB 3.1 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 c0e8e6f4ec0a..699050eb3f17 100644 --- a/drivers/usb/misc/onboard_usb_hub.c +++ b/drivers/usb/misc/onboard_usb_hub.c @@ -410,6 +410,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_GENESYS, 0x0620) }, /* Genesys Logic GL3523-QFN76 USB 3.1 */ { 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 2ee1b0032d23..b32fad3a70f9 100644 --- a/drivers/usb/misc/onboard_usb_hub.h +++ b/drivers/usb/misc/onboard_usb_hub.h @@ -32,6 +32,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 = "genesys,usb5e3,610", .data = &genesys_gl850g_data, }, + { .compatible = "genesys,usb5e3,620", .data = &genesys_gl850g_data, }, { .compatible = "usbbda,411", .data = &realtek_rts5411_data, }, { .compatible = "usbbda,5411", .data = &realtek_rts5411_data, }, { .compatible = "usbbda,414", .data = &realtek_rts5411_data, }, From patchwork Wed Dec 28 10:03:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 37169 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1813137wrt; Wed, 28 Dec 2022 02:07:56 -0800 (PST) X-Google-Smtp-Source: AMrXdXtmhN00WcHqhrW3WWFYybM2Y9dp1JDhME4N2ydUFPd2+h25BfAw/2aDvPn3d+oIfx8q205j X-Received: by 2002:a17:907:d50e:b0:81f:fc05:2ba0 with SMTP id wb14-20020a170907d50e00b0081ffc052ba0mr21688769ejc.2.1672222076718; Wed, 28 Dec 2022 02:07:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672222076; cv=none; d=google.com; s=arc-20160816; b=cYDWOYxiAb0s4XTQFT2Cl8uThr/jrDAPjEv/k09DlvzOYPbVOZrKWehq1U0fv3kM9n lG2YB7NuLZQfzr9w9xH9ZggYdW7gudIbzasOIooSmv7UM7bRMnIYf4ziIf4V2Qwqmy0L Q82f7Mw4e/L1PB+V4P+RM3dDYnQOBCR1pr6dEpZuyFt0G+aV5kwClKXqGI4i+i5td/wb D9NOmzhEHPmt5WDeNcDymcTNCWu8cFmpHo2E60Gw6OmB69FecYdiT1GDCDg8vL2zmHJJ Cu2Of2QqTuJyG4DALsnn+IKmzUNLwcXEKxHv6XuSzpm56dNNXEDtfIcLsOB8gGRfXozt t+FA== 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=gzi+Ui9Rw3X+XYHjLsOHBpUgiG35eMVgsV9hKdEu7Iw=; b=ddb1z8+flMyhn5g/b6KS4UxePRIurS+kiTr8zx/WssyqxKncVxEeKqchRuF0k/vQrO haF3wiQEIvCxRq8YzDlDaW3FQlnWZXWeE6bKQQspu9S9bLMfv25N2PFaBnp9yjPPijBM IS9a2hl0I+4bvUv0FjzOE/9dJetiau/iU+w+CQkUdfwm33WmS/ASwImxBEqEWPWOfBqo aBCVNBkXPWv17SoSTACRNJtZQ1DvjUVhDfwxbMwN3G8q3co5eyU+MqARgHlCPPo+FfLa PAaXPlUA8OgiSPqWUUws2+zF7EVSQzXKwdC3g6/k2/PWoLZbOfpzFIJjf+epuqwH/yF7 7W2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YH8WvQt8; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb5-20020a170907960500b007c0c0d7c4c8si13030059ejc.44.2022.12.28.02.07.33; Wed, 28 Dec 2022 02:07:56 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=YH8WvQt8; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232878AbiL1KGW (ORCPT + 99 others); Wed, 28 Dec 2022 05:06:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232499AbiL1KFs (ORCPT ); Wed, 28 Dec 2022 05:05:48 -0500 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAFB5BC4; Wed, 28 Dec 2022 02:05:45 -0800 (PST) Received: by mail-pl1-x634.google.com with SMTP id m4so15648179pls.4; Wed, 28 Dec 2022 02:05:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=gzi+Ui9Rw3X+XYHjLsOHBpUgiG35eMVgsV9hKdEu7Iw=; b=YH8WvQt8cfbYK+gfW4TIeFqiqDxUobd13/phjftV4AunnwVimnLVxCaOWioGaN/bsn 8jw9eqQnAAVzvIMYgavXDVzysr8L/3SwZbkSd5uXlClbXiOAxnXjtNIKYVOUkD9ZE3Fc au8QxhvOqZXG76Qn+1uNuk9KR/pPQN5tmYLGMepixNRNhvtPvXezLCM4dPIdQlhMx+ID G+RBJ81P3g62UOD/G6G4tt/i17XvTXWjKMgPO2itpY67HJY0AAB9U1Ik65P9LhxxUMJN GqA2k3wKDIBsLYViLsQvzfH7KCbeeoX/re3RE1VdbUy9xdYqYjnMX616Wc+IprxB6G/N TDhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=gzi+Ui9Rw3X+XYHjLsOHBpUgiG35eMVgsV9hKdEu7Iw=; b=KagUT0/exCN39OaQKdhlfiVEEryw64Lg8943nikSOQy4XD8Ro+zVaelu94OVlQi5ku tTiUq5NUBzt/9JgCgw5tb3s3dCDrtk7NqgFtvx40wimXP6iCS4rn7+VZGjhRLGw5cT+a WtooTeNPOUqROfSztHa5xHvE2ljJdvexU9pdd/4dClE0Rky5hc4yI16e69ndPdWb5j6t 9W3KkoQlc2xc+1w5Pmm0lQv6UQH5GSY6Wc8Hwr/18XvV20frNpCueikiBYxlk3i8B7Cs 2yZp0c0OmFQuJwjCPJCAOtoAnHHzM3uhq87+MLx9m9/+2m4WYG0FGK7rQnDj6CsVyfwP ozcw== X-Gm-Message-State: AFqh2kqBCjHfZhNsDDRCGXbNo8RVnX82s7mWwY5Pa9Fq/2jmRjD1jKIW /PoYiupLAscM9XtbjPkG2NU= X-Received: by 2002:a17:902:c1c9:b0:192:6544:18b0 with SMTP id c9-20020a170902c1c900b00192654418b0mr17675539plc.63.1672221945196; Wed, 28 Dec 2022 02:05:45 -0800 (PST) Received: from localhost.localdomain ([45.112.3.26]) by smtp.gmail.com with ESMTPSA id t6-20020a1709027fc600b0019277df45a6sm5794915plb.53.2022.12.28.02.05.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 02:05:44 -0800 (PST) From: Anand Moon To: Rob Herring , Krzysztof Kozlowski Cc: linux-amlogic@lists.infradead.org, Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 07/11] vendor-prefixes: Add VIA Labs, Inc. Date: Wed, 28 Dec 2022 10:03:16 +0000 Message-Id: <20221228100321.15949-8-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221228100321.15949-1-linux.amoon@gmail.com> References: <20221228100321.15949-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753451936213645703?= X-GMAIL-MSGID: =?utf-8?q?1753451936213645703?= Add the vendor prefix for VIA Labs, Inc. (VLI) is a leading supplier of USB and USB Power Delivery controllers for multi-functional devices and platforms. Website: https://www.via-labs.com/ Signed-off-by: Anand Moon Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 70ffb3780621..d19b7f9cef4c 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1398,6 +1398,8 @@ patternProperties: description: Vertexcom Technologies, Inc. "^via,.*": description: VIA Technologies, Inc. + "^vialab,.*": + description: VIA Labs, Inc. "^vicor,.*": description: Vicor Corporation "^videostrong,.*": From patchwork Wed Dec 28 10:03:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 37170 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1813158wrt; Wed, 28 Dec 2022 02:08:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXs67EKIwT5btQN2LuHCLdUlaT1JUJzGMWVv//Z8wpqIWAmHK+RvAfvkq2opEPv+zTVyiGPK X-Received: by 2002:a17:906:8517:b0:7c0:a48b:2dff with SMTP id i23-20020a170906851700b007c0a48b2dffmr25661364ejx.43.1672222080461; Wed, 28 Dec 2022 02:08:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672222080; cv=none; d=google.com; s=arc-20160816; b=J7r37cXBBVqd60++606RZBmmAR7NO0XZWSkYee0W+Lgq1Paz/04azJLlRY2FyPikXd lmD0ll+C35w0XQfIdrYtOP2FLeDW0E1rYlnuL1en/RccaZO/PxvHpZxXMd2bSqyA+HzK CJt+yyUPpaobI90BLyBNT8beop5gu553ws5MAIsTW0PC2+m/P9azYCtJeKhcXKH0zYqV U84uu7IZJIk+0Kk7awMS1LvEJ0m78NCPJNIVF0hNYZoMKNxfzmWjj0iSH1nh7EZd6guT imO/xcuxq832/9uFinvNVSJRrRDltBL1zhtoVzh30UguYdQaMgpTnXkSckb++24+uCkn H/Jg== 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=XddeMIQqpQATN+V02+mnCt6s/9dpQm+lysoFjgM/iXM=; b=YEFQraZL9T0DOlAUuq/d4xaHfI45L0O04MItxDKe9PVUDIQJJzU5Q1HpL/qAEHCD36 3hL//zKyHuo6sFT6LDLJDc4xCUnKimLAmFcsE6rL7KaWHxJ3lxg6TllZweYIYVT9IMJm H3ymwDGeSuiMUSHZjD9HIzLd1CqIpoRwM+3rAqCOlm4y/6f11ekk6Lp6DOrfE7jcyNeM SQLaLHo5v8WwnKqV0VzPSkFEM8talUcxaBgvyE3Yb1JZdR6vg3s4za0MDaJ+l7XbdGNC yEClRJ3lQWeHjf14SkMHd5sSFB+hCtyHGa/o9GVluHKm2A6jRWYL7EL8aYxZkLT36XTl s4Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bk9fPXdU; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mm6-20020a170906cc4600b007ae72fcabb3si10369105ejb.838.2022.12.28.02.07.36; Wed, 28 Dec 2022 02:08:00 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=bk9fPXdU; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232982AbiL1KG3 (ORCPT + 99 others); Wed, 28 Dec 2022 05:06:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232898AbiL1KFz (ORCPT ); Wed, 28 Dec 2022 05:05:55 -0500 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E52A0DF2; Wed, 28 Dec 2022 02:05:51 -0800 (PST) Received: by mail-pj1-x1031.google.com with SMTP id u4-20020a17090a518400b00223f7eba2c4so15604888pjh.5; Wed, 28 Dec 2022 02:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=XddeMIQqpQATN+V02+mnCt6s/9dpQm+lysoFjgM/iXM=; b=bk9fPXdUuyhpiB21Zc6lECqP3DGFcZuDaRjM9NiTQcDW49oyZnaprUVChuBu13cveQ +tuR2ei4Gmmks6GNZpxuFlZ48YVzWw+gkqvpwyUiSGGq/Y2syUZgKcfFTnDPhxp3VgIC BpOrcy7TMVP3fdt3Ik2ZrM5IVJRK9/7SH+CxvzZgWFQNNwfov1ra7ELkyAC7d6Y4EqHn F5nagEcXFH3dZzg3tuNpg9MQsoqD03c8DCLicI0G+mRDOd4fj51Bny/By7Ut0BsCtl8D J1F8UKUC0yEtzECuDGWz7qceGVaLHeKQ7RyFNkYllKcWZxwBbvn5aHZQ+miHxIV/waIE z0xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=XddeMIQqpQATN+V02+mnCt6s/9dpQm+lysoFjgM/iXM=; b=xKMPbeXG91DdqmU7AJFR+BW06R4hbFDFpjr6SkVWaqZEkF/xV+EZtx+sWT91Ucr3G2 OcZm1zqR2r88uPxnyZGZonSNI7enIB9jcYNGzpa4+iUFlIWFC1psYforF58W6ja1aodg +e2a/MJF/aKVTG6uH+98SZnQ3VEXForycdYB01WfiAtIt93tZn4n4fd8FATSIcBGs9Pl 9v5egeuI2rSFbzc9qoHmWcFVye8ZY9sx12qd8o4CTLeH6UsAajx3Wl8ZRITIeNXUtJkV bqaRmBvhulQZbys0O83wRzR7wyjcBvLWprtYUyPr5+hnqmRAUL/n/6+kuZqPLkqKq+13 JrrA== X-Gm-Message-State: AFqh2kpxkfKi1BvjDE4x+XzcNsA5hxr98V0z5lMkQQy/UtKwkd1Ssybr +zEaPxvfXbKTqySmsV5peuTpwS9iSDyj5A== X-Received: by 2002:a17:902:da86:b0:189:747e:97cc with SMTP id j6-20020a170902da8600b00189747e97ccmr35072825plx.26.1672221951502; Wed, 28 Dec 2022 02:05:51 -0800 (PST) Received: from localhost.localdomain ([45.112.3.26]) by smtp.gmail.com with ESMTPSA id t6-20020a1709027fc600b0019277df45a6sm5794915plb.53.2022.12.28.02.05.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 02:05:51 -0800 (PST) From: Anand Moon To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski Cc: linux-amlogic@lists.infradead.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 08/11] dt-bindings: usb: Add binding for Via lab VL817Q7 hub controller Date: Wed, 28 Dec 2022 10:03:17 +0000 Message-Id: <20221228100321.15949-9-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221228100321.15949-1-linux.amoon@gmail.com> References: <20221228100321.15949-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753451940110672792?= X-GMAIL-MSGID: =?utf-8?q?1753451940110672792?= The VIA Lab VL817-Q7 is a USB 3.1 Gen 1 4-Port hub controller that features 4 downstream ports, an internal 5V regulator and has external reset pin. Add a device tree binding for its USB protocol part. The internal LDO is not covered by this and can just be modelled as a fixed regulator. Signed-off-by: Anand Moon --- .../bindings/usb/vialab,vl817q7.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/vialab,vl817q7.yaml diff --git a/Documentation/devicetree/bindings/usb/vialab,vl817q7.yaml b/Documentation/devicetree/bindings/usb/vialab,vl817q7.yaml new file mode 100644 index 000000000000..4ae995160fd5 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/vialab,vl817q7.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause +%YAML 1.2 +--- +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Via labs VL817Q7 USB 3.1 hub controller + +maintainers: + - Anand Moon + +allOf: + - $ref: usb-device.yaml# + +properties: + compatible: + enum: + - vialab,usb2109 + + reg: true + + reset-gpios: + description: GPIO controlling the RESET# pin. + + vdd-supply: + description: + the regulator that provides 5.0V core power to the hub. + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + #include + usb { + dr_mode = "host"; + #address-cells = <1>; + #size-cells = <0>; + + hub: hub@1 { + compatible = "vialab,usb2109" + reg = <1>; + reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>; + }; + }; From patchwork Wed Dec 28 10:03:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 37171 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1813240wrt; Wed, 28 Dec 2022 02:08:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXsQqae9pnZhID5dkl1YhnjlDaMNzpWZ+XfB1aEHJjZGo2eiXzDI98q2kG44qwjtjG+Y1p8i X-Received: by 2002:a05:6402:12d4:b0:461:6219:4b16 with SMTP id k20-20020a05640212d400b0046162194b16mr21011239edx.33.1672222093465; Wed, 28 Dec 2022 02:08:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672222093; cv=none; d=google.com; s=arc-20160816; b=t36QAG3lto+h1lio5W6wE5kmivf2/9lREsuaC6K9nbI1cUyI83uXhHR9yGJg+eKV40 jw3W3IsBdGpXN+asfplI9xF1wyB+JL1nnqwnyZAyNHe0j5Moa2p5DoS8mh+KTM0OKoHY HUQxiEDQAV/uXGd6iQ+71WVh35p/bH2cd/nKs90d0yuAceZ4+3XlXYwhxmzPjDST3kWG YKoMB1pSwRvQ7I4xrOyOlqu04pK3tfl4rTIrPbPB0wszGbIUXQSQjepSnIiaj3+2ydRM Y5SI6EDGQP/WcKeM/TPAVnMJUW0oPG0BF8CUzKs+nNazoocrRIIIc5IE8eaS7ZFtNFfC nJ6Q== 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=fPZOgVkNc1yONsD0VkYpHu5bVHn1CQCfORwR9EnOA3I=; b=yt/Mgw2uMyMY3CokRnpp06fD4Slp6p6/YRJxxEqGDxlQYjvH9lbDmTeSJvIgXhe0oE X8/sgVSmWAq0Zy+UKaMTmvQ0yMLUSv6eqQu7sve3q0BYnFwls0G46AOakz7T8f04vsoq U0ZoVYbT+rZoXFG/WvcmnW1S5Y4GcY8JRolDYRhNkUdpE5AftP1fn/NoLQQgAYX5fMRF u6ILmIZSeFnzaZGi6uMnVF10f+EkdIgm4jjwYeUPUSztzlxAUGCHVUeW4Xt/W6DKdHad hbzkZa9ukG/BAyH0NnhDvDpKSBKBEESt8+WV2fXZygdEIYUH1zdyTYw2h0oIBjHUwHNI n0aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WjJcMPv9; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y14-20020a056402358e00b00484c1d97aa5si7767735edc.278.2022.12.28.02.07.49; Wed, 28 Dec 2022 02:08:13 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=WjJcMPv9; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232786AbiL1KGi (ORCPT + 99 others); Wed, 28 Dec 2022 05:06:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232964AbiL1KGA (ORCPT ); Wed, 28 Dec 2022 05:06:00 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B11ADCD; Wed, 28 Dec 2022 02:05:58 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id ge16so12115361pjb.5; Wed, 28 Dec 2022 02:05:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=fPZOgVkNc1yONsD0VkYpHu5bVHn1CQCfORwR9EnOA3I=; b=WjJcMPv9WalAK0UfWzbf+FjC74rXkGd7zvR9C+aauyHcIUTg83ET0NPPfhMZ2z+bYW muU0+EZj4G5cJOZuc7K84cMNEGAJxKspOO7twzr1AJHxo1mskprstHGbvkkObJONslmZ dEyRT1Siz2dReg/3YiG0TipWKLhGeM9Qf206dwta6gxJ5EwkVOEqkVg1uRTsHUGlgrZi cFOGDQclToPnRRSsgksYCO4vn5L0Ax4N4IyPqS69WCwGil61sFaT5dZ3HHm7pWVYqld0 PqXYr9FGk0P2mxr1fiz4XbNEnnyxOvx4JATu0LIgByrCiBR4tR5/Dz0obxOaJ4fh/Xyk 2nSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=fPZOgVkNc1yONsD0VkYpHu5bVHn1CQCfORwR9EnOA3I=; b=C++UnRo3BieFouP1ArVOanlo+2fG5afTBHv241mOfNf7qF2C3t9LxLxpzUvD0gxTmc /sL6ABztGsU8nIooRHdQUC7DJjrjRrOqRTwq5iEtlBicjzqVHjcz7OgO0rqTjsmuaJMM r/kQpW7oQTqEYEQzi+L9i8aI5m9HSQCoPP+WZPRAWT/EobHUZS+Q+ROwdf0ymqj2ZCHj 6YW6SOaPFqgrn03YINlb4ewVtabZ7v/aY1MemcAA4pw0KsjgIvPvfcaWdxLg6mRSHws3 NMHGjWU0B236/1psS87nWiLKcvad3LRZXWipTgHkCNLSfxL6aiWqQqEeg8I3aEgbxGdS i7jg== X-Gm-Message-State: AFqh2kpf7QYjkVR5WRfBvm2Yifzwdm8K3D3aQWAylVUXH7pMPp01ojzK /ovtCNqb6kCE0fYjpFbJEbw= X-Received: by 2002:a05:6a20:a687:b0:af:7cf6:1d4b with SMTP id ba7-20020a056a20a68700b000af7cf61d4bmr32717637pzb.23.1672221957637; Wed, 28 Dec 2022 02:05:57 -0800 (PST) Received: from localhost.localdomain ([45.112.3.26]) by smtp.gmail.com with ESMTPSA id t6-20020a1709027fc600b0019277df45a6sm5794915plb.53.2022.12.28.02.05.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 02:05:57 -0800 (PST) From: Anand Moon To: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 09/11] arm64: dts: meson-sm1-odroid-c4: Used onboard usb hub reset on odroid c4 Date: Wed, 28 Dec 2022 10:03:18 +0000 Message-Id: <20221228100321.15949-10-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221228100321.15949-1-linux.amoon@gmail.com> References: <20221228100321.15949-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753451953883813170?= X-GMAIL-MSGID: =?utf-8?q?1753451953883813170?= On Odroid c4 previously use gpio-hog to reset the usb hub, switch to used on-board usb hub reset to enable the usb hub and enable power to hub. Signed-off-by: Anand Moon --- .../boot/dts/amlogic/meson-sm1-odroid-c4.dts | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts index 8c30ce63686e..9b8230d6a9da 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts +++ b/arch/arm64/boot/dts/amlogic/meson-sm1-odroid-c4.dts @@ -26,20 +26,19 @@ led-blue { sound { model = "ODROID-C4"; }; -}; -&gpio { - /* - * WARNING: The USB Hub on the Odroid-C4 needs a reset signal - * to be turned high in order to be detected by the USB Controller - * This signal should be handled by a USB specific power sequence - * in order to reset the Hub when USB bus is powered down. - */ - hog-0 { - gpio-hog; - gpios = ; - output-high; - line-name = "usb-hub-reset"; + usb { + dr_mode = "host"; + #address-cells = <1>; + #size-cells = <0>; + + hub: hub@1 { + /* Via lab VL817-Q7 usb hub */ + compatible = "vialab,usb2109"; + reg = <1>; + vdd-supply = <&usb_pwr_en>; + reset-gpios = <&gpio GPIOH_4 GPIO_ACTIVE_LOW>; + }; }; }; From patchwork Wed Dec 28 10:03:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 37173 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1813952wrt; Wed, 28 Dec 2022 02:10:22 -0800 (PST) X-Google-Smtp-Source: AMrXdXvZeRhtWE9H20MDTYI6TF/cdBM0/xCNymOjT1VRb1/u2NCBodj6mm2gNAI1Zd/RqkiBFxy7 X-Received: by 2002:a05:6a20:8e1e:b0:b2:637a:2b78 with SMTP id y30-20020a056a208e1e00b000b2637a2b78mr41933321pzj.32.1672222221858; Wed, 28 Dec 2022 02:10:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672222221; cv=none; d=google.com; s=arc-20160816; b=Un8QL/iLo473nWqaU+1yQCW4oWdONesKoOGQdvnoLnKTMpJg8yPx8mKUMCVkmeOM6j GoPs2ZSJzulnHWWs6ej+H2gIDXFmi/tOefoCedYlWKFqrwnSfzh56oRC+YsWEwijPz+m uQqzoQ+xoVTsjmC6k87gVTqEpc7HD/TRxYwKgRqrZX6gCHSrid7XpdZDSwcYpF7GXH6y k4aNW7Es+Lnw10ow19PaBGUoYIzELPODH1TmKOQRw5LQ8pL9IcD26fhsDtglBcettTsm Ts1muMcUvfsgzDAL8Mavs/nmKJvKJcXi7YyVkJiIXy3b8s4EGrXsf5wX3lsG05VdVU8F GhaA== 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=SKyVlX/Mpa7o0t27gnVLycSg68+P2J70WhEPAp5+xtQ=; b=t29twMPP8TrAERwI++PdwNYHmv6wNu+s7FOD8ipry6Nk6ZnFH4kN/ZgIRPM5TUaeal Chzhy2YcHIXvVtUNcLF58tjVFmoZ/gD5K91lfJpdVCk8KQ4OjRjGy8d1KJiZJBCWUd9O u74UxmbkkVfQQHmcTFQJDKD0zjXQJphkpJGd9+9tVHsIA6WXLnKQn4jjvLactYUup9uC WrbLmunUPCLvpGvCWMMpnnFi2bhI8LvNgisq4y61yao/ffWzNfwUpiT42u7r7Kvqcj9P 0x2CPe4EOblD9E21Z9ZLIZBYmN/+rYFGSF9TPewsikyWtQKZgaDFc2mjrbgsd7vgtn4i YgBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="jW6UGc8/"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t79-20020a635f52000000b0047868802927si17391762pgb.818.2022.12.28.02.10.08; Wed, 28 Dec 2022 02:10:21 -0800 (PST) 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=@gmail.com header.s=20210112 header.b="jW6UGc8/"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232894AbiL1KGo (ORCPT + 99 others); Wed, 28 Dec 2022 05:06:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232981AbiL1KGE (ORCPT ); Wed, 28 Dec 2022 05:06:04 -0500 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAFE4297; Wed, 28 Dec 2022 02:06:03 -0800 (PST) Received: by mail-pl1-x634.google.com with SMTP id g16so5975103plq.12; Wed, 28 Dec 2022 02:06:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=SKyVlX/Mpa7o0t27gnVLycSg68+P2J70WhEPAp5+xtQ=; b=jW6UGc8/hz58oCJqSTWk/8gf9CLM3mNxTZAFS3SXwTFhJ/Z78w8psS4N18vpeYFb6o 7VOWq3YknGEueXdTDv93bve3q7NB9V9CPgrDiH9jP1gSjA8m0SvBIQe3W7qp8xqpSLDs NCmpb6xtwd41Gg4PL2MDXo8JHtfEYrGo8EYjw9tq8YukXxQjbLsYI+SrCBc7IK68Zs4o kytjatg3jUQqANdrm7BJPnxuOMDbTCgONcx1ZAFs6/bH9CtzyfEH5JhF1019Mfo6oZKm udYiaC57Qi8k8lZZ+8KyzfcIfd74so98zxwVcm4iZ2/1nSYFeHEn1qOxZ+n4TdxSrGTy aUeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=SKyVlX/Mpa7o0t27gnVLycSg68+P2J70WhEPAp5+xtQ=; b=LsOyqIAcj8t7meskK13kzuViSMkdJHHB8YnONPajLG1DcAeAZ2Jy7O63mptL+MKQ3/ kVbm9qgSejU2e1MsXkFkQjCQgTTU4/MWL6yVmVH+tXYtvfBaoCWWc/XDvk9y3EtdLsBw VRv5rcm9Ud+mTpxzPJu3W/wKXiALqYNCeMYU9j4mchWxUkaV8hcqinymxBwk/AaGNY++ Z4JE/WTArhoav4A5daTR8tjR+CrZ6U+cIbp+bQcwKC+4u45TDl97cHlMluf4B/I17WF5 c5kRUgxwriwReXVPu8mwZK/u4qrqBgWQab26VBGDUU8f1bXeQvq41uEr1rZ06v7xZohR Mu+g== X-Gm-Message-State: AFqh2kqZplNtXlaeVT2qrBiXZXhLITw8lY59VPWv7b6purbiIXT2ERUX MhHu3nCSyQv1oX4QViLcBpM= X-Received: by 2002:a17:902:7042:b0:189:6a5a:7289 with SMTP id h2-20020a170902704200b001896a5a7289mr33309457plt.52.1672221963337; Wed, 28 Dec 2022 02:06:03 -0800 (PST) Received: from localhost.localdomain ([45.112.3.26]) by smtp.gmail.com with ESMTPSA id t6-20020a1709027fc600b0019277df45a6sm5794915plb.53.2022.12.28.02.06.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 02:06:02 -0800 (PST) From: Anand Moon To: Matthias Kaehlcke , Greg Kroah-Hartman Cc: linux-amlogic@lists.infradead.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 10/11] usb: misc: onboard_usb_hub: add VIA LAB VL817Q7 hub support Date: Wed, 28 Dec 2022 10:03:19 +0000 Message-Id: <20221228100321.15949-11-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221228100321.15949-1-linux.amoon@gmail.com> References: <20221228100321.15949-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753452088869041470?= X-GMAIL-MSGID: =?utf-8?q?1753452088869041470?= VIA LAB VL817Q7 is a 4-port USB 3.1 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 | 2 ++ drivers/usb/misc/onboard_usb_hub.h | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/drivers/usb/misc/onboard_usb_hub.c b/drivers/usb/misc/onboard_usb_hub.c index 699050eb3f17..025572019d16 100644 --- a/drivers/usb/misc/onboard_usb_hub.c +++ b/drivers/usb/misc/onboard_usb_hub.c @@ -335,6 +335,7 @@ static struct platform_driver onboard_hub_driver = { #define VENDOR_ID_MICROCHIP 0x0424 #define VENDOR_ID_REALTEK 0x0bda #define VENDOR_ID_TI 0x0451 +#define VENDOR_ID_VIA 0x2109 /* * Returns the onboard_hub platform device that is associated with the USB @@ -418,6 +419,7 @@ static const struct usb_device_id onboard_hub_id_table[] = { { USB_DEVICE(VENDOR_ID_REALTEK, 0x5414) }, /* RTS5414 USB 2.1 */ { USB_DEVICE(VENDOR_ID_TI, 0x8140) }, /* TI USB8041 3.0 */ { USB_DEVICE(VENDOR_ID_TI, 0x8142) }, /* TI USB8041 2.0 */ + { USB_DEVICE(VENDOR_ID_VIA, 0x0817) }, /* VIA VL817Q7 3.1 */ {} }; MODULE_DEVICE_TABLE(usb, onboard_hub_id_table); diff --git a/drivers/usb/misc/onboard_usb_hub.h b/drivers/usb/misc/onboard_usb_hub.h index b32fad3a70f9..1fb3371ebdae 100644 --- a/drivers/usb/misc/onboard_usb_hub.h +++ b/drivers/usb/misc/onboard_usb_hub.h @@ -26,6 +26,10 @@ static const struct onboard_hub_pdata genesys_gl850g_data = { .reset_us = 3, }; +static const struct onboard_hub_pdata vialab_vl817q7_data = { + .reset_us = 3, +}; + static const struct of_device_id onboard_hub_match[] = { { .compatible = "usb424,2514", .data = µchip_usb424_data, }, { .compatible = "usb451,8140", .data = &ti_tusb8041_data, }, @@ -37,6 +41,7 @@ static const struct of_device_id onboard_hub_match[] = { { .compatible = "usbbda,5411", .data = &realtek_rts5411_data, }, { .compatible = "usbbda,414", .data = &realtek_rts5411_data, }, { .compatible = "usbbda,5414", .data = &realtek_rts5411_data, }, + { .compatible = "vialab,usb2109", .data = &vialab_vl817q7_data, }, {} }; From patchwork Wed Dec 28 10:03:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 37172 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1813411wrt; Wed, 28 Dec 2022 02:08:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXu/dnCCwFjF0qIbogr53xVet9lk2+3MuZpI4SwMBhlCS92KofVyH/2nelVsyID0Xvg73uDw X-Received: by 2002:aa7:d8da:0:b0:474:5de4:a5d1 with SMTP id k26-20020aa7d8da000000b004745de4a5d1mr25241582eds.39.1672222119635; Wed, 28 Dec 2022 02:08:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672222119; cv=none; d=google.com; s=arc-20160816; b=grYosf49rS4ghvDT6zSgc9Mci4kuN8JW0mkmJmG8n+NY1QNjQkx5dBBTkM9soN/ryt 8fsIfam64Hh63dxUpjZamEGMCqYJW9qgXNIIMMEUEaerlc8CPeecA3y8N7Yutvinet4U 5UrHAYqWndw+sOEatFZo2yEM98hDEpJxRTbxcLCLZUqviZN63SfbHI//VL5GSRUItJvO DiE3gINrIfanP6zQRsrsHiIRKsP28dm0QC3r5xe4bq+nMnRtF3Mpim+399OkQafbi4Yj Ha8FitHSwRfZXoMMw3f8PHjDURnVVnIM/iLmqf3fxeCfUsUFuJe/+VdkbMUm46I+Hx5R ciLQ== 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=B70QifF2futZ63jMxA/rA/1s14ICX6BqPGHLhFxdZa0=; b=LoJP5SCkp6XKUJrh4TmxocmfOcF957oXN8YtBrPJQYMfVU1j8jksi/x5QLUKiDQyKI I5ed8nG/UCo4fZUDr96v3yYM6DxU6BlFUCH35/DisiDB2HybHaaYIHlruN2qqWxqMj7+ X+4sIGWkzjSwagcKtfA+kB8RJ6Zn/YlPc0yD/ca7sY+xxyzSNu4ik4aUXQ08LidQdfvp J6DfetiPSap/fhLp4emqwDMOZAMxrDclpanS3uFNmKm5OnRCxVT9gvgYVg0iVcwIutgY g8roVhoQx9IQVeQXwu0RDL6ZEq0ToGZfW+jEAswQia0f8xWrbMwJhqt9zaYcuTP8rswr Z3bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=C5LRlCYx; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id by1-20020a0564021b0100b0046ab9b37cf2si12107013edb.116.2022.12.28.02.08.15; Wed, 28 Dec 2022 02:08:39 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=C5LRlCYx; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233026AbiL1KGu (ORCPT + 99 others); Wed, 28 Dec 2022 05:06:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232999AbiL1KGJ (ORCPT ); Wed, 28 Dec 2022 05:06:09 -0500 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 938DA116C for ; Wed, 28 Dec 2022 02:06:08 -0800 (PST) Received: by mail-pl1-x636.google.com with SMTP id jl4so9368550plb.8 for ; Wed, 28 Dec 2022 02:06:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=B70QifF2futZ63jMxA/rA/1s14ICX6BqPGHLhFxdZa0=; b=C5LRlCYxs+Yia2f5B39XlmdkJYHY8WTupDIQkic48F5l6WDBaZ/pad1YZYYQvALNg1 6d2UxERLj5a29ytg7CMPt+IALgNSCrpsWJ9nJSMRcrcwQtdTQkTj1Dl7ob6weS69oUHN jZQDgtyDpq0B7ACB2qx1YUJcKhxjAsihYDGNBIX9ulltQdeiEKo3+jjIdO3nXBVls9Y4 rIdhgpbWhW3KdcmII7viMXmv5IJZhpyP3TnjiLyxA4hjjniMZrChcF8Fr93cOrUKMEEJ /5Dr992kKAsNO9g9W20WJ5AZtTheJEh14Van1RNv8e5u4HWL0dPuj1oS8GIh2UQ8lsWi VNmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=B70QifF2futZ63jMxA/rA/1s14ICX6BqPGHLhFxdZa0=; b=FXLhuR7l9g0qf4h1Xt9X6F7q8/swUHbHyrSzI3GWT/gxsvQecR60lRVDr0RRsQ2nd1 lT2KXC3p/7AG+9Z0WKFIldMkfAkI0NFQfkgcyojgION3368+KDMp5VCjok0WUr9L4bA4 wrPPDrRhAlUhFPRmwlY5aYZJoQZwNpURl4VdxZ9BetbQZpnedaWW66ChrA7wld2/Z3dk Q/xogDasbb9wKIJeQUA7Udw+fNizJM/1BClnihoZQ4/3bwZWUn45f49jEGSgyAHX4Mmm Wsd7dnMl/BUTrIRzE0IZrYkQPvKjeAys2DM1ZdbiK8it8+1WHo+ZYSeP6rYHuvLJN/fJ tvug== X-Gm-Message-State: AFqh2koo8+0MZOXfeicX6sWC16aN2EbmgwXZhh7lEbUSU519xwohoeWP uXKBT6HgkkiWroVQhN6/TQE= X-Received: by 2002:a17:902:8ec7:b0:192:4f85:b91d with SMTP id x7-20020a1709028ec700b001924f85b91dmr28793805plo.46.1672221968158; Wed, 28 Dec 2022 02:06:08 -0800 (PST) Received: from localhost.localdomain ([45.112.3.26]) by smtp.gmail.com with ESMTPSA id t6-20020a1709027fc600b0019277df45a6sm5794915plb.53.2022.12.28.02.06.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Dec 2022 02:06:07 -0800 (PST) From: Anand Moon To: Catalin Marinas , Will Deacon Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 11/11] arm64: defconfig: Enable USB onboard HUB driver Date: Wed, 28 Dec 2022 10:03:20 +0000 Message-Id: <20221228100321.15949-12-linux.amoon@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221228100321.15949-1-linux.amoon@gmail.com> References: <20221228100321.15949-1-linux.amoon@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753451981441645150?= X-GMAIL-MSGID: =?utf-8?q?1753451981441645150?= Enable the USB onboard HUB driver, used on Amlogic boards. Signed-off-by: Anand Moon --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 851e8f9be06d..42c3528a2473 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -923,6 +923,7 @@ CONFIG_USB_SERIAL_CP210X=m CONFIG_USB_SERIAL_FTDI_SIO=m CONFIG_USB_SERIAL_OPTION=m CONFIG_USB_HSIC_USB3503=y +CONFIG_USB_ONBOARD_HUB=m CONFIG_NOP_USB_XCEIV=y CONFIG_USB_GADGET=y CONFIG_USB_RENESAS_USBHS_UDC=m