From patchwork Wed Mar 14 13:53:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 131579 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp904388ljb; Wed, 14 Mar 2018 06:53:41 -0700 (PDT) X-Google-Smtp-Source: AG47ELt8naP0Ym9apAO5jAd/H/NqLyIgRR03NGg7AwV8Qx3OUlv0vlaYkfV/hp/3rV/QrvgVoWV3 X-Received: by 2002:a17:902:6e8c:: with SMTP id v12-v6mr4153650plk.24.1521035621144; Wed, 14 Mar 2018 06:53:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521035621; cv=none; d=google.com; s=arc-20160816; b=N2c12p9fiEYN5y4FzwwQ5eRb9OQhPj5hQZrOW1wTCWze7ELMUwMoZGcU7n8pzhSvaD L9yPmSV3UVo8h2480a8coH0vQM4NLYU2cPGRINlbotv6+f6gvTig1DPSbaM5muPZqOov occvP4Gu9SkYI/ELHtdQob1OKWOWzmBL1vPUUHmORI/4vBHHkYLqD1SdvJMKeno8fs8Y gHvRNoN9T2yQkQc+7YDMFZr/Ro1bStJimO0WzVFVo1g2qYpk70+/wvHKE4Y0KU7xK59U oHVRzVK6PLHguXumtwQqZ1OezzwNvGiinbmhdVw5xpaujnROUTRO0pmGszH4RDldiBc4 EuIg== 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=+/ujJI5qfgachnC7S/Fx1NMLHByT63jq7id4QkIUlGs=; b=N1YcEWvyfC2p3ssaYb7FqoHJY1GFAuZ1Mrw6EnH3gkS+ROp06CmiJjme12VXwuEWEG fRwbiAQIXWxuUf8Lb/f0JKu6ABaMT1L6gfSHfCQ9F7nHFgPXfCyYleSydmZUGWZcH7Oi mvvnLh2WLD44ipYj3V45p8Tsgmvo+ouvZv3ceWgzM4xqYUd37IPJRV/k+8lFVj3QJhGt bOrqgFLtPGemnIT05LNqepwZGNhAb4BSgj374wDw2SRgejIfX8AKMduckSeFliZL2TJO aepKvpP1QLtjvh36mtSM0V1ODjtIBzC7Dz6lDD+8sNDGYYj7rto66FUqXyZqPCPCFNvz tEnA== 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=PszQ09Bl; 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: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h1-v6si15640pli.645.2018.03.14.06.53.40; Wed, 14 Mar 2018 06:53:41 -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=PszQ09Bl; 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 S1751758AbeCNNxk (ORCPT + 5 others); Wed, 14 Mar 2018 09:53:40 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:10562 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751480AbeCNNxj (ORCPT ); Wed, 14 Mar 2018 09:53:39 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w2EDrLQt015588; Wed, 14 Mar 2018 08:53:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1521035601; bh=aedRU3tzN74AlAZA/MyhvX526TP3CCKz2MHOOx8tits=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=PszQ09BlHj35n+/6RHhmPlTU6WO46uCCuNOpgIY5f/Hr4M3/EqPRA9qXG+jW52eCl izN+157fzXGgZ+Pl24uQQigXMvtGiOeH0jAK9dXvRrlkUkNSQd6BLywxJQIB+5XBCj 8v5Y7xdErHepVLnHwfFx+wprnNOfG9mFHQIYAmsU= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2EDrLx5001913; Wed, 14 Mar 2018 08:53:21 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Wed, 14 Mar 2018 08:53:21 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) 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.1261.35 via Frontend Transport; Wed, 14 Mar 2018 08:53:21 -0500 Received: from feketebors.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2EDrCg5025495; Wed, 14 Mar 2018 08:53:19 -0500 From: Peter Ujfalusi To: , CC: , Subject: [PATCH v2 4/6] ARM: OMAP5: control: add support for control module wkup pad config Date: Wed, 14 Mar 2018 15:53:13 +0200 Message-ID: <20180314135315.11215-5-peter.ujfalusi@ti.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180314135315.11215-1-peter.ujfalusi@ti.com> References: <20180314135315.11215-1-peter.ujfalusi@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org From: Tero Kristo Match the new compatible string in the control module driver. The base infra maps the required syscon ranges and clock registers if available. Signed-off-by: Tero Kristo Tested-by: Peter Ujfalusi --- arch/arm/mach-omap2/control.c | 5 +++++ 1 file changed, 5 insertions(+) -- Peter 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 diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c index 632adb2b7d03..180da403639e 100644 --- a/arch/arm/mach-omap2/control.c +++ b/arch/arm/mach-omap2/control.c @@ -636,6 +636,10 @@ static const struct control_init_data omap2_ctrl_data = { .offset = -OMAP2_CONTROL_GENERAL, }; +static const struct control_init_data ctrl_aux_data = { + .index = TI_CLKM_CTRL_AUX, +}; + static const struct of_device_id omap_scrm_dt_match_table[] = { { .compatible = "ti,am3-scm", .data = &ctrl_data }, { .compatible = "ti,am4-scm", .data = &ctrl_data }, @@ -645,6 +649,7 @@ static const struct of_device_id omap_scrm_dt_match_table[] = { { .compatible = "ti,dm816-scrm", .data = &ctrl_data }, { .compatible = "ti,omap4-scm-core", .data = &ctrl_data }, { .compatible = "ti,omap5-scm-core", .data = &ctrl_data }, + { .compatible = "ti,omap5-scm-wkup-pad-conf", .data = &ctrl_aux_data }, { .compatible = "ti,dra7-scm-core", .data = &ctrl_data }, { } };