> > +&i2c3 {
> > +   touchscreen@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

Reply via email to