From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754930AbcHSIjN (ORCPT ); Fri, 19 Aug 2016 04:39:13 -0400 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76]:48044 "EHLO wens.csie.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752338AbcHSIjF (ORCPT ); Fri, 19 Aug 2016 04:39:05 -0400 From: Chen-Yu Tsai To: Alessandro Zummo , Alexandre Belloni , Maxime Ripard Cc: Chen-Yu Tsai , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v6 0/4] ARM: dts: sun9i: Enable X-Powers AC100 RTC Date: Fri, 19 Aug 2016 15:42:22 +0800 Message-Id: <20160819074226.16636-1-wens@csie.org> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi everyone, This was "mfd: ac100: Add support for X-Powers AC100 audio codec / RTC combo IC". The driver bits have all been merged. Changes since v5: - Driver bits merged and dropped from series. - Added fix to rtc-ac100 clock register code to honor the "clock-output-names" DT property. - Added "clk-div" and "clk-mult" to osc32k placeholder clock node Changes since v4: - Style changes to DT bindings. - Added commit message to DT bindings commit. Changes since v3: - bulk write support for regmaps without raw formatting patch merged and thus dropped from series. - sun9i device node re-ordering patches merged and thus dropped from series. - Fixed device node name and added labels to device tree binding example. - Moved 4M_adda clock to codec side, and added clock bindings to codec node. - Rename RTC clock output related prefixes from clk32k to clkout. - Rename default clock output names to cko{1,2,3}-rtc. - Move struct tm to/from RTC conversion offsets inline with reg[] assignments - Drop separate mutex and use rtc->ops_lock in interrupt handler. - Use platform_get_irq instead of of_get_irq. - Add struct of_device_id and .of_match_table to RTC driver. Changes since v2: - Fix ac100_codec interrupt line in DT binding example. - Fix copy-paste errors in RTC set_alarm. Alarm now works. - Drop file name from MFD driver. - Add / update copyright notices. - Change license of RTC driver to GPL v2, matching MFD driver. - Fix MFD driver MODULE_LICENSE to match license declaration in header. Changes since v1: - Complete register definitions and regmap regions. Patch 1 adds a fix to rtc-ac100 clock register code to honor the "clock-output-names" DT property. Patch 2 adds the AC100 device nodes to the A80 Optimus board dts. Patch 3 adds the AC100 device nodes to the Cubieboard4 board dts. Patch 4 changes the fixed osc_32k clk to a fixed factor clk, representing the 32k clk input pin on the SoC, and also hooks up the ac100 rtc clk output to this clk in the board dts files. Regards ChenYu Chen-Yu Tsai (4): rtc: ac100: support clock-output-names in device tree binding ARM: dts: sun9i: a80-optimus: Add device node for AC100 ARM: dts: sun9i: cubieboard4: Add device node for AC100 ARM: dts: sun9i: Switch to the AC100 RTC clock outputs for osc32k arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 29 +++++++++++++++++++++++++++++ arch/arm/boot/dts/sun9i-a80-optimus.dts | 29 +++++++++++++++++++++++++++++ arch/arm/boot/dts/sun9i-a80.dtsi | 11 +++++------ drivers/rtc/rtc-ac100.c | 2 ++ 4 files changed, 65 insertions(+), 6 deletions(-) -- 2.9.3 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: rtc-linux@googlegroups.com MIME-Version: 1.0 Received: from wens.csie.org (mirror2.csie.ntu.edu.tw. [140.112.30.76]) by gmr-mx.google.com with ESMTPS id a133si395768pfa.0.2016.08.19.01.38.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Aug 2016 01:38:20 -0700 (PDT) From: Chen-Yu Tsai To: Alessandro Zummo , Alexandre Belloni , Maxime Ripard Cc: Chen-Yu Tsai , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [rtc-linux] [PATCH v6 0/4] ARM: dts: sun9i: Enable X-Powers AC100 RTC Date: Fri, 19 Aug 2016 15:42:22 +0800 Message-Id: <20160819074226.16636-1-wens@csie.org> Reply-To: rtc-linux@googlegroups.com Content-Type: text/plain; charset=UTF-8 List-ID: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Hi everyone, This was "mfd: ac100: Add support for X-Powers AC100 audio codec / RTC combo IC". The driver bits have all been merged. Changes since v5: - Driver bits merged and dropped from series. - Added fix to rtc-ac100 clock register code to honor the "clock-output-names" DT property. - Added "clk-div" and "clk-mult" to osc32k placeholder clock node Changes since v4: - Style changes to DT bindings. - Added commit message to DT bindings commit. Changes since v3: - bulk write support for regmaps without raw formatting patch merged and thus dropped from series. - sun9i device node re-ordering patches merged and thus dropped from series. - Fixed device node name and added labels to device tree binding example. - Moved 4M_adda clock to codec side, and added clock bindings to codec node. - Rename RTC clock output related prefixes from clk32k to clkout. - Rename default clock output names to cko{1,2,3}-rtc. - Move struct tm to/from RTC conversion offsets inline with reg[] assignments - Drop separate mutex and use rtc->ops_lock in interrupt handler. - Use platform_get_irq instead of of_get_irq. - Add struct of_device_id and .of_match_table to RTC driver. Changes since v2: - Fix ac100_codec interrupt line in DT binding example. - Fix copy-paste errors in RTC set_alarm. Alarm now works. - Drop file name from MFD driver. - Add / update copyright notices. - Change license of RTC driver to GPL v2, matching MFD driver. - Fix MFD driver MODULE_LICENSE to match license declaration in header. Changes since v1: - Complete register definitions and regmap regions. Patch 1 adds a fix to rtc-ac100 clock register code to honor the "clock-output-names" DT property. Patch 2 adds the AC100 device nodes to the A80 Optimus board dts. Patch 3 adds the AC100 device nodes to the Cubieboard4 board dts. Patch 4 changes the fixed osc_32k clk to a fixed factor clk, representing the 32k clk input pin on the SoC, and also hooks up the ac100 rtc clk output to this clk in the board dts files. Regards ChenYu Chen-Yu Tsai (4): rtc: ac100: support clock-output-names in device tree binding ARM: dts: sun9i: a80-optimus: Add device node for AC100 ARM: dts: sun9i: cubieboard4: Add device node for AC100 ARM: dts: sun9i: Switch to the AC100 RTC clock outputs for osc32k arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 29 +++++++++++++++++++++++++++++ arch/arm/boot/dts/sun9i-a80-optimus.dts | 29 +++++++++++++++++++++++++++++ arch/arm/boot/dts/sun9i-a80.dtsi | 11 +++++------ drivers/rtc/rtc-ac100.c | 2 ++ 4 files changed, 65 insertions(+), 6 deletions(-) -- 2.9.3 -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen-Yu Tsai Subject: [PATCH v6 0/4] ARM: dts: sun9i: Enable X-Powers AC100 RTC Date: Fri, 19 Aug 2016 15:42:22 +0800 Message-ID: <20160819074226.16636-1-wens@csie.org> Reply-To: rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Sender: rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Alessandro Zummo , Alexandre Belloni , Maxime Ripard Cc: Chen-Yu Tsai , rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org Hi everyone, This was "mfd: ac100: Add support for X-Powers AC100 audio codec / RTC combo IC". The driver bits have all been merged. Changes since v5: - Driver bits merged and dropped from series. - Added fix to rtc-ac100 clock register code to honor the "clock-output-names" DT property. - Added "clk-div" and "clk-mult" to osc32k placeholder clock node Changes since v4: - Style changes to DT bindings. - Added commit message to DT bindings commit. Changes since v3: - bulk write support for regmaps without raw formatting patch merged and thus dropped from series. - sun9i device node re-ordering patches merged and thus dropped from series. - Fixed device node name and added labels to device tree binding example. - Moved 4M_adda clock to codec side, and added clock bindings to codec node. - Rename RTC clock output related prefixes from clk32k to clkout. - Rename default clock output names to cko{1,2,3}-rtc. - Move struct tm to/from RTC conversion offsets inline with reg[] assignments - Drop separate mutex and use rtc->ops_lock in interrupt handler. - Use platform_get_irq instead of of_get_irq. - Add struct of_device_id and .of_match_table to RTC driver. Changes since v2: - Fix ac100_codec interrupt line in DT binding example. - Fix copy-paste errors in RTC set_alarm. Alarm now works. - Drop file name from MFD driver. - Add / update copyright notices. - Change license of RTC driver to GPL v2, matching MFD driver. - Fix MFD driver MODULE_LICENSE to match license declaration in header. Changes since v1: - Complete register definitions and regmap regions. Patch 1 adds a fix to rtc-ac100 clock register code to honor the "clock-output-names" DT property. Patch 2 adds the AC100 device nodes to the A80 Optimus board dts. Patch 3 adds the AC100 device nodes to the Cubieboard4 board dts. Patch 4 changes the fixed osc_32k clk to a fixed factor clk, representing the 32k clk input pin on the SoC, and also hooks up the ac100 rtc clk output to this clk in the board dts files. Regards ChenYu Chen-Yu Tsai (4): rtc: ac100: support clock-output-names in device tree binding ARM: dts: sun9i: a80-optimus: Add device node for AC100 ARM: dts: sun9i: cubieboard4: Add device node for AC100 ARM: dts: sun9i: Switch to the AC100 RTC clock outputs for osc32k arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 29 +++++++++++++++++++++++++++++ arch/arm/boot/dts/sun9i-a80-optimus.dts | 29 +++++++++++++++++++++++++++++ arch/arm/boot/dts/sun9i-a80.dtsi | 11 +++++------ drivers/rtc/rtc-ac100.c | 2 ++ 4 files changed, 65 insertions(+), 6 deletions(-) -- 2.9.3 -- You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. --- You received this message because you are subscribed to the Google Groups "rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout. From mboxrd@z Thu Jan 1 00:00:00 1970 From: wens@csie.org (Chen-Yu Tsai) Date: Fri, 19 Aug 2016 15:42:22 +0800 Subject: [PATCH v6 0/4] ARM: dts: sun9i: Enable X-Powers AC100 RTC Message-ID: <20160819074226.16636-1-wens@csie.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi everyone, This was "mfd: ac100: Add support for X-Powers AC100 audio codec / RTC combo IC". The driver bits have all been merged. Changes since v5: - Driver bits merged and dropped from series. - Added fix to rtc-ac100 clock register code to honor the "clock-output-names" DT property. - Added "clk-div" and "clk-mult" to osc32k placeholder clock node Changes since v4: - Style changes to DT bindings. - Added commit message to DT bindings commit. Changes since v3: - bulk write support for regmaps without raw formatting patch merged and thus dropped from series. - sun9i device node re-ordering patches merged and thus dropped from series. - Fixed device node name and added labels to device tree binding example. - Moved 4M_adda clock to codec side, and added clock bindings to codec node. - Rename RTC clock output related prefixes from clk32k to clkout. - Rename default clock output names to cko{1,2,3}-rtc. - Move struct tm to/from RTC conversion offsets inline with reg[] assignments - Drop separate mutex and use rtc->ops_lock in interrupt handler. - Use platform_get_irq instead of of_get_irq. - Add struct of_device_id and .of_match_table to RTC driver. Changes since v2: - Fix ac100_codec interrupt line in DT binding example. - Fix copy-paste errors in RTC set_alarm. Alarm now works. - Drop file name from MFD driver. - Add / update copyright notices. - Change license of RTC driver to GPL v2, matching MFD driver. - Fix MFD driver MODULE_LICENSE to match license declaration in header. Changes since v1: - Complete register definitions and regmap regions. Patch 1 adds a fix to rtc-ac100 clock register code to honor the "clock-output-names" DT property. Patch 2 adds the AC100 device nodes to the A80 Optimus board dts. Patch 3 adds the AC100 device nodes to the Cubieboard4 board dts. Patch 4 changes the fixed osc_32k clk to a fixed factor clk, representing the 32k clk input pin on the SoC, and also hooks up the ac100 rtc clk output to this clk in the board dts files. Regards ChenYu Chen-Yu Tsai (4): rtc: ac100: support clock-output-names in device tree binding ARM: dts: sun9i: a80-optimus: Add device node for AC100 ARM: dts: sun9i: cubieboard4: Add device node for AC100 ARM: dts: sun9i: Switch to the AC100 RTC clock outputs for osc32k arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 29 +++++++++++++++++++++++++++++ arch/arm/boot/dts/sun9i-a80-optimus.dts | 29 +++++++++++++++++++++++++++++ arch/arm/boot/dts/sun9i-a80.dtsi | 11 +++++------ drivers/rtc/rtc-ac100.c | 2 ++ 4 files changed, 65 insertions(+), 6 deletions(-) -- 2.9.3