From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA4E4C43461 for ; Mon, 7 Sep 2020 18:34:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A3FD62151B for ; Mon, 7 Sep 2020 18:34:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599503680; bh=aQvOCcr2/nrUtLFCXsNJLkhtg6Vd8Fnea7yFSAGO7IM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=h1sq9OXI8HYnlTONstHKzPysdom3mIIsr0Trw9kXuMh35Na1goYaGD/cqN54KgoLt 1JD0CoNf5ajfKz82qWhvFknvuaSWLHKY+wv5YVTdlP5Vqw/bJy+Sqc82fgukwISfmT A1UbELnGpmcvHyLXU7RNLTYk5+2jy4KjQX72mJzQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729289AbgIGSej (ORCPT ); Mon, 7 Sep 2020 14:34:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:41002 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729242AbgIGSde (ORCPT ); Mon, 7 Sep 2020 14:33:34 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.174]) (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 71B192145D; Mon, 7 Sep 2020 18:33:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599503613; bh=aQvOCcr2/nrUtLFCXsNJLkhtg6Vd8Fnea7yFSAGO7IM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k5E415UM7eUYppcTZ8bFs5wZnmrzcJ8Gup41HWUjmKLSutscnaxmnhW4fvrdfhvHi nrgiFJL5vTLtsgwgoCxGl1jBcLBsb8V5TNemY9SLGt5XjC3HxFTlJ37suecf4nz2dj TZvbYwxaypnnIn9uMO6xz+ckVW0Mysu9vg0rbLBA= From: Krzysztof Kozlowski To: Kukjin Kim , Krzysztof Kozlowski , Rob Herring , Lihua Yao , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski , Bartlomiej Zolnierkiewicz , Sylwester Nawrocki , Tomasz Figa Subject: [PATCH 03/11] ARM: dts: s3c6410: move fixed clocks under root node in SMDK6410 Date: Mon, 7 Sep 2020 20:33:05 +0200 Message-Id: <20200907183313.29234-4-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907183313.29234-1-krzk@kernel.org> References: <20200907183313.29234-1-krzk@kernel.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The fixed clocks are kept under dedicated 'clocks' node but this causes multiple dtschema warnings: clocks: $nodename:0: 'clocks' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' clocks: #size-cells:0:0: 0 is not one of [1, 2] clocks: oscillator@0:reg:0: [0] is too short clocks: oscillator@1:reg:0: [1] is too short clocks: 'ranges' is a required property oscillator@0: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/s3c6410-smdk6410.dts | 30 ++++++++++---------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/arch/arm/boot/dts/s3c6410-smdk6410.dts b/arch/arm/boot/dts/s3c6410-smdk6410.dts index 96267f5f02a8..74379061a11a 100644 --- a/arch/arm/boot/dts/s3c6410-smdk6410.dts +++ b/arch/arm/boot/dts/s3c6410-smdk6410.dts @@ -28,26 +28,18 @@ bootargs = "console=ttySAC0,115200n8 earlyprintk rootwait root=/dev/mmcblk0p1"; }; - clocks { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; - - fin_pll: oscillator@0 { - compatible = "fixed-clock"; - reg = <0>; - clock-frequency = <12000000>; - clock-output-names = "fin_pll"; - #clock-cells = <0>; - }; + fin_pll: oscillator-0 { + compatible = "fixed-clock"; + clock-frequency = <12000000>; + clock-output-names = "fin_pll"; + #clock-cells = <0>; + }; - xusbxti: oscillator@1 { - compatible = "fixed-clock"; - reg = <1>; - clock-output-names = "xusbxti"; - clock-frequency = <48000000>; - #clock-cells = <0>; - }; + xusbxti: oscillator-1 { + compatible = "fixed-clock"; + clock-output-names = "xusbxti"; + clock-frequency = <48000000>; + #clock-cells = <0>; }; srom-cs1@18000000 { -- 2.17.1