[PATCH v3 08/10] ARM: dts: ti: omap: samsung-espresso7: Add initial support for Galaxy Tab 2 7.0

Mithil Bavishi bavishimithil at gmail.com
Sat Nov 23 17:44:14 UTC 2024


> > +&i2c3 {
> > +	touchscreen at 48 {
> > +		compatible = "melfas,mms136";
> > +		reg = <0x48>;
> > +		interrupt-parent = <&gpio2>;
> > +		interrupts = <14 IRQ_TYPE_EDGE_FALLING>;
> > +		touchscreen-size-x = <1023>;
>
> Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml:
> horizontal resolution of touchscreen (maximum x coordinate reported + 1)
>
> So this touchscreen reports max 1022?
>
> > +		touchscreen-size-y = <599>;
>
> same question.

My apologies, it should be 1023+1 (1024) and 599+1(600) respectively.
Will fix it in the next revision.

https://github.com/Unlegacy-Android/android_kernel_ti_omap4/blob/3.4/common/arch/arm/mach-omap2/board-espresso-input.c#L145

Best Regards,
Mithil


More information about the dri-devel mailing list