Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jean Delvare <khali@...>
Cc: Ralf Baechle <ralf@...>, Alessandro Zummo <a.zummo@...>, Thomas Gleixner <tglx@...>, Andrew Morton <akpm@...>, <rtc-linux@...>, <i2c@...>, <linux-mips@...>, <linux-kernel@...>
Date: Thursday, May 8, 2008 - 7:10 pm

Hi Jean,


 Agreed about this example because the change is mechanical and can almost
be done by an automaton.


 As I wrote, no big concern about it from my side and it looks I will be 
changing more of the file anyway. ;-)


 Oh come on -- that's just common sense.  If something is good, there is
no point in discarding it without thinking, just because it is a part of a
bigger entity that we consider bad.  I consider it good not because it is
a part of the GNU standard, but because I have concluded that it is and it
is pure coincidence ;-) I have taken it from the said standard.  But as I
said, this is a minor nit here and I can resist from adding extraneous
spaces in pieces of code you are interested in as long as I am able to
track which ones they actually are.


 I had no problems with writing code checkpatch.pl would swallow without a
blink even before it existed.  It does not mean I should follow the
surrounding mess if this is what the state of code is.


 Fine with me, no problem.


 Your concern is valid and this is why I proposed the split.  My point
being, unlike the rest of the MIPS arch tree these days the Broadcom bits
are only touched from time to time by two or three people (myself
included), so it is much easier to coordinate changes if they are limited 
to this subarch.  Which means stripping out changes needed elsewhere from 
the i2c patch itself can only improve things.


 I think nobody really knows for sure how many Broadcom/SiByte platforms 
we support at the moment. ;-)  I am fairly sure there is some interest in 
the BigSur, SWARM and Sentosa only.


 Well, arch/mips/sibyte/swarm/ is included for all the three above as well 
as a couple of other I may not necessarily be sure what they are even.  So 
this should be of no concern.

 BTW, do you mean i2c_add_numbered_adapter() will fail if no devices have
been declared to exist on the given bus with i2c_register_board_info()?  
That sounds strange...  Note in all cases there are EEPROMs (onboard ones
as well as optionally SPD ones) on both buses on Broadcom/SiByte boards
and they are handled by a legacy client driver.  The Broadcom SOC is
actually capable to bootstrap from one of these EEPROMs (rather than form
the usual system parallel Flash ROM).

  Maciej
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Tue May 6, 8:40 pm)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Geert Uytterhoeven, (Wed May 7, 3:37 am)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Wed May 7, 5:25 pm)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Fri May 9, 3:36 pm)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Wed May 7, 5:13 pm)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Thu May 8, 7:10 pm)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Fri May 9, 4:27 pm)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Fri May 9, 9:43 pm)
Re: [RFC][PATCH 2/4] RTC: SWARM I2C board initialization, Maciej W. Rozycki, (Thu May 8, 6:43 pm)