From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753221AbbBRWwV (ORCPT ); Wed, 18 Feb 2015 17:52:21 -0500 Received: from mail-we0-f176.google.com ([74.125.82.176]:43627 "EHLO mail-we0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752116AbbBRWwT (ORCPT ); Wed, 18 Feb 2015 17:52:19 -0500 From: Pali =?utf-8?q?Roh=C3=A1r?= To: Tony Lindgren Subject: Re: [PATCH] ARM: dts: Revert disabling of smc91x for n900 Date: Wed, 18 Feb 2015 23:52:16 +0100 User-Agent: KMail/1.13.7 (Linux/3.13.0-45-generic; KDE/4.14.2; x86_64; ; ) Cc: linux-omap@vger.kernel.org, Kevin Hilman , Aaro Koskinen , Sebastian Reichel , Pavel Machek , linux-kernel@vger.kernel.org, Ivaylo Dimitrov , Nishanth Menon References: <20150105230228.GO4081@atomide.com> <201502182004.03195@pali> <20150218224206.GC32521@atomide.com> In-Reply-To: <20150218224206.GC32521@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3351391.SYuHa1zyD5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201502182352.16203@pali> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart3351391.SYuHa1zyD5 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Wednesday 18 February 2015 23:42:06 Tony Lindgren wrote: > * Pali Roh=C3=A1r [150218 11:07]: > > On Wednesday 18 February 2015 17:33:53 Tony Lindgren wrote: > > > > */ +// reg =3D <1 0x300 0xf>; /* 16 byte IO range=20 at > >=20 > > offset > >=20 > > > > 0x300 */ + reg =3D <1 0x0 0xf>; /* 16 byte IO=20 range > >=20 > > at > >=20 > > > > offset 0x300 */ > > > >=20 > > > > bank-width =3D <2>; > > > > pinctrl-names =3D "default"; > > > > pinctrl-0 =3D <ðernet_pins>; > > >=20 > > > Oh cool, the 0x300 offset is there mostly to suppress > > > warnings about non-standard location. >=20 > ... >=20 > > > OK that's good news. Care to do a patch to set the offset > > > 0x0 with added comment that qemu needs it? I'll test to > > > make sure it works on the real hardware as well. > >=20 > > Yes, I can send proper git format-patch, but first let me > > know if that change does not break your HW... >=20 > Yes using reg =3D <1 0 0xf> works, it just adds this extra > warning: >=20 > smc91x 2000000.ethernet (unnamed net_device) (uninitialized): > smc91x: IOADDR d09d6000 doesn't match configuration (300). >=20 > And I'm pretty sure that can be fixed by setting the EEPROM > offset to 0 instead of the default 0x300. People with smc91x > most likely want to write at least the MAC address to the > EEPROM, so might as well set the offset to zero then too. >=20 > Of course it's always possible to do do a omap3-n900-qemu.dts > if larger changes are needed :) >=20 > Regards, >=20 > Tony I would like to avoid using separate DTS for qemu. When we have=20 only one DTS file (for both qemu and real HW), we can test for=20 regression in qemu and we are sure that we have same software=20 configuration... =2D-=20 Pali Roh=C3=A1r pali.rohar@gmail.com --nextPart3351391.SYuHa1zyD5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAlTlF6AACgkQi/DJPQPkQ1Ig9wCgyaMmjA2a0RmY6ubyFG5xPHNr j2wAoJqi40AF4as9opya915r8039kAbb =qlqC -----END PGP SIGNATURE----- --nextPart3351391.SYuHa1zyD5--