Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp877702pxx; Tue, 27 Oct 2020 02:46:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytP+eZTm1mTETJiBUBbJLedXwf6RdovrH8RCdtuSPf9dPLH3omEidpxHJQfZi/Ty+xWSwY X-Received: by 2002:a05:6402:14c1:: with SMTP id f1mr1352175edx.220.1603791989100; Tue, 27 Oct 2020 02:46:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603791989; cv=none; d=google.com; s=arc-20160816; b=Si4FnxxefVDBwxdc4Qgfy23WEBNfWydk6lqEAY8b0yksSM7Btv1l7Jnc/qBt+guNWC qZWDad3QpY3LUbt7z4/0szxidugIAa5q4L5ySOZsxEx2Hm6yrxqBJxeApz2OBtl1ZLEY 4F9KsTXKobyWrEE5ZXFG9w0+TZ8HI19uA5/ZSZOQq2Yq6WcLeftMNObH15lMLVEjbY3x 9qVn5wS5jm+xg5x/N10oLZf8i40yBq+kPcU55cm7Yq8AqSTf4gwlsra1c+nSTIE5n4Ac w5crK2MdRVI3ZPZ/49inPnAsdNJpEs6adeFtQ/wv7RtMFtIVSR5dPVG7dzUFElmY4uDj 3F5A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=U1ChN/2vE5RY9BRAB8BlnB3z4efaVDqtpArRQFDOC4A=; b=dhuwPNeosRSGlqNtEEjgDZIBAWiYdcu0VXBHyADY/jQ8uoD5CSKoainQFA7kW4s3dl o6lU8a1IFh2pTb8uqFf8e/cWl967GuFHEgO9GxJUIrNg65Bn3CRQFC528RQpn2yV0SHC vPP1Ng9wtF/gl65C4vYysC4kDIx7YKm9qB3acCJS+owfJsJIVsc8VxNQJHXAfE9WACNb eFv05kRz55jNRjVWWzP3XbA6RZfZSY0Y/eB6XDAFHizhA/JfDafuNZtGHVGRA0QFPiTX fb+qVlvKZyOk78pQ6A5LycQUqbl2eBfmRNZXXCrL3dFfRdOAyFDQf+v7PD+cdGxYtm1E iICw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FP1FA2IY; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i26si607893ejk.390.2020.10.27.02.46.04; Tue, 27 Oct 2020 02:46:29 -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=@kernel.org header.s=default header.b=FP1FA2IY; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2409654AbgJZXwM (ORCPT + 99 others); Mon, 26 Oct 2020 19:52:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:53298 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2409404AbgJZXvw (ORCPT ); Mon, 26 Oct 2020 19:51:52 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9B7BD20882; Mon, 26 Oct 2020 23:51:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603756311; bh=N0BVeFiAVWAn84bzGkJO2gZXy2BUUNVNqiDYYFADKHc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FP1FA2IYgBZu1e8wCAGhxWoirxiiVFSF4L9A7dp5hlRn5QTDYuSthKVCrtvVgSOGA 5RFwRvJClFBQy6wbSBcYqmX3mjxpvIcFc70uV5Wr6htRMmAFT5fZKjou74zfSWnW3d v1WM8XcmInKuvae57j/hKveBnCbdosqj9rsUUidc= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Krzysztof Kozlowski , Jonathan Bakker , Sasha Levin , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH AUTOSEL 5.9 135/147] ARM: dts: s5pv210: move fixed clocks under root node Date: Mon, 26 Oct 2020 19:48:53 -0400 Message-Id: <20201026234905.1022767-135-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201026234905.1022767-1-sashal@kernel.org> References: <20201026234905.1022767-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore 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 84e4447931de5..5c760a6d79557 100644 --- a/arch/arm/boot/dts/s5pv210.dtsi +++ b/arch/arm/boot/dts/s5pv210.dtsi @@ -52,34 +52,26 @@ cpu@0 { }; }; + 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.25.1