public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: heiko@sntech.de (Heiko Stübner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: dts: rockchip: add hym8563 rtc to Radxa Rock board
Date: Wed, 27 Aug 2014 23:44:56 +0200	[thread overview]
Message-ID: <6745529.KGldgCPX1B@diego> (raw)
In-Reply-To: <2306550.nl6CA81PdX@phil>

Am Mittwoch, 20. August 2014, 21:07:22 schrieb Heiko St?bner:
> The Radxa Rock uses a hym8563 as rtc. Add the i2c device and necessary
> pinconfig for the interrupt pin - labeled rtc_int in the schematics.
> 
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>

Added both patches to my v3.18-next/dts branch.


> ---
> if nobody complains I'll queue this into my v3.18-next/dts branch
> 
>  arch/arm/boot/dts/rk3188-radxarock.dts | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts
> b/arch/arm/boot/dts/rk3188-radxarock.dts index ef72faf..ff35acfa 100644
> --- a/arch/arm/boot/dts/rk3188-radxarock.dts
> +++ b/arch/arm/boot/dts/rk3188-radxarock.dts
> @@ -80,6 +80,17 @@
>  	status = "okay";
>  	clock-frequency = <400000>;
> 
> +	rtc at 51 {
> +		compatible = "haoyu,hym8563";
> +		reg = <0x51>;
> +		interrupt-parent = <&gpio0>;
> +		interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&rtc_int>;
> +		#clock-cells = <0>;
> +		clock-output-names = "xin32k";
> +	};
> +
>  	act8846: act8846 at 5a {
>  		compatible = "active-semi,act8846";
>  		reg = <0x5a>;
> @@ -196,6 +207,12 @@
>  		};
>  	};
> 
> +	hym8563 {
> +		rtc_int: rtc-int {
> +			rockchip,pins = <RK_GPIO0 0 RK_FUNC_GPIO &pcfg_pull_up>;
> +		};
> +	};
> +
>  	ir-receiver {
>  		ir_recv_pin: ir-recv-pin {
>  			rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO &pcfg_pull_none>;

      parent reply	other threads:[~2014-08-27 21:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-20 19:07 [PATCH 1/2] ARM: dts: rockchip: add hym8563 rtc to Radxa Rock board Heiko Stübner
2014-08-20 19:09 ` [PATCH 2/2] ARM: dts: rockchip: add saradc nodes Heiko Stübner
2014-08-27 21:44 ` Heiko Stübner [this message]

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=6745529.KGldgCPX1B@diego \
    --to=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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