Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755295AbcJ3LLu (ORCPT ); Sun, 30 Oct 2016 07:11:50 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:33723 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752401AbcJ3LLs (ORCPT ); Sun, 30 Oct 2016 07:11:48 -0400 MIME-Version: 1.0 In-Reply-To: <1476898864-7004-1-git-send-email-venkat.prashanth2498@gmail.com> References: <1476898864-7004-1-git-send-email-venkat.prashanth2498@gmail.com> From: Joachim Eastwood Date: Sun, 30 Oct 2016 12:11:47 +0100 Message-ID: Subject: Re: [PATCH v2] rtc: add support for rtc NXP pca21125 To: VENKAT PRASHANTH B U Cc: Alexandre Belloni , Alessandro Zummo , rtc-linux@googlegroups.com, "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 439 Lines: 17 Hi Venkat, On 19 October 2016 at 19:41, VENKAT PRASHANTH B U wrote: > This is a patch to add support for > NXP rtc pca21125 The register layout PCA21125 looks similar to PCF8563 which already has a driver. Would it be possible to support the PCA21125 device with the rtc-pcf8563 driver? You will need to add a regmap layer since the PCA21125 is SPI while the PCF8563 is I2C. regards, Joachim Eastwood