-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Goodix GT917D touchscreen support for Xiaomi Daisy #128
Conversation
@ntonnaett I think you don't need to overwrite the |
fc5da81
to
83e1d54
Compare
Added it as a separate node, but I only saw one _ts for vince. Should I do this differently? The error might be a connection problem with i2c. |
My fault, but there are i2c nodes at the sensors for same stuff accelerometer bmi120 and lsm6dsl, and it is handling multiple variants of the device, so two node should be fine. They has different i2c address.
Idk |
It seems I can't do this, because both use gpio pin-64...
|
IIRC you can set a gpio flag to allow it to be shared between multiple nodes |
Indeed https://elixir.bootlin.com/linux/latest/source/include/linux/interrupt.h#L71 I think |
eb63d76
to
dcb2bc5
Compare
Be aware that this depends on the lk2nd patch. We should merge this PR afterwards. |
@ntonnaett Are you going to send the driver change to upstream? |
Eventually I wanted to send this to upstream. But as this depends on the lk2nd patch, I thought I should wait until that one is merged. |
I mean changes in goodix.c not chnages in the dts. |
It seems to be merged now? Any updates? |
dcb2bc5
to
611ede7
Compare
Xiaomi mido also have the gt917d touchscreen , maybe should be fixed together ! |
are you sure? |
Which panel do you have? |
I can add support for it but first we need to find out is it related to panel or there is and ebbg panel which comes with focaltech, eg.: markw could use different touch for same display panel. |
My machine is original and has not been disassembled, but there is someone in our community who has the same model of screen, and his touch is available. It looks like there is a mix between the touch-IC and the screen panel. |
than the only solution at the moment split the device tree or implement i2c probing in lk2nd, or i can add the touch screen node as disabled in dts and you need to enable manually. |
okey, I'll try it. is that means |
spliting dt means like this, yes. |
Add gt917d node there as enabled and change the ft5406 to disabled?
|
Depends on msm8953-mainline/lk2nd#57 for enabling the correct touchscreen according to the display.
Fixes #33