Received: by 10.192.165.148 with SMTP id m20csp4979741imm; Tue, 1 May 2018 07:11:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqtNGSa3Oj7ZxsCGqpWGm1p53WSowMgCIYbFAjR0jgR5SbCXV5GZwr9TpMTnjeIzLoGFxXI X-Received: by 2002:a63:8dc1:: with SMTP id z184-v6mr13178578pgd.114.1525183907659; Tue, 01 May 2018 07:11:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525183907; cv=none; d=google.com; s=arc-20160816; b=rry5oc3j5VDdUqiripHWSFgnYwukrRDgY3uN7hR4Gxw/y5DH3mQRVDDgYLZGlJ4EJj MSfeXgst2gg/rxa4Ha3ESxVD2ZFFRQenq3CgT+nR0M/YKhuisVqgGIMyPiCccGG4Yk28 L9vsCj5hcdu8oMnxmtglzX+8NWKSXjruNwONrTIoZ6bA4MHISgV7dPt2IusiwKnJIxzv VHiSni1+clLpUwe/e48Iw4g1frfKuQtpeo6Bll2+QU0bnvnyyHyFyUK5VEevsFh3HtVV L+F6cIYHpflAs+ApE890b7GrHRErQ6U42O8z3HTNYBDGhW8Diw6pp/d6L1ScPGkgMnxB aLMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=S4jFaESU1cgrMmGYFGP2C57+uW48NO7oB4BIRVVPIiA=; b=BZ8Ba31dEqhz9mBCv8W1OuY8hmJ/9EZ9kB8sioKAvLTgAHXm+4tFntUulW/wg8rZrt B230Sp3afxBHjK5NCmPNBkQsPei1dc4HStqp5mfmgBzcVM2I/bcHbu7OO6ZEGza3bOzZ mK+ngkqeS1dBw+nvK+B6tFdvp+phDz+lAlvzVoFF4JSCSoRmwthJ/ILXQ472oDg2m5/6 BBJOkhOc8xvdNVc4/EWTGHqxe9H2SgLKEWbpy3ZwWREag2i8WErGUA4P7v2XIGD1A1Ze Gc6XXNZNAk8LHMN/NGjSKhmGfjajXbMaRvXVQPtJEB2qqyBoQP6NrU14+sA7DNe6Zyqy 9xYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=xsB1oUgq; 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 k4-v6si7731009pgq.683.2018.05.01.07.11.33; Tue, 01 May 2018 07:11:47 -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=xsB1oUgq; 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 S1755705AbeEAOLN (ORCPT + 99 others); Tue, 1 May 2018 10:11:13 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:12385 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755219AbeEAOLL (ORCPT ); Tue, 1 May 2018 10:11:11 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w41EA7ac032748; Tue, 1 May 2018 09:10:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1525183807; bh=m2WddiNNREEnvVO1sB/kVqI6sm1FB4RBJwVfemCsQdc=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=xsB1oUgq48CCW5UhqIk92ZEImhEwN1KFQ1RfBRam1f5+HKcetLDSdudLBgaVS3P71 a32CPeoSNJ0+oWJ9TvxzZdLhXTOw4kG76qbspF4kWO8EtrOnO6wUhGKxw5oH3pItTg LuUz1QE0ZCtOPygAtCCPfQmShhbneJilPH57+bFE= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w41EA7xf001709; Tue, 1 May 2018 09:10:07 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 1 May 2018 09:10:06 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 1 May 2018 09:10:06 -0500 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w41E9u3V001822; Tue, 1 May 2018 09:09:58 -0500 Subject: Re: [PATCH v9 04/27] ARM: davinci: pass clock as parameter to davinci_timer_init() To: David Lechner , , , CC: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Kevin Hilman , Bartosz Golaszewski , Adam Ford , References: <20180427001745.4116-1-david@lechnology.com> <20180427001745.4116-5-david@lechnology.com> From: Sekhar Nori Message-ID: <29a9a03c-93f5-dddf-2a6e-da7fd83e0c4f@ti.com> Date: Tue, 1 May 2018 19:39:56 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180427001745.4116-5-david@lechnology.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit 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 On Friday 27 April 2018 05:47 AM, David Lechner wrote: > This changes davinci_timer_init() so that we pass the clock as a > parameter instead of using clk_get(). This is done in preparation > for converting to the common clock framework. > > It removes the requirement that we have to have a clock with con_id > of "timer0", which will be good for DT bindings since clock-names = > "timer0" doesn't really make sense. > > Also, drop use of extern in header file since we are touching the > definition. > > Signed-off-by: David Lechner Reviewed-by: Sekhar Nori Thanks, Sekhar