mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
arm64: dts: qcom: sdm845-samsung-starqltechn: fix GPIO lookup flags for i2c SDA and SCL
The I2C GPIO bus driver enforces the SDA and SCL pins as open-drain outputs but the lookup flags in the DTS don't reflect that triggering warnings from GPIO core. Add the appropriate flags. Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Link: https://lore.kernel.org/r/20250811-qcom-gpio-lookup-open-drain-v1-3-b5496f80e047@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
f07f492773
commit
25197809e7
|
|
@ -145,8 +145,8 @@ rmtfs_mem: rmtfs-mem@fde00000 {
|
|||
|
||||
i2c21 {
|
||||
compatible = "i2c-gpio";
|
||||
sda-gpios = <&tlmm 127 GPIO_ACTIVE_HIGH>;
|
||||
scl-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>;
|
||||
sda-gpios = <&tlmm 127 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
||||
scl-gpios = <&tlmm 128 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
|
||||
i2c-gpio,delay-us = <2>;
|
||||
pinctrl-0 = <&i2c21_sda_state &i2c21_scl_state>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user