Message ID | 1384273323-15329-1-git-send-email-bigeasy@linutronix.de |
---|---|
State | Superseded, archived |
Headers | show |
On Nov 12, 2013, at 10:22 AM, Sebastian Andrzej Siewior <bigeasy@linutronix.de> wrote: > The document says "first four bits" and means the upper nibble. Most > people would probably agree that the first four bits are bits 0…3 and > that is the lower nibble. > This patch updates the documentation so it is clear what is meant. > > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> > --- > Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt b/Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt > index 491c97b..0fcd430 100644 > --- a/Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt > +++ b/Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt > @@ -17,8 +17,8 @@ > remaining 4 can be used by the ADC. > ti,wire-config: Different boards could have a different order for > connecting wires on touchscreen. We need to provide an > - 8 bit number where in the 1st four bits represent the > - analog lines and the next 4 bits represent positive/ > + 8 bit number where the upper nibble represent the > + analog lines and the lower nibble represent positive/ > negative terminal on that input line. Notations to > represent the input lines and terminals resoectively > is as follows: Is it possible to give an example because that might help with the confusion. - k > -- > 1.8.4.2 > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Maybe "most/least significant" is more clear. Everyone got used to little-endian, anyway. On Tue, Nov 12, 2013 at 8:22 PM, Sebastian Andrzej Siewior <bigeasy@linutronix.de> wrote: > The document says "first four bits" and means the upper nibble. Most > people would probably agree that the first four bits are bits 0…3 and > that is the lower nibble. > This patch updates the documentation so it is clear what is meant. > > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> > --- > Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt b/Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt > index 491c97b..0fcd430 100644 > --- a/Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt > +++ b/Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt > @@ -17,8 +17,8 @@ > remaining 4 can be used by the ADC. > ti,wire-config: Different boards could have a different order for > connecting wires on touchscreen. We need to provide an > - 8 bit number where in the 1st four bits represent the > - analog lines and the next 4 bits represent positive/ > + 8 bit number where the upper nibble represent the > + analog lines and the lower nibble represent positive/ > negative terminal on that input line. Notations to > represent the input lines and terminals resoectively > is as follows: > -- > 1.8.4.2 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-input" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt b/Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt index 491c97b..0fcd430 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt @@ -17,8 +17,8 @@ remaining 4 can be used by the ADC. ti,wire-config: Different boards could have a different order for connecting wires on touchscreen. We need to provide an - 8 bit number where in the 1st four bits represent the - analog lines and the next 4 bits represent positive/ + 8 bit number where the upper nibble represent the + analog lines and the lower nibble represent positive/ negative terminal on that input line. Notations to represent the input lines and terminals resoectively is as follows:
The document says "first four bits" and means the upper nibble. Most people would probably agree that the first four bits are bits 0…3 and that is the lower nibble. This patch updates the documentation so it is clear what is meant. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> --- Documentation/devicetree/bindings/input/touchscreen/ti-tsc-adc.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)