Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp907336pxb; Tue, 9 Feb 2021 16:16:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwNzJSFOWy2EBo7ugmp5W7quewna62ELCaN5JIPqgj27mE9UbFPnTKT8aq7ocCIPU6Z1arM X-Received: by 2002:aa7:c58f:: with SMTP id g15mr662460edq.383.1612916200029; Tue, 09 Feb 2021 16:16:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612916200; cv=none; d=google.com; s=arc-20160816; b=ran/j0CE6zSA/Zx9z50J5caJS0SlW5kCWkBkw502D59ElrscSzHDDOjLbZnZVT8bqi Gb4CcYaYxMsndo5aupNT7LRa5D8Hq3QWj6IBUJ76vA3wnCXAC8q76EAwJnD9IEHNmS1c JwXjRF3Vu0PFXRd2TFKxuIzZBgKE9uv1bD1cPmkY/D+hnUVgsH6d/Nv4Wn9YhWz5O4/A hAQAMDcgMsEljqMg1wGemcA5Q3XUaNKiXvcCebcLFOURSa2/QYz/WW+jxFfuEVBHOYpO wPquhg2pPy3u+WajbBgPWTKSpUfTMWb7sUNmM5khR3G15T3AXHOLSj7h9hxLzit1btJy iszQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=2s5+gI5RkcmBiEkvRs0kblor0zn4pUAbODGQq2QGc9Y=; b=xESpq+HUthbStDdVPLcxjd4Z3ZUrWwjO8wtFY2JF/+s68PHDQnLNFsaUU82IZL/A9p DLXrC7UjG2yR4+tHltjJqwZWawQ7W3O9AqRQMa2QKrjmkHKLo3flcvaPyXMuut0AKVtn hASZBn2DP2MkWDKN++oHrtzPMUSzvL0j598JNghY4n2XCCEkGRP8i4aUCLXVuBdvXZak t10BBb1if1c7OPZfl0L79kGYbl+UjIvH6TdMklJVZ9wp4THI/S+64wGqLY93xIeo/Rqb Y1GBJmsOgA3KcnzH/XUPytOtVLMXwXRXu67wP/qG0BiHSow8B2ApVTAa6zc2IkalwI4d ALng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d18si149317ejd.342.2021.02.09.16.16.16; Tue, 09 Feb 2021 16:16:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234510AbhBJAPc (ORCPT + 99 others); Tue, 9 Feb 2021 19:15:32 -0500 Received: from mail-oi1-f172.google.com ([209.85.167.172]:46827 "EHLO mail-oi1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233826AbhBIUq5 (ORCPT ); Tue, 9 Feb 2021 15:46:57 -0500 Received: by mail-oi1-f172.google.com with SMTP id k25so20881927oik.13; Tue, 09 Feb 2021 12:46:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=2s5+gI5RkcmBiEkvRs0kblor0zn4pUAbODGQq2QGc9Y=; b=ZIDgEFpQhkd71A2e27EuAc9lM1c4bodiJQRKN7vucGRyw2NEVkKa/DAH7tqex8kdw4 NbacxMeaizZdLm7asrMkA7B9n3TJGRf7u+mb73moZM5zJgBvcbwa4YZzsvdIzLNv5qa8 dVvIU79cyPHMunWR2LgS8AjUrGuJb0HARUHZUoaaZGYACok2KXoANl7hY1iCIcXgPQTq M4gky4n4j9jWshuasrbSG4AXDyBTjs6CqCihbHoAnn1qwmQlsfbACUwyUJE5RDpZMA20 0vLmabviV9vw6Lnqk315/jBu/yfzfByzkqDMW0mNC488IUeu8/EUydJrPKYB18w4XBas RlOA== X-Gm-Message-State: AOAM531bOoSrHjAF8CGrr0dzACs6UCyLU7GBX45rTZeSyeDaIvxMWrpE eKi3e9QnkF6ASjOZ5VZn4Q== X-Received: by 2002:aca:2102:: with SMTP id 2mr3811202oiz.80.1612903574974; Tue, 09 Feb 2021 12:46:14 -0800 (PST) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id j5sm795351oij.48.2021.02.09.12.46.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Feb 2021 12:46:13 -0800 (PST) Received: (nullmailer pid 146771 invoked by uid 1000); Tue, 09 Feb 2021 20:46:11 -0000 Date: Tue, 9 Feb 2021 14:46:11 -0600 From: Rob Herring To: Chunfeng Yun Cc: Matthias Brugger , Kishon Vijay Abraham I , Vinod Koul , Greg Kroah-Hartman , Chun-Kuang Hu , Philipp Zabel , Min Guo , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH next v3 02/16] dt-bindings: usb: mediatek: fix yamllint check warning Message-ID: <20210209204611.GA143456@robh.at.kernel.org> References: <20210201070016.41721-1-chunfeng.yun@mediatek.com> <20210201070016.41721-2-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210201070016.41721-2-chunfeng.yun@mediatek.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 01, 2021 at 03:00:02PM +0800, Chunfeng Yun wrote: > Fix warning: "too many spaces inside brackets" > > Signed-off-by: Chunfeng Yun > --- > v2~v3: no changes > --- > .../devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 2 +- > Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml | 6 +++--- > Documentation/devicetree/bindings/usb/mediatek,musb.yaml | 4 ++-- > 3 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml > index 38b1fe18aa79..a3817f3af59d 100644 > --- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml > +++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml > @@ -139,7 +139,7 @@ patternProperties: > description: The hard wired USB devices. > > dependencies: > - wakeup-source: [ 'mediatek,syscon-wakeup' ] > + wakeup-source: ['mediatek,syscon-wakeup'] We allow either 0 or 1 space, so this should be fine. Confused... > > required: > - compatible > diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml > index f5c04b9d2de9..66d78f534722 100644 > --- a/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml > +++ b/Documentation/devicetree/bindings/usb/mediatek,mtu3.yaml > @@ -172,9 +172,9 @@ patternProperties: > example if the host mode is enabled. > > dependencies: > - connector: [ 'usb-role-switch' ] > - port: [ 'usb-role-switch' ] > - wakeup-source: [ 'mediatek,syscon-wakeup' ] > + connector: ['usb-role-switch'] > + port: ['usb-role-switch'] > + wakeup-source: ['mediatek,syscon-wakeup'] > > required: > - compatible > diff --git a/Documentation/devicetree/bindings/usb/mediatek,musb.yaml b/Documentation/devicetree/bindings/usb/mediatek,musb.yaml > index 790efe8b6274..a515c9f30b96 100644 > --- a/Documentation/devicetree/bindings/usb/mediatek,musb.yaml > +++ b/Documentation/devicetree/bindings/usb/mediatek,musb.yaml > @@ -66,8 +66,8 @@ properties: > type: object > > dependencies: > - usb-role-switch: [ 'connector' ] > - connector: [ 'usb-role-switch' ] > + usb-role-switch: ['connector'] > + connector: ['usb-role-switch'] > > required: > - compatible > -- > 2.18.0