Re: [PATCH 7/7] ARM64: zynqmp: Add eeprom memories on i2c bus

From: Michal Simek
Date: Wed Jul 29 2015 - 09:04:52 EST


On 07/27/2015 12:01 PM, Shubhrajyoti Datta wrote:
> Hi,
>
> On Mon, Jul 27, 2015 at 3:18 PM, Michal Simek <michal.simek@xxxxxxxxxx> wrote:
>> Add i2c eeprom memories on i2c bus.
>>
>> Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx>
>> ---
>>
>> arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts | 18 ++++++++++++++++++
>> 1 file changed, 18 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
>> index 206e18eca2fb..47debdcbefbf 100644
>> --- a/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
>> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-ep108.dts
>> @@ -36,6 +36,24 @@
>> status = "okay";
>> };
>>
>> +&i2c0 {
>> + status = "okay";
>> + clock-frequency = <100000>;
> If I am not wrong eeprom could work at 400k Could we make that as the speed.

I was retesting that and 400k works on this emulation platform too. I
will send v2.

Thanks,
Michal

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/