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"; + }; }; From patchwork Fri Jul 5 15:12:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 168547 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3701439ilk; Fri, 5 Jul 2019 08:13:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqy76qeAHvNRBdVjL72IF5cguYqVGXKTLHxs/Ut6Adp/phHd08pqFJsmF1NoXhXONLJfFw9b X-Received: by 2002:a17:902:1125:: with SMTP id d34mr6282006pla.40.1562339592219; Fri, 05 Jul 2019 08:13:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562339592; cv=none; d=google.com; s=arc-20160816; b=ycevNGixM9mS2vobCfZr9LSnfWlwN8GkXnRt+FFciuwk/H7eVPxSDnk27mZGJ9AhcN 42qeS44XDvziS5AL6LXKNh7xyYme7T5w9dlUiD95HngIXQxWLf6rK9DXKnwQ5ZwLVyBx r0TvCDBn1O+9Ee0tjAG60YjRvQWAIfgRvzu/fQgTVIvVlpPWt2ofyw8Vof7NnvUhs6mZ iCzkC8eOAR4zCKJNIZAQx3INukmSUUgTg67T0xQFdfE5hnZCJ/a9JdXi4p0eWGASaxI1 RvQazFwk0C8inykYEJOn1DId0bXWuf3faM0u6jiDOYC17b20Y0jjb3TSrM252i6bNRjW DK7w== 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=R9/ML2By2Vb9VJ9ig9TmuZ+7bbZ0eArmGw/7g8VKZyU=; b=bzNotAdVhHuAU477+0ebBEo/S7k8YxQ7XzXORfD8yR8IILHYBC0abNeJOxzVB1CeB5 A9N55Q3KTRDOg5AxwpZ3Ai0GPboFsL6cz/RFNaJ912hkLKe51X/apPvTQqlhIH2myWrK iu4mo/9sMtwJzwznCFDN/5e5YA+ecuKOd3S/wQ3NKrxjqdyrbHM18XyXd+4hJmls3otK y9MgVl/lqzaJ6ctRAAgRpoGmAm+0H0JZopHB5deCEdkbGMd67+K4AFqbEl8WztnsdnfF 0U0p7xaIJmIgebdBUUKpHsBE3qA1nQJWEjdKdpmnZ9KqXdTLG7hDQ0ASzu4AcXbx5hgi gGhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FW1rubOe; 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 p17si8966524plo.310.2019.07.05.08.13.12; Fri, 05 Jul 2019 08:13:12 -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=FW1rubOe; 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 S1727811AbfGEPNL (ORCPT + 8 others); Fri, 5 Jul 2019 11:13:11 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:51172 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727717AbfGEPNL (ORCPT ); Fri, 5 Jul 2019 11:13:11 -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 x65FD7gI112774; Fri, 5 Jul 2019 10:13:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1562339587; bh=R9/ML2By2Vb9VJ9ig9TmuZ+7bbZ0eArmGw/7g8VKZyU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=FW1rubOekYEudYR25THRGs25j+KTtaOZJUEMd3kNJqpKS9uVSLA59Fuqta4Yc7/SX +VCRwHaHxNau3FSg+wmF6+RMsPTRad1mBZ6FQj1ZzT2C6v8mTYuzbvcfmUdZB0EH+h dW72Kv8Z5WCJgzlf7rR+zMKoCZB+DXoB07AGb7Mk= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x65FD78D012366 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 5 Jul 2019 10:13:07 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) 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:07 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE110.ent.ti.com (10.64.6.31) 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:13:07 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x65FD64p111909; Fri, 5 Jul 2019 10:13:07 -0500 From: Grygorii Strashko To: Santosh Shilimkar CC: Sekhar Nori , Murali Karicheri , , , , Grygorii Strashko Subject: [RESEND PATCH next v2 2/6] ARM: dts: k2e-clocks: add input ext. fixed clocks tsipclka/b Date: Fri, 5 Jul 2019 18:12:43 +0300 Message-ID: <20190705151247.30422-3-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 TSIPCLKA, TSIPCLKB 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-k2e-clocks.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/keystone-k2e-clocks.dtsi b/arch/arm/boot/dts/keystone-k2e-clocks.dtsi index f7592155a740..cf30e007fea3 100644 --- a/arch/arm/boot/dts/keystone-k2e-clocks.dtsi +++ b/arch/arm/boot/dts/keystone-k2e-clocks.dtsi @@ -71,4 +71,24 @@ clocks { reg-names = "control", "domain"; domain-id = <29>; }; + + /* + * 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. + */ + tsipclka: tsipclka { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <0>; + clock-output-names = "tsipclka"; + }; + + tsipclkb: tsipclkb { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <0>; + clock-output-names = "tsipclkb"; + }; }; From patchwork Fri Jul 5 15:12:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 168548 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3701619ilk; Fri, 5 Jul 2019 08:13:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzahSWEGm0D4jiRfkytPHFo+FRNXKIJ/Dmr9LtgW2Z+J/oX6wOv+icQGSZWDgqEArzt7vSf X-Received: by 2002:a63:89c2:: with SMTP id v185mr6061970pgd.241.1562339601563; Fri, 05 Jul 2019 08:13:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562339601; cv=none; d=google.com; s=arc-20160816; b=LCDsnG9g2gETG8y7wXkiWFyADai2+2aNqqV9t3A35CJ+V7OhXWKi1gL3mBl9SlUDCR cjKoxhNz54rJ2KtNQCAZvGeXJwtFfoK8oP76HddpfhQhB3ndV8j33nsoAt3xYEOi3TXT LKgrOoiMsgb281BijRziaOjq658NI/EMUO9LG+zlQR6Sm0eGETiYy8ROtt1/2wn4H8DG ASCiUffksbxM4QLgaU+rXeuPkVeZ2MORo/EvKwcDLOAExipeMQZZtMFvxlDhlvfaOaZv 7N9dr9vD6vLW5t/ZVDI88CVj8e2YrJZHf2E3TSVFsFKkZeXh0On1fqjPpI+88BZFW9Lz sh5A== 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=xdHvCdOlgRH9td30gOXrpwOJLLdGgZhCVDyggJQOTdQ=; b=CfN5o3HjWMeiHXmVXxo2XG09pL9K5F+8bTPnC4vVSfU+mZQaVGQLV1qmIs9r2x4Sb7 36i5DAG2HQj97OkY75SxCh+4e9MP0RECpTHONBz2Ejuj789rmcWPjHDGJX2jKCkeit4s PG8CRAk1qbbVzMZejUiya6YX/mMsgsr2ADbk3FgeYVsnyqex4h4qx3ZSVKqDVjWlU9da a1109QDK4C3Pgm2uHhuvaumD2FEfLVJJByY9ckIrv5SWLXpFMzUcVd8Y2ggzI/pf/yz+ b3LkW5mp0XibwG5TOJ9tbffG28vYmqij+bY57UfOuBGb/15GiXoAG/grABFeq29Th1n4 tkqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JgBTE6hy; 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 z9si10415216pga.219.2019.07.05.08.13.21; Fri, 05 Jul 2019 08:13:21 -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=JgBTE6hy; 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 S1727874AbfGEPNV (ORCPT + 8 others); Fri, 5 Jul 2019 11:13:21 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:56944 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727717AbfGEPNU (ORCPT ); Fri, 5 Jul 2019 11:13:20 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x65FDEoi087516; Fri, 5 Jul 2019 10:13:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1562339594; bh=xdHvCdOlgRH9td30gOXrpwOJLLdGgZhCVDyggJQOTdQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=JgBTE6hyPzKf4aRNqqvMM3DsLLP4GpZ/dx1s4LccFelNmXDvWUx0m3I3v1BtltHcP HZrq93cFD1DiQgQ+GrQD61dhUFGK2paq0+rM2iHqRqTifKz3nFnVlxBHOZC8EB5TWw BaGCdVBO4Oz4fYrWgjCNRbk1JMCfIMrkOuIRzxdc= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x65FDE7D088974 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 5 Jul 2019 10:13:14 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE114.ent.ti.com (10.64.6.35) 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:14 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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 via Frontend Transport; Fri, 5 Jul 2019 10:13:14 -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 x65FDD4P033601; Fri, 5 Jul 2019 10:13:13 -0500 From: Grygorii Strashko To: Santosh Shilimkar CC: Sekhar Nori , Murali Karicheri , , , , Grygorii Strashko Subject: [RESEND PATCH next v2 3/6] ARM: dts: k2e-netcp: add cpts refclk_mux node Date: Fri, 5 Jul 2019 18:12:44 +0300 Message-ID: <20190705151247.30422-4-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 KeyStone 66AK2E 1G Ethernet Switch Subsystems, can control an external multiplexer that selects one of up to 32 clocks for time sync reference (RFTCLK) clock. This feature can be configured through CPTS_RFTCLK_SEL register (offset: x08) in CPTS module and modelled as multiplexer clock. Hence, add cpts-refclk-mux clock node which allows to mux one of SYSCLK2, SYSCLK3, TIMI0, TIMI1, TSIPCLKA, TSREFCLK, TSIPCLKB clocks as CPTS reference clock [1] and group all CPTS properties under "cpts" subnode. [1] http://www.ti.com/lit/gpn/66ak2e05 Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/keystone-k2e-netcp.dtsi | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/keystone-k2e-netcp.dtsi b/arch/arm/boot/dts/keystone-k2e-netcp.dtsi index 1db17ec744b1..ad15e77874b1 100644 --- a/arch/arm/boot/dts/keystone-k2e-netcp.dtsi +++ b/arch/arm/boot/dts/keystone-k2e-netcp.dtsi @@ -135,8 +135,8 @@ netcp: netcp@24000000 { /* NetCP address range */ ranges = <0 0x24000000 0x1000000>; - clocks = <&clkpa>, <&clkcpgmac>, <&chipclk12>; - clock-names = "pa_clk", "ethss_clk", "cpts"; + clocks = <&clkpa>, <&clkcpgmac>; + clock-names = "pa_clk", "ethss_clk"; dma-coherent; ti,navigator-dmas = <&dma_gbe 0>, @@ -156,6 +156,23 @@ netcp: netcp@24000000 { tx-queue = <896>; tx-channel = "nettx"; + cpts { + clocks = <&cpts_refclk_mux>; + clock-names = "cpts"; + + cpts_refclk_mux: cpts-refclk-mux { + #clock-cells = <0>; + clocks = <&chipclk12>, <&chipclk13>, + <&timi0>, <&timi1>, + <&tsipclka>, <&tsrefclk>, + <&tsipclkb>; + ti,mux-tbl = <0x0>, <0x1>, <0x2>, + <0x3>, <0x4>, <0x8>, <0xC>; + assigned-clocks = <&cpts_refclk_mux>; + assigned-clock-parents = <&chipclk12>; + }; + }; + interfaces { gbe0: interface-0 { slave-port = <0>; From patchwork Fri Jul 5 15:12:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 168549 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3701765ilk; Fri, 5 Jul 2019 08:13:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPxJWQ0doittHtH0f72pRaKEeIL7dXuIpZNfoFqvWhJPNv7RXnCPJvwbIkKxOp0rym4VJX X-Received: by 2002:a17:90a:8984:: with SMTP id v4mr6172960pjn.133.1562339609530; Fri, 05 Jul 2019 08:13:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562339609; cv=none; d=google.com; s=arc-20160816; b=EYqqrTis4imKJZhfQ0STRNZdCbQw4PHHTpslK5i/Pt4pJbFaSmijdfGZ3l7PppZsHD 7NeIMDV1aDq34Khrh53FcxRe6viLcb/pI/W/wLZuQ8IZrzQkwNEtjYCcpWFx/wyQbd5V HRaIGL1C0sNbElKiXDnogiU/jd1HV6OiUg1qYcmd8Rut87+aso9Mm2QaIlcugXhq019D ZXaMa8PmIOC4DlA5l0K+xI2XtdTq3wC5TINeIJcIzTZIxIF3U82CSM/8beZrCX5LgSGJ 2kbljDRH5hztZZahQT2wHPzmyUcI85eb8YC0DtrlbDr0xJnE0orMmdOWmcj1mI0r3+6Q iNcQ== 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=AznSeI2qecv3FPLBtJdM/efVn5C8LoHjb0YeI/MvakI=; b=mGk5fdQ4AObeKSzQZhxJhnZsyK9GfLY8SML+4F2l6FZ9qOLgyTIr9xnxBYw3Ag7IzS ouhRFvB8uZDbFVDXWMO3lcTAB/ENFh/EIa0hlEIQe2N/UG6Of6UoOpfgDu3o//fxt4p8 7MzyQamK3msuYaId/HX4H7688Jn1qkmWOSmYJCSge14j3aUVEC8jsJqP2nHmujN+y9x3 RKLdKs3CtfZe9Za5i4b7o7Ln4/dFP3QxmbZorylohQq/x8uX9IVhZ3D6pwiCi97lQfoA LFhPCq3tHeztGvK4ny89P0YiQbwVb90uWG27TC7/e9fVwYOBFenVtidayQvNPD1BnLSC UmkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=QkeXIR22; 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 i11si8988091pgq.509.2019.07.05.08.13.29; Fri, 05 Jul 2019 08:13:29 -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=QkeXIR22; 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 S1727260AbfGEPN2 (ORCPT + 8 others); Fri, 5 Jul 2019 11:13:28 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:36960 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726302AbfGEPN2 (ORCPT ); Fri, 5 Jul 2019 11:13:28 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x65FDLDO059321; Fri, 5 Jul 2019 10:13:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1562339601; bh=AznSeI2qecv3FPLBtJdM/efVn5C8LoHjb0YeI/MvakI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=QkeXIR22QaQA0RdT+rvE3tKSG+PvryDasZGIOLzqpPvLT5vz9RauaCyPtxoEAfMMN GLopovH2o0/Rh8XtmZuMy6UPev/sp/MkIP5YCQ5Zu6z6s91C30NrI20b/HoGsSrU7r K3eZSPvu6TSeyfQPfRbr7ErihCUicFtjMR/oim1w= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x65FDLRo015208 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 5 Jul 2019 10:13:21 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE108.ent.ti.com (157.170.170.38) 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:21 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE103.ent.ti.com (157.170.170.33) 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:13: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 x65FDKQT033754; Fri, 5 Jul 2019 10:13:20 -0500 From: Grygorii Strashko To: Santosh Shilimkar CC: Sekhar Nori , Murali Karicheri , , , , Grygorii Strashko Subject: [RESEND PATCH next v2 4/6] ARM: dts: k2hk-netcp: add cpts refclk_mux node Date: Fri, 5 Jul 2019 18:12:45 +0300 Message-ID: <20190705151247.30422-5-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 KeyStone 66AK2H/K 1G Ethernet Switch Subsystems, can control an external multiplexer that selects one of up to 32 clocks for time sync reference (RFTCLK) clock. This feature can be configured through CPTS_RFTCLK_SEL register (offset: x08) in CPTS module and modelled as multiplexer clock. Hence, add cpts-refclk-mux clock node which allows to mux one of SYSCLK2, SYSCLK3, TIMI0, TIMI1, TSREFCLK clocks as CPTS reference clock [1] and group all CPTS properties under "cpts" subnode. [1] http://www.ti.com/lit/gpn/66ak2h14 Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/keystone-k2hk-netcp.dtsi | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi b/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi index e203145acbea..d5a6c1f5633c 100644 --- a/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi +++ b/arch/arm/boot/dts/keystone-k2hk-netcp.dtsi @@ -152,8 +152,8 @@ netcp: netcp@2000000 { /* NetCP address range */ ranges = <0 0x2000000 0x100000>; - clocks = <&clkpa>, <&clkcpgmac>, <&chipclk12>; - clock-names = "pa_clk", "ethss_clk", "cpts"; + clocks = <&clkpa>, <&clkcpgmac>; + clock-names = "pa_clk", "ethss_clk"; dma-coherent; ti,navigator-dmas = <&dma_gbe 22>, @@ -175,6 +175,22 @@ netcp: netcp@2000000 { tx-queue = <648>; tx-channel = "nettx"; + cpts { + clocks = <&cpts_refclk_mux>; + clock-names = "cpts"; + + cpts_refclk_mux: cpts-refclk-mux { + #clock-cells = <0>; + clocks = <&chipclk12>, <&chipclk13>, + <&timi0>, <&timi1>, + <&tsrefclk>; + ti,mux-tbl = <0x0>, <0x1>, <0x2>, + <0x3>, <0x8>; + assigned-clocks = <&cpts_refclk_mux>; + assigned-clock-parents = <&chipclk12>; + }; + }; + interfaces { gbe0: interface-0 { slave-port = <0>; From patchwork Fri Jul 5 15:12:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 168550 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3701851ilk; Fri, 5 Jul 2019 08:13:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrleLJkD3iUOc0OyOHfk2kMqqrKZH9ABMeN3Q0u1HzMt+yi6HcyFOVMlQwbOzvzj+rP77q X-Received: by 2002:a17:902:8f81:: with SMTP id z1mr6109190plo.290.1562339613642; Fri, 05 Jul 2019 08:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562339613; cv=none; d=google.com; s=arc-20160816; b=fPJ2VDMf+8iEqSenqeNVRPe5p6OPyWyfyBaAgIkGH7lgYihwjJBHf0710HYdGxaTnF S7X5UOVJKFwl0o0NjOHOKxLFSF5LzRYWI9dSrLlOcLN17a5Bpa3vh33xXtBrXQHp618T PaWEI1cG9W4CVE53MupnfgQtlN2HsRnMTwfycPyXQLWtgvXjqhOiYQuXWHSmhLptjOCb f9eKIfw2ako7ZfdFTx4jiSd3fZLJRhDBxyy50NPtSCXQ9vJJ15hlHYFkDHdoePtB1aku hfzwhDptJl8XX8tqr9F6BubzJRZBzqE2xboosjrx/B4bV8zMndBQEHcilQCiqGcvK2HE 4f5Q== 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=gxtJhkuG7IPxei2RhexfsQ5UaZGWrzpnLrzOoKIishA=; b=Bvnb8xpYMYydnTsUZcV5XDLlWI+sqmD7G18LYOj7Hc5iL9eXzjgFsbJWJHx8e2CC1M GIsdz9/qsSpZ4vqHX0BvDSqU8mYDrE5kv+gg7k102Qaflkh59jI6AA8GBIk1wZ8o9x/0 jHrMmet6S4n2E59aCDEs47ADOYMZfQf2GG6bsQFE4UMfmMfKymXCzq7Ky9aNm55q6fcu vU2xg9KqHpk4we2RKBfJtDPvs38g7xCwIXwRzfYvxMoDNAmCFgJPiqiBrWMurEqe9lUp ZzCezwYfdW76qKbpNkwnvCX4vJ+nNZsrMM1W9CSGS0FbputXW5ZkNin3oYaMf9Caa9uN omYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=KnLiD+7Y; 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 u4si8639190pjv.38.2019.07.05.08.13.33; Fri, 05 Jul 2019 08:13:33 -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=KnLiD+7Y; 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 S1727938AbfGEPNd (ORCPT + 8 others); Fri, 5 Jul 2019 11:13:33 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:36968 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725497AbfGEPNc (ORCPT ); Fri, 5 Jul 2019 11:13:32 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x65FDSmH059357; Fri, 5 Jul 2019 10:13:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1562339608; bh=gxtJhkuG7IPxei2RhexfsQ5UaZGWrzpnLrzOoKIishA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=KnLiD+7Yy/I/h52+Sxvsj+RJgs9pgp5qHf5QEk8OeDO5TfxyqbpRKLvjvtKSjWtmk r4qhOqXQyuOZNQgatj6SWzTTljoKxseXLO59ljlzY/8xzjT7MhtHe2db3AhWpzgv6O oagHVkyjArYdLm4e6sfjTUwCO29jq4xjnxcxl410= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x65FDSdC015260 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 5 Jul 2019 10:13:28 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE114.ent.ti.com (157.170.170.25) 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:28 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE114.ent.ti.com (157.170.170.25) 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:13:28 -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 x65FDRuA095039; Fri, 5 Jul 2019 10:13:27 -0500 From: Grygorii Strashko To: Santosh Shilimkar CC: Sekhar Nori , Murali Karicheri , , , , Grygorii Strashko Subject: [RESEND PATCH next v2 5/6] ARM: dts: k2l-netcp: add cpts refclk_mux node Date: Fri, 5 Jul 2019 18:12:46 +0300 Message-ID: <20190705151247.30422-6-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 KeyStone 66AK2L 1G Ethernet Switch Subsystems, can control an external multiplexer that selects one of up to 32 clocks for time sync reference (RFTCLK) clock. This feature can be configured through CPTS_RFTCLK_SEL register (offset: x08) in CPTS module and modelled as multiplexer clock. Hence, add cpts-refclk-mux clock node which allows to mux one of SYSCLK2, SYSCLK3, TIMI0, TIMI1, TSREFCLK clocks as CPTS reference clock [1] and group all CPTS properties under "cpts" subnode. [1] http://www.ti.com/lit/gpn/66ak2l06 Signed-off-by: Grygorii Strashko --- arch/arm/boot/dts/keystone-k2l-netcp.dtsi | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/keystone-k2l-netcp.dtsi b/arch/arm/boot/dts/keystone-k2l-netcp.dtsi index a2e47bad3307..c1f982604145 100644 --- a/arch/arm/boot/dts/keystone-k2l-netcp.dtsi +++ b/arch/arm/boot/dts/keystone-k2l-netcp.dtsi @@ -134,8 +134,8 @@ netcp: netcp@26000000 { /* NetCP address range */ ranges = <0 0x26000000 0x1000000>; - clocks = <&clkpa>, <&clkcpgmac>, <&chipclk12>; - clock-names = "pa_clk", "ethss_clk", "cpts"; + clocks = <&clkpa>, <&clkcpgmac>; + clock-names = "pa_clk", "ethss_clk"; dma-coherent; ti,navigator-dmas = <&dma_gbe 0>, @@ -155,6 +155,22 @@ netcp: netcp@26000000 { tx-queue = <896>; tx-channel = "nettx"; + cpts { + clocks = <&cpts_refclk_mux>; + clock-names = "cpts"; + + cpts_refclk_mux: cpts-refclk-mux { + #clock-cells = <0>; + clocks = <&chipclk12>, <&chipclk13>, + <&timi0>, <&timi1>, + <&tsrefclk>; + ti,mux-tbl = <0x0>, <0x1>, <0x2>, + <0x3>, <0x8>; + assigned-clocks = <&cpts_refclk_mux>; + assigned-clock-parents = <&chipclk12>; + }; + }; + interfaces { gbe0: interface-0 { slave-port = <0>; From patchwork Fri Jul 5 15:12:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 168551 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3701985ilk; Fri, 5 Jul 2019 08:13:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwmi8yMgzcqxIftDjzMMPmQXdeltt+T8UqIXhOJeBetTCy1hpok6vGKJr8cnwUgJ77+Joe5 X-Received: by 2002:a63:1462:: with SMTP id 34mr6107525pgu.417.1562339620301; Fri, 05 Jul 2019 08:13:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562339620; cv=none; d=google.com; s=arc-20160816; b=OCcI++eZZ+IF+sd2zvROD9cS8DHOMIOHS2nqm8Y2yB1/e+UlCEur0WZpBS6LS1ufhS alyTKrroh3T7NnFfZv3PW8+s29nFe6Pk/beXs7JeSAbxrlDTNjMjWVfOPDF8MZOHRQa1 wbqxu07VQ7M8nCgNjzYLMcjBT2Q0w5u4pfLxdLBzSFaRrwWpELG2cy8y13GI3m/OzZLx 4T3OTHO8jK6+JbvifMXlpApGrxFQ9nmb+hCicWWdDIn71C36lTtK4+xsaxkukFFy5If5 w8XG3KitGZ+UQUNjHYzQWAXS6JhpLgKLRNoYlILGFpeTR09wWJqYbJ2j8vR4wmWJOU/u NZZQ== 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=X5SQUumkW58Zgp2FI1ph9B4uenobpRYKTZ55G7V38jk=; b=uu8ZXt0uOx08BKhIbgzRWLaJoI5u7GQo/VlxLLecOHnjNBEtGT/pfDZQ8U7lBSv+Dj IRMnkOKtWcFvswM2KcY63E/jny3D17OXEt1yk8q/jNlBYhl3crHcFVs7lgbO0OtMkgbl O+8YCwcmKSTe9PnbenBm2mioJ3C4UyE15/GQP+gDbesKe/A7RLbZ7HpuMMdwwNDtPJPN RzIj3QDKiisVtV/7KKCkmPKj3Rv5VYEeLmmE1MMHxx0OySzZ5AS6LKU3U2EfGPHIo3Xj KV1cX8hXCDhgjvFeP3igwbVwQ0wUL5+TWUXAd9TLf7802+kr3ZuqB4+ZxdnODC8iZzlX 8H6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=CEukuNRy; 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 u21si9585393pgn.290.2019.07.05.08.13.40; Fri, 05 Jul 2019 08:13:40 -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=CEukuNRy; 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 S1727725AbfGEPNj (ORCPT + 8 others); Fri, 5 Jul 2019 11:13:39 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:56984 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727961AbfGEPNj (ORCPT ); Fri, 5 Jul 2019 11:13:39 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x65FDZ8Y087596; Fri, 5 Jul 2019 10:13:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1562339615; bh=X5SQUumkW58Zgp2FI1ph9B4uenobpRYKTZ55G7V38jk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=CEukuNRy3wkAEheclq4mBFDybaEU9p6Z87439S5jVmmWPEn/eKjWInZ1H1w9W+uyD AOyrO8FSKJCO+1bj71XytWrVcVMEGh61LCcarM7MyLP8ytC/GYTgWPhC/tbhVJ3vI5 BIO4bTmTbobu7HJuNu/CXYLBANAStyYosRm+JAnA= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x65FDZB0012878 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 5 Jul 2019 10:13:35 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE111.ent.ti.com (10.64.6.32) 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:35 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE104.ent.ti.com (10.64.6.25) 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:13:35 -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 x65FDYQk095136; Fri, 5 Jul 2019 10:13:34 -0500 From: Grygorii Strashko To: Santosh Shilimkar CC: Sekhar Nori , Murali Karicheri , , , , Grygorii Strashko Subject: [RESEND PATCH next v2 6/6] ARM: configs: keystone: enable cpts Date: Fri, 5 Jul 2019 18:12:47 +0300 Message-ID: <20190705151247.30422-7-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 Enable CPTS support which is present in Network Coprocessor Gigabit Ethernet (GbE) Switch Subsystem. Signed-off-by: Grygorii Strashko --- arch/arm/configs/keystone_defconfig | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/arch/arm/configs/keystone_defconfig b/arch/arm/configs/keystone_defconfig index 72fee57aad2f..0b2281407ecf 100644 --- a/arch/arm/configs/keystone_defconfig +++ b/arch/arm/configs/keystone_defconfig @@ -136,6 +136,7 @@ CONFIG_BLK_DEV_SD=y CONFIG_NETDEVICES=y CONFIG_TI_KEYSTONE_NETCP=y CONFIG_TI_KEYSTONE_NETCP_ETHSS=y +CONFIG_TI_CPTS=y CONFIG_MARVELL_PHY=y CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y