[Skiboot] [PATCH v2] p8/i2c: Add OPAL properties in the i2c bus nodes

Neelesh Gupta neelegup at linux.vnet.ibm.com
Wed Feb 4 17:42:34 AEDT 2015


On 02/04/2015 08:33 AM, Stewart Smith wrote:
> Neelesh Gupta <neelegup at linux.vnet.ibm.com> writes:
>> We are getting the i2c device tree data from the hostboot and it
>> shows i2cm nodes compatible to multiple chips like p8 and centaur.
>> The patch further adds the OPAL properties to the i2c bus nodes
>> required by the kernel.
> I'd love to see an addition to doc/device-tree/ along with this patch!

I will add one.
>
> (as well as a diff as to what DT is generated to explain the change)

Have not received the hostboot changes yet. So, in a way it is not tested.

Neelesh.

>
>
>> Signed-off-by: Neelesh Gupta <neelegup at linux.vnet.ibm.com>
>> ---
>>   hw/p8-i2c.c |  263 +++++++++++++++++++++++++++++++++++------------------------
>>   1 file changed, 157 insertions(+), 106 deletions(-)
>>
>> diff --git a/hw/p8-i2c.c b/hw/p8-i2c.c
>> index 3e5334c..7042b50 100644
>> --- a/hw/p8-i2c.c
>> +++ b/hw/p8-i2c.c
>> @@ -1105,6 +1105,50 @@ void p8_i2c_interrupt(uint32_t chip_id)
>>   	}
>>   }
>>   
>>



More information about the Skiboot mailing list