Received: by 10.223.185.116 with SMTP id b49csp1633412wrg; Wed, 14 Feb 2018 22:05:07 -0800 (PST) X-Google-Smtp-Source: AH8x225VO2FqnUaT3e6zih9eLr29VJkWHAN6REV171BSygF6og68r1NiY+h3D4zqnv4NHSgwujjp X-Received: by 10.99.4.197 with SMTP id 188mr1253318pge.359.1518674707711; Wed, 14 Feb 2018 22:05:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518674707; cv=none; d=google.com; s=arc-20160816; b=p9xIVTtFIwpg1xQIw8J8tK7OL+pwwCt3unpPfMaXVBQRDxohBd4GLbkLQU3dx5A4mN lzlB1KJpgIX/kCQWDtTEoHC2rUlxqmqHaLSK9YqAqCT+N+uy1OAGKmhUUOb/LklZELS/ pKdrweFl63DFFko79qtjEnlGojFiaZr2LUXhE8DR67qURQUp7yebAUPsgBiVLqY+XIx+ CwmG9I4Jcj2g/dpF3GvzJTsZ58eolE2byvWLZdtDWJD4huOW5s/cheSJiHLd91hd4Rg/ rTGFq0wOXuH/00XeAxFciDx9N+5zvuIRCryzTJGHd0E8/vhS34BKNjiRDTWc9t1iFTC4 rJ/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=/EzMHtmbXx0YBffG18rypXVwog9m+YoKQHlSh93b3jE=; b=dCYKmf0OSKMDXrGtrrbcbBl2DL+DwA9yzGH0wElwko9046qHm2zD0LgiNAawHXYg0E g/mCsMLcV5Wq5b5chz/IMcODbTIhyjEB8r6NKfbSSF6qM9epvuIygbNuRVWBmFiiLdA0 +u+r5D+GCtjiEDW0zj/ilKoGYDcwE4ZIHsks5gUobEsC1LVw0WcaEYdzaFfXTpXBLkdb 8SYlahPUimk4+HzooqesvF3y/18XRlX4G6SzjoiGuWACSZAqHYeN4OXE0Y+hBJ+sbzsr WlJSMHCqnktZmwGhMSnTACBNx6r3FjusGahPW1jbF6bq7p+RD43wBUhN91QeLHDZPt20 90vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=MiTHK6GL; 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 f13si2411090pgn.155.2018.02.14.22.04.39; Wed, 14 Feb 2018 22:05:07 -0800 (PST) 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=MiTHK6GL; 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 S1754787AbeBOGDj (ORCPT + 99 others); Thu, 15 Feb 2018 01:03:39 -0500 Received: from lelnx193.ext.ti.com ([198.47.27.77]:38637 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751648AbeBOGDh (ORCPT ); Thu, 15 Feb 2018 01:03:37 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w1F632dg023063; Thu, 15 Feb 2018 00:03:02 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1518674583; bh=a2s5ZkvqnCvjcvHTvXWmhFyxZC3bruk+FNHAAkkYvzk=; h=From:To:CC:Subject:Date; b=MiTHK6GLO2+zknDLSWTpb8O0U5MzMfOjBYdpGNSREF6TYaoy3rqoji2A9y2VXPqW+ BPX4zPb7RqyP3xRiegTi87rVTTa1w0UUq3kJd3q2iU8Ka/vGFW8W/OT6WzhuqnumAL lXXuS/eF50509eqx9PVVQJ48ViSKq6nkDLvkzTVw= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1F632mI008444; Thu, 15 Feb 2018 00:03:02 -0600 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Thu, 15 Feb 2018 00:03:01 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Thu, 15 Feb 2018 00:03:01 -0600 Received: from ula0393675.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1F62uf0020364; Thu, 15 Feb 2018 00:02:57 -0600 From: Keerthy To: , , , CC: , , , , , , , , , , , , Subject: [PATCH v11 00/10] omap: dmtimer: Move driver out of plat-omap Date: Thu, 15 Feb 2018 11:31:41 +0530 Message-ID: <1518674511-26421-1-git-send-email-j-keerthy@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain 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 The series moves dmtimer out of plat-omap to drivers/clocksource. The series also does a bunch of changes to pwm-omap-dmtimer code to adapt to the driver migration and clean up plat specific pdata-quirks and use the dmtimer platform data. Boot tested on DRA7-EVM and AM437X-GP-EVM. Compile tested omap1_defconfig. This is based on top of https://kernel.googlesource.com/pub/scm/linux/kernel/git/tmlind/linux-omap omap-for-v4.17/soc branch. Changes from V10: * Rebased on top of https://kernel.googlesource.com/pub/scm/linux/kernel/git/tmlind/linux-omap omap-for-v4.17/soc branch. Changes from v9: * Fixed a typo in patch 9/10 Changes from v8: * Reordered Patch 9/10 a bit. Changes from V7: * Introduced of_node_put in Patch 9/10 Changes from V6: * Fixed error checking for pwm driver patch. * Removed one of the fixes from Ladis as per request. Changes from V5: * Added couple of fixes from Ladis for pwm-dmtimer. Changes from v4: * Made OMAP_DM_TIMER config option silent. * Changed the driver name to timer-dm.c Changes from v3: * Reverted to v2 approach of using dev_get_platdata to fetch dmtimer ops. Changes from V2: * Wrapped the inline functions in header file under OMAP2PLUS * Added a new of helper function to fetch plat_data from of node. Keerthy (9): clocksource: dmtimer: Remove all the exports arm: omap: timer: Wrap the inline functions under OMAP2PLUS define arm: omap: Move dmtimer.h out of plat-omap clocksource: timer-ti-dm: Replace architecture specific guard with clocksource arm: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource dmtimer: Add timer ops to the platform data structure clocksource: dmtimer: Populate the timer ops to the pdata pwm: pwm-omap-dmtimer: Adapt driver to utilize dmtimer pdata ops arm: omap: pdata-quirks: Remove unused timer pdata Ladislav Michl (1): clocksource: timer-dm: Hook device platform data if not already assigned arch/arm/mach-omap1/pm.c | 2 +- arch/arm/mach-omap1/timer.c | 2 +- arch/arm/mach-omap2/pdata-quirks.c | 32 ---------- arch/arm/mach-omap2/timer.c | 2 +- arch/arm/plat-omap/Kconfig | 6 -- arch/arm/plat-omap/Makefile | 1 - drivers/clocksource/Kconfig | 3 + drivers/clocksource/Makefile | 1 + .../dmtimer.c => drivers/clocksource/timer-ti-dm.c | 64 ++++++++++---------- drivers/pwm/pwm-omap-dmtimer.c | 68 +++++++++++++--------- .../dmtimer.h => include/clocksource/timer-ti-dm.h | 25 ++++++-- include/linux/platform_data/dmtimer-omap.h | 38 ++++++++++++ 12 files changed, 138 insertions(+), 106 deletions(-) rename arch/arm/plat-omap/dmtimer.c => drivers/clocksource/timer-ti-dm.c (94%) rename arch/arm/plat-omap/include/plat/dmtimer.h => include/clocksource/timer-ti-dm.h (96%) -- 1.9.1