From patchwork Wed Apr 13 20:39:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomas Krcka X-Patchwork-Id: 610260 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-wm0-x23f.google.com (mail-wm0-x23f.google.com [IPv6:2a00:1450:400c:c09::23f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3qlbJc3RLPz9sD5 for ; Thu, 14 Apr 2016 06:39:44 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b=f8tL1iUr; dkim-atps=neutral Received: by mail-wm0-x23f.google.com with SMTP id g23sf15085664wme.0 for ; Wed, 13 Apr 2016 13:39:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:to:cc:from:subject:message-id:date:user-agent:mime-version :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=yTDav34+itLfttmjI2h2iz4NymdJCA39scMcYsl97G0=; b=f8tL1iUrJOQFKrE9ByRN8NBy5YAITomIIIggpI0Sw+vHzl93L7sCnUX+xOQ4IIYzKP /9Hv7MQrkbuFpmbvPlAVmL25I2kkwqXiYN5mDgs6YGPl9mguthjGnPf55MG1lgbeXZ03 M4ddTDMf+pz50acDf9biOY2a+t+5lWozfFujii4y9YSAoE4fZsl2sVH2w3n6FY0ID4iQ FpxglVNHJDIvItjAeYQN+Qi6reOqXdeiArcV5Np75barBI3Ch9VvcMYBNbm/yadYMZNd suXBiMO8A2HuTrsSvzzk0/e1sOUJy1vn6v9tOjAReDfnZrIrjbZjZ6WD/uZIjcZVxwSA Idbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:to:cc:from:subject:message-id:date :user-agent:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=yTDav34+itLfttmjI2h2iz4NymdJCA39scMcYsl97G0=; b=ia3lasOeOwoZcxgMx6j1/tZ54IY56SD0LqQzXoIyGG+VJTymGvnbsIj30UTZ1EzYBv CBwwXEVLhIrVjwgXITlP7ZsQ7nrVmsRniO8t72mwMqmwckz2oNushNCVK2DQ4zcri1wP z3/o/rHQsFH0dqeXf5gPxiwQJsLERw2qr/lCQE2Zt5l1f+QcTlh6V08h1FqxQq2RNrrY atamOdm1ZILtapqtEXOrldkKA/doZcebG9MkR1N/fgqfcw2iYMjQhPOrgK+gfEMBL4Ry L6L9yLTTHsbJeqNbLlL19DdUapjmbUC93Xj/bJyAT9Nxj+1FbEfbs38qb1u8OXTi8f2L eNmg== Sender: rtc-linux@googlegroups.com X-Gm-Message-State: AOPr4FWC+GPW7HbKZkKZ7aXgKqx/1HouNetgqEgQXVPwVtcbT/FYG78OsEWNfbe8wqIVSg== X-Received: by 10.25.218.203 with SMTP id r194mr212137lfg.20.1460579981345; Wed, 13 Apr 2016 13:39:41 -0700 (PDT) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.25.138.8 with SMTP id m8ls89410lfd.97.gmail; Wed, 13 Apr 2016 13:39:40 -0700 (PDT) X-Received: by 10.112.236.37 with SMTP id ur5mr1315243lbc.0.1460579980526; Wed, 13 Apr 2016 13:39:40 -0700 (PDT) Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com. [2a00:1450:400c:c09::241]) by gmr-mx.google.com with ESMTPS id d92si667162wma.2.2016.04.13.13.39.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Apr 2016 13:39:40 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c09::241 is neither permitted nor denied by best guess record for domain of tomas.krcka@nkgroup.cz) client-ip=2a00:1450:400c:c09::241; Received: by mail-wm0-x241.google.com with SMTP id a140so17325339wma.2 for ; Wed, 13 Apr 2016 13:39:40 -0700 (PDT) X-Received: by 10.194.121.136 with SMTP id lk8mr12550589wjb.92.1460579980314; Wed, 13 Apr 2016 13:39:40 -0700 (PDT) Received: from [192.168.1.100] ([77.48.109.21]) by smtp.googlemail.com with ESMTPSA id w193sm30567601wmd.0.2016.04.13.13.39.39 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Apr 2016 13:39:39 -0700 (PDT) To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, alexandre.belloni@free-electrons.com, linux-kernel@vger.kernel.org From: Tomas Krcka Subject: [rtc-linux] [PATCH] rtc: support for rv4162c7 Message-ID: <570EAE8B.7010706@nkgroup.cz> Date: Wed, 13 Apr 2016 22:39:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 X-Original-Sender: tomas.krcka@nkgroup.cz X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@nkgroup-cz.20150623.gappssmtp.com; spf=neutral (google.com: 2a00:1450:400c:c09::241 is neither permitted nor denied by best guess record for domain of tomas.krcka@nkgroup.cz) smtp.mailfrom=tomas.krcka@nkgroup.cz Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: rtc-linux@googlegroups.com X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , This patch is for support of rv4162c7 RTC chip. The device has same parameters as rv4162, but with different identification. Tested with PhyTec module AM335x. Signed-off-by: Tomas Krcka --- drivers/rtc/rtc-m41t80.c | 1 + 1 file changed, 1 insertion(+) -- 1.9.1 diff --git a/drivers/rtc/rtc-m41t80.c b/drivers/rtc/rtc-m41t80.c index d107a8e..1aa57d8 100644 --- a/drivers/rtc/rtc-m41t80.c +++ b/drivers/rtc/rtc-m41t80.c @@ -81,6 +81,7 @@ static const struct i2c_device_id m41t80_id[] = { { "m41st85", M41T80_FEATURE_HT | M41T80_FEATURE_BL | M41T80_FEATURE_SQ }, { "m41st87", M41T80_FEATURE_HT | M41T80_FEATURE_BL | M41T80_FEATURE_SQ }, { "rv4162", M41T80_FEATURE_SQ | M41T80_FEATURE_WD | M41T80_FEATURE_SQ_ALT }, + { "rv4162c7", M41T80_FEATURE_SQ | M41T80_FEATURE_WD | M41T80_FEATURE_SQ_ALT }, { } }; MODULE_DEVICE_TABLE(i2c, m41t80_id);