* [PATCH] ARM: sun7i: Fix i2c4 base address
@ 2014-04-18 19:15 Maxime Ripard
2014-04-26 15:37 ` Maxime Ripard
2014-04-26 18:28 ` [linux-sunxi] " Hans de Goede
0 siblings, 2 replies; 3+ messages in thread
From: Maxime Ripard @ 2014-04-18 19:15 UTC (permalink / raw)
To: linux-arm-kernel
For some reason, the base address of the fifth I2C adapter in the A20 was
incorrect. Change this to the actual base address.
Reported-by: Marcus Cooper <codekipper@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
arch/arm/boot/dts/sun7i-a20.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 899fd0e2b749..9dd904d53bd3 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -821,9 +821,9 @@
#size-cells = <0>;
};
- i2c4: i2c at 01c2bc00 {
+ i2c4: i2c at 01c2c000 {
compatible = "allwinner,sun4i-i2c";
- reg = <0x01c2bc00 0x400>;
+ reg = <0x01c2c000 0x400>;
interrupts = <0 89 4>;
clocks = <&apb1_gates 15>;
clock-frequency = <100000>;
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: sun7i: Fix i2c4 base address
2014-04-18 19:15 [PATCH] ARM: sun7i: Fix i2c4 base address Maxime Ripard
@ 2014-04-26 15:37 ` Maxime Ripard
2014-04-26 18:28 ` [linux-sunxi] " Hans de Goede
1 sibling, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2014-04-26 15:37 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Apr 18, 2014 at 09:15:11PM +0200, Maxime Ripard wrote:
> For some reason, the base address of the fifth I2C adapter in the A20 was
> incorrect. Change this to the actual base address.
>
> Reported-by: Marcus Cooper <codekipper@gmail.com>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Applied to sunxi/fixes-for-3.15
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140426/6d65b836/attachment.sig>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [linux-sunxi] [PATCH] ARM: sun7i: Fix i2c4 base address
2014-04-18 19:15 [PATCH] ARM: sun7i: Fix i2c4 base address Maxime Ripard
2014-04-26 15:37 ` Maxime Ripard
@ 2014-04-26 18:28 ` Hans de Goede
1 sibling, 0 replies; 3+ messages in thread
From: Hans de Goede @ 2014-04-26 18:28 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
On 04/18/2014 09:15 PM, Maxime Ripard wrote:
> For some reason, the base address of the fifth I2C adapter in the A20 was
> incorrect. Change this to the actual base address.
>
> Reported-by: Marcus Cooper <codekipper@gmail.com>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
The datasheet agrees with this change:
Acked-by: Hans de Goede <hdegoede@redhat.com>
Regards,
Hans
> ---
> arch/arm/boot/dts/sun7i-a20.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
> index 899fd0e2b749..9dd904d53bd3 100644
> --- a/arch/arm/boot/dts/sun7i-a20.dtsi
> +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
> @@ -821,9 +821,9 @@
> #size-cells = <0>;
> };
>
> - i2c4: i2c at 01c2bc00 {
> + i2c4: i2c at 01c2c000 {
> compatible = "allwinner,sun4i-i2c";
> - reg = <0x01c2bc00 0x400>;
> + reg = <0x01c2c000 0x400>;
> interrupts = <0 89 4>;
> clocks = <&apb1_gates 15>;
> clock-frequency = <100000>;
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-26 18:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-18 19:15 [PATCH] ARM: sun7i: Fix i2c4 base address Maxime Ripard
2014-04-26 15:37 ` Maxime Ripard
2014-04-26 18:28 ` [linux-sunxi] " Hans de Goede
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).