dt-bindings: i2c: Add device clock-stretch time via dts
Subsystems (3)
PATCH 1/1 dt-bindings: i2c: Add device clock-stretch time via dts
From: Qii Wang <[email protected]>
tSU,STA/tHD,STA/tSU,STOP maybe out of spec due to device clock-stretching or circuit loss, we could get device clock-stretch time from dts to adjust these parameters to meet the spec via EXT_CONF register.
--- Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt +1 -0
@@ -32,6 +32,7 @@ Optional properties: - mediatek,have-pmic: platform can control i2c form special pmic side. Only mt6589 and mt8135 support this feature. - mediatek,use-push-pull: IO config use push-pull mode. + - clock-stretch-ns: Slave device clock-stretch time. Example:
Signature · 1 line
1.9.1
Rob Herring
maintainerQuoted 17 lines · On Sat, Mar 13, 2021 at 04:07:09PM +0800, [email protected] wrote:
From: Qii Wang <[email protected]>
tSU,STA/tHD,STA/tSU,STOP maybe out of spec due to device clock-stretching or circuit loss, we could get device clock-stretch time from dts to adjust these parameters to meet the spec via
EXT_CONFregister.Signed-off-by Qii Wang <[email protected]>--- Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt +0
-0
Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt Optional properties: · line 35
Quoted 4 lines
Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt +1
-0@@ -32,6 +32,7 @@ Optional properties: - mediatek,have-pmic: platform can control i2c form special pmic side. Only mt6589 and mt8135 support this feature. - mediatek,use-push-pull: IO config use push-pull mode. + - clock-stretch-ns: Slave device clock-stretch time.
Should be a common I2C property?
Quoted 6 lines
Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt +0
-0Example:Signature · 1 line
1.9.1
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Quoted 13 lines · Rob Herring
Quoted 12 lines · On Sat, Mar 13, 2021 at 04:07:09PM +0800, [email protected] wrote:
From: Qii Wang <[email protected]>
tSU,STA/tHD,STA/tSU,STOP maybe out of spec due to device clock-stretching or circuit loss, we could get device clock-stretch time from dts to adjust these parameters to meet the spec via
EXT_CONFregister.Signed-off-by Qii Wang <[email protected]>--- Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt | 1 + 1 file changed, 1 insertion(+)
Quoted 12 lines
Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt Optional properties: · line 35
Quoted 9 lines
Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt +1
-0@@ -32,6 +32,7 @@ Optional properties: - mediatek,have-pmic: platform can control i2c form special pmic side. Only mt6589 and mt8135 support this feature. - mediatek,use-push-pull: IO config use push-pull mode. + - clock-stretch-ns: Slave device clock-stretch time.Should be a common I2C property?
Wolfram Sang will look at this next and think about it. I hope it would be a common I2C property.
Quoted 6 lines
Quoted 6 lines
Documentation/devicetree/bindings/i2c/i2c-mt65xx.txt +0
-0Example:Signature · 1 line
1.9.1
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek