Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp828673pxb; Tue, 3 Nov 2020 13:43:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDvxFr2wTUFEekhoq/0y1lKRLnhzlvlOhZ+MZYikib4O9wlpp72juJpilR6eN4qNsxzfhc X-Received: by 2002:a17:907:250b:: with SMTP id y11mr7549813ejl.21.1604439829188; Tue, 03 Nov 2020 13:43:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604439829; cv=none; d=google.com; s=arc-20160816; b=GKDW9PYdB56MnrIStBV1bhrXHzk4MnMQoTa9qgi/YUSVeYPmBG5bLQV5lHq98PRTth 8S25LDDupKMOb8LCNldahepCf4mkMKY0LOB+DRy7OXuOzWoCQgoRCLiWc4hzA1Hom/zl /sXu6Rgt0DG6na1+zr7s3kE31WQFEEnXvXap695tBiWY5s6CDZP4XlApMa2KActkyNuj WsNNUzHdBG7KUJKsJzF4HW8emdanYmZzHpK4qCFXDm0ulKxIzmtDvJLgg6IvrDxHlImh 13Ho6vt/fhU9AGlnPrRfGWZv/JFR0b5PbAqpuYUD1Mi2lPf/i8L62odt4dul3REwShCI DsTA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8vWY+QrPbdar8IA4to+KQhX49aX35tgzuTW679um2mE=; b=h6FNlG1r+ke54oXxbhq54BVzrU3+YJnats/0V97BXqOLvPusUS1ZH1JJTn85KH64UQ L/wJLyw9wBprmhKoZWoaq9pkDcXvEr70UmbEbIIzKKpuheePhXBLLeDazOrBhRORMFGh s5Z8fP7h1kfJ6b8c7rdjBKso+ebfPYNX/FKnZRNrK5xX7ar0GIL3cx1Hw9pJlLXDGRue tE61eaga6zQlJmn3ms15KSUMsk4Rrg1TOwdd9Glsby7W2a6o5+EnTq8a2uBOh+jNBDkZ UjmgPFjt17XWCRpvTiZHIPYCpr2T5V7rQ7CFwFA92oj+jY3lqLeTYmU8d6r+eLjCH5jf yi6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RtuoSxi8; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ga34si6375ejc.296.2020.11.03.13.43.26; Tue, 03 Nov 2020 13:43:49 -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; dkim=pass header.i=@kernel.org header.s=default header.b=RtuoSxi8; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732856AbgKCVlX (ORCPT + 99 others); Tue, 3 Nov 2020 16:41:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:57534 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732455AbgKCU4I (ORCPT ); Tue, 3 Nov 2020 15:56:08 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 57A0C223AC; Tue, 3 Nov 2020 20:56:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604436967; bh=Ox6EAYXddyowK9vq1ujPy0x+HFrAmMft5NObU/+yisA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RtuoSxi8T486O9K3P7RzUDpkLE5wPFEL85eN/yX4LjvREoCxRVVyI3svNfWIo4RQb GxcACztm/7No9eGJvefCvj2yEmveqHc/9icnvRuQxPw0Ny0acTXk0WDrq3jW2um/Al K3mNKHIq0AlWQY4BfULPQJdMXmmSURqayZ4lCIyU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Krzysztof Kozlowski , Jonathan Bakker , Sasha Levin Subject: [PATCH 5.4 090/214] ARM: dts: s5pv210: move fixed clocks under root node Date: Tue, 3 Nov 2020 21:35:38 +0100 Message-Id: <20201103203258.863307363@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201103203249.448706377@linuxfoundation.org> References: <20201103203249.448706377@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Krzysztof Kozlowski [ Upstream commit d38cae370e5f2094cbc38db3082b8e9509ae52ce ] The fixed clocks are kept under dedicated 'external-clocks' node, thus a fake 'reg' was added. This is not correct with dtschema as fixed-clock binding does not have a 'reg' property. Moving fixed clocks out of 'soc' to root node fixes multiple dtbs_check warnings: external-clocks: $nodename:0: 'external-clocks' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' external-clocks: #size-cells:0:0: 0 is not one of [1, 2] external-clocks: oscillator@0:reg:0: [0] is too short external-clocks: oscillator@1:reg:0: [1] is too short external-clocks: 'ranges' is a required property oscillator@0: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Tested-by: Jonathan Bakker Link: https://lore.kernel.org/r/20200907161141.31034-7-krzk@kernel.org Signed-off-by: Sasha Levin --- arch/arm/boot/dts/s5pv210.dtsi | 36 +++++++++++++--------------------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/arch/arm/boot/dts/s5pv210.dtsi b/arch/arm/boot/dts/s5pv210.dtsi index 8b194da334a5c..ec41e46edaced 100644 --- a/arch/arm/boot/dts/s5pv210.dtsi +++ b/arch/arm/boot/dts/s5pv210.dtsi @@ -52,34 +52,26 @@ }; }; + xxti: oscillator-0 { + compatible = "fixed-clock"; + clock-frequency = <0>; + clock-output-names = "xxti"; + #clock-cells = <0>; + }; + + xusbxti: oscillator-1 { + compatible = "fixed-clock"; + clock-frequency = <0>; + clock-output-names = "xusbxti"; + #clock-cells = <0>; + }; + soc { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; ranges; - external-clocks { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; - - xxti: oscillator@0 { - compatible = "fixed-clock"; - reg = <0>; - clock-frequency = <0>; - clock-output-names = "xxti"; - #clock-cells = <0>; - }; - - xusbxti: oscillator@1 { - compatible = "fixed-clock"; - reg = <1>; - clock-frequency = <0>; - clock-output-names = "xusbxti"; - #clock-cells = <0>; - }; - }; - onenand: onenand@b0600000 { compatible = "samsung,s5pv210-onenand"; reg = <0xb0600000 0x2000>, -- 2.27.0