Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4615029imm; Wed, 30 May 2018 08:45:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIGfAj3DCCG+WajrstwZHRwt/RNVjix6Oap6wYL9NyGZN0LepFpKtrhztwk7VShwOh42ptc X-Received: by 2002:a63:6ec6:: with SMTP id j189-v6mr2597412pgc.71.1527695131427; Wed, 30 May 2018 08:45:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527695131; cv=none; d=google.com; s=arc-20160816; b=I/yIC8QSUEcuxqQWh+r0ES7DnxyzllqezSFH4dWI3jcbRkfYGx+v23HXiTCl0t/hPF C8IDwe4KK+F9oTEWQjcWyP0pQ333lMRT+O2/o9gawmRKYvr1YCfRF20k70JB3QUgBZuI FP13NLu/dxJ3F0CYI1w3Cz481xUyR4R0zUuonAdZpkR7fOL5Vfthp+9v8Su5pcp9i8/0 i9YTq6q+iPL+FVJEPIca5UCGcz1BqIEAwr/kjvm6kVzWct5Nc6hv3znu07+j6UiL2opb 7DB+KHuMr5AgaPMzpe1gYZ6o7nkioGYngzX0rk/wtEPnRGIaLmGt8HQ79nB+PXzeJDGa VBmQ== 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=IV0rAno5p3ZcRgLvY7fteRpmX7hSM67LRtV69+rYz8Y=; b=r3Ocl8O0We9lNpiXeheymsLF5jaBKxdEHU1Oa5SDVwOIzAcD1SECP/fJ1FQcQ0MeGX g3fTMXVXi9f9utzpkkKMuAZ4mkocEN2YQUvuc8uCFhiJceblyuq5eau/F67NimJ1gf4T XJHqovvsHMrNhJBZbwIfd7xmMdHaM3M9Xj4aigRqNXj9wCseQovFGhM9pYPpfWQP2Th0 mlucJx9l63sQrqgM6+ewTidvcbzBL57YmdXJhZOeOQVljAYnY9wPJwZDmaBgRt6OSJtn BQDEIGANI8w39iD0zeawqMwtJAbD65YvdQaLNBFl6UlarLG5IBxnhiUfiPgHwyEaRhNr v0/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=PIN2++TC; 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 z12-v6si27171814pgu.115.2018.05.30.08.45.16; Wed, 30 May 2018 08:45:31 -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=PIN2++TC; 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 S1753611AbeE3Pmy (ORCPT + 99 others); Wed, 30 May 2018 11:42:54 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:60855 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751191AbeE3Pms (ORCPT ); Wed, 30 May 2018 11:42:48 -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 w4UFgVA8007802; Wed, 30 May 2018 10:42:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1527694951; bh=IV0rAno5p3ZcRgLvY7fteRpmX7hSM67LRtV69+rYz8Y=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=PIN2++TCqiJTs+D/kBsjHT3u1sxMZobQ/Gcu5oOc+3+G+SKjOK/2+5dWPb8gUUa8h pEhnsgQ4IHzue2NE2RB8iRa0GO3u9mi/58qt+qPQIN2+oFPCEZ/Idt28nAsEghN9b4 DisOtjKsN2jgcu6oh5/UOMHj3Yt+PYpxzWn9AtTQ= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4UFgVWh002839; Wed, 30 May 2018 10:42:31 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 30 May 2018 10:42:30 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Wed, 30 May 2018 10:42:30 -0500 Received: from [127.0.0.1] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w4UFgQa3031261; Wed, 30 May 2018 10:42:27 -0500 Subject: Re: [PATCH v2 1/6] ARM: dra762: hwmod: Add MCAN support To: Tony Lindgren CC: Faiz Abbas , , , , , , , , References: <20180530141133.3711-1-faiz_abbas@ti.com> <20180530141133.3711-2-faiz_abbas@ti.com> <20180530145047.GC5705@atomide.com> <20180530152825.GG5705@atomide.com> From: Tero Kristo Message-ID: Date: Wed, 30 May 2018 18:41:59 +0300 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: <20180530152825.GG5705@atomide.com> Content-Type: text/plain; charset="utf-8"; format=flowed 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 30/05/18 18:28, Tony Lindgren wrote: > * Tero Kristo [180530 15:18]: >> For the OCP if part, I think that is still needed until we switch over to >> full sysc driver. clkctrl_offs you probably also need because that is used >> for mapping the omap_hwmod against a specific clkctrl clock. Those can be >> only removed once we are done with hwmod (or figure out some other way to >> assign the clkctrl clock to a hwmod.) > > Hmm might be worth testing. I thought your commit 70f05be32133 > ("ARM: OMAP2+: hwmod: populate clkctrl clocks for hwmods if available") > already parses the clkctrl from dts? It maps the clkctrl clock to be used by hwmod, if those are available. We didn't add any specific clock entries to DT for mapping the actual clkctrl clock without the hwmod_data hints yet though, as that was deemed temporary solution only due to transition to interconnect driver. I.e., you would need something like this in DT for every device node: &uart3 { clocks = ; clock-names = "clkctrl"; }; ... which is currently not present. Alternatively you could rename the main_clk in the hwmod_data to point towards the clkctrl clock, but again, that would be a temporary solution only. -Tero -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki