ipq40xx: fix I2C pin config on Aruba AP-303H
authorRyan Salsbury <ryanrs@gmail.com>
Tue, 30 Apr 2024 01:05:14 +0000 (18:05 -0700)
committerRobert Marko <robimarko@gmail.com>
Tue, 30 Apr 2024 10:01:04 +0000 (12:01 +0200)
commit47da1786e9554ee68e32287c747fd88bee539d53
tree633aaff2e6b8add4c1941534aac66087b82e0aa9
parent0f5da3977e547914a6bc608be38d442565080198
ipq40xx: fix I2C pin config on Aruba AP-303H

Turn on SoC pull-ups on I2C pins, since there are no discrete pull-up
resistors on the bus.

Increase clock to 400 kHz. Both chips on the bus support 400 kHz. I
tested the ISL28022 at 4,000 reads/sec and didn't see any garbled output
or bus hangs, even with SoC drive strength reduced to 2 for the test.

Signed-off-by: Ryan Salsbury <ryanrs@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15334
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4029-ap-303h.dts