[PATCH] arm64: dts: amlogic: gxl: set i2c bias to pull-up
Xianwei Zhao
xianwei.zhao at amlogic.com
Sun Apr 27 19:36:45 PDT 2025
Hi Martin,
On 2025/4/28 05:08, Martin Blumenstingl wrote:
> [ EXTERNAL EMAIL ]
>
> On Fri, Apr 25, 2025 at 10:31 PM Da Xue <da at libre.computer> wrote:
>>
>> GXL I2C pins need internal pull-up enabled to operate if there
>> is no external resistor. The pull-up is 60kohms per the datasheet.
>>
>> We should set the bias when i2c pinmux is enabled.
>>
>> Signed-off-by: Da Xue <da at libre.computer>
> Reviewed-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>
>
> +Xianwei Zhao (who has recently upstreamed Amlogic A4 pinctrl support).
> I suspect we need a similar change for all other (Meson8, Meson8b,
> GXBB, G12A, ...) SoCs as well.
> Can you confirm this? And if not, why does only GXL need this special treatment?
>
The A4 pinctrl driver mainly differs in the implementation method, and
the differences between chips are primarily described in the DTS, rather
than requiring the submission of bindings and code each time a new SoC
pinctrl driver support is added. In theory, previous chips could also be
supported by new drivers.
>
> Best regards,
> Martin
More information about the linux-amlogic
mailing list