Re: [PATCH] ARM: dts: qcom: msm8960: expressatt: Add coreriver,tc360-touchkey
From: Dmitry Baryshkov
Date: Fri Dec 05 2025 - 23:02:01 EST
On Fri, Dec 05, 2025 at 07:54:55PM -0800, Rudraksha Gupta wrote:
> > > + sda-gpios = <&tlmm 71 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
> > > + scl-gpios = <&tlmm 72 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
> > I don't have docs at hand, but it looks like these pins belong to
> > GSBI10. Have you tried using it directly?
>
> This is the log when I use GSBI10:
>
> samsung-expressatt:~$ dmesg | grep tm2
> [ 79.555802] input: tm2-touchkey as
> /devices/platform/soc/1a200000.gsbi/1a280000.i2c/i2c-4/4-0020/input/input3
> [ 110.242881] leds tm2-touchkey: Setting an LED's brightness failed (-110)
> [ 167.074920] tm2-touchkey 4-0020: failed to read i2c data: -110
> [ 182.435009] tm2-touchkey 4-0020: failed to read i2c data: -110
>
> I could be doing something wrong, so here are the changes I made on top of
> this diff
I see, GSBI 10 uses pins 72 / 73 for I2C. Then this your patch is indeed
correct.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
--
With best wishes
Dmitry