From patchwork Fri Jul 5 15:12:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 168546 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3701279ilk; Fri, 5 Jul 2019 08:13:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2utW7Geo9NQV4+RK4L1lQyDnNgq7BlF4Jas34SibJSNcwyWDU5tT5Sw8KdNESR4+jgWwj X-Received: by 2002:a63:3d09:: with SMTP id k9mr6022393pga.321.1562339585034; Fri, 05 Jul 2019 08:13:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562339585; cv=none; d=google.com; s=arc-20160816; b=buz31ZJh4uEFsbQLvXhjhJ+LMwZykNlnGS2HBJFWia6n559z4OiCkPgwaALoXgedBA yCRpZi/Zzp4JmEozgqihNHwKJ0UEVSkJh61YtEkz8F68/N7Qx8BNsVqJXegDfR7vQChU NesuSWdy7JqoePrE40NFv5suRpYGqppt+dKIQjF6qKlJFdd9d11iUq1g8yfy2cDqGApi u8lLOLGWVhw9GiZMBtao4KxzpDfcYHp6Bgzh7kITK4GmRsKYT/vMu9Bj5ruq8kRrryu+ Y6KFgof+Ni5mJp5Bripeh6NlbXOB+LNcSaXxD1f96blWbZ9GeEM5Y6M9iXJO7TrBZACr b6AA== 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=AM5KLUDtzbRgrWyvfzi2fm5oDJcJA+fD6WuO7x4ju0GMxIqFV7blSCXXfv0REUlhuV 96qszws372Lt3JWeLJ3m7Mxwl/UPRR2DFrmfOJ0zuieCzzZEdkRCjLiTkHMan+0A54Hq nxCkO2tvNwnOLc8l8qcvtVKB+U4VSddMKNqIyvhg3RxRGwzvdkxt5O4abBLpbmmT3D/I DqTwQ8qWgm+gH/QjVluE692bI6xY4hrbb6G0wIRX1LkmNgP+GUKI7Q0LjIvwo946EqN2 U32/s9iJ84wjKFfK9bdc8lFQT8wuSHHfGsrMAC37gBACYNgo4iAh+YxrOPbpn+OZEWQU jztg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=s65pE+Ma; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 a63si9825738pge.113.2019.07.05.08.13.04; Fri, 05 Jul 2019 08:13:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=s65pE+Ma; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1727725AbfGEPNE (ORCPT + 8 others); Fri, 5 Jul 2019 11:13:04 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:51152 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725497AbfGEPNE (ORCPT ); Fri, 5 Jul 2019 11:13:04 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x65FD0Od112731; Fri, 5 Jul 2019 10:13:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1562339580; bh=Z3348jTxSQPyURwc46vrJOUi9hMLdEHin3sWtU/Y7iY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=s65pE+Ma3cFY7UsEqY3RtmTn/BL68Ywc3FA2H6KchPwem4eNst/9+SyYTh2SDzll/ czIKfeTQQcCXKDWDc9ikJvWs2cofPvY3JB3G9SOnEf63Sw4zLtNdpTpNELADtaKcZh uPhtrtLH/ux7UQc0mM4QcBMbOqH+z94rxkkKmT3Q= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x65FD0cv040178 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 5 Jul 2019 10:13:00 -0500 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Fri, 5 Jul 2019 10:13:00 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE107.ent.ti.com (10.64.6.28) 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; Fri, 5 Jul 2019 10:12:59 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id x65FCwAq094259; Fri, 5 Jul 2019 10:12:59 -0500 From: Grygorii Strashko To: Santosh Shilimkar CC: Sekhar Nori , Murali Karicheri , , , , Grygorii Strashko Subject: [RESEND PATCH next v2 1/6] ARM: dts: keystone-clocks: add input fixed clocks Date: Fri, 5 Jul 2019 18:12:42 +0300 Message-ID: <20190705151247.30422-2-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190705151247.30422-1-grygorii.strashko@ti.com> References: <20190705151247.30422-1-grygorii.strashko@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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"; + }; };