Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2408936rwb; Fri, 2 Dec 2022 09:21:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf6f8qVmSbJ/jTlxhdBp30Jq25XZnFU+tWVaCeGJhHvny99eldRmXE65/cyejHQ9faKvM7Nt X-Received: by 2002:a17:906:b14f:b0:7ae:6d3e:a02e with SMTP id bt15-20020a170906b14f00b007ae6d3ea02emr60469646ejb.626.1670001668370; Fri, 02 Dec 2022 09:21:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670001668; cv=pass; d=google.com; s=arc-20160816; b=DGG7Il2tEHPKxvjRhh5Fsj2CkzyjfEHwXbp6vUSD79cyP2/NwLxuQRM28/rZPPzBA4 t/YDWU8VK2yJbVVCxl1X6NhTcbSGJz6TcRnDaiFzNPpHtbZELK68db1pI3Hgx8hHzXaL dPl9NeTCFq3YCrpVksqhXV/xhAuLKih4pNEY2Za0nnT7qV+3uOB3UlxFcZc58K61ocQY 09ZXoFkVbypAW4XZ5C339Ix1m2uIWXkOWOC6HaHBVP6sWs5U52gKnM9Pkvn5W77erpDl OBbqQzhf1DUipiV9rH4W5Jef8vV8gNb8BZlnsA5dPn9LpcVbXWMIoUz/B3OHZcwnQX4q 68HA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:organization:references:in-reply-to:date :cc:to:from:subject:message-id:dkim-signature; bh=e1xazqjcXwEUoLesqlU4Blrrp+KuPG+K4ku0ElP/cxA=; b=dFIVMh6iWWOng1pE+FPoOCT3ZlMS+GbcTiUsv7qnllSnPTe8KCNlpaojoXx1oYpAao xD78bu65k3+CWbmT71SsoAc9hDphWFxsl9dXsBN1GY3j1g0Mp5D5atde6upt2dXE7s4c EZBfpV4HLurh8vRM9KPIinChWU0+N+Z59YBlWNKNecw3U1KK2A/FmMo2PuTOnQrzoFj3 AZj3enLhh7cZNM49zy2BBYIfnaUN9fDEYqbSnhd3QS2523FxSMXs1mM4+ZfuaUUe9XpG K7p9jSVAL3F0jzABu3RfPkN58xFDTfsa6NdLJR/m3aCZglclrsRhTGHsaMSqOG9s1kCA 8clA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@icenowy.me header.s=zmail header.b=VvQi8dcB; arc=pass (i=1 spf=pass spfdomain=icenowy.me dkim=pass dkdomain=icenowy.me dmarc=pass fromdomain=icenowy.me>); 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw8-20020a170906478800b007ad8bd5a3b2si7731304ejc.263.2022.12.02.09.20.48; Fri, 02 Dec 2022 09:21:08 -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=@icenowy.me header.s=zmail header.b=VvQi8dcB; arc=pass (i=1 spf=pass spfdomain=icenowy.me dkim=pass dkdomain=icenowy.me dmarc=pass fromdomain=icenowy.me>); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234174AbiLBQzC (ORCPT + 82 others); Fri, 2 Dec 2022 11:55:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234106AbiLBQzA (ORCPT ); Fri, 2 Dec 2022 11:55:00 -0500 Received: from sender4-op-o18.zoho.com (sender4-op-o18.zoho.com [136.143.188.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09EA7D159C; Fri, 2 Dec 2022 08:54:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670000066; cv=none; d=zohomail.com; s=zohoarc; b=nDjyPFgEloDmM8T/sBNrO/VlMDxo8r7LRbTRDALSR/0ucLLwORJlzGZ29coIGPEro/biYP4tUkD9b7WN88J5YnkXrdZodCcH7RMSsKc5SvD/SMuEM8dLlvNPdRG58BXEND8Rk0XSCO1yCKRhkxgiMfpM1tKnm4v+cPVl4Blw46c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1670000066; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=e1xazqjcXwEUoLesqlU4Blrrp+KuPG+K4ku0ElP/cxA=; b=D5ZY3Ijf/zhMeYAD+yEGsHTHlmHyHqzGyaK9JqmmTNIPVvLhmK/flzm7eystCGyPP5VXUWSQLJomdjcCvvNxUnmHszFC8DQjRXtRefUo6SxSHmf11V+bEg9cRDzyRgqQCsddBZjwpYohed7C4FWuZoBeOxMIpveh5lr+yKpxUbE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=icenowy.me; spf=pass smtp.mailfrom=uwu@icenowy.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1670000066; s=zmail; d=icenowy.me; i=uwu@icenowy.me; h=Message-ID:Subject:Subject:From:From:To:To:Cc:Cc:Date:Date:In-Reply-To:References:Content-Type:Content-Transfer-Encoding:MIME-Version:Message-Id:Reply-To; bh=e1xazqjcXwEUoLesqlU4Blrrp+KuPG+K4ku0ElP/cxA=; b=VvQi8dcBCDb3e9NAUXLCWJRxiVEr3dtPpqx+r3MtjZ5NBmYOLpbOjY6CJH5wFFbT p3nDacOTxUyjdfgJejiwitZdzMInxBiPij6tHtl9PBkHWOvrtAE7Jeom0rZoAH5DnKC Er5IzWqt76AhOKRqwNisKFxVYOFFU+iIvI+5cPcs= Received: from edelgard.fodlan.icenowy.me (120.85.99.143 [120.85.99.143]) by mx.zohomail.com with SMTPS id 1670000064421431.1187913489915; Fri, 2 Dec 2022 08:54:24 -0800 (PST) Message-ID: <2f0f31551d361cf23abdd2c4117f2feb84e2b1a8.camel@icenowy.me> Subject: Re: [PATCH v2 2/6] dt-bindings: usb: Add binding for Genesys Logic GL850G hub controller From: Icenowy Zheng To: Krzysztof Kozlowski , Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Greg Kroah-Hartman , Matthias Kaehlcke , Andre Przywara Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Date: Sat, 03 Dec 2022 00:54:18 +0800 In-Reply-To: References: <20221202081647.3183870-1-uwu@icenowy.me> <20221202081647.3183870-3-uwu@icenowy.me> Organization: Anthon Open-Source Community Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 MIME-Version: 1.0 X-ZohoMailClient: External X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLACK autolearn=no 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 =E5=9C=A8 2022-12-02=E6=98=9F=E6=9C=9F=E4=BA=94=E7=9A=84 10:02 +0100=EF=BC= =8CKrzysztof Kozlowski=E5=86=99=E9=81=93=EF=BC=9A > On 02/12/2022 09:16, Icenowy Zheng wrote: > > The Genesys Logic GL850G is a USB 2.0 Single TT hub controller that > > features 4 downstream ports, an internal 5V-to-3.3V LDO regulator > > (can > > be bypassed) and an external reset pin. > >=20 > > 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. > >=20 > > Signed-off-by: Icenowy Zheng > > --- > > Changes in v2: > > - Misc fixes suggested by Krzysztof, including property > > descriptions, > > =C2=A0 single-item "items" and fixing the example's gpio property. > > - Fixed $id. > >=20 > (...) >=20 > > + > > +examples: > > +=C2=A0 - | > > +=C2=A0=C2=A0=C2=A0 usb { > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dr_mode =3D "host"; > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #address-cells =3D <1>; > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #size-cells =3D <0>; > > + > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 hub: hub@1 { > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 com= patible =3D "usb5e3,608"; > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 reg= =3D <1>; > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 res= et-gpios =3D <&pio 7 2>; >=20 > Use GPIO flags. What did you fix in the example? It used to be here, but using it needs another include, which I don't think it necessary here. Maybe I should just drop this line in the example? >=20 >=20 >=20 > Best regards, > Krzysztof >=20