lkml.org 
[lkml]   [2020]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v10 43/55] dt-bindings: input: atmel: support to set max bytes transferred
From
Date
31.03.2020 13:50, Jiada Wang пишет:
> Add support to set max bytes transferred in an i2c transaction
>
> Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
> ---
> Documentation/devicetree/bindings/input/atmel,maxtouch.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/input/atmel,maxtouch.txt b/Documentation/devicetree/bindings/input/atmel,maxtouch.txt
> index 126266891cdc..37a798cab0dd 100644
> --- a/Documentation/devicetree/bindings/input/atmel,maxtouch.txt
> +++ b/Documentation/devicetree/bindings/input/atmel,maxtouch.txt
> @@ -45,6 +45,8 @@ Optional properties for main touchpad device:
>
> - atmel,input_name: Override name of input device from the default.
>
> +- atmel,mtu: Maximum number of bytes that can read/transferred in an i2c transaction
> +
> Example:
>
> touch@4b {
> @@ -52,4 +54,5 @@ Example:
> reg = <0x4b>;
> interrupt-parent = <&gpio>;
> interrupts = <TEGRA_GPIO(W, 3) IRQ_TYPE_LEVEL_LOW>;
> + atmel,mtu = <200>
> };
>

Is this a software (firmware) limitation which varies from version to
version?

If the limitation is per-hardware version, then perhaps should be better
to have a hardcoded per-hardware table of limits in the driver?

\
 
 \ /
  Last update: 2020-04-01 16:40    [W:0.927 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site