Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: input: iqs626a: Redefine trackpad property types

Following a recent refactor of the driver to properly drop unused
device nodes, the driver expects trackpad channel touch thresholds
and ATI base values to be specified under single trackpad channel
child nodes.

This enhancement moves both properties to scalar values as opposed
to arrays, making their types consistent across bindings.

Fixes: a8f1f0dc865c ("dt-bindings: input: Add bindings for Azoteq IQS626A")
Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/Y9RQcddToBr1rrnJ@nixie71
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Jeff LaBundy and committed by
Dmitry Torokhov
9e69e845 4d3d2694

+67 -27
+67 -27
Documentation/devicetree/bindings/input/iqs626a.yaml
··· 564 564 2: Partial 565 565 3: Full 566 566 567 - azoteq,ati-base: 568 - $ref: /schemas/types.yaml#/definitions/uint32-array 569 - minItems: 6 570 - maxItems: 9 571 - items: 572 - minimum: 45 573 - maximum: 300 574 - default: [45, 45, 45, 45, 45, 45, 45, 45, 45] 575 - description: Specifies each individual trackpad channel's ATI base. 576 - 577 567 azoteq,ati-target: 578 568 $ref: /schemas/types.yaml#/definitions/uint32 579 569 multipleOf: 32 ··· 609 619 type: boolean 610 620 description: 611 621 Tightens the ATI band from 1/8 to 1/16 of the desired target. 612 - 613 - azoteq,thresh: 614 - $ref: /schemas/types.yaml#/definitions/uint32-array 615 - minItems: 6 616 - maxItems: 9 617 - items: 618 - minimum: 0 619 - maximum: 255 620 - default: [0, 0, 0, 0, 0, 0, 0, 0, 0] 621 - description: 622 - Specifies each individual trackpad channel's touch threshold. 623 622 624 623 azoteq,hyst: 625 624 $ref: /schemas/types.yaml#/definitions/uint32 ··· 699 720 Specifies the number of points across which an axial gesture must 700 721 travel in order to be interpreted as a flick or swipe. 701 722 723 + patternProperties: 724 + "^channel-[0-8]$": 725 + type: object 726 + description: Represents a single trackpad channel. 727 + 728 + properties: 729 + azoteq,thresh: 730 + $ref: /schemas/types.yaml#/definitions/uint32 731 + minimum: 0 732 + maximum: 255 733 + default: 0 734 + description: Specifies the threshold for the channel. 735 + 736 + azoteq,ati-base: 737 + $ref: /schemas/types.yaml#/definitions/uint32 738 + minimum: 45 739 + maximum: 300 740 + default: 45 741 + description: Specifies the channel's ATI base. 742 + 743 + additionalProperties: false 744 + 702 745 dependencies: 703 746 azoteq,gesture-swipe: ["linux,keycodes"] 704 747 azoteq,timeout-tap-ms: ["linux,keycodes"] ··· 781 780 azoteq,filt-str-lp-cnt = <1>; 782 781 783 782 azoteq,hyst = <4>; 784 - azoteq,thresh = <35>, <40>, <40>, 785 - <38>, <33>, <38>, 786 - <35>, <35>, <35>; 787 783 788 784 azoteq,ati-mode = <3>; 789 - azoteq,ati-base = <195>, <195>, <195>, 790 - <195>, <195>, <195>, 791 - <195>, <195>, <195>; 792 785 azoteq,ati-target = <512>; 793 786 794 787 azoteq,proj-bias = <1>; ··· 799 804 azoteq,timeout-swipe-ms = <800>; 800 805 azoteq,timeout-tap-ms = <400>; 801 806 azoteq,thresh-swipe = <40>; 807 + 808 + channel-0 { 809 + azoteq,thresh = <35>; 810 + azoteq,ati-base = <195>; 811 + }; 812 + 813 + channel-1 { 814 + azoteq,thresh = <40>; 815 + azoteq,ati-base = <195>; 816 + }; 817 + 818 + channel-2 { 819 + azoteq,thresh = <40>; 820 + azoteq,ati-base = <195>; 821 + }; 822 + 823 + channel-3 { 824 + azoteq,thresh = <38>; 825 + azoteq,ati-base = <195>; 826 + }; 827 + 828 + channel-4 { 829 + azoteq,thresh = <33>; 830 + azoteq,ati-base = <195>; 831 + }; 832 + 833 + channel-5 { 834 + azoteq,thresh = <38>; 835 + azoteq,ati-base = <195>; 836 + }; 837 + 838 + channel-6 { 839 + azoteq,thresh = <35>; 840 + azoteq,ati-base = <195>; 841 + }; 842 + 843 + channel-7 { 844 + azoteq,thresh = <35>; 845 + azoteq,ati-base = <195>; 846 + }; 847 + 848 + channel-8 { 849 + azoteq,thresh = <35>; 850 + azoteq,ati-base = <195>; 851 + }; 802 852 }; 803 853 804 854 /*