Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2380538ybf; Mon, 2 Mar 2020 07:31:38 -0800 (PST) X-Google-Smtp-Source: ADFU+vv/e4hPmLgX+H86PNKttZkk5/NCg6g7m7Sh33JrIely6SPWRl6VeUjp1d/B49zBQEIHcNIo X-Received: by 2002:a05:6808:301:: with SMTP id i1mr34512oie.19.1583163098521; Mon, 02 Mar 2020 07:31:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583163098; cv=none; d=google.com; s=arc-20160816; b=Em7hIoT2ujscPUon4NbcVu7z+tNX8Ncq24aR/gvZq2voLczDYmKMvbugbuBtO01xEx vdFlSQF0wlIShSXsjsQ91ljdC37b0U7ml/x8lG45SZj1D/wZKYpFAGxk0x+v0y06Qutc 4C00I/xuSViJxv7VRC11SQzQ0nTtNWIgi7d1WbNdeFoownIyhaQohqwGY3qSzF3rra/j XGl2wy4P9LOiZCqYzNkEq2N6gagtKgtnvd3JRwStQgqY03IDBMKglvkrtdNyXBEBmxpz LU39bnShqNrT57wfWqeQsHAp8xtOF9UaOYm/zliZRC4eV2yIFwTXjOT9vSyJS8oV7S+1 8KGg== 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=eFDMzvNJhb9C/gjmO5CDDLNllKw2BwatUidg0r9OWqc=; b=EJwPGwC3c6HJuWuIeAKKQa4dgHOWtzhaLvOkiCc/T8z3xlpw7koVhthwHWIN4skBVD t3TB6BtRnYKMvgfzMHfjERBrVKsRAtt9GSnl011a4e+K02QyuzL81C5/jBa83lcLSlUr rdZ4fFjgm+4PmoAr4k9SjMzWlkc3p69ZMwrMVCk63fK4jtpkxArTNiZwS2HnydgaUUhC M9S6Yb1PtvZcKZcPLeUZXYodkUfo/+uegHHj7VEle+haVa4tFYIO1chwNTWU77F8Qe6G bHw1q3jRygRBhNw1pC+eS7KR5cvnto1D91f24yMCqokKdGGyYg3a/oQDrg5p+mQYJ+63 SIBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NSQIFwJD; 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 o20si6516191ota.17.2020.03.02.07.31.25; Mon, 02 Mar 2020 07:31:38 -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=NSQIFwJD; 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 S1727093AbgCBPbH (ORCPT + 99 others); Mon, 2 Mar 2020 10:31:07 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:38682 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726751AbgCBPbF (ORCPT ); Mon, 2 Mar 2020 10:31:05 -0500 Received: by mail-wr1-f68.google.com with SMTP id t11so193562wrw.5; Mon, 02 Mar 2020 07:31:04 -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=eFDMzvNJhb9C/gjmO5CDDLNllKw2BwatUidg0r9OWqc=; b=NSQIFwJD1hXMDRKHfbPuIpu/mXLa55KLrT5j9PkX2LU2p6fhyD5ya9mMjqqi9hYXns ojy+Xua5CGm/m0RBQPSaq2h6039qAft3JpLhUHEFvmilxIJM7zps6og557U91v93+M/S lYz1C1YMUA8gKmbKd5PDDp3nHPW1kJbvQ/Rvsj2NwajiE5d/5dgwslqDIJ+QV+ubL921 e+kmE0tuiwM4jTR2vUUVzi3J9iWRp4xpFRhiGTgKquBIqWqb2PGCj5L+xNvLw+K32d/C xvSrsD/d3RvqeiYWxUDCMW8XtKGORklwjwOIbe3l6XJ3F1dDSyoeUEP3x7jAPBEL0DPy V4YA== 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=eFDMzvNJhb9C/gjmO5CDDLNllKw2BwatUidg0r9OWqc=; b=ZF3ZhB65LRZSRkJbjZBs/XU50hPrw5AovugVsyM5l828UfH6AQUDYtK7UMV4iO4tXJ aF4OkdsbxwRe5MmOY5N2YaJ7j3MN/Jxd8b8Sn2HEMStfKkKqDsPoyDNCeOjmrMot7VB5 swsA9npbdpd9NpqPvz+MjhsxLKuXpJrpoho7wB0XkAJI+xO0QcLdz0cTz92v2OzEPyOX g2xyq67xL+eM7GSP0CKbWftdsdjS2YWDTp8tthJfb69bHU70wtspZjTtqKxJJorm34rq CSkpATcCWwLQdpkiWC2lNk3la6kJ3vSXxlYUJQHDXZDoXnlsYyzKikM6vAXy3Vvc5JSh DSqw== X-Gm-Message-State: ANhLgQ1rWBQNkITB1+/u3ZOZfxkei/vtE8EWJS9Q9umGNclC39bY+5mU 1c3XSF0Q97hQTDenNiCUm/I= X-Received: by 2002:adf:dfcc:: with SMTP id q12mr140710wrn.171.1583163063985; Mon, 02 Mar 2020 07:31:03 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id g7sm23967540wrm.72.2020.03.02.07.31.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Mar 2020 07:31:03 -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 2/2] arm64: dts: add bus to rockchip amba nodenames Date: Mon, 2 Mar 2020 16:30:47 +0100 Message-Id: <20200302153047.17101-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20200302153047.17101-1-jbx6244@gmail.com> References: <20200302153047.17101-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 gives for example this error: arch/arm64/boot/dts/rockchip/rk3399-evb.dt.yaml: amba: $nodename:0: 'amba' does not match '^(bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' AMBA is a open standard for the connection and management of functional blocks in a SoC. It's compatible with 'simple-bus', so fix this error by adding 'bus' to all Rockchip 'amba' nodes. make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/ schemas/simple-bus.yaml Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/px30.dtsi | 2 +- arch/arm64/boot/dts/rockchip/rk3308.dtsi | 2 +- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 2 +- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 2 +- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index 4f484119f..215515ccb 100644 --- a/arch/arm64/boot/dts/rockchip/px30.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30.dtsi @@ -700,7 +700,7 @@ clock-names = "pclk", "timer"; }; - amba { + amba: bus { compatible = "simple-bus"; #address-cells = <2>; #size-cells = <2>; diff --git a/arch/arm64/boot/dts/rockchip/rk3308.dtsi b/arch/arm64/boot/dts/rockchip/rk3308.dtsi index 3bd5bc860..ac43bc3f7 100644 --- a/arch/arm64/boot/dts/rockchip/rk3308.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3308.dtsi @@ -513,7 +513,7 @@ status = "disabled"; }; - amba { + amba: bus { compatible = "simple-bus"; #address-cells = <2>; #size-cells = <2>; diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index bad41bc6f..d9490f417 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -142,7 +142,7 @@ }; }; - amba { + amba: bus { compatible = "simple-bus"; #address-cells = <2>; #size-cells = <2>; diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index a0df61c61..2079e877a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi @@ -136,7 +136,7 @@ }; }; - amba { + amba: bus { compatible = "simple-bus"; #address-cells = <2>; #size-cells = <2>; diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 33cc21fcf..63355ba7c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -197,7 +197,7 @@ #clock-cells = <0>; }; - amba { + amba: bus { compatible = "simple-bus"; #address-cells = <2>; #size-cells = <2>; -- 2.11.0