From patchwork Tue Dec 29 23:16:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 1421278 X-Patchwork-Delegate: lokeshvutla@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=libero.it Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=libero.it header.i=@libero.it header.a=rsa-sha256 header.s=s2014 header.b=YaBAzVNU; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4D59L914l5z9sVs for ; Wed, 30 Dec 2020 10:17:21 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 426B282628; Wed, 30 Dec 2020 00:17:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=libero.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=libero.it header.i=@libero.it header.b="YaBAzVNU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 027EC825AE; Wed, 30 Dec 2020 00:17:12 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from libero.it (smtp-18.italiaonline.it [213.209.10.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9E47A825AE for ; Wed, 30 Dec 2020 00:17:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=libero.it Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=dariobin@libero.it Received: from passgat-Modern-14-A10M.homenet.telecomitalia.it ([79.54.115.44]) by smtp-18.iol.local with ESMTPA id uOEbkbHOI7QU9uOEmkzgzv; Wed, 30 Dec 2020 00:17:09 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2014; t=1609283829; bh=88XuLxHEXHETP9s0c4MBTxtK1AUMRXWgpazQ6+0Ie/M=; h=From; b=YaBAzVNUIFAVb/GW0OxiK2nXgo5AyVyk0fvVBt8M6hvcRMIIM5d9P8QbnuHvkLUX2 ckgfQNC/noX5D/49wOI3eIa47aSKLXll5HWJCo3jtEmbxMJnnc2iwRdO0LjfbUnGuL 6NHuktrI2zdQ8MOje3iS56OButYatFcjQ6c9VbnlzWtF2y0wUFt/Fa37jQeqbsVLzN GcVC47pplQzfx3gAt2mPHgntjn56j1vbPDowOUEmIFdpsZBIOi/41qOt0076FtG5Mb j4qSitOTTfYw/IiFD+9MfYYeoK0gUXY4eLdcWhwyIaJ3si4EXFRPNphm+mASF5veH5 wI7KMPp2wRLPg== X-CNFS-Analysis: v=2.4 cv=Y+c9DjSN c=1 sm=1 tr=0 ts=5febb8f5 cx=a_exe a=4XFUYcG0DNokufVEFeBjWw==:117 a=4XFUYcG0DNokufVEFeBjWw==:17 a=_zYoQZxBzbl7m-bXP60A:9 From: Dario Binacchi To: u-boot@lists.denx.de Cc: Lokesh Vutla , Dario Binacchi , Lukasz Majewski Subject: [PATCH v8 16/28] clk: move clk-ti-sci driver to 'ti' directory Date: Wed, 30 Dec 2020 00:16:20 +0100 Message-Id: <20201229231632.10973-17-dariobin@libero.it> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201229231632.10973-15-dariobin@libero.it> References: <20201229231632.10973-15-dariobin@libero.it> X-CMAE-Envelope: MS4xfGg18bnH7ZQ6Ja73IWW3UFL2feN/TdvYcv1ONNHsYwrqbCmXlUnMPsy+VFR5pI8oULP/ymFT6AlWkAdkAQuOrQhhH6ZONM77MWlz+RsrCbhXVJ343pFV ALlLL7iwAWwZGrefue24CFg7jiUu70XCpInnJ3ib4GV9oJp4zpxECah1l724PAs85G/vmKrAMMdq13NX7SAED1NicrRMJT7sIH5barvrQDVLD/ouymu55I8i ynnz8ATi26VVpRq5PKgSY5xT1z9ixRKXVsOl12cXvPZvB8BY7o9fVAfjsfnHVBmOB7PDTyANGBR5RzYCJvmMpg== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean The patch moves the clk-ti-sci.c file to the 'ti' directory along with all the other TI's drivers, and renames it clk-sci.c. Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/clk/Kconfig | 8 -------- drivers/clk/Makefile | 1 - drivers/clk/ti/Kconfig | 8 ++++++++ drivers/clk/ti/Makefile | 1 + drivers/clk/{clk-ti-sci.c => ti/clk-sci.c} | 0 5 files changed, 9 insertions(+), 9 deletions(-) rename drivers/clk/{clk-ti-sci.c => ti/clk-sci.c} (100%) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 9e54929039..db06f276ec 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -98,14 +98,6 @@ config CLK_STM32F This clock driver adds support for RCC clock management for STM32F4 and STM32F7 SoCs. -config CLK_TI_SCI - bool "TI System Control Interface (TI SCI) clock driver" - depends on CLK && TI_SCI_PROTOCOL && OF_CONTROL - help - This enables the clock driver support over TI System Control Interface - available on some new TI's SoCs. If you wish to use clock resources - managed by the TI System Controller, say Y here. Otherwise, say N. - config CLK_HSDK bool "Enable cgu clock driver for HSDK boards" depends on CLK && TARGET_HSDK diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index 2581fe0a19..f8383e523d 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile @@ -48,6 +48,5 @@ obj-$(CONFIG_SANDBOX) += clk_sandbox.o obj-$(CONFIG_SANDBOX) += clk_sandbox_test.o obj-$(CONFIG_SANDBOX_CLK_CCF) += clk_sandbox_ccf.o obj-$(CONFIG_STM32H7) += clk_stm32h7.o -obj-$(CONFIG_CLK_TI_SCI) += clk-ti-sci.o obj-$(CONFIG_CLK_VERSAL) += clk_versal.o obj-$(CONFIG_CLK_CDCE9XX) += clk-cdce9xx.o diff --git a/drivers/clk/ti/Kconfig b/drivers/clk/ti/Kconfig index 9e257a2eb7..2dc86d44a9 100644 --- a/drivers/clk/ti/Kconfig +++ b/drivers/clk/ti/Kconfig @@ -33,3 +33,11 @@ config CLK_TI_MUX depends on CLK && OF_CONTROL && CLK_CCF help This enables the mux clock driver support on TI's SoCs. + +config CLK_TI_SCI + bool "TI System Control Interface (TI SCI) clock driver" + depends on CLK && TI_SCI_PROTOCOL && OF_CONTROL + help + This enables the clock driver support over TI System Control Interface + available on some new TI's SoCs. If you wish to use clock resources + managed by the TI System Controller, say Y here. Otherwise, say N. diff --git a/drivers/clk/ti/Makefile b/drivers/clk/ti/Makefile index dbd343069c..9f56b47736 100644 --- a/drivers/clk/ti/Makefile +++ b/drivers/clk/ti/Makefile @@ -10,3 +10,4 @@ obj-$(CONFIG_CLK_TI_CTRL) += clk-ctrl.o obj-$(CONFIG_CLK_TI_DIVIDER) += clk-divider.o obj-$(CONFIG_CLK_TI_GATE) += clk-gate.o obj-$(CONFIG_CLK_TI_MUX) += clk-mux.o +obj-$(CONFIG_CLK_TI_SCI) += clk-sci.o diff --git a/drivers/clk/clk-ti-sci.c b/drivers/clk/ti/clk-sci.c similarity index 100% rename from drivers/clk/clk-ti-sci.c rename to drivers/clk/ti/clk-sci.c