From patchwork Wed Mar 14 13:53:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 131575 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp904297ljb; Wed, 14 Mar 2018 06:53:35 -0700 (PDT) X-Google-Smtp-Source: AG47ELva+jEL5EpkUPWunPpdmhH6p0IaFEfugIZUHlWEwmkd10AUzLyHTmaMNO1xjhu4UOrz/cNW X-Received: by 10.101.98.205 with SMTP id m13mr3767623pgv.100.1521035615366; Wed, 14 Mar 2018 06:53:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521035615; cv=none; d=google.com; s=arc-20160816; b=Zd1P66vm0xVy9/PvXp9d+xEU8S6O/rCDWe8zB0QqD6PjvaXfDjhMD8MyeHLNgMre+p ANBUE7YSRq6k7KP8lAAqC2pDN7PD+2DuFUyX8Rq3dE3wd/q0wr1e/4iFgDn81vxF5yMf yOu/jex18r8Gv6jxXQ1UijymrJu3TwLCQ5qkx1RBjQ5CEwbZ8ZlHtJFTNUumFDWHbymu ZL4l+gwJ6ANKlf+pll2400PnBBbvAtxlfcIUJ5goCaCt1Nbve51lmIoQiZz+NZKNRpWM YxdEO4q95GU+Vucw0itdPvRLlkHWFETILWW9CkxofzCrFYTKYr0PInSLYjQU0WH2+B/z Qiww== 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 :arc-authentication-results; bh=kDdjFrk3CgESYH9Sw9xrrHwQlL+GWPP/psncSa3kd7k=; b=TKPwkNYYp6SrBT3UaXTHAuzPAy0G8SBhN/DwK6cbu27JjOXTdHUz+5ufXiVqilK1R5 WxDIZUMF60yFZadmT5CJppS32HwhqaTs4H4YTyzOgjzrWDONhvNYM/93cwT3O67iaBaO uv9eydAFN7+H7X55wL9gLjPWIiaDYH7TtQxdatdC+2RmLiTkE0dG6SwMh2dK9kCSIMZs tiB8Y2fO84l0FiGg5BBLcy3jHV99YZyWIrXTS+ET0F7Jr79Z7WlQX/NzcTh+FG624A7y kxe1lPX0kjUosX+MddCeLIairuP9rgnaQIN9yPWwDuY8EYTegj8apCfFK1nxJPPhRq42 MW0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=g7W9z8/7; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=fail (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 h1-v6si15640pli.645.2018.03.14.06.53.35; Wed, 14 Mar 2018 06:53:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=g7W9z8/7; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751961AbeCNNxd (ORCPT + 5 others); Wed, 14 Mar 2018 09:53:33 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:41709 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751378AbeCNNxb (ORCPT ); Wed, 14 Mar 2018 09:53:31 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id w2EDrNcs001184; Wed, 14 Mar 2018 08:53:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1521035603; bh=LNF9ZDfpBLwIVWTtrh4Ds+Fl/X7DWCcTMtcQKATTKiM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=g7W9z8/7ooPeiUiiFhEs/Elmxa6vhYIf4ztJA2mjXbJw1oWbMIWj82E2eMxYBSpTj yiWgRjH2nXwAmg4FQn8wp/bdBzIrbdCUn8ENwEqY4bKIIYvBz92Fig3IMlLWav/suM tkaDN6RxQ/7CGdxH73/Cv/JhUbKL1FWoF4rr+T/A= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2EDrNIs001935; Wed, 14 Mar 2018 08:53:23 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Wed, 14 Mar 2018 08:53:22 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Wed, 14 Mar 2018 08:53:22 -0500 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2EDrCg6025495; Wed, 14 Mar 2018 08:53:21 -0500 From: Peter Ujfalusi To: , CC: , Subject: [PATCH v2 5/6] ARM: dts: omap5: add fref_xtal_ck support Date: Wed, 14 Mar 2018 15:53:14 +0200 Message-ID: <20180314135315.11215-6-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180314135315.11215-1-peter.ujfalusi@ti.com> References: <20180314135315.11215-1-peter.ujfalusi@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Tero Kristo The clock is directly sourced from sys_clkin, and provides an external output clock for (typically) TWL6040 chip. Signed-off-by: Tero Kristo Tested-by: Peter Ujfalusi --- arch/arm/boot/dts/omap54xx-clocks.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- Peter Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/omap54xx-clocks.dtsi b/arch/arm/boot/dts/omap54xx-clocks.dtsi index 9619a746d657..ecc5573d264c 100644 --- a/arch/arm/boot/dts/omap54xx-clocks.dtsi +++ b/arch/arm/boot/dts/omap54xx-clocks.dtsi @@ -1179,3 +1179,13 @@ }; }; }; + +&scm_wkup_pad_conf_clocks { + fref_xtal_ck: fref_xtal_ck { + #clock-cells = <0>; + compatible = "ti,gate-clock"; + clocks = <&sys_clkin>; + ti,bit-shift = <28>; + reg = <0x14>; + }; +};