* [PATCH 1/2] ARM: at91/dt: sama5d3: move wm8904 codec to i2c1
@ 2014-12-09 10:54 Josh Wu
[not found] ` <1418122486-23184-1-git-send-email-josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Josh Wu @ 2014-12-09 10:54 UTC (permalink / raw)
To: nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, Josh Wu
Since from rev.D MB, the wm8904 is moved to i2c1.
This patch will adapt to this change.
Signed-off-by: Josh Wu <josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
---
arch/arm/boot/dts/sama5d3xmb.dtsi | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boot/dts/sama5d3xmb.dtsi
index 49c10d3..74bc633 100644
--- a/arch/arm/boot/dts/sama5d3xmb.dtsi
+++ b/arch/arm/boot/dts/sama5d3xmb.dtsi
@@ -38,12 +38,7 @@
atmel,clk-from-rk-pin;
};
- /*
- * i2c0 conflicts with ISI:
- * disable it to allow the use of ISI
- * can not enable audio when i2c0 disabled
- */
- i2c0: i2c@f0014000 {
+ i2c1: i2c@f0018000 {
wm8904: wm8904@1a {
compatible = "wm8904";
reg = <0x1a>;
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] ARM: at91/dt: sama5d3: enable D2 as the heartbeat LED
[not found] ` <1418122486-23184-1-git-send-email-josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
@ 2014-12-09 10:54 ` Josh Wu
[not found] ` <1418122486-23184-2-git-send-email-josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2014-12-10 9:24 ` [PATCH 1/2] ARM: at91/dt: sama5d3: move wm8904 codec to i2c1 Nicolas Ferre
1 sibling, 1 reply; 4+ messages in thread
From: Josh Wu @ 2014-12-09 10:54 UTC (permalink / raw)
To: nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, Josh Wu
This D2 led is aviable for all sama5d3x-ek board. So make it as
heartbeat led.
Signed-off-by: Josh Wu <josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
---
arch/arm/boot/dts/sama5d3xcm.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts/sama5d3xcm.dtsi
index 962dc28..5a57c45 100644
--- a/arch/arm/boot/dts/sama5d3xcm.dtsi
+++ b/arch/arm/boot/dts/sama5d3xcm.dtsi
@@ -122,6 +122,7 @@
d2 {
label = "d2";
gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */
+ linux,default-trigger = "heartbeat";
};
};
};
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] ARM: at91/dt: sama5d3: move wm8904 codec to i2c1
[not found] ` <1418122486-23184-1-git-send-email-josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2014-12-09 10:54 ` [PATCH 2/2] ARM: at91/dt: sama5d3: enable D2 as the heartbeat LED Josh Wu
@ 2014-12-10 9:24 ` Nicolas Ferre
1 sibling, 0 replies; 4+ messages in thread
From: Nicolas Ferre @ 2014-12-10 9:24 UTC (permalink / raw)
To: Josh Wu
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
Le 09/12/2014 11:54, Josh Wu a écrit :
> Since from rev.D MB, the wm8904 is moved to i2c1.
> This patch will adapt to this change.
I'd like a more generic way of dealing with board revisions. So, let's
keep it like it is for now.
Bye,
> Signed-off-by: Josh Wu <josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
> ---
> arch/arm/boot/dts/sama5d3xmb.dtsi | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/sama5d3xmb.dtsi b/arch/arm/boot/dts/sama5d3xmb.dtsi
> index 49c10d3..74bc633 100644
> --- a/arch/arm/boot/dts/sama5d3xmb.dtsi
> +++ b/arch/arm/boot/dts/sama5d3xmb.dtsi
> @@ -38,12 +38,7 @@
> atmel,clk-from-rk-pin;
> };
>
> - /*
> - * i2c0 conflicts with ISI:
> - * disable it to allow the use of ISI
> - * can not enable audio when i2c0 disabled
> - */
> - i2c0: i2c@f0014000 {
> + i2c1: i2c@f0018000 {
> wm8904: wm8904@1a {
> compatible = "wm8904";
> reg = <0x1a>;
>
--
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] ARM: at91/dt: sama5d3: enable D2 as the heartbeat LED
[not found] ` <1418122486-23184-2-git-send-email-josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
@ 2014-12-10 10:00 ` Nicolas Ferre
0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Ferre @ 2014-12-10 10:00 UTC (permalink / raw)
To: Josh Wu
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
Le 09/12/2014 11:54, Josh Wu a écrit :
> This D2 led is aviable for all sama5d3x-ek board. So make it as
> heartbeat led.
>
> Signed-off-by: Josh Wu <josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
Acked-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
and queued on at91-3.20-dt. Thanks, bye.
> ---
> arch/arm/boot/dts/sama5d3xcm.dtsi | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts/sama5d3xcm.dtsi
> index 962dc28..5a57c45 100644
> --- a/arch/arm/boot/dts/sama5d3xcm.dtsi
> +++ b/arch/arm/boot/dts/sama5d3xcm.dtsi
> @@ -122,6 +122,7 @@
> d2 {
> label = "d2";
> gpios = <&pioE 25 GPIO_ACTIVE_LOW>; /* PE25, conflicts with A25, RXD2 */
> + linux,default-trigger = "heartbeat";
> };
> };
> };
>
--
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-10 10:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-09 10:54 [PATCH 1/2] ARM: at91/dt: sama5d3: move wm8904 codec to i2c1 Josh Wu
[not found] ` <1418122486-23184-1-git-send-email-josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2014-12-09 10:54 ` [PATCH 2/2] ARM: at91/dt: sama5d3: enable D2 as the heartbeat LED Josh Wu
[not found] ` <1418122486-23184-2-git-send-email-josh.wu-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2014-12-10 10:00 ` Nicolas Ferre
2014-12-10 9:24 ` [PATCH 1/2] ARM: at91/dt: sama5d3: move wm8904 codec to i2c1 Nicolas Ferre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).