From: Philip, Avinash Date: Wed, 21 Nov 2012 07:40:44 +0000 (+0530) Subject: pwm: Device tree support for PWM polarity X-Git-Tag: v3.8-rc1~49^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83af24027b3df1af5c5a9aa9adcdcfeb3429d3be;p=pandora-kernel.git pwm: Device tree support for PWM polarity Add support for encoding PWM properties in bit encoded form with of_pwm_xlate_with_flags() function support. Platforms require platform specific PWM properties has to populate in 3rd cell of the pwm-specifier and PWM driver should also set .of_xlate support with this function. Currently PWM property polarity encoded in bit position 0 of the third cell in pwm-specifier. Signed-off-by: Philip, Avinash Acked-by: Grant Likely Signed-off-by: Thierry Reding --- Reading git-diff-tree failed