From patchwork Sat Jun 1 10:45:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 165569 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp1970222ili; Sat, 1 Jun 2019 03:46:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqwiGBvZPCB3/k9i3gyl9kTAkvf5sL3GtqEbBI1dGGeprnZxOAhfAckfJlqyANPb9AGNqCfP X-Received: by 2002:a17:902:f082:: with SMTP id go2mr15595528plb.279.1559385999169; Sat, 01 Jun 2019 03:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559385999; cv=none; d=google.com; s=arc-20160816; b=zp3DELQuKEN/FAcxF0K9cVc5y33YqEhE+kpA5gdkHu1PhP9v+kbzP8sl6DawMHJyMs JgSdr+6wkdOjPz1BJ/c5ABUsyrN0mNQg3LOgKREJ5zswO17HYOJab8pmOykyRGr81ABT Oj+/44oGIMg34F6DkMyYf9vHUGbAtdMUcv9HWsN6/+xZv1Fg61aJfVqu5eWR5rQ4JzGn vu2Kt3GI8dZrHS3BJh4qdHryvswMmypAoHU6KpQw/ljqXVkvcBmk3LcJ0nkgHywRyHR+ +NzhYfQRZAJvLz2GmViCO967aeSwCjLck0G8WCqHvE6yVrGYJ6X2ALbXZw2JkOTtWPN8 Asqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Z3348jTxSQPyURwc46vrJOUi9hMLdEHin3sWtU/Y7iY=; b=eMatHIrTbnAxrSCLYtN5OYFuDXcHlgOFuFXDWg90CgneFhFctzgRCW9lW1R1/tHtXh gJmznsFS+8NzBjjnL69UR9cWyfxmrK0BzENln8uo1z4/RoZjeHTKWIm70YIIJNrAOstv wVNdNRC+MDvpygFno6QxbI3kkF/4OGGNt9y3uPIih6FH2bwOxwmpmTCMlUpi2gpfvFGg fxWU17Iwz7/DUI7ioG4KFVU7VT9SnTM9Ggce0C6n9visTAt8wd4KfFZ4I1umy2mES5pJ cwI7MHCo/6VabemEnSjHYbdiiwVVeb/uyAjOlmPcDkgcb9ywwKGqMKxtlfKyrSUpH96Z ev/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=c5zXDeuW; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15si9343397pgk.227.2019.06.01.03.46.38; Sat, 01 Jun 2019 03:46:39 -0700 (PDT) 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=@ti.com header.s=ti-com-17Q1 header.b=c5zXDeuW; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727331AbfFAKqh (ORCPT + 30 others); Sat, 1 Jun 2019 06:46:37 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:36336 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbfFAKqe (ORCPT ); Sat, 1 Jun 2019 06:46:34 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x51AkLOd092075; Sat, 1 Jun 2019 05:46:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559385981; bh=Z3348jTxSQPyURwc46vrJOUi9hMLdEHin3sWtU/Y7iY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=c5zXDeuWj1HgCV3eSHncr2UCDRotKVZJPwmkjAbv6KppEe3wmUWZAmARuSzy1ME05 uJFEtAfikKZN4uvhphZXeVziN6Ic2ffrzbxaaMCJitSIXZhCa8GWzhFotEZIxpJyZl xhEEMJ1J+0msgPmVGT2jsSfGrAb8u0e7k9+wSfAI= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x51AkKfb023307 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 1 Jun 2019 05:46:20 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Sat, 1 Jun 2019 05:46:20 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Sat, 1 Jun 2019 05:46:20 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id x51AkJN7077632; Sat, 1 Jun 2019 05:46:20 -0500 From: Grygorii Strashko To: "David S. Miller" , Santosh Shilimkar , Richard Cochran , Rob Herring CC: Sekhar Nori , Murali Karicheri , Wingman Kwok , , , , , Grygorii Strashko Subject: [PATCH net-next 05/10] ARM: dts: keystone-clocks: add input fixed clocks Date: Sat, 1 Jun 2019 13:45:29 +0300 Message-ID: <20190601104534.25790-6-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190601104534.25790-1-grygorii.strashko@ti.com> References: <20190601104534.25790-1-grygorii.strashko@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add set of fixed, external input clocks definitions for TIMI0, TIMI1, TSREFCLK clocks. Such clocks can be used as reference clocks for some HW modules (as cpts, for example) by configuring corresponding clock muxes. For these clocks real frequencies have to be defined in board files. Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/keystone-clocks.dtsi | 27 ++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/keystone-clocks.dtsi b/arch/arm/boot/dts/keystone-clocks.dtsi index 457515b0736a..0397c3423d2d 100644 --- a/arch/arm/boot/dts/keystone-clocks.dtsi +++ b/arch/arm/boot/dts/keystone-clocks.dtsi @@ -408,4 +408,31 @@ clocks { reg-names = "control", "domain"; domain-id = <0>; }; + + /* + * Below are set of fixed, input clocks definitions, + * for which real frequencies have to be defined in board files. + * Those clocks can be used as reference clocks for some HW modules + * (as cpts, for example) by configuring corresponding clock muxes. + */ + timi0: timi0 { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <0>; + clock-output-names = "timi0"; + }; + + timi1: timi1 { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <0>; + clock-output-names = "timi1"; + }; + + tsrefclk: tsrefclk { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <0>; + clock-output-names = "tsrefclk"; + }; };