1*c66ec88fSEmmanuel VadotSTMPE ADC driver 2*c66ec88fSEmmanuel Vadot---------------- 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel VadotRequired properties: 5*c66ec88fSEmmanuel Vadot - compatible: "st,stmpe-adc" 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel VadotOptional properties: 8*c66ec88fSEmmanuel VadotNote that the ADC is shared with the STMPE touchscreen. ADC related settings 9*c66ec88fSEmmanuel Vadothave to be done in the mfd. 10*c66ec88fSEmmanuel Vadot- st,norequest-mask: bitmask specifying which ADC channels should _not_ be 11*c66ec88fSEmmanuel Vadot requestable due to different usage (e.g. touch) 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel VadotNode name must be stmpe_adc and should be child node of stmpe node to 14*c66ec88fSEmmanuel Vadotwhich it belongs. 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel VadotExample: 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel Vadot stmpe_adc { 19*c66ec88fSEmmanuel Vadot compatible = "st,stmpe-adc"; 20*c66ec88fSEmmanuel Vadot st,norequest-mask = <0x0F>; /* dont use ADC CH3-0 */ 21*c66ec88fSEmmanuel Vadot }; 22