+ rtc-hym8563-add-optional-clock-output-names-property.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: + rtc-hym8563-add-optional-clock-output-names-property.patch added to -mm tree
To: heiko@xxxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
Date: Mon, 19 May 2014 15:20:30 -0700


The patch titled
     /rtc/rtc-hym8563.c: add optional clock-output-names property
has been added to the -mm tree.  Its filename is
     rtc-hym8563-add-optional-clock-output-names-property.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/rtc-hym8563-add-optional-clock-output-names-property.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/rtc-hym8563-add-optional-clock-output-names-property.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Heiko Stuebner <heiko@xxxxxxxxx>
/rtc/rtc-hym8563.c: add optional clock-output-names property

This enables the setting of a custom clock name for the clock provided by
the hym8563 rtc.

Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt |    3 +++
 drivers/rtc/rtc-hym8563.c                               |    3 +++
 2 files changed, 6 insertions(+)

diff -puN Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt~rtc-hym8563-add-optional-clock-output-names-property Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt
--- a/Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt~rtc-hym8563-add-optional-clock-output-names-property
+++ a/Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt
@@ -9,6 +9,9 @@ Required properties:
 - interrupts: rtc alarm/event interrupt
 - #clock-cells: the value should be 0
 
+Optional properties:
+- clock-output-names: From common clock binding
+
 Example:
 
 hym8563: hym8563@51 {
diff -puN drivers/rtc/rtc-hym8563.c~rtc-hym8563-add-optional-clock-output-names-property drivers/rtc/rtc-hym8563.c
--- a/drivers/rtc/rtc-hym8563.c~rtc-hym8563-add-optional-clock-output-names-property
+++ a/drivers/rtc/rtc-hym8563.c
@@ -418,6 +418,9 @@ static struct clk *hym8563_clkout_regist
 	init.num_parents = 0;
 	hym8563->clkout_hw.init = &init;
 
+	/* optional override of the clockname */
+	of_property_read_string(node, "clock-output-names", &init.name);
+
 	/* register the clock */
 	clk = clk_register(&client->dev, &hym8563->clkout_hw);
 
_

Patches currently in -mm which might be from heiko@xxxxxxxxx are

origin.patch
rtc-rtc-hym8563-make-of_device_id-array-const.patch
rtc-hym8563-add-optional-clock-output-names-property.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux