Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp4499140rwl; Wed, 28 Dec 2022 05:07:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXthkYSMU+96QA9rPog+C3n7Jg6z+vQzE+m0b/85puXOPZ9ow8VtvReAzRgpGOKeSZCWIV+t X-Received: by 2002:a17:906:49cd:b0:7c0:f684:9092 with SMTP id w13-20020a17090649cd00b007c0f6849092mr20636113ejv.37.1672232866866; Wed, 28 Dec 2022 05:07:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672232866; cv=none; d=google.com; s=arc-20160816; b=XuEJ37vHQKJujwMFcvaqYoiw7fHDexVjeSl3DbKqdavMY+ZcGCLz9mnT86t0+8PT6e dfC7vfxEKbbE+FQwODKmxEwgNQUEbmapWzaOEBQUjrqvuwMkuN2Bvex2UQ//II+Fl8t8 6yntoCkEcS1kD96MbDHh01ljMm74Yjgi91y3NXVgSjF8U9OcFk/21G9vZ5pR+iQnOrxy iAZqgI+rA30a/Tal/SbRwyIwq7+CKMmlU4XkdphlR7CywIKE19pHZqTsx1oQl+aa6XTJ GOHzFE0q6rJ9MF+qEZ96hvHCmem41QcNChpQzbhXdgC5ChA+ub3xnFZPUohHm5JNed6a 6e/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=bj/ZL2pLmcXfsa7o3GSd/7KGOVFsIvFAmCWaGTxxqbg=; b=MZbklCpv5A1jdMRt9DzDYbpEHzOC9/V1WD9b7PyYYBaXceEMxx97GFt7t8meBH/bTv 64XBrGdHnbnxKJqv0+5VzYQQrrtNkrNcPEtRtlXT6CQiEkcigEt6bV/qjWsjcsL24i0P iff83WH2S6qm/75YTX8G8CdXgRLRVL+Q6T0XM4hoHhbiaHq/fOUcjiiL+stej8DwljGM oafQbU/M5cztfnfV/8e3/6h57BIy8Bulht82c6a9t6WoER1wN0KQKBpQLVP+mCQSN95o o8dbz0S9tRf/mHc6b4LHgWeoPwbfLMWRxXz7JxyKToLYXipx2tsEsAfHXs66HDEhBt2b ztnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=TJKeuhAU; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wu10-20020a170906eeca00b00783160b16a1si13105749ejb.397.2022.12.28.05.07.32; Wed, 28 Dec 2022 05:07:46 -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=@googlemail.com header.s=20210112 header.b=TJKeuhAU; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232731AbiL1Mvt (ORCPT + 64 others); Wed, 28 Dec 2022 07:51:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231716AbiL1Mvq (ORCPT ); Wed, 28 Dec 2022 07:51:46 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25108E5D; Wed, 28 Dec 2022 04:51:45 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id t17so38164301eju.1; Wed, 28 Dec 2022 04:51:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=bj/ZL2pLmcXfsa7o3GSd/7KGOVFsIvFAmCWaGTxxqbg=; b=TJKeuhAUb7ZbCaOdrTkQUd7Z/r49zaO58n0Zv4PflVM5kx/E7dGV7Bc8K1rzlnXGEj i5o3LcLDVH1m6fmvJqG0lX7Clr1Cn3YwbUrX7EZxgiXcTAMJgarkvDCjxSjkltL99D9Q e4Y8QxpsD/fgWvSA59zanzRiabPEgKbp5bcWE6Gzk2qBM85zIjxTsYnYq6LkZwZvofYE BCE3jA11Wb3kiIaaAzEHrfNjmCbsUungBSriRinw3u098ZSp+HznCc88mIRX6XfgJbd0 WcO0vhFxIFZeMAUuEiMv7hHPcSMCn7Qk/pmWtBgvSPEgC2VybeF1eWfXp12QL1KETVQ8 D23w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bj/ZL2pLmcXfsa7o3GSd/7KGOVFsIvFAmCWaGTxxqbg=; b=Ur8pSF6vIFErYk8XwRRH8pdXVeETwxSNbHjOPXVfoFWBuZBP+AlKEiP3Do27BCly9H x2Q3MBg7Fh5dKUcENL3O5RRP/7PXMbPFfR6b12Rlh29EKl6aU7pMVfXpXNUDxnX8F0d6 n/yiAtT+nIfwgivu86KgNIm8PbO5g5wKUBvPVG5VlMFqkHFFSmkw/JeAJQFvDLz2lt2A HBiBJfbi8yVi+ljQ+u4GKCXYm9bJx8sXIN/hBHoAEA1KjNr4nSTckA7KVNL3ItKE0Sn2 ozs143DIMidCuEkuN1XgHA+SQTBohDFQmeXY428ODsxUOqN8JU6Hqd5fH9hBy3MKRAjE L2hA== X-Gm-Message-State: AFqh2kqJx+61Zlb5YWfRnd+sBqKpc7tEZjMaOsZ+PEfT4Ndd8r5J9j8i t+xHba7dUq2MNkmrA8asdbN2GgcUhJLLW9K7Md5bEP2PXDs= X-Received: by 2002:a17:906:e4f:b0:7c0:ae1c:3eb7 with SMTP id q15-20020a1709060e4f00b007c0ae1c3eb7mr1575024eji.510.1672231903589; Wed, 28 Dec 2022 04:51:43 -0800 (PST) MIME-Version: 1.0 References: <20221228100321.15949-1-linux.amoon@gmail.com> <20221228100321.15949-4-linux.amoon@gmail.com> In-Reply-To: <20221228100321.15949-4-linux.amoon@gmail.com> From: Martin Blumenstingl Date: Wed, 28 Dec 2022 13:51:32 +0100 Message-ID: Subject: Re: [PATCH v1 03/11] arm64: dts: amlogic: Used onboard usb hub reset on odroid c2 To: Anand Moon Cc: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" 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 Hi Anand, thank you for working on this topic! On Wed, Dec 28, 2022 at 11:05 AM Anand Moon wrote: [...] > + 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>; > + }; > + }; My understanding is that the hub@1 node should be part of the corresponding USB controller node, not a new node. In this case hub@1 should go into the existing &usb1 node. That way we describe the way the hardware is set up (meaning: hub@1 is connected to &usb1). In case hub@1 is not detected within &usb1 then you may need something like [0] (not tested for your use-case). If that helps: feel free to include that patch in your series. Best regards, Martin [0] https://github.com/xdarklight/linux/commit/d8b96e5bc9c20ab2585194e0e59580c3b062c431