summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorHimanshu Aggarwal <haggarwa@codeaurora.org>2016-10-04 09:55:31 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-10-09 23:21:05 -0700
commit01e2708af568b31f68a8e31626370a951e35fdc8 (patch)
treefad89d894264773af563f239d22a1990534fe578 /Documentation
parent4e09168fe611b498b251b8e12560f453ff1e8920 (diff)
input: misc: pat9125: fix issues found in static analysis
Fix the following issues found in static analysis: - missing blank lines after declarations - unnecessary return in a void function - exporting world writable files is usually an error - block comments use * on subsequent and trailing lines - Add DT binding description and vendor prefixe for the driver. - Add Linux Foundation copyright markings. Change-Id: Id2ed9a6d4e31bd2acd3185bf7ef9c78f8a41cf36 Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org> Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org> Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/input/pixart-pat9125-switch.txt10
-rw-r--r--Documentation/devicetree/bindings/vendor-prefixes.txt1
2 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/pixart-pat9125-switch.txt b/Documentation/devicetree/bindings/input/pixart-pat9125-switch.txt
new file mode 100644
index 000000000000..02f21835f870
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/pixart-pat9125-switch.txt
@@ -0,0 +1,10 @@
+PixArt pat9125 rotating switch
+
+The Pixart's PAT9125 controller is connected to the host processor via I2C.
+It detects the rotation when user rotates the switch and generates interrupt
+to the Host processor. The host processor reads the direction and number of
+steps over I2C and passes the data to the rest of the system.
+
+Required properties:
+
+ - compatible : should be "pixart,pat9125".
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 1d7e54f68ee4..91412a10bf65 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -175,6 +175,7 @@ parade Parade Technologies Inc.
pericom Pericom Technology Inc.
phytec PHYTEC Messtechnik GmbH
picochip Picochip Ltd
+pixart PixArt Imaging Inc
plathome Plat'Home Co., Ltd.
plda PLDA
pixcir PIXCIR MICROELECTRONICS Co., Ltd