From patchwork Mon Sep 29 05:25:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lokesh Vutla X-Patchwork-Id: 38061 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7A500202DB for ; Mon, 29 Sep 2014 05:27:30 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id hi2sf1867733wib.7 for ; Sun, 28 Sep 2014 22:27:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=gX3mxzGLB9xhx1PeQ9AAlR8+7EsXwqwJuiok8eGP0Ag=; b=jON3DpGYsYlD9moIBio8FO4Dhi+GrhMemaLzQo/sbZOCozVdrap/URVbRPATotXb0R +b/VgqpZl2sC3ra0Yk4OxDKMdBSnu32hwwzKwvUKmkl9YcY0Tvs3zFzlkIEzjlIP/+tO pm0y+whbfOvqQu+8S5WUcLfrIacHgRC0aFJds+nOJ9iFoR7/lHSBFeZQcIily43tUDHo GrcoVtkf5vVy2yUtTBOH3eCfKjlD+acE6v7sqEmH37PJW/B3BvbkF55MzLaj5tv0XQyv 46lPbDf0zsUZjRsjWKk+qcU7pvBaPXxSZvTdXN7wH+gwg1BSaigBI8jA7c7TZfHTYORu 7kLA== X-Gm-Message-State: ALoCoQlppcFfaONZddl4WLN+32QXiwiiEPOYxK2xlx/KS98RSmqkVFM+RYm6grWCEJAtKU0skcIF X-Received: by 10.180.14.225 with SMTP id s1mr2852734wic.5.1411968449640; Sun, 28 Sep 2014 22:27:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.22.130 with SMTP id d2ls477406laf.98.gmail; Sun, 28 Sep 2014 22:27:29 -0700 (PDT) X-Received: by 10.112.129.228 with SMTP id nz4mr34995612lbb.9.1411968449440; Sun, 28 Sep 2014 22:27:29 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by mx.google.com with ESMTPS id h5si16869943laf.110.2014.09.28.22.27.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 28 Sep 2014 22:27:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by mail-lb0-f181.google.com with SMTP id n15so2846691lbi.40 for ; Sun, 28 Sep 2014 22:27:29 -0700 (PDT) X-Received: by 10.152.5.168 with SMTP id t8mr36405421lat.67.1411968449328; Sun, 28 Sep 2014 22:27:29 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp119534lbb; Sun, 28 Sep 2014 22:27:28 -0700 (PDT) X-Received: by 10.69.12.34 with SMTP id en2mr56839990pbd.4.1411968447045; Sun, 28 Sep 2014 22:27:27 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bc9si21469038pdb.22.2014.09.28.22.27.26 for ; Sun, 28 Sep 2014 22:27:27 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751335AbaI2F1Z (ORCPT + 5 others); Mon, 29 Sep 2014 01:27:25 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:51529 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750939AbaI2F1Z (ORCPT ); Mon, 29 Sep 2014 01:27:25 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s8T5QWkk006879; Mon, 29 Sep 2014 00:26:32 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s8T5QWY4028388; Mon, 29 Sep 2014 00:26:32 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Mon, 29 Sep 2014 00:26:32 -0500 Received: from a0131933.apr.dhcp.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 s8T5QS7D005578; Mon, 29 Sep 2014 00:26:28 -0500 From: Lokesh Vutla To: , CC: , , , , , , , , Subject: [PATCH v3 3/4] rtc: omap: Update Kconfig for OMAP RTC Date: Mon, 29 Sep 2014 10:55:39 +0530 Message-ID: <1411968339-9933-1-git-send-email-lokeshvutla@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1411637529-18289-4-git-send-email-lokeshvutla@ti.com> References: <1411637529-18289-4-git-send-email-lokeshvutla@ti.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Tero Kristo RTC is present in AM43xx and DRA7xx also. Updating the Kconfig to depend on ARCH_OMAP or ARCH_DAVINCI Signed-off-by: Lokesh Vutla Signed-off-by: Tero Kristo Reviewed-by: Felipe Balbi --- Changes since v2: - Updated depends on in Kconfig. drivers/rtc/Kconfig | 6 +++--- drivers/rtc/rtc-omap.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index a168e96..f14d200 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -971,11 +971,11 @@ config RTC_DRV_IMXDI will be called "rtc-imxdi". config RTC_DRV_OMAP - tristate "TI OMAP1" - depends on ARCH_OMAP15XX || ARCH_OMAP16XX || ARCH_OMAP730 || ARCH_DAVINCI_DA8XX || SOC_AM33XX + tristate "TI OMAP Real Time Clock" + depends on ARCH_OMAP || ARCH_DAVINCI help Say "yes" here to support the on chip real time clock - present on TI OMAP1, AM33xx and DA8xx/OMAP-L13x. + present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx. This driver can also be built as a module, if so, module will be called rtc-omap. diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index 93c5424..f28f1fd 100644 --- a/drivers/rtc/rtc-omap.c +++ b/drivers/rtc/rtc-omap.c @@ -1,5 +1,5 @@ /* - * TI OMAP1 Real Time Clock interface for Linux + * TI OMAP Real Time Clock interface for Linux * * Copyright (C) 2003 MontaVista Software, Inc. * Author: George G. Davis or @@ -25,7 +25,7 @@ #include #include -/* The OMAP1 RTC is a year/month/day/hours/minutes/seconds BCD clock +/* The OMAP RTC is a year/month/day/hours/minutes/seconds BCD clock * with century-range alarm matching, driven by the 32kHz clock. * * The main user-visible ways it differs from PC RTCs are by omitting