Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp597105ybh; Sat, 7 Mar 2020 05:49:25 -0800 (PST) X-Google-Smtp-Source: ADFU+vtiDE59q+8j7saN537UDAntPdIgD1zvU7KmM8PO7tjDEaeYpXRgm2tzOtrnt+gtspiiX3KN X-Received: by 2002:aca:5c46:: with SMTP id q67mr5910058oib.75.1583588965731; Sat, 07 Mar 2020 05:49:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583588965; cv=none; d=google.com; s=arc-20160816; b=nmzn49FsS+aCZLAHvYBGFeeNjDU6qUd8lqU08yxCkmnCOREvj/X7rjSEtB8lAASENT sJrvnMfB6dslJQuDW6woyZUDX2HfnTNaBagVC3TNGfgxY8TekXgMa2U4vfVUYKCxBDZZ D+wnIjZzoqh1WVzo0Dx3jiY139rOqyPPzpnclPFwLiM+amVCgXcP+l/hvXoOemKdvtty Z4F5AhfP5BFBmvJISXnJIs4Co9UseW0VjCLHrIwyxNU2xkMgoFWwH0KIefE+qNSOMXE/ 8nRD4BVKStAErpXySwDNAAJEDwxCjytNTzHkdmmGjDbSb/3RdMboJNXeFYQTiuOAtGk8 /LVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=2imEdS/PBWfabOn+dN51LVNZ4eyxGJ7p2pvJGQCDbMA=; b=yyyfv3zMqOMKBp63ESDA+lj2Zet9ZiFpd7g0v7Lco5omwOrt9/pSQIXpuN7rJtnWFu 3N9s83JOScHtNX/Xy3Fg8aeF36howSDCvPfx4je3oPXoVKJqnnCY2xe7oW9skNBJT+Pt CqjyealINe1+WpQ4c2iN3abfDgYWnGNDkym9LmoipgQA2f5FcC7VE+KaqtNeGwKyA9RP Qs0iHZSzU/MXLkIhHpSeWsD7C6+cm7WyimHR+7fPaxYb7/z7yZ7q+c7ya0sgldbX8peB JayzF4SmEBTlp9rhrnkrz6znWOg4GZRB+kLvBcwWTTSyEBiLHIMd0HJb0vPgwtAOGN9j 9dIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Zq0bI2jE; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i11si1231751oik.15.2020.03.07.05.49.14; Sat, 07 Mar 2020 05:49:25 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=Zq0bI2jE; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726318AbgCGNsw (ORCPT + 99 others); Sat, 7 Mar 2020 08:48:52 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:40040 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726266AbgCGNsv (ORCPT ); Sat, 7 Mar 2020 08:48:51 -0500 Received: by mail-wm1-f68.google.com with SMTP id e26so5241717wme.5; Sat, 07 Mar 2020 05:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2imEdS/PBWfabOn+dN51LVNZ4eyxGJ7p2pvJGQCDbMA=; b=Zq0bI2jEf9UR4l3dw4/5Q20mWx9OFcm4BXeRZihBnHD77OfRm41Te+m7y0b3E3wYk/ OW9F+mRGvUT4/yHOWoOTXtzcWqaHYuCQL63AYI+wJhPTdn39ROdOP6oezU8c4g1wX0jP 32O33kibj9C6ND4j4Lw0ZJWiQ96pCUmfsSCDy6A8UjORaRnVto9vAHJzriQCpabDNW2n +4UhR1aXzOoc8E4g2ymLuOBwO/mYavCGa0lwGxexZHcfePDNh3E6NGaEk/sJoCmfv09G Om2iD1R39JblW6s5FVs+hbRTjFcv/eXhUjmdsF1PD8j4chZMPOMsaDRrXS7TozTHSGsy m+kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2imEdS/PBWfabOn+dN51LVNZ4eyxGJ7p2pvJGQCDbMA=; b=kolG+VGmpnFt40QpNg+8UBgQE0Gz+IZQhp2e+JVPR0WbzOWqILSg2I9+Db0bAZEsQ4 3HcUGP+w2IU7qVYG10mHYIJl9R8mr5SiFQiokbVhEgB+O7jjVm9MJRbVgQlzYkvSaNUf iBai0Pdbdx0crjptUF+wN/suHYp8g97b0BmY1mJk5uhgVYHJd7TrnuNbIt+ND4vjPhey c9dR+HioD/pN83YBX8nZ0KF48teJTCbLGSZzgxzYrRbmfjtl3mU/CsT/Z+QlWzhfi/Tp s0r/GKUYhQKKnaFCQ0av5ddgsBOEbf1jwtru7vUKDgUCS3K++PAv+ARBqU2fW9Gc7Gyg 9Lkw== X-Gm-Message-State: ANhLgQ1DUwcQcvSrhNfN+Rxnd0HcvVj2Ui4m++zM8HQ8/e3VV4tUsSkq /Na1Rwv7n0yaPCVyzBKvYvY= X-Received: by 2002:a05:600c:290e:: with SMTP id i14mr10103753wmd.139.1583588929397; Sat, 07 Mar 2020 05:48:49 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id 9sm11767265wmx.32.2020.03.07.05.48.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Mar 2020 05:48:49 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/5] ARM: dts: rockchip: fix rockchip,default-sample-phase property names Date: Sat, 7 Mar 2020 14:48:38 +0100 Message-Id: <20200307134841.13803-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200307134841.13803-1-jbx6244@gmail.com> References: <20200307134841.13803-1-jbx6244@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 rockchip-dw-mshc.yaml, synopsys-dw-mshc-common.yaml and mmc-controller.yaml it gives for example this error: arch/arm/boot/dts/rk3036-evb.dt.yaml: mmc@1021c000: 'default-sample-phase' 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]+' 'default-sample-phase' is not a valid property name for mmc nodes. Fix this error by renaming it to 'rockchip,default-sample-phase'. make ARCH=arm dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk3036-kylin.dts | 2 +- arch/arm/boot/dts/rk3036.dtsi | 2 +- arch/arm/boot/dts/rk322x.dtsi | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/rk3036-kylin.dts b/arch/arm/boot/dts/rk3036-kylin.dts index fb3cf005c..2ff9f152d 100644 --- a/arch/arm/boot/dts/rk3036-kylin.dts +++ b/arch/arm/boot/dts/rk3036-kylin.dts @@ -319,7 +319,7 @@ bus-width = <4>; cap-sd-highspeed; cap-sdio-irq; - default-sample-phase = <90>; + rockchip,default-sample-phase = <90>; keep-power-in-suspend; mmc-pwrseq = <&sdio_pwrseq>; non-removable; diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi index c28d293df..2226f0d70 100644 --- a/arch/arm/boot/dts/rk3036.dtsi +++ b/arch/arm/boot/dts/rk3036.dtsi @@ -263,7 +263,7 @@ clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; - default-sample-phase = <158>; + rockchip,default-sample-phase = <158>; disable-wp; dmas = <&pdma 12>; dma-names = "rx-tx"; diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index b98579035..8ad44213f 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b/arch/arm/boot/dts/rk322x.dtsi @@ -698,7 +698,7 @@ <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; bus-width = <8>; - default-sample-phase = <158>; + rockchip,default-sample-phase = <158>; fifo-depth = <0x100>; pinctrl-names = "default"; pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; -- 2.11.0