Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp573557ybz; Fri, 24 Apr 2020 05:42:01 -0700 (PDT) X-Google-Smtp-Source: APiQypJe9Zx68otl+id/sl2IH1Bd0+NaTFhkiMV8p/vFhYpHi4XErQ5A/dE5cOmcumRhx4u/RdmO X-Received: by 2002:a17:907:2098:: with SMTP id pv24mr7132367ejb.22.1587732121786; Fri, 24 Apr 2020 05:42:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587732121; cv=none; d=google.com; s=arc-20160816; b=T4MjdYRCvHOnpNiIh/pdl1N8hWfD0MdE5oF/GqP73O6u9tfAvYvkrujwTM8fMGqMs8 uuBmpzVaoNrW9Sr1R6Ntvj7FMKL63IzgA/r8y6+BR4CsGYmn82b01r7Fbe6liCHYxh0N zV5HWhNBk+FrHBQtDPVH5isWBZPLtNtfqzLaAq8X4GerwPF7znntlDkiIRArwQQItFpr kRh48cynOzRnBdliw9kwRw16ZfEGtkFKx7TloUzk6ghJsomUHNnk0gFPIKiOq3uzv7CB x6Oiv4fOMk+A0HFnBZkXwckRjW+TGjcJ5l6OPH+u6Ub5oNzse99avEYtmaGrvzmCpNqI xzgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=/5FhewZOjMa+L+2tqcMzJgPUq1JNbdQFqoKSCaQXbEM=; b=NdKJX9Q4pTdZsMIu9Nk805BoBLAvciInJoV567TFOdlJ9AYvM1rpREIYplnsyHVFjr eW99NmR5hDDj6JJF/DRsOBPeQW50o0Z6BG+KNpsz6OlhK7EqR7tTrgCAGRLcTwKNfSBL ne793q+3Y19CbljF+1FtdGdKUII2fx2+JktIbrBlAaR8hzWQ9kESTDErT+FNHimmSUud jhcCuSddO3qToGS4IToEU195AwUkSGWp3BGMxYk97/Fh5yEU8DnumLz9SZQx6zcbSfi7 5J59hK2gwbMwP0is6jFECs0dOWiLctbSkjsD284GsgencdQhh5HBs/QDulroujTEhFwK Qm3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=teIk66Jm; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r3si3001062edc.405.2020.04.24.05.41.38; Fri, 24 Apr 2020 05:42:01 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=teIk66Jm; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727046AbgDXMjf (ORCPT + 99 others); Fri, 24 Apr 2020 08:39:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726668AbgDXMjf (ORCPT ); Fri, 24 Apr 2020 08:39:35 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19320C09B045; Fri, 24 Apr 2020 05:39:35 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id g12so10512742wmh.3; Fri, 24 Apr 2020 05:39:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=/5FhewZOjMa+L+2tqcMzJgPUq1JNbdQFqoKSCaQXbEM=; b=teIk66JmO3IgWg1GspSg6VCLItxXTdO1u7eb8fUFMU1hNrcoBYZXDVZoLV6cPR1RMF Kv31jgC7+Q1/s/yQIy2NIpwJ59DdnE6U7NT6Y4kyOGlze/NKDXRptsRrBeFKR8xRbz5g glrUypL0KSIC7WPE1M6ct55WNR0c5Xt31WsWb75eFEBgstEfRymNxjm0e92XKYLn72YP yYcmw+lf3k92IBqkoaICC04Hb40kMPASXUwBBIeZAqw+k6hGmE8dGn94vUO+9/uk/+Gn Z5mJsfiT2cciloi5lMLEwBDP3dlkGN305mOnuo/C6bthykIkjf5IWmEYSYCuGJXxjPut fmHw== 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; bh=/5FhewZOjMa+L+2tqcMzJgPUq1JNbdQFqoKSCaQXbEM=; b=PioyfhNtE+rku3ur8NPYPPvAi+atCJiQkanWcqwCMTWKiFk9v95CXTtFjNoYoBz3D1 ym/aIgSZieOMU8K4oMbYfVPDi1m3NUP/RFE3gemZ9XQ2P/ifLjFQULQFKqtrzpJpOz9m o1qv7ao6G0z3QMp0sB7yjaYHQNwryF6JMA1w1xNReqbRsytJi34U3auYcI0CZOdTT8rw 6FLpwQnKewwh8Z1Dh56ywx6Ey1tp0eO+SnyoewoPIejxSfr23EVYvsN5cDDfxRBOMfs/ GHcqx9qRs3DGue4fXjsA+bwl/0YsIoUK2slbklC7spYC0b6s8pBnnlz0F4zVc2l+N3g+ qenQ== X-Gm-Message-State: AGi0PuZxSFWDnQCx4QRiLr0/DIxSwMSEi5ZsD3SPCAtN/uXiB2fRZwnj SsaLSCZwK9dzHoZfWT6a/Mc= X-Received: by 2002:a05:600c:210c:: with SMTP id u12mr10328859wml.135.1587731973727; Fri, 24 Apr 2020 05:39:33 -0700 (PDT) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id b12sm9136457wro.18.2020.04.24.05.39.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Apr 2020 05:39:33 -0700 (PDT) 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] ARM: dts: rockchip: fix pinctrl sub nodename for spi in rk322x.dtsi Date: Fri, 24 Apr 2020 14:39:23 +0200 Message-Id: <20200424123923.8192-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 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 gives these errors: arch/arm/boot/dts/rk3229-evb.dt.yaml: spi-0: '#address-cells' is a required property arch/arm/boot/dts/rk3229-evb.dt.yaml: spi-1: '#address-cells' is a required property arch/arm/boot/dts/rk3229-xms6.dt.yaml: spi-0: '#address-cells' is a required property arch/arm/boot/dts/rk3229-xms6.dt.yaml: spi-1: '#address-cells' is a required property The $nodename pattern for spi nodes is "^spi(@.*|-[0-9a-f])*$". To prevent warnings rename 'spi-0' and 'spi-1' pinctrl sub nodenames to 'spi0' and 'spi1' in 'rk322x.dtsi'. make ARCH=arm dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/spi/spi-controller.yaml Signed-off-by: Johan Jonker --- arch/arm/boot/dts/rk322x.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index 06172ebbf..e3b27da0a 100644 --- a/arch/arm/boot/dts/rk322x.dtsi +++ b/arch/arm/boot/dts/rk322x.dtsi @@ -1020,7 +1020,7 @@ }; }; - spi-0 { + spi0 { spi0_clk: spi0-clk { rockchip,pins = <0 RK_PB1 2 &pcfg_pull_up>; }; @@ -1038,7 +1038,7 @@ }; }; - spi-1 { + spi1 { spi1_clk: spi1-clk { rockchip,pins = <0 RK_PC7 2 &pcfg_pull_up>; }; -- 2.11.0