Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4c74010 authored by Mukesh Kumar Savaliya's avatar Mukesh Kumar Savaliya
Browse files

i2c: i2c-qcom-geni: Change the high and low time for SCL



This change is to meet the spec for i2c at 400KHz. Note that there
is a QUP FW change along with this and then only this will work.
FW change takes care of the duty cycle, clock on/off.

Associated FW change is good to have for this SW change.
FW change CR :  TBD separately by HW team.
CR fixed : 3017809.

Change-Id: I2446b736ef5f6cfa5310f4a30a717272d433a655
Signed-off-by: default avatarMukesh Kumar Savaliya <msavaliy@codeaurora.org>
parent c96bcb72
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
 */

#include <linux/clk.h>
@@ -165,7 +165,7 @@ struct geni_i2c_clk_fld {

static struct geni_i2c_clk_fld geni_i2c_clk_map[] = {
	{KHz(100), 7, 10, 11, 26},
	{KHz(400), 2,  5, 12, 24},
	{KHz(400), 2,  7, 10, 24},
	{KHz(1000), 1, 3,  9, 18},
};