Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5438280rwr; Tue, 9 May 2023 01:10:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4pcvUiMuxr5Sz+nHTGVWE/TqkpyzCm/mMyHm4RrqTs89WZtdYH8hsnJlzl/gPcJjWXaaOL X-Received: by 2002:a17:90a:e281:b0:24b:3123:8dd8 with SMTP id d1-20020a17090ae28100b0024b31238dd8mr13418788pjz.27.1683619858619; Tue, 09 May 2023 01:10:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683619858; cv=none; d=google.com; s=arc-20160816; b=xLKFOGVSchHaHNZ3g5TPMl7sqV93hPWo2/xSVc5zO/PLyrOpoVPZ/CtGQJqygpI/Ir MlT8e85HX3IXGA/IShONv+KIJKI2kQaaBo9JOOBeDYf5colL64zZLn/1mSk3WlvndTFz KROJ3loMCIpxdaxlb7NG6ylos/oPj/BJEwtdFKQa2j4raabPKiVBVpE8EuwTOxKRMjj0 47TsW9zviuNWwKu7eQgMtCmPVgL7n0jbCPjVYp7EyQOnsq+moJcCscXrORLGbvTRjHT7 WxBn4RsBl5YkVlXzAWnnQ7vk4XfcuI+ESl/oS2+njRV54eTtd1jOn/+Oxdt/ynpg1m7q zsSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ZycbHjbA3SYDVSwMpk5MD7nH5UCCDEo2I1KuZv1isA0=; b=IA0ggGHwQ9/hsO9v4PFJ2G7VjwgnSXq2BHSxkQYfH8xisEryTN21AcOvKbrTOkH64M 1euXwoEpuW4zl9q/7NS7WkLo0FMQ3gHhikMjdnwlEosgI7hNqIti7ZOqE6ejBvUSWPab XwOSiZJfob1WEsoEoOY+i5GJQeOauaF4p0IlypfMdkE1geSxqYrsgWYlWxPFOLtmgF8V Rotb1B77J7gwkzfR1M/7LpINET7eKFXAZnovl/FB4vG+4CcKn+kuFyrDFVQ88urPL1Fo to/uWALT3z0wNstWlbJUwF13/bmxtwJi5kLYfIqIoBh5Eg56AKi4YGSuJlIN2t88rVqw gN7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VzG8qRng; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oo14-20020a17090b1c8e00b00250697cb4e6si6427531pjb.27.2023.05.09.01.10.44; Tue, 09 May 2023 01:10:58 -0700 (PDT) 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=@linaro.org header.s=google header.b=VzG8qRng; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235066AbjEIIFd (ORCPT + 99 others); Tue, 9 May 2023 04:05:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235412AbjEIIFM (ORCPT ); Tue, 9 May 2023 04:05:12 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3064C10A22 for ; Tue, 9 May 2023 01:04:05 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-94f4b911570so851535866b.0 for ; Tue, 09 May 2023 01:04:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683619378; x=1686211378; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ZycbHjbA3SYDVSwMpk5MD7nH5UCCDEo2I1KuZv1isA0=; b=VzG8qRng8ioR6VuJCtAXpNAzaWbkseTJzIBE0XCnUJk42KFFlM7XbJcxT+M1P+DM+z MOJ2cRS7I9E82601Fbk/BqFNs/eO8feJCHUott7kG1YPk0S9wW2/LkgjvE1o8lBmSju5 98jW8gBX5rSjx1NzoFyCKPvv5W3+4b9a3mnCXA/qjgYLCq1Ckks3p1M3JgDS3MCOvTlZ G5/CIRHLYeZUWxsZJisBYac91NqhfpcDBlYYIqLmE7itiJ+pvUBTLdHNWlTIcOPZFmmp 21q72sCuQ3Iipta3vUxJzMo6t9EzyDwS3GHwQXjys0REJIPjOc3hot8X86wpzL20uYRA z8sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683619378; x=1686211378; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZycbHjbA3SYDVSwMpk5MD7nH5UCCDEo2I1KuZv1isA0=; b=AmeCY7Ac0ptnIzaLKJbMFmvIAE/aYCKlP7zB33NJduHu+vTR7IMRQe8lqgg1WpmZs0 +1wfnF+zxHpqFs5VUW0snzuhC8gUJaICC+Reer8clquYgtBHdqnj1/d96UpvxXKlSYbT JYOFlg0YsBG3wbzYaxEjaaHCCF1z88jcF8MKVdNClEIl0kxurwdDOMtb57qnUVrSdkBL 4y0jhEciqnc/9ggUWAd5nuWuM93onhCozGzogFr/Z2WdxiikNahKkg2zDYQedxIRcO1s 39lc5Ga185QSlfw1cVZqfPMsWG3PmUX/oN3ECGlIqOaJzsbE+XyKgBBRo3pBuXIkY2Rh zyMw== X-Gm-Message-State: AC+VfDxX1N6Z87fHNXfCqr3/jHTTXzFJiz2w6yUGFvNae6KZZqbwpOHl ZfxqAOQT22VZKW26IJpIDTKadw== X-Received: by 2002:a17:907:9608:b0:969:e95e:e4f3 with SMTP id gb8-20020a170907960800b00969e95ee4f3mr1425734ejc.55.1683619378276; Tue, 09 May 2023 01:02:58 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:d0d5:7818:2f46:5e76? ([2a02:810d:15c0:828:d0d5:7818:2f46:5e76]) by smtp.gmail.com with ESMTPSA id og16-20020a1709071dd000b0096637a19dcasm1007866ejc.4.2023.05.09.01.02.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 May 2023 01:02:57 -0700 (PDT) Message-ID: <9a2c6858-fe1d-121d-aca4-58fa907ee2fb@linaro.org> Date: Tue, 9 May 2023 10:02:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 1/2] dt-bindings: usb: misc: Add microchip USB5807 HUB driver Content-Language: en-US To: Mike Looijmans , devicetree@vger.kernel.org, linux-usb@vger.kernel.org Cc: Greg Kroah-Hartman , Krzysztof Kozlowski , Rob Herring , linux-kernel@vger.kernel.org References: <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.949ef384-8293-46b8-903f-40a477c056ae.73717b19-477a-47ab-9efb-48f096304ca8@emailsignatures365.codetwo.com> <20230509074621.29774-1-mike.looijmans@topic.nl> From: Krzysztof Kozlowski In-Reply-To: <20230509074621.29774-1-mike.looijmans@topic.nl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 09/05/2023 09:46, Mike Looijmans wrote: > The USB5807 is a 7-port USB 3.1 hub that can be configured by I2C. > This driver resets the chip, optionally allows D+/D- lines to be > swapped in the devicetree config, and then sends an ATTACH command to > put the device in operational mode. > > Signed-off-by: Mike Looijmans > Subject: drop misc prefix. Subject: drop "driver", you are not adding driver here. > --- > > .../devicetree/bindings/usb/usb5807.yaml | 51 +++++++++++++++++++ > 1 file changed, 51 insertions(+) > create mode 100644 Documentation/devicetree/bindings/usb/usb5807.yaml > > diff --git a/Documentation/devicetree/bindings/usb/usb5807.yaml b/Documentation/devicetree/bindings/usb/usb5807.yaml > new file mode 100644 > index 000000000000..06b94210c281 > --- /dev/null > +++ b/Documentation/devicetree/bindings/usb/usb5807.yaml Filename like compatible. > @@ -0,0 +1,51 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/usb/usb5807.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Microchip USB 3.1 SuperSpeed Hub Controller > + > +maintainers: > + - Mike Looijmans > + > +properties: > + compatible: > + enum: > + - microchip,usb5807 > + > + reg: > + maxItems: 1 > + > + reset-gpios: > + description: | > + Should specify the gpio for hub reset Drop description, obvious. maxItems instead. If you decide to add description, then keep it useful, e.g. mention active low. > + > + swap-dx-lanes: > + $ref: /schemas/types.yaml#/definitions/uint8-array > + description: | Do not need '|' unless you need to preserve formatting. > + Specifies the ports which will swap the differential-pair (D+/D-), > + default is not-swapped. maxItems (and minItems if it differs) No supply? How does the hub gets power? I see at least two supplies in datasheet. > + > +additionalProperties: false > + > +required: > + - compatible > + - reg Best regards, Krzysztof