From patchwork Tue Aug 28 00:50:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 145229 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp566167ljw; Mon, 27 Aug 2018 17:51:35 -0700 (PDT) X-Google-Smtp-Source: ANB0VdapMbEtAKAf9+S0k+BcwpcS73DPr95N0JjIAgag3pjDXy4o3hUGDK0vstsAiqngHgZwgoTA X-Received: by 2002:a63:a745:: with SMTP id w5-v6mr14104832pgo.374.1535417495411; Mon, 27 Aug 2018 17:51:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535417495; cv=none; d=google.com; s=arc-20160816; b=VmCK22iyVTy9NoDMhzL2x7QBkfTN7jPGDbEJ8V3wjaEy/zjdfNQiXjVienpi65bTof AjCi/4CDghD9I5BTozxqfESnyd4MP8EyYiq0NoyCUO5YeyBteXjm0P05VyBE/ylhj02N 8Igtldc2SxGmE6KALY710xyDmG7qzFb/MbyC1iGZEnNJc+e/6QYGJ932p0a/bs+HEMMc A14hYjYQm+xoIJK4UCgIFurQKpbXRQTANF2RF2HOi15YeZaxPbyxVT5fmUooKH55SsFh OVJuCO794ZpkEnBqEYJLn5COwNzBk1Dnccc0U8B3SzV1Nqku+CsAr9aU21ZsSY42YI16 E2WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=CbrxiMJK6QPOdoVkUZCH4GqdGA9cpeNw2W9tDbs/KLQ=; b=a+52lT2cUrmYgSpfzqVRNanD5UqWw8QiAkHZo675gffT/gU1Asilvy3rl4jXM8ZaO0 BHK158bsiS7ZwcEo7dyXMdxv++W7suGcJY0TLA+EipUu3IOCZmFbeVZEH86rOdFB20qg 4TNyCWJWQty1leVoVTTZqh1ERnyiK0pimzk05s+CXai0XUNfdR6dCg4cletfbAM9E+3J Pz3Kp5miQRg9SzEvkAGvnihZ50eIUSUOtGycXPJlGYZ7BxCw4yGggG5jJFp6oRXRX2DP 0wSjq2TCaUeauQPyT+MiAcgEYi9ofSJxtjWGCnrmh9y4UDpBracgeqIytNCpEDeL+Jlz ZLEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=e5uzcbnB; 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 l17-v6si795240pgu.79.2018.08.27.17.51.35; Mon, 27 Aug 2018 17:51:35 -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=e5uzcbnB; 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 S1726514AbeH1Ekf (ORCPT + 32 others); Tue, 28 Aug 2018 00:40:35 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:36988 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725198AbeH1Ekf (ORCPT ); Tue, 28 Aug 2018 00:40:35 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7S0p0Sb018613; Mon, 27 Aug 2018 19:51:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1535417460; bh=CbrxiMJK6QPOdoVkUZCH4GqdGA9cpeNw2W9tDbs/KLQ=; h=From:To:CC:Subject:Date; b=e5uzcbnBjnt4hl5pEBnorxHX2pD1ytc4tclDRHiWHVfm6evmiYJxKghfeyL5cTpFc Og/KWoqbguf5n+gLCf60YVWSM7KilrSTGmXeZRmW6QnXDszb2cj9e9NCJv7qOs/bfB HE9DMUa8yzz2ugYVzml0zPnAlySZYSW02G9yChbc= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7S0p07l026197; Mon, 27 Aug 2018 19:51:00 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Mon, 27 Aug 2018 19:50:59 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Mon, 27 Aug 2018 19:50:59 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7S0oxIC005283; Mon, 27 Aug 2018 19:50:59 -0500 From: Nishanth Menon To: Santosh Shilimkar , Stephen Boyd , Michael Turquette CC: , , , , , Nishanth Menon Subject: [PATCH] clk: keystone: Enable TISCI clocks if K3_ARCH Date: Mon, 27 Aug 2018 19:50:56 -0500 Message-ID: <20180828005056.27326-1-nm@ti.com> X-Mailer: git-send-email 2.15.1 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 K3_ARCH uses TISCI for clocks as well. Enable the same for the driver support. Signed-off-by: Nishanth Menon --- Ref: https://patchwork.kernel.org/patch/10447677/ Since ARCH_K3 only got integrated in v4.19-rc1, rebased to v4.19-rc1 tag.. drivers/clk/Makefile | 1 + drivers/clk/keystone/Kconfig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) -- 2.15.1 Acked-by: Santosh Shilimkar diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index a84c5573cabe..ed344eb717cc 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile @@ -73,6 +73,7 @@ obj-$(CONFIG_ARCH_HISI) += hisilicon/ obj-y += imgtec/ obj-$(CONFIG_ARCH_MXC) += imx/ obj-$(CONFIG_MACH_INGENIC) += ingenic/ +obj-$(CONFIG_ARCH_K3) += keystone/ obj-$(CONFIG_ARCH_KEYSTONE) += keystone/ obj-$(CONFIG_MACH_LOONGSON32) += loongson1/ obj-y += mediatek/ diff --git a/drivers/clk/keystone/Kconfig b/drivers/clk/keystone/Kconfig index 7e9f0176578a..b04927d06cd1 100644 --- a/drivers/clk/keystone/Kconfig +++ b/drivers/clk/keystone/Kconfig @@ -7,7 +7,7 @@ config COMMON_CLK_KEYSTONE config TI_SCI_CLK tristate "TI System Control Interface clock drivers" - depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF + depends on (ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST) && OF depends on TI_SCI_PROTOCOL default ARCH_KEYSTONE ---help---