From patchwork Thu Jun 6 16:30:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 165993 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp9012164ili; Thu, 6 Jun 2019 09:31:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2Y7ZV1vPmXEjdQ+TX4968bbe2Ews16tAmnL8RP70Cq+ZDyY+SV+PScv2n9Jl1rvxaBuuz X-Received: by 2002:a17:90a:1b4c:: with SMTP id q70mr682837pjq.69.1559838674065; Thu, 06 Jun 2019 09:31:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559838674; cv=none; d=google.com; s=arc-20160816; b=FBimTN/sf8CvxhRY+L/67IGNktkPh0HjXeUfWltub3zpBwcuSI2LwhgSoHJf9sg3TK 0frw2/+/6OiXDnatYx5M1G7K8FICyCF+bO614H3SxIqmCubCg+9fQaGZ2w5x/miR1kV0 2N1kWDjMjl7GYfZEjkFkdghFJKAJj6IOL5hZmBGGuh3QM+5nTpq2kGun1Ybh8ZPUtvBm +AD4j1EuiGo5tuvfCKr0R18I27hn54ej58M/6eoOXUQGh5Sma2Qz99ecLBXiVU27S0NT xVbxcptAjLgdVwMznA0raWAHmY01/7NB6nBDCmEoWxyLI5mPYcJjkLK+AcNgb6lCEz8p mnIw== 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=DlaHGuBwA9qxrYjkx0p7cfUajFkarVJmB4WO+zGG17g=; b=TCbAj7QvtRSfK+yC3eAQbFd/zfFPsZIDYdovgvy2KbUkU8E4KBQOEbW2XFakRNMSjf QhuBCAPcvNemuRe0MCSohxR8MLIRPEqdROX03ywXmwCR4a0RNKF06N5F8jYCt1cVR4nD b7a7cdiK33AmCPDcgjxDHmu+R8IGnjJhNU3U3HpBYM/pLyE/skbIv5INSXLSslNYKN9o ATSEDacvhfM2i+6j4k7uaHZaHcCEG8AHLKa7aHh8IrIgEeyUsrc7iPCS4wJFkKeFp0Dw sdLrKaFHfHFU0CpJ/bx9ptmkRvWZaW8dY8/60Ndw8whPXOGwnZrc1Ayra8ir+Ah2z64x Lpvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dXnCDunR; 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 h11si2356250pgq.170.2019.06.06.09.31.13; Thu, 06 Jun 2019 09:31:14 -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=dXnCDunR; 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 S1729718AbfFFQbM (ORCPT + 30 others); Thu, 6 Jun 2019 12:31:12 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:50118 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726719AbfFFQbL (ORCPT ); Thu, 6 Jun 2019 12:31:11 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x56GV6JV108047; Thu, 6 Jun 2019 11:31:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559838666; bh=DlaHGuBwA9qxrYjkx0p7cfUajFkarVJmB4WO+zGG17g=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=dXnCDunR5KQ175AyxGWOZl1uOf1a4h2Q517O/ipisK8ES5vxxm45eM8EpiIU1R935 uIs7UOiUNZwCDTvODnzR2tjXXRM8gpID32AbRTp37blx/B28wlXl5HAiClQiKEWqTd 1KiaN7UrhwaN+lXSiVWRfmov8wkZnf/WY4setmoQ= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x56GV5J3082453 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 6 Jun 2019 11:31:05 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 6 Jun 2019 11:31:05 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.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; Thu, 6 Jun 2019 11:31:05 -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 x56GV4Ef052215; Thu, 6 Jun 2019 11:31:05 -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 v2 01/10] dt-bindings: doc: net: keystone-netcp: document cpts Date: Thu, 6 Jun 2019 19:30:38 +0300 Message-ID: <20190606163047.31199-2-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190606163047.31199-1-grygorii.strashko@ti.com> References: <20190606163047.31199-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 The Keystone 2 66AK2HK/E/L 1G Ethernet Switch Subsystems contains The Common Platform Time Sync (CPTS) module which is in general compatible with CPTS module found on "legacy" TI AM3/4/5 SoCs. So, the basic support for Keystone 2 CPTS is available by default, but not documented. The Keystone 2 CPTS module supports also some additional features like time sync reference (RFTCLK) clock selection through CPTS_RFTCLK_SEL register (offset: x08) in CPTS module, which is modelled as multiplexer clock. This patch adds missed binding documentation for Keystone 2 66AK2HK/E/L CPTS module. Signed-off-by: Grygorii Strashko Acked-by: Richard Cochran --- .../bindings/net/keystone-netcp.txt | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/net/keystone-netcp.txt b/Documentation/devicetree/bindings/net/keystone-netcp.txt index 6262c2f293b0..24f11e042f8d 100644 --- a/Documentation/devicetree/bindings/net/keystone-netcp.txt +++ b/Documentation/devicetree/bindings/net/keystone-netcp.txt @@ -104,6 +104,23 @@ Required properties: - 10Gb mac<->mac forced mode : 11 ----phy-handle: phandle to PHY device +- cpts: sub-node time synchronization (CPTS) submodule configuration +-- clocks: CPTS reference clock. Should point on cpts-refclk-mux clock. +-- clock-names: should be "cpts" +-- cpts-refclk-mux: multiplexer clock definition sub-node for CPTS reference (RFTCLK) clock +--- #clock-cells: should be 0 +--- clocks: list of CPTS reference (RFTCLK) clock's parents as defined in Data manual +--- ti,mux-tbl: array of multiplexer indexes as defined in Data manual +--- assigned-clocks: should point on cpts-refclk-mux clock +--- assigned-clock-parents: should point on required RFTCLK clock parent to be selected +-- cpts_clock_mult: (optional) Numerator to convert input clock ticks + into nanoseconds +-- cpts_clock_shift: (optional) Denominator to convert input clock ticks into + nanoseconds. + Mult and shift will be calculated basing on CPTS + rftclk frequency if both cpts_clock_shift and + cpts_clock_mult properties are not provided. + Optional properties: - enable-ale: NetCP driver keeps the address learning feature in the ethernet switch module disabled. This attribute is to enable the address @@ -168,6 +185,23 @@ netcp: netcp@2000000 { tx-queue = <648>; tx-channel = <8>; + 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>; @@ -219,3 +253,13 @@ netcp: netcp@2000000 { }; }; }; + +CPTS board configuration - select external CPTS RFTCLK: + +&tsrefclk{ + clock-frequency = <500000000>; +}; + +&cpts_refclk_mux { + assigned-clock-parents = <&tsrefclk>; +}; From patchwork Thu Jun 6 16:30:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 165995 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp9012646ili; Thu, 6 Jun 2019 09:31:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwHfH397nmBLON5Qskg37h9uAbYaNY0yv8XjWCGPrINDw2n7OdaGG3RFQauy6qK6a4taL87 X-Received: by 2002:a17:90a:8a10:: with SMTP id w16mr691573pjn.133.1559838697123; Thu, 06 Jun 2019 09:31:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559838697; cv=none; d=google.com; s=arc-20160816; b=M8stIhga5PB+VEnuMJb1kHavjjCCq0wiOxm1ZTuveJQE8gCj8N6dvs4vzuPf7HH5DR 9tBmERbfYDzPAnmcyIROGHsNz3yWl7h+aE39AvpixVfuh/cpHppZG8A4ITWQL1B5qCGM UPnl4ssl2f5JKQxWkm+BVgnTwqVRlbrsrZtmlpa5VX8P8Lp8ypNqqVejQd9GQH8g0uo2 9EPTSUbWj5UsfSU9XTk2lsIBD6Ae8DHTxiHnLfsLqX7d9LhT2VFxwjaEgBrrA110HJLT 5mo90Z6+eoau14d+flewxtLqqrEs2I+1EDarENtPfAT+765I7Npa85jSJZpro0YEmRDH +CkQ== 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=S48YHwd7VbL227WMm5WryGh9q4yCYlwCu31xqUVixwc=; b=growppm4fn8HjbeSNUVJIb1Wx9bXXKIU9HlrRS+J0wXYbdzaBB1cwxxNKCWM+Wod7N +DusDhYVLCrHFoyMz9o+kyVoH1dMCF8hDTQGXMkuXiZDA06sVBUiQu1Siq00laxv+Izd fjxjuA6nLupFe145oxCzBVSgcDxBmgLC2mnTbCZpzfp7ZwZBBlnGqAnzguMckKZmpm2s +QNQBnbbPbiQ0s8LMHDNW6ei9YV04qEQps7Xkd8M8GNziTbcLsBxrHEcgiLTf7PdlHfp iDiqmmSj7vyy1PmwZb5++GaCHxbE/FvbwVhqk6QsqpHqPlhq4ZVSZwpNVy1t8oiCYu/i vSoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bdAf3w+r; 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 i2si2231451pfb.7.2019.06.06.09.31.36; Thu, 06 Jun 2019 09:31:37 -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=bdAf3w+r; 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 S1729744AbfFFQbf (ORCPT + 30 others); Thu, 6 Jun 2019 12:31:35 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:54172 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726324AbfFFQbf (ORCPT ); Thu, 6 Jun 2019 12:31:35 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x56GVKDX064586; Thu, 6 Jun 2019 11:31:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559838680; bh=S48YHwd7VbL227WMm5WryGh9q4yCYlwCu31xqUVixwc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=bdAf3w+rjpWp1dbGo7vCQ/qYkjDPWpIGYmuyjppdi2/T83b/e/1UgRB7V5oDMDfUU 03xpRbs4HonXwb7cyGhD0zZmdnby4Hnq5ibjFi8HI2+cXS8KE86+LFRGmFsGbTdyTU HyWrEQllzZTlvy/KB9ftknaW1hV2sJ4x+KYkYL5Y= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x56GVKI6082758 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 6 Jun 2019 11:31:20 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Thu, 6 Jun 2019 11:31:19 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE110.ent.ti.com (157.170.170.21) 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; Thu, 6 Jun 2019 11:31:19 -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 x56GVIuB052685; Thu, 6 Jun 2019 11:31:19 -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 v2 03/10] net: ethernet: ti: netcp_ethss: add support for child cpts node Date: Thu, 6 Jun 2019 19:30:40 +0300 Message-ID: <20190606163047.31199-4-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190606163047.31199-1-grygorii.strashko@ti.com> References: <20190606163047.31199-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 Allow to place CPTS properties in the child "cpts" DT node. For backward compatibility - roll-back and read CPTS DT properties from parent node if "cpts" node is not present. Signed-off-by: Grygorii Strashko Acked-by: Richard Cochran --- drivers/net/ethernet/ti/netcp_ethss.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/drivers/net/ethernet/ti/netcp_ethss.c b/drivers/net/ethernet/ti/netcp_ethss.c index ec179700c184..2c1fac33136c 100644 --- a/drivers/net/ethernet/ti/netcp_ethss.c +++ b/drivers/net/ethernet/ti/netcp_ethss.c @@ -3554,7 +3554,7 @@ static int set_gbenu_ethss_priv(struct gbe_priv *gbe_dev, static int gbe_probe(struct netcp_device *netcp_device, struct device *dev, struct device_node *node, void **inst_priv) { - struct device_node *interfaces, *interface; + struct device_node *interfaces, *interface, *cpts_node; struct device_node *secondary_ports; struct cpsw_ale_params ale_params; struct gbe_priv *gbe_dev; @@ -3713,7 +3713,12 @@ static int gbe_probe(struct netcp_device *netcp_device, struct device *dev, dev_dbg(gbe_dev->dev, "Created a gbe ale engine\n"); } - gbe_dev->cpts = cpts_create(gbe_dev->dev, gbe_dev->cpts_reg, node); + cpts_node = of_get_child_by_name(node, "cpts"); + if (!cpts_node) + cpts_node = of_node_get(node); + + gbe_dev->cpts = cpts_create(gbe_dev->dev, gbe_dev->cpts_reg, cpts_node); + of_node_put(cpts_node); if (IS_ENABLED(CONFIG_TI_CPTS) && IS_ERR(gbe_dev->cpts)) { ret = PTR_ERR(gbe_dev->cpts); goto free_sec_ports; From patchwork Thu Jun 6 16:30: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: 166000 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp9013482ili; Thu, 6 Jun 2019 09:32:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3bNGXI8DWWiumry46YE4WqcAjB70gQSW0qfqhsu/HqR/TSBgzWBhMs4uSiGcpKdqXkoi8 X-Received: by 2002:a17:90a:bd88:: with SMTP id z8mr754118pjr.60.1559838735136; Thu, 06 Jun 2019 09:32:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559838735; cv=none; d=google.com; s=arc-20160816; b=j3uZBnMZ1gCsEJaRtost2zaHZhObiJVB4GGH4RURAvaGOowjXCobgCA3pb7r7t9AH7 8Ie7XPIEtZvx0XlWEFKpGlQXp/faAMrkWOkrZO+XCgp6a3AdeMAVa5KVZOm5pq6qn3PY zvIdrmXGDNj1PSvFRLl9yqn3hmurMJZ8iEmxrc8OXZtEHjc0km5pD9JXsSuKg+ouWL6+ uiEYSp9qgw9KBr9as8n2JYz1JXRd2NNyYsFElbiuyK+mpFpOSG5tOJVvFT+AfwmmTubm 1yDJ03i6JHhn0qO2aIYPopcfeWlvbiJHFFUkFoJRSJF1pMm9OJe+zRUsNZGWk39YqIC9 gxHQ== 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=s0DHhLKrDcHh55C/pydFQUdzuLIZ+F0uIWMj4m4t5N0=; b=Hp192ZfMaIuVkli9cCCUUjYesijmV+Iz7pWxn7RoTpHjJvh5EgluaoO0vyxA2He8SQ ZNotH+4uM8Bus20TrunOxsLc9+gHgfyGqHwXjH/GFnciVa5bjstZwrBSs182lx303RoM gfKmspsTxMZt6VHa4XnxAO+G1P3yBJcKUh3zsEfAqCb7vZjHpC7s0iQjVC0K7DCyPdAS 42krxvMEX9Sq4awKwrbDDCcKJVszF14aN7p0U1syWKN1c96I5DcwmWT8l80zwjF8dcVJ esgOQdPKorxJ2NfcDsqESY2FzVuXw5MH8KbNwnKAIoF7rT7u3W+FEHnzJ5BT1GaNTScL HSGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=i+hMyuO0; 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 b95si2169277plb.401.2019.06.06.09.32.14; Thu, 06 Jun 2019 09:32:15 -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=i+hMyuO0; 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 S1729825AbfFFQcN (ORCPT + 30 others); Thu, 6 Jun 2019 12:32:13 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:50336 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726752AbfFFQcK (ORCPT ); Thu, 6 Jun 2019 12:32:10 -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 x56GVgL2108223; Thu, 6 Jun 2019 11:31:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559838703; bh=s0DHhLKrDcHh55C/pydFQUdzuLIZ+F0uIWMj4m4t5N0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=i+hMyuO06wYTkE9cAQcFlkXn3N8RwFlSMbzjlyiZoCdDk0pQJH8xJ+QNKA3thTaMr DlKkU/koYE5NcqIsnyXfe6zKG+3gSHAev6+WHIDEiVDK3EDe8vD2SH0xzyhGEQUwZv rzYG/xjr7zPPmXClxz/BLYZsEhXts5vQTd3E5gCw= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x56GVg2a007202 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 6 Jun 2019 11:31:42 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) 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; Thu, 6 Jun 2019 11:31:42 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) 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 via Frontend Transport; Thu, 6 Jun 2019 11:31:42 -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 x56GVf3P053034; Thu, 6 Jun 2019 11:31:42 -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 v2 07/10] ARM: dts: k2e-netcp: add cpts refclk_mux node Date: Thu, 6 Jun 2019 19:30:44 +0300 Message-ID: <20190606163047.31199-8-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190606163047.31199-1-grygorii.strashko@ti.com> References: <20190606163047.31199-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 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 Acked-by: Richard Cochran --- 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 Thu Jun 6 16:30: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: 165999 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp9013251ili; Thu, 6 Jun 2019 09:32:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkZQa86+DkEfv7eW3ftqu9jUJZY3xUgcHsLSPe9TX7aPZ/4Fap7ZdZ12BarJTWjB2tOpDN X-Received: by 2002:a63:dc11:: with SMTP id s17mr4200313pgg.47.1559838724113; Thu, 06 Jun 2019 09:32:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559838724; cv=none; d=google.com; s=arc-20160816; b=qJVuBs4tjmItiCvL9W4O+VCDE1OWh789la9XQ9j+yMSdRK2ex+E/yniy4MvFu5lApx m4SZA45Nllb09eeQRxARcW1bi/Lgo/NCC4rZTIUEE15kAhxbBgw2xOWuulN8vg+KldRO gkqn5UQkOmAhdbYMBm9d8GmwhLYwS+0n81iqEegL353LkpMY0W7r07jHqIxXwmDmzMPE oMQTDHbwD6A84O9/m2xp0kewr2aNHOO9lVKSTf7/ISGpzOTH57OJuWAiDGAPnCjy7LCg ehJqOB0Y7u8M2agUp6y2E9HuSuAmoonnTHOjU6ujvbncqtcJs4d6hBc2/f36Y5hcnUH1 nchQ== 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=nFl3XytlIowFjWq3TzRRIjdabQqMTMLIHAwovguMLJo=; b=0cHRORyygqh/eCqW1lFoTYIwaTKFDGVdl/00YgoqeqTsj57puRBiAyOB2NBn89VvTH tdzr/2c5yXsguk5ClR7dus4sHRHV1TYzS2hA5SEd3fOiipbl2rnHVeKvy0FLkz58OxH4 BPmzoQbav77e9PambjvY7hmP+WNRlxsC16GQ0ktRCJ/Nu372WBjvACsPW3h8zLjlpvHU vQj+nO5zchw3WKULa6SLJQ3aP4bBQVoWtRSru2Qg7vybJRoXHLJSea90JE0A/SzZwh5W 6srV3/vPlE3bHbk+MidqVs5AHgBGASgZ8RdoVxMDShn4BHeMPR1L/8Of9/2FEwuD2Uh8 GIrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=UWYCBt5K; 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 z15si2218224pfn.35.2019.06.06.09.32.03; Thu, 06 Jun 2019 09:32:04 -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=UWYCBt5K; 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 S1729809AbfFFQcD (ORCPT + 30 others); Thu, 6 Jun 2019 12:32:03 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:54270 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726752AbfFFQcB (ORCPT ); Thu, 6 Jun 2019 12:32:01 -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 x56GVob6064717; Thu, 6 Jun 2019 11:31:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559838710; bh=nFl3XytlIowFjWq3TzRRIjdabQqMTMLIHAwovguMLJo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=UWYCBt5KzQxhGEQ8LGXI4SyKKb4vKE5nI+jZuS/N0aDsgZnj6lIDQyBpcb3luUF+q uvJClYey0tqsjjOtVnIMn0+LMCB8pJ1392tOSCed70QkOie9EMGwcxlv8WmfC0OnnA eMHQJGbheNLyWBmenKIewrF2ld5+mdRbMjAvYL8s= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x56GVnN8007841 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 6 Jun 2019 11:31:49 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) 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; Thu, 6 Jun 2019 11:31:49 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE115.ent.ti.com (10.64.6.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; Thu, 6 Jun 2019 11:31:49 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x56GVmKv056079; Thu, 6 Jun 2019 11:31:49 -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 v2 08/10] ARM: dts: k2hk-netcp: add cpts refclk_mux node Date: Thu, 6 Jun 2019 19:30:45 +0300 Message-ID: <20190606163047.31199-9-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190606163047.31199-1-grygorii.strashko@ti.com> References: <20190606163047.31199-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 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 Acked-by: Richard Cochran --- 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 Thu Jun 6 16:30: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: 166002 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp9013877ili; Thu, 6 Jun 2019 09:32:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyaIN0z30AHb4M2pXJRilJ5jcTJHs7NQlX3ywT3CRlRkdoe4HN/UQT9lPLLKh5IO9huNnaX X-Received: by 2002:a63:4826:: with SMTP id v38mr4118963pga.417.1559838754241; Thu, 06 Jun 2019 09:32:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559838754; cv=none; d=google.com; s=arc-20160816; b=Oh4I49pS5L/4OKDgAATiCFfJtX10Lr0uwaOItnc76sUDZV7zScLPNNmsFjcoYJ52Pv 0cHPlIVADhwpIqsB59xVWeBuOaGZWFUdyPpTdBKdnfzMR+OTqM2D5pzvkWvtMy/7cCq6 9xICdHn61cSCEnVlVhkQUGxkjmZXkXU+F8Rj2ZtvR9jw8kX9zgvew5jYPN7NoMsvHOCN d2mKyhIgC651NrwvglI+NZznFoFMIlP3K0hc1xjS0BOmfUB1jqLqP5u49UxD2gSon1xY lGTyeUFW06dVYZ6TqPtcGV0xK5YFY6N+2BarooNfAQcmTZkSxA83+cspAJlfz077cVVr fd+w== 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=vve9U+wzc4vCwKL4B0UU+JLqKTIC0YBQuBU2TPamO4Y=; b=T8k7Pk1/hkPnmlHCdG6HpygTKlLQTZdl1e9jBizmk3PdlKMGsu+3xLVR+16PDwmPO0 Q07i5Hz1iJs+gYEFYyjsIxZFPCFtHpYa1xWhyPesB7LGokyl8a0VKDjMO0nDB05Ainv2 XAIHNK8VqtCBwPegPoxa7MonYmTkYx7RSJ4iBow4kEdYvwVlkXy43YQ9YvLuBcbGHpPv UnUVwGNCh4TRuWyWpdg58xK3UhS6vweoP4wYkwkYjaHNGfkpjT3UFmBXOm3KwjMIa1Bj QRkF8eT/8zl8Jjn0hbgmmu7lVWrHcTlAlJdJHsTwSU4DhcidSewvBb0oRn9aAF1fGHz+ VCMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=dJwaayAr; 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 o188si2351410pgo.489.2019.06.06.09.32.33; Thu, 06 Jun 2019 09:32:34 -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=dJwaayAr; 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 S1729852AbfFFQcd (ORCPT + 30 others); Thu, 6 Jun 2019 12:32:33 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:54348 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726593AbfFFQca (ORCPT ); Thu, 6 Jun 2019 12:32:30 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x56GW32H064811; Thu, 6 Jun 2019 11:32:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1559838723; bh=vve9U+wzc4vCwKL4B0UU+JLqKTIC0YBQuBU2TPamO4Y=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=dJwaayArfJ8bsC3MRaRqoyl0uJugrygIEQ9F6wehuBIPzmW6hDLAQR7xRGHlYYhDA DVT90EdiDCF3yV3ydP5kc8Fu3uYa+FeHScZoRmb00AvSSLNDuGQCVlV35tMusCIZTe 2OlD906SZgbUVU5xWiBmZcPVx8h8d/xXomt/i1fE= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x56GW305083755 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 6 Jun 2019 11:32:03 -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; Thu, 6 Jun 2019 11:32:03 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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; Thu, 6 Jun 2019 11:32:03 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x56GW2J6056400; Thu, 6 Jun 2019 11:32:03 -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 v2 10/10] ARM: configs: keystone: enable cpts Date: Thu, 6 Jun 2019 19:30:47 +0300 Message-ID: <20190606163047.31199-11-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190606163047.31199-1-grygorii.strashko@ti.com> References: <20190606163047.31199-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 Enable CPTS support which is present in Network Coprocessor Gigabit Ethernet (GbE) Switch Subsystem. Signed-off-by: Grygorii Strashko Acked-by: Richard Cochran --- 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