Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp507407ybh; Thu, 12 Mar 2020 06:11:09 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv4aotv6YqkvE7Oeq26+PdbmaQJjBYO1gzGYVsUSrRCJnY5bFOi1MZv+pArGCmaiFgNhz8O X-Received: by 2002:aca:4142:: with SMTP id o63mr2431701oia.118.1584018669466; Thu, 12 Mar 2020 06:11:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584018669; cv=none; d=google.com; s=arc-20160816; b=YulAUfrWTiXlbLZiH/UURfKwDKtojvz0JDE8BaaQ5fPaUiOnkWqPpLHzfdrY89GjB7 pu4WCEXvhCDllKoNAVvygG8GMB1QLSmw3V0CtaA+4vptlJ6lsQ5QqMA8AQWWsCaCK0Ir Ya/D5bfYEgSRIocsVY5/rI4IglcQgEZSp1SoOVb/3iqD+KghqkEToudGE6RDtFcQ+p7H mG4nbTJ5xtcAHkMbN0XQSHLfLdqnonaHkyP5p5LkOr4UIM7MxzIXRshxeECtrLze4p9+ /qHgjA5iMQm9K9BNT8xi1z0WMcfXzZkCCZNj9C2CZrNHIQizQteQvwF+DGV76UQuowLy unsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=c/71/1S9FFPBZLngXcn7eOGZxEYwsgQn+LiJXaTEkt8=; b=iaFbbMPFdBm+GYIH+3Ipxcp67dZkel8VewJKhPV8pOnuDky9vnb5zmiBIxcgWZEKFa AwKtYUpSSNFkiR3x0C7XMYSFTF5sVaTF8js3MRtJWwCi2RureiyZuzwK2BbFH0nczjkf YEUpiPoF4EQozykDVtVsC+YJHgPioS8SradKFetl33nghPNPBGFRsb4Fh2dJ/ytsIad6 XqPD3MH3xQX036sbEyihZSFqw9Z94Adn9ELUU4GrOAEMnyLUWPtJBML9kiGNcfe5AZFC 0/IBMROI7pkZjpu6Fo/aE5qF3dcx8iY4naTxXWSrDfNOGHMAVvxJRkmO9s0z1CSdsDp9 pZuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=piJo3Qvo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y123si992821oia.141.2020.03.12.06.10.56; Thu, 12 Mar 2020 06:11:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=piJo3Qvo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727308AbgCLNI7 (ORCPT + 99 others); Thu, 12 Mar 2020 09:08:59 -0400 Received: from mail-vs1-f68.google.com ([209.85.217.68]:44146 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727268AbgCLNI6 (ORCPT ); Thu, 12 Mar 2020 09:08:58 -0400 Received: by mail-vs1-f68.google.com with SMTP id u24so3597465vso.11 for ; Thu, 12 Mar 2020 06:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=c/71/1S9FFPBZLngXcn7eOGZxEYwsgQn+LiJXaTEkt8=; b=piJo3Qvo8x1s8VTBvAp8jS5t4o5VQEuBs+lWQCHYrxpJbtweH35oefXEg9GnzRQtdz 61TRYLXGKrksVOp7wxdDFIZl5QZ824OocSJHbPk7P8hZ70jpr88EaUGavwPNoL4Dn36K Nl5oXBejzLR1jLeDJKzYb6ixDcAWzPP7oWG8OeFjKk4/PM28R2Me2D0Tsq7x8rhewXrt r9U/8MqANn4Ec6qJ2Rhiv85PM01uXdt4/JzUZZopZGKv0JxfViBO1WHel4O7GIJWC1qc CC+Rw5K2v3jnnd/eFLnzoQo/ZNl/T0nWcHZQA9pE0ttsgYASG3J1iRFvKPj7l5rZ/lPs Rsiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c/71/1S9FFPBZLngXcn7eOGZxEYwsgQn+LiJXaTEkt8=; b=N8ufiusFBtcRhgXgH7TD9zP+UcwdJqmtL1tippmkGmTYWXBDLX5TFGvqJev4WaP6PG B1d15Cxu4+kOVhmqtX9EK+mu2u4cn7kUka/v1FYqsgAiVKcJc6/X1Sr+ac++U/e51zy1 ktakIE8vxO1wHRYK87i4PAMhFS8+75umvcpSVpkJ2arhKL8uwqad0Dcsrj66kQVN6BgW UmEsi6fsO6+yWEN6W4TuzD6QXxK3WmaQvxN5D8MbuWa0LfhNm0hcij86XND2AbOq5YXE jYprbZCqUHDbHY2HPm7tIcL27pQVMQzea5+aiyWQ72U7/S9lo4M6RkvH716NU2ui1/ri j5+Q== X-Gm-Message-State: ANhLgQ0DXCof6D19xg79qiptDhRu+OTsZFLolzCAt+YY3kW9+imOVc6Y FYTOuTndHILU+Dtr04mvJRnGflT4Mju3yAFXa3Rdvg== X-Received: by 2002:a05:6102:2051:: with SMTP id q17mr5487529vsr.165.1584018537836; Thu, 12 Mar 2020 06:08:57 -0700 (PDT) MIME-Version: 1.0 References: <20200307160556.16226-1-jbx6244@gmail.com> In-Reply-To: <20200307160556.16226-1-jbx6244@gmail.com> From: Ulf Hansson Date: Thu, 12 Mar 2020 14:08:21 +0100 Message-ID: Subject: Re: [PATCH v1] dt-bindings: mmc: synopsys-dw-mshc: fix clock-freq-min-max in example To: Johan Jonker Cc: Heiko Stuebner , Rob Herring , "linux-mmc@vger.kernel.org" , DTML , Linux ARM , "open list:ARM/Rockchip SoC..." , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 7 Mar 2020 at 17:06, Johan Jonker wrote: > > A test with the command below does not detect all errors > in combination with 'additionalProperties: false' and > allOf: > - $ref: "synopsys-dw-mshc-common.yaml#" > allOf: > - $ref: "mmc-controller.yaml#" > > 'additionalProperties' applies to all properties that are not > accounted-for by 'properties' or 'patternProperties' in > the immediate schema. > > First when we combine synopsys-dw-mshc.yaml, > synopsys-dw-mshc-common.yaml and mmc-controller.yaml it gives > this error: > > Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.example.dt.yaml: > mmc@12200000: 'clock-freq-min-max' does not match any of the regexes: > '^.*@[0-9]+$', '^clk-phase-(legacy|sd-hs|mmc-(hs|hs[24]00|ddr52)| > uhs-(sdr(12|25|50|104)|ddr50))$', 'pinctrl-[0-9]+' > > 'clock-freq-min-max' is deprecated, so replace it by 'max-frequency'. > > make ARCH=arm dt_binding_check > DT_SCHEMA_FILES=Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml > > Signed-off-by: Johan Jonker Applied for next, thanks! Kind regards Uffe > --- > Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml > index 05f9f36dc..dd2c1b147 100644 > --- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml > +++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml > @@ -62,7 +62,7 @@ examples: > cap-mmc-highspeed; > cap-sd-highspeed; > card-detect-delay = <200>; > - clock-freq-min-max = <400000 200000000>; > + max-frequency = <200000000>; > clock-frequency = <400000000>; > data-addr = <0x200>; > fifo-depth = <0x80>; > -- > 2.11.0 >