Message ID | 1509719201-32700-7-git-send-email-t-kristo@ti.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3532342qgn; Fri, 3 Nov 2017 07:27:39 -0700 (PDT) X-Google-Smtp-Source: ABhQp+QXuNp5CWfoV91iQjR1bNslukg3jUn3gj4JAQBNbPZ5C1Rwg5I4ilwCwXIS9tSji6tlO2Wn X-Received: by 10.98.202.133 with SMTP id y5mr7947329pfk.122.1509719259569; Fri, 03 Nov 2017 07:27:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509719259; cv=none; d=google.com; s=arc-20160816; b=hQ4UdC3Hc1ldtDvyjL4qJ7En0H9adjXQVhr4ZmtCUuytznK/AdGS7ALOnyFwJUk5YQ Csx5KY8km0BGkd3hs76LDkRX5CvWzK4e+p5rSKBBJ2jDAVZ0lQmooqSy00IOU1Cmk+PH w+GVotGlfeXBQftmh44GXuU5DTJTzx6gr/4FBGG6pC3uDKGRSADM5U1DEl6yn1MeEfZK SSzL8xbKFDT+zjD8ssOzQwRVp80ToDz0D+TsYTjM0aYJb+2FFFwRLH6siPUWH9oGJBgr j/zEiDclYulFjfl6IggsRSKaRYbg8qNo5QTuDf+IdglkHlgP9CKRDFWGsMtkA+uHpv9y W8/w== 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=XHgkC7MLtoPmqOYO4tnUVdoZPEeM/wLe+HOqd5Xk/u4=; b=fvroKpPXiyGJlSzo+tAkV/sm67LI8eGzm0a86H3SpsvvNiPSLzXQErjcnlN+uJttKg W7+X4QcGG3RbHQMZQaMDn/RLmQtYirPKuTmLMKY95SlvZDGXmz7mj+4td48Z2xv2WT70 MIdBk8nz4Mow61kPDItqFftUX4KWLHV+CbMkGm4EiA9DroUTq5msm25hZe/Rn1a+ZT6w eQQackrbuacciayDzzYLyfcFvfKKdxWCq2D0yYAJGW4K0bwX7SvOrwSyz+c8QZEk2/Z7 o7JuM7IzQjByDsYdSo1TAXGuzNGVK+qzyl75HmPNCHObJK2H+3XcqWngCqMQmAKPsEob B5lw== 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=qbOJ158h; 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: <linux-omap-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v31si4975960plg.808.2017.11.03.07.27.39; Fri, 03 Nov 2017 07:27:39 -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=qbOJ158h; 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 S933468AbdKCO1g (ORCPT <rfc822;semen.protsenko@linaro.org> + 4 others); Fri, 3 Nov 2017 10:27:36 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:31259 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933449AbdKCO1c (ORCPT <rfc822; linux-omap@vger.kernel.org>); Fri, 3 Nov 2017 10:27:32 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id vA3ER4LZ019055; Fri, 3 Nov 2017 09:27:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1509719224; bh=sO80gySu4T3pgTwAQd2AnoED+PD2HaBVPhds0V1Q4og=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=qbOJ158hhvgWNQOi8UocdJCS9dr8NVOfMNluB7oaIVA7uvcVdbGXpkz91ag1jv7Cn mxactKIjUAiYhAZAXDPucADlkzTE1iyImY6z89g5tosriuAlxFD+T1guuuibcuxm/O 3Vuzh10qtJXFfCsrDB5AHgcYCCMaAChtip4answw= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id vA3ER4CZ011490; Fri, 3 Nov 2017 09:27:04 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Fri, 3 Nov 2017 09:27:03 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Fri, 3 Nov 2017 09:27:03 -0500 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 vA3EQow0014982; Fri, 3 Nov 2017 09:27:02 -0500 From: Tero Kristo <t-kristo@ti.com> To: <tony@atomide.com>, <linux-omap@vger.kernel.org> CC: <linux-arm-kernel@lists.infradead.org> Subject: [PATCH 6/7] ARM: OMAP2+: hwmod: calculate physical register address on am33xx Date: Fri, 3 Nov 2017 16:26:40 +0200 Message-ID: <1509719201-32700-7-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1509719201-32700-1-git-send-email-t-kristo@ti.com> References: <1509719201-32700-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: <linux-omap.vger.kernel.org> X-Mailing-List: linux-omap@vger.kernel.org |
Series |
ARM: OMAP2+: clkctrl fixes/enhancements for omaps
|
expand
|
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index bb7c745..ca5ca76 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c @@ -3840,6 +3840,7 @@ void __init omap_hwmod_init(void) soc_ops.is_hardreset_asserted = _omap4_is_hardreset_asserted; soc_ops.init_clkdm = _init_clkdm; soc_ops.disable_direct_prcm = _omap4_disable_direct_prcm; + soc_ops.xlate_clkctrl = _omap4_xlate_clkctrl; } else { WARN(1, "omap_hwmod: unknown SoC type\n"); }
Add support for the address translation logic for am33xx. Needed for mapping hwmods towards their corresponding clkctrl providers and clocks. Signed-off-by: Tero Kristo <t-kristo@ti.com> --- arch/arm/mach-omap2/omap_hwmod.c | 1 + 1 file changed, 1 insertion(+) -- 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