Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2444338ybt; Fri, 3 Jul 2020 09:11:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwO6N4tci/SBtX5zIcUHROylgRqhrfUUDvvaHfuZzsXxsMCRg++H3nb/v+k5I8l7qseIlPg X-Received: by 2002:a50:d0cc:: with SMTP id g12mr42255297edf.57.1593792684320; Fri, 03 Jul 2020 09:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593792684; cv=none; d=google.com; s=arc-20160816; b=gm7lrq8ojmjzwbflHP7q1E8E4f9zUgCQ8IFAjhHZbK4C8MVf5CHmeqCjiXDXcUagKs 3Stbw5p7RRa+owE6p3S/rYpNueT1CvIwB+b31CCsAk8Z9/tIZve3AnOtRB8gz4by7QGt HJp+3GMJCWMkQ1vKPAH6m6Z8D8N0I1CMT52scmb02nivLPgvNYbwtFnwq5VuXbHK8lxj sLgypJaehMAQn7C+io+epFUVvKQnhV+aHX2R4NkZ5J5+25r84AgpzXtZrB08SUbixNIX 941z/iCPhhY4ItEIxVH5nx3oKcc6JS4eEQ2w74o+yT2hSBUsSLmYwfZzgFoZjfHPrewt a1tQ== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=QTx2ArwL9s7o6AsH80rYcMuhGMU+bjhH0d3gTPg51Vo=; b=0uiRZ4n1ZRStBYJ1//qTM2dMkP68Z9WG6w9r9r/yVzvszdKUVuRlm1OjWUOGdETVsT 0TDo5nZxwjkHRmO3y/D2nbdrwMPTH5h/FzzwV58x4ZGAkoW809JzGiwGFIJfL5UdbG5B sduLt5Z7hKP70ZwTccn223rx/tCA0qt1aAbH/u6gw3BN7Nfgd9oN5IE9dhtVFoY9ZL+Q 3bYJQ8VYPayK1F1xZOSyWye0NMpJxzF5ipLHqL8EXeV98DFXWJxKuZZmxh90lG2MV9DU G4+Ib5h74v3Su1BFj3n1Pln7KtUU/MhhbU4OhRzE+d+8tr6tRRjxcSLbF4+tzulPJ1gi mZuw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h14si8435747eje.503.2020.07.03.09.11.00; Fri, 03 Jul 2020 09:11:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726610AbgGCQHs (ORCPT + 99 others); Fri, 3 Jul 2020 12:07:48 -0400 Received: from muru.com ([72.249.23.125]:60634 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726484AbgGCQHq (ORCPT ); Fri, 3 Jul 2020 12:07:46 -0400 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 62D318087; Fri, 3 Jul 2020 16:08:38 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: "Andrew F . Davis" , Dave Gerlach , Faiz Abbas , Santosh Shilimkar , Suman Anna , Tero Kristo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Keerthy Subject: [PATCH 3/3] ARM: OMAP2+: Drop legacy platform data for dra7 rtcss Date: Fri, 3 Jul 2020 09:07:31 -0700 Message-Id: <20200703160731.53698-4-tony@atomide.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200703160731.53698-1-tony@atomide.com> References: <20200703160731.53698-1-tony@atomide.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We can now probe devices with ti-sysc interconnect driver and dts data. Let's drop the related platform data and custom ti,hwmods dts property. As we're just dropping data, and the early platform data init is based on the custom ti,hwmods property, we want to drop both the platform data and ti,hwmods property in a single patch. Cc: Keerthy Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/dra7-l4.dtsi | 1 - arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 44 ----------------------- 2 files changed, 45 deletions(-) diff --git a/arch/arm/boot/dts/dra7-l4.dtsi b/arch/arm/boot/dts/dra7-l4.dtsi --- a/arch/arm/boot/dts/dra7-l4.dtsi +++ b/arch/arm/boot/dts/dra7-l4.dtsi @@ -3561,7 +3561,6 @@ timer16: timer@0 { rtctarget: target-module@38000 { /* 0x48838000, ap 29 12.0 */ compatible = "ti,sysc-omap4-simple", "ti,sysc"; - ti,hwmods = "rtcss"; reg = <0x38074 0x4>, <0x38078 0x4>; reg-names = "rev", "sysc"; diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c @@ -418,41 +418,6 @@ static struct omap_hwmod dra7xx_qspi_hwmod = { }, }; -/* - * 'rtcss' class - * - */ -static struct omap_hwmod_class_sysconfig dra7xx_rtcss_sysc = { - .rev_offs = 0x0074, - .sysc_offs = 0x0078, - .sysc_flags = SYSC_HAS_SIDLEMODE, - .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART | - SIDLE_SMART_WKUP), - .sysc_fields = &omap_hwmod_sysc_type3, -}; - -static struct omap_hwmod_class dra7xx_rtcss_hwmod_class = { - .name = "rtcss", - .sysc = &dra7xx_rtcss_sysc, - .unlock = &omap_hwmod_rtc_unlock, - .lock = &omap_hwmod_rtc_lock, -}; - -/* rtcss */ -static struct omap_hwmod dra7xx_rtcss_hwmod = { - .name = "rtcss", - .class = &dra7xx_rtcss_hwmod_class, - .clkdm_name = "rtc_clkdm", - .main_clk = "sys_32k_ck", - .prcm = { - .omap4 = { - .clkctrl_offs = DRA7XX_CM_RTC_RTCSS_CLKCTRL_OFFSET, - .context_offs = DRA7XX_RM_RTC_RTCSS_CONTEXT_OFFSET, - .modulemode = MODULEMODE_SWCTRL, - }, - }, -}; - /* * 'sata' class * @@ -797,14 +762,6 @@ static struct omap_hwmod_ocp_if dra7xx_l3_main_1__qspi = { .user = OCP_USER_MPU | OCP_USER_SDMA, }; -/* l4_per3 -> rtcss */ -static struct omap_hwmod_ocp_if dra7xx_l4_per3__rtcss = { - .master = &dra7xx_l4_per3_hwmod, - .slave = &dra7xx_rtcss_hwmod, - .clk = "l4_root_clk_div", - .user = OCP_USER_MPU | OCP_USER_SDMA, -}; - /* l4_cfg -> sata */ static struct omap_hwmod_ocp_if dra7xx_l4_cfg__sata = { .master = &dra7xx_l4_cfg_hwmod, @@ -930,7 +887,6 @@ static struct omap_hwmod_ocp_if *dra72x_hwmod_ocp_ifs[] __initdata = { }; static struct omap_hwmod_ocp_if *rtc_hwmod_ocp_ifs[] __initdata = { - &dra7xx_l4_per3__rtcss, NULL, }; -- 2.27.0