From patchwork Mon Oct 30 13:04:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 117466 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2564066qgn; Mon, 30 Oct 2017 06:05:54 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Rak3/q4wHAeN/sNWoGtkpIX0jPDLNsaUjfreuH7xRRxIZYjIMesR0FYSQ7aaqX/9JYgcQQ X-Received: by 10.159.254.4 with SMTP id r4mr7252124pls.353.1509368754372; Mon, 30 Oct 2017 06:05:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509368754; cv=none; d=google.com; s=arc-20160816; b=mgGjRfKtptuu1anLef1kDoV/LX4rTPdVDR1S9hK7HLsxaEcZCt/vIbNBrn0KEaWacA AVdW1MPl/v5HSC5Ke4YopF1JysjWN+gtt3fCLK1IRDK4CixvXcFBu6HevBFHFMBn3NTE /gMIxLt6P656O/kvVxBM1gJ0leCakWsR3BxF5mOkt5LIJtAvk3qUzGu/80IeocQudP90 bOMvPViidVlPPOakk//KWPVxyA8rvn6KwxudoXoGrRrscySo9/zeSxrBjaOaMxxbWO8+ HL6v7q6+sEBuvQFR+KzWIYvaXmGXTLqx7kOVAVHVoLY+c+JgVL/eARr6lo1RkmKNrzVz DAWw== 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=+/XFMmuOLnZQAiSCt3K9p3TpEVtuA6QOX8N8qABI1J8=; b=oNWYPRz9WsujC9Cw/IVTbG5nMOKxFFib48bUWWbyF4hurbQ+yYwEJDtesknCanI1Ck e72SLn05uevbx/d+dGLuhZd7e51rZv7TPoY6/9MNN9iuE6vpOAt16I+zWJkA5N+io5fu Y4y/KJZ8/5+Zwt/EXrzGLjuvqs40mOAb8uF5EgxleTZrHJni/05ANEjsop0CFV/6GNdi dgg7VjDARy1WU0zaR8hqeCdscFKiZZ8k+sVkx5B94lT3phMHvRxl+/zZ1Grepoaaz7Vl UMwbkIMPfQWrC0G9wRqSre8Uj67hdY1Ac+d2/ZLPGCMIb9jwAkel3AbJrZLFcCdHN1LP II2w== 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=VLY7pxL4; 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 p3si9997516pgs.362.2017.10.30.06.05.54; Mon, 30 Oct 2017 06:05:54 -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=VLY7pxL4; 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 S1752212AbdJ3NFx (ORCPT + 4 others); Mon, 30 Oct 2017 09:05:53 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:64785 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751794AbdJ3NFv (ORCPT ); Mon, 30 Oct 2017 09:05:51 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v9UD5dDj012063; Mon, 30 Oct 2017 08:05:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1509368739; bh=gksE7LopY9CYvLVMKAO714AzQwJYMnd8H4yYafrOxCo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=VLY7pxL4kH2ZIYDYaFnnph4Z2k8FiA6HYlNUHz/tz131g1B+G93ehu88lAuzGcyFw bKgPk/l0IZjWc3HiblPCXcHlad9Wy+9F/a3DiYf3gXhsEQCh9jkMMjDQ54zfK42IFJ 6amxrh5hXxpL8/avEEflM7/XOXeut29+MS9r0HrQ= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9UD5dLE017565; Mon, 30 Oct 2017 08:05:39 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Mon, 30 Oct 2017 08:05:38 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Mon, 30 Oct 2017 08:05:38 -0500 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v9UD54x2005221; Mon, 30 Oct 2017 08:05:37 -0500 From: Tero Kristo To: , , CC: , Subject: [PATCH 11/27] clk: ti: dm816x: cleanup unnecessary clock aliases Date: Mon, 30 Oct 2017 15:04:29 +0200 Message-ID: <1509368685-29112-12-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1509368685-29112-1-git-send-email-t-kristo@ti.com> References: <1509368685-29112-1-git-send-email-t-kristo@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 Most of the clock aliases are no longer needed, only leave the ones required by OMAP timer code in place. Signed-off-by: Tero Kristo --- drivers/clk/ti/clk-816x.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) -- 1.9.1 -- 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/drivers/clk/ti/clk-816x.c b/drivers/clk/ti/clk-816x.c index 2a5d84f..ac9c94a 100644 --- a/drivers/clk/ti/clk-816x.c +++ b/drivers/clk/ti/clk-816x.c @@ -19,24 +19,8 @@ static struct ti_dt_clk dm816x_clks[] = { DT_CLK(NULL, "sys_clkin", "sys_clkin_ck"), DT_CLK(NULL, "timer_sys_ck", "sys_clkin_ck"), - DT_CLK(NULL, "sys_32k_ck", "sys_32k_ck"), DT_CLK(NULL, "timer_32k_ck", "sysclk18_ck"), DT_CLK(NULL, "timer_ext_ck", "tclkin_ck"), - DT_CLK(NULL, "mpu_ck", "mpu_ck"), - DT_CLK(NULL, "timer1_fck", "timer1_fck"), - DT_CLK(NULL, "timer2_fck", "timer2_fck"), - DT_CLK(NULL, "timer3_fck", "timer3_fck"), - DT_CLK(NULL, "timer4_fck", "timer4_fck"), - DT_CLK(NULL, "timer5_fck", "timer5_fck"), - DT_CLK(NULL, "timer6_fck", "timer6_fck"), - DT_CLK(NULL, "timer7_fck", "timer7_fck"), - DT_CLK(NULL, "sysclk4_ck", "sysclk4_ck"), - DT_CLK(NULL, "sysclk5_ck", "sysclk5_ck"), - DT_CLK(NULL, "sysclk6_ck", "sysclk6_ck"), - DT_CLK(NULL, "sysclk10_ck", "sysclk10_ck"), - DT_CLK(NULL, "sysclk18_ck", "sysclk18_ck"), - DT_CLK(NULL, "sysclk24_ck", "sysclk24_ck"), - DT_CLK("4a100000.ethernet", "sysclk24_ck", "sysclk24_ck"), { .node_name = NULL }, }; @@ -50,6 +34,7 @@ int __init dm816x_dt_clk_init(void) { ti_dt_clocks_register(dm816x_clks); omap2_clk_disable_autoidle_all(); + ti_clk_add_aliases(); omap2_clk_enable_init_clocks(enable_init_clks, ARRAY_SIZE(enable_init_clks));