Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp552804pxb; Thu, 21 Jan 2021 13:44:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRAz3pFgtbGUcbTdH2wfgIA7kP5YQqL9N+kgv2FbGx3QKaoT/dNJOAX5MOiVDQWBUeSuL2 X-Received: by 2002:a17:906:fa85:: with SMTP id lt5mr983929ejb.344.1611265442884; Thu, 21 Jan 2021 13:44:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611265442; cv=none; d=google.com; s=arc-20160816; b=ZNnYzXND/dGht34Im12IQjDFxeDryrAJgyTxJQXBZf2XsaNiVtas4X72qY0qYzh5VG 0t5Nv7OdztH4W8DBhYf53V+j9ieINEO9A9FRRG5uaMt27oLrc8nvEz2QSvCLILMR/S5X 4yJrJxaMrguIUezvOcLwQb1xKTgRs+EVxVUpA52akJ04s5UNAllZuzVBLS9lT1RcFfhX 2pVvv5/c3eA/QIUnnSn6wZ64FTFJvBBKsw23C9sRl0/CyGGzUpnrbvmrvcy30R80scVo 3xm8LrScObrRM62bkr3CJ8Y2ZpssAoTMxInEO+rKRIBXioa6IpIrmtPS/VzNtCSs7gUF NYXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:subject:from:date; bh=c4OOCY3rGm/TsnDz1p7ViVp0KvoY6AgLrqxYTuXTh2k=; b=uebRKBH/kSc1b20DRF1T7UItf6q9AQz0gtF0rBgJKqkQ22owRR1oA75mCWf19KkMZt fRb2LvSbLjezH0squF6S/H6b5/QqTCCaEJGn7ZnC/gDVrJoYJYd5udeDF0VMWVzyVEJn XoaQEP2oJpas9pqsLoozyVfLCNSfU72nr82cmFUdnAVS7z2NVawj+CWOxmoFooddVqIH f3lmcbMtZmasS/gp4m6Wu3MSuQIHlaZ1NZ3aE+iQLVloZx1fH1svc+g5DS+3J/9d5HEh MiY1GUpdaIuCJgy4G+CrX0XrSKGx32Id4eTtrC8eMp9rTtN4+uXDfs+XEI7pXceh8To0 QuBA== 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=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gs8si2183858ejc.79.2021.01.21.13.43.38; Thu, 21 Jan 2021 13:44:02 -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=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727264AbhAUVlD convert rfc822-to-8bit (ORCPT + 99 others); Thu, 21 Jan 2021 16:41:03 -0500 Received: from aposti.net ([89.234.176.197]:48654 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726354AbhAUVgT (ORCPT ); Thu, 21 Jan 2021 16:36:19 -0500 Date: Thu, 21 Jan 2021 21:35:10 +0000 From: Paul Cercueil Subject: Re: [PATCH 1/2] dt-bindings/phy: ingenic: Add compatibles for JZ4760(B) SoCs To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , od@zcrc.me, Rob Herring , Kishon Vijay Abraham I Message-Id: In-Reply-To: <1611244918.513054.2814838.nullmailer@robh.at.kernel.org> References: <20210120115945.29046-1-paul@crapouillou.net> <1611244918.513054.2814838.nullmailer@robh.at.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, Le jeu. 21 janv. 2021 ? 10:01, Rob Herring a ?crit : > On Wed, 20 Jan 2021 11:59:44 +0000, Paul Cercueil wrote: >> Add the ingenic,jz4760-phy and ingenic,jz4760b-phy compatible >> strings, >> and make the ingenic,jz4770-phy compatible string require >> ingenic,jz4760-phy as a fallback, since both work the same, and the >> JZ4760 SoC is older. >> >> Signed-off-by: Paul Cercueil >> --- >> .../bindings/phy/ingenic,phy-usb.yaml | 22 >> ++++++++++++------- >> 1 file changed, 14 insertions(+), 8 deletions(-) >> > > My bot found errors running 'make dt_binding_check' on your patch: > > yamllint warnings/errors: > ./Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml:20:9: > [warning] wrong indentation: expected 10 but found 8 (indentation) > ./Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml:27:9: > [warning] wrong indentation: expected 10 but found 8 (indentation) > ./Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml:28:11: > [warning] wrong indentation: expected 12 but found 10 (indentation) I can reproduce, however the indentation in the DTS looks awfully correct to me. Could you tell me what it is doing wrong? Cheers, -Paul > dtschema/dtc warnings/errors: > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/clock/ingenic,cgu.example.dt.yaml: > clock-controller@10000000: usb-phy@3c:compatible: 'oneOf' conditional > failed, one must be fixed: > ['ingenic,jz4770-phy'] is too short > 'ingenic,jz4770-phy' is not one of ['ingenic,jz4760-phy', > 'ingenic,jz4775-phy', 'ingenic,jz4780-phy', 'ingenic,x1000-phy', > 'ingenic,x1830-phy', 'ingenic,x2000-phy'] > From schema: > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/clock/ingenic,cgu.yaml > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/clock/ingenic,cgu.example.dt.yaml: > usb-phy@3c: compatible: 'oneOf' conditional failed, one must be fixed: > ['ingenic,jz4770-phy'] is too short > 'ingenic,jz4770-phy' is not one of ['ingenic,jz4760-phy', > 'ingenic,jz4775-phy', 'ingenic,jz4780-phy', 'ingenic,x1000-phy', > 'ingenic,x1830-phy', 'ingenic,x2000-phy'] > From schema: > /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/phy/ingenic,phy-usb.yaml > > See https://patchwork.ozlabs.org/patch/1429154 > > This check can fail if there are any dependencies. The base for a > patch > series is generally the most recent rc1. > > If you already ran 'make dt_binding_check' and didn't see the above > error(s), then make sure 'yamllint' is installed and dt-schema is up > to > date: > > pip3 install dtschema --upgrade > > Please check and re-submit. >