From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1948335AbdDYOpf (ORCPT ); Tue, 25 Apr 2017 10:45:35 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:35453 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1948247AbdDYOpZ (ORCPT ); Tue, 25 Apr 2017 10:45:25 -0400 From: Gary Bisson To: rtc-linux@googlegroups.com Cc: linux-kernel@vger.kernel.org, alexandre.belloni@free-electrons.com, a.zummo@towertech.it, Gary Bisson Subject: [PATCH 0/4] rtc: m41t80: improve SQW support Date: Tue, 25 Apr 2017 16:45:13 +0200 Message-Id: <20170425144517.15962-1-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series aims at improving the square-wave support for some of the devices supported by the m41t80 driver. The first two patches are fixes that prevent the driver from overriding the SQW configuration (divider & enable bit). Then the last two remove the old sysfs entry and replace it with a clock provider approach. It has been tested on a Boundary Devices Nitrogen6_MAX which features a MicroCrystal RV4162 RTC. The SQW (named clkout in RV4162 datasheet) can be probed on TP70 on the platform. Let me know if you have any question/suggestion. Regards, Gary Gary Bisson (4): rtc: m41t80: fix SQWE override when setting an alarm rtc: m41t80: fix SQW dividers override when setting a date rtc: m41t80: remove sqw sysfs entry rtc: m41t80: add clock provider support drivers/rtc/rtc-m41t80.c | 251 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 175 insertions(+), 76 deletions(-) -- 2.11.0