Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2086277rbb; Tue, 27 Feb 2024 10:07:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXVHH1I06FDBO3VqjZpRzhpfbDagFnRi601GkK85d1hteIh29im/GYV07+adivmUHLbGPFkejZc8uTZAlmmG5vTcegNopBqGvREN2m5xg== X-Google-Smtp-Source: AGHT+IFXOITSRW9K0nb+hoZ9T6wase/i/W0PBHff+3kltRyLFB2t2a5OTmM5+nmc83w0gp6wpnsQ X-Received: by 2002:a05:6a00:26c1:b0:6e5:44f1:1183 with SMTP id p1-20020a056a0026c100b006e544f11183mr3135825pfw.14.1709057266235; Tue, 27 Feb 2024 10:07:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709057266; cv=pass; d=google.com; s=arc-20160816; b=L1wl19dGF5IlM/sumNKz3PJrKJb3IwEXaLoFiZlQ2Wlqx0ShIhVIm473SfRQky3DGq N+heeA25XXNOKB2IOo8yHo9bowcGLvTRJO2X2mJ98AgQ8UTlBITmSzaoouJLuOwqed2K WlRtXh4dIWmyZYneyFGxWKQ8kCGLjk6RPxfE7G8+BzCAvXCgtxh/g52Ti2/8LL3vhaNC y0YhOkpxUpn3RsXTEMmdN8po51DTqevrCaDLnMJW8muG6Sfwjgg2IEbE/0ap7b/Zr8Rw 7z6mD4iJ9OqS+CgK6zgPaz+lRh6K/K+kJjjsBe2V0JupdEKfbqhV7v4X3fKoeU3AHkRo fvgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=S6+MUuGb2zmEv5DAM4fS96IcXlW7pM5/kqGwRmxcUuE=; fh=6Yh92J6AkmR7D1XgNlq+pg2DlVfONVTRqY+sbaU4kzg=; b=DLd3N+nARLFPWioZvmd3iCaIgXpagb3kwcgZda8N0/VU9Q/9jrA1AW+v1qLSOp8yWK mGSU2ur0Ozm8bb02gS5Urx9qrMTa7gWcWkmQ4d8213fSd9Y60kvOP9pJOOy6G2RDkjRX 9DNNslsTIwCDxHseuxI0MCn32pgGSOCoQkappBt9bPsx/x2x75Zxt6zZZQDjeXI+TNjQ C3cvHvNKb7Q/8MB0osS3fn55+W7Uared4DSxhLSjEgo9H2ZzSXlDTfrCXzNh2VJtCacx 3U/GOovrZTZEYLtGoAB8CevyRJ+6FpDnjL/tNan1CKTqfjIwhq5gB2yu8rC1bQ0HCCEm 0u4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IKWQ2uLt; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-83797-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83797-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ln7-20020a056a003cc700b006e0f5035435si5900061pfb.126.2024.02.27.10.07.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 10:07:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83797-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IKWQ2uLt; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-83797-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83797-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E86EC28E3BD for ; Tue, 27 Feb 2024 18:07:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2DEEB14901C; Tue, 27 Feb 2024 18:07:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="IKWQ2uLt" Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8B781487E5 for ; Tue, 27 Feb 2024 18:07:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709057239; cv=none; b=VP5lvxZNUmE2L1ONhFtVqjAPhLhu+oQ5PmC3fZfU2lfsEJFOGEGGmkB9cEeirxIdReBPUm8h1UXlHNmqawcfRbS3+PS3cTWN2ib7thcyn3pD1I7oH8yoqDVInnkJYmoDNlyC1FpxOqjzibZNCaGZ/SAq67QNK0chWCdczytNHfE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709057239; c=relaxed/simple; bh=B0ThNOh0lLLn+k0gXyPzhpIqqYghCNKgooGMa1SzMyU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qpjEoiAvCv2AWICwscbC0SzUVtPHp4xCxIhmn10Y/UFZPqWdU82VKM5hJ48C+ybTu5VN5olzbUi5luKoBADrNeW9XlKzYhnJBVzMbepkjmAyTxYh/zz2RkStkuTZDl9tCsBM1lHAdCtbOZRmjnmHyHfUE2NcVFYV9PRUU7/N6uQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=IKWQ2uLt; arc=none smtp.client-ip=209.85.166.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-io1-f44.google.com with SMTP id ca18e2360f4ac-7bb5fda069bso265051239f.0 for ; Tue, 27 Feb 2024 10:07:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1709057237; x=1709662037; darn=vger.kernel.org; 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=S6+MUuGb2zmEv5DAM4fS96IcXlW7pM5/kqGwRmxcUuE=; b=IKWQ2uLtsmg97kTcixNrXaFWyZFcsP2rWqgkhTn5fo/SuM5qV8j/5tUVGGROtwYrU5 yVj7B9bFm6xotDhbV7pBKkSezQx5vmnSqT9XTPTS8RiZtNuKx3o6qazaXxpbzosUAAU+ kJWk+cGyWVuXOwXQ9nG2sNBp1LfToBQZITGV8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709057237; x=1709662037; 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=S6+MUuGb2zmEv5DAM4fS96IcXlW7pM5/kqGwRmxcUuE=; b=BJNpmyJOGg7bp6ivy3f9jPgi471iFNMo22qQVK82VqbHamy54GpA/45kzS9/l9eCv4 /e+xY3ZIGhoj85TOchobuRYFfZp5UMGLTLrfoZRtiMftir/5+k6SMIbQlOPyPOCcKSFk pSQPpXiRAhvGMN8kcFiKqh+7uyhuJBFbDNtS/OGTF3l7AWnXGdvOGn00ZJAP3k3VPdd3 G6cQPAxiocLPGyVJmCqmui4id3aIM08nW/t6R+HN0e2YrIkuX5chPn39CTYQqd2eQPgq QnGC6tFuuxYlbfyUGs86E8XXKkwgjw9RTp8eqrY1QFtHeb1F7Z9iIbPffIvNIUosr2Sc iraQ== X-Forwarded-Encrypted: i=1; AJvYcCX/Yvp3AbU+sacwrxt473T4XA+ijPqQU4MAharPveRtPPpP0IWBgWDICmUS1L8LzUWi4CF90/MskRx3DZOLv8TdTqYtKnb42m7YE18A X-Gm-Message-State: AOJu0YxIrDIEEFgJOHPAprkJmhaebNyCpxNoE9TCBsl3W8xQllyHOJfF 5ven5O7O/8q/Rbi7QMlhP6WZecoNy8Pnt86j1mE/4XHXiZXq9oDVMqPpJMVcJg== X-Received: by 2002:a05:6602:25d5:b0:7c7:c6fe:d216 with SMTP id d21-20020a05660225d500b007c7c6fed216mr6816933iop.15.1709057236921; Tue, 27 Feb 2024 10:07:16 -0800 (PST) Received: from localhost (147.220.222.35.bc.googleusercontent.com. [35.222.220.147]) by smtp.gmail.com with UTF8SMTPSA id b18-20020a026f52000000b0047477ee4899sm1878140jae.147.2024.02.27.10.07.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Feb 2024 10:07:16 -0800 (PST) Date: Tue, 27 Feb 2024 18:07:16 +0000 From: Matthias Kaehlcke To: Macpaul Lin Cc: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Bear Wang , Pablo Sun , Macpaul Lin , Chunfeng Yun , Yow-shin Liou , MediaTek Chromebook Upstream , Chen-Yu Tsai , Javier Carrasco Subject: Re: [PATCH 1/2] dt-bindings: usb: Add binding for TI USB8020B hub controller Message-ID: References: <20240227090228.22156-1-macpaul.lin@mediatek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240227090228.22156-1-macpaul.lin@mediatek.com> On Tue, Feb 27, 2024 at 05:02:27PM +0800, Macpaul Lin wrote: > The TI USB8020B is a USB 3.0 hub controller with 2 ports. > > This initial version of the binding only describes USB related aspects > of the USB8020B, it does not cover the option of connecting the controller > as an i2c slave. > > Signed-off-by: Macpaul Lin > --- > .../devicetree/bindings/usb/ti,usb8020b.yaml | 69 +++++++++++++++++++ > 1 file changed, 69 insertions(+) > create mode 100644 Documentation/devicetree/bindings/usb/ti,usb8020b.yaml > > diff --git a/Documentation/devicetree/bindings/usb/ti,usb8020b.yaml b/Documentation/devicetree/bindings/usb/ti,usb8020b.yaml > new file mode 100644 > index 000000000000..8ef117793e11 > --- /dev/null > +++ b/Documentation/devicetree/bindings/usb/ti,usb8020b.yaml > @@ -0,0 +1,69 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/usb/ti,usb8020b.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: TI USB8020B USB 3.0 hub controller > + > +maintainers: > + - Macpaul Lin > + > +allOf: > + - $ref: usb-device.yaml# > + > +properties: > + compatible: > + enum: > + - usb451,8025 > + - usb451,8027 > + > + reg: true > + > + reset-gpios: > + items: > + - description: GPIO specifier for GRST# pin. > + > + vdd-supply: There is currently a rework of the onboard_usb_hub driver ongoing to support the actual names of the supplies, instead of the generic 'vdd-supply': https://lore.kernel.org/linux-usb/20240220-onboard_xvf3500-v4-0-dc1617cc5dd4@wolfvision.net/ I think for new bindings we should wait until this rework is done and the binding should have the hub specific supply name.