Re: [PATCH v2 1/3] dt/binding: ti-tsc-adc: deprecate ti,charge-delay and add binding doc for ti,charge-delay-ns

From: Rob Herring
Date: Mon Nov 14 2016 - 20:54:53 EST


On Thu, Nov 10, 2016 at 10:05:13PM +0530, Mugunthan V N wrote:
> ti,charge-delay represents the duration that ADC should wait
> before sampling the ADC line to detect the touch location and pen
> up/downs. Currently the ADC clock is set at 3MHz. The device-tree
> entry for ti,charge-delay is based on assumption of ADC clock at
> 3MHz, but it can be operated up to 24MHz clock. Representing the
> charge delay of touchscreen in terms of ADC clocks is incorrect.
> So change this representation to ti,charge-delay-ns, which driver
> can convert it to number clock cycles based on ref clock
> frequency.
>
> Signed-off-by: Mugunthan V N <mugunthanvnm@xxxxxx>
> ---
> .../bindings/input/touchscreen/ti-tsc-adc.txt | 32 ++++++++++++++--------
> 1 file changed, 21 insertions(+), 11 deletions(-)

Acked-by: Rob Herring <robh@xxxxxxxxxx>