From patchwork Tue Jan 8 13:30:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 10752019 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 728F11399 for ; Tue, 8 Jan 2019 13:31:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 634E328CC7 for ; Tue, 8 Jan 2019 13:31:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 576E828D0E; Tue, 8 Jan 2019 13:31:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EE4A528CC7 for ; Tue, 8 Jan 2019 13:31:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728426AbfAHNbj (ORCPT ); Tue, 8 Jan 2019 08:31:39 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:39448 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727654AbfAHNbj (ORCPT ); Tue, 8 Jan 2019 08:31:39 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x08DVQAb075118; Tue, 8 Jan 2019 07:31:26 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1546954286; bh=+wg76Pqo+Bo8l3yM3CQNB0mIE8I40rfxxv6nykYX4ZQ=; h=From:To:Subject:Date; b=qJ3VUWZsgw9hWVOKKifu3XUtcnHXdv0S5lU0LOvp2cooODlt/fY3Z80mphwFT5t29 hyZgYK0g8/9nj7zB5RuJCwtZuL0Aex2mRNd79eJJ04Dki/rh6lWqtp8JwT2AMSMfyg 6ia0H3Jx4mVHXjh+OUIEsVIUHtymgGkJqJof1Sfw= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x08DVQJp074701 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 8 Jan 2019 07:31:26 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Tue, 8 Jan 2019 07:31:25 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Tue, 8 Jan 2019 07:31:25 -0600 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x08DVMue011668; Tue, 8 Jan 2019 07:31:23 -0600 From: Tero Kristo To: , , , , , , Subject: [PATCH 0/3] clk: keystone: a few TI sci-clk improvements Date: Tue, 8 Jan 2019 15:30:20 +0200 Message-ID: <1546954223-9738-1-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, Patch 1 & 2 introduce a new DT flag for parsing the clock data from devicetree instead of querying everything from firmware. The purpose of this change is to improve boot time, it can be seen to give ~2s improvement in certain setups. If adding a new DT flag for this is not acceptable, a kernel command line parameter could be introduced instead, or even a new Kconfig option. I voted for the DT flag for now as that seems to be the most versatile solution. Patch 3 shortens the kernel registered clock names, currently for am65x they are of the form: interconnect@100000:interconnect@28380000:interconnect@42040000:dmsc:clocks:11:1 0 After this patch the same clock name is cut down to: clocks:11:10 This makes the debugfs interface much more readable in addition to some memory savings. -Tero --- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki