mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stuart Longland <stuartl@vrt.com.au>
To: Roman Fietze <roman.fietze@telemotive.de>
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Add device tree support to ISL12022 driver
Date: Wed, 16 Jul 2014 12:28:24 +1000	[thread overview]
Message-ID: <1405477705-16885-1-git-send-email-stuartl@vrt.com.au> (raw)

Hi all,

The attached patch adds support for configuring the ISL12022 real-time clock
via the Device tree framework.  This is based on what I've seen in the related
ISL12057 driver, it has been tested and works on a Technologic Systems TS-7670
device which uses a ISL12020 RTC device, my device tree looks like this:

	apbx@80040000 {
		i2c0: i2c@80058000 {
			pinctrl-names = "default";
			pinctrl-0 = <&i2c0_pins_a>;
			clock-frequency = <400000>;
			status = "okay";

			isl12022@0x6f {
				compatible = "isl,isl12022";
				reg = <0x6f>;
			};
		};
		... etc
	};

Regards,
Stuart Longland


             reply	other threads:[~2014-07-16  2:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-16  2:28 Stuart Longland [this message]
2014-07-16  2:28 ` [PATCH] drivers/rtc/rtc-isl12022.c: Device tree support Stuart Longland
2014-07-16  8:59   ` Mark Rutland
2014-07-16  9:35     ` Stuart Longland
2014-07-16 21:31     ` [REVISED PATCH] " Stuart Longland
2014-07-16 21:31       ` [PATCH 1/2] " Stuart Longland
2014-07-16 21:31       ` [PATCH 2/2] devicetree: Document binding for isl12022 driver Stuart Longland
2014-07-21 23:25   ` [PATCH] drivers/rtc/rtc-isl12022.c: Device tree support Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1405477705-16885-1-git-send-email-stuartl@vrt.com.au \
    --to=stuartl@vrt.com.au \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roman.fietze@telemotive.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome