Thread (29 messages) 29 messages, 7 authors, 2018-03-02

Re: [PATCH v3 06/10] pwm: add PWM modes

From: Claudiu Beznea <hidden>
Date: 2018-02-22 17:42:48
Also in: dri-devel, intel-gfx, linux-arm-kernel, linux-clk, linux-devicetree, linux-hwmon, linux-input, linux-leds, linux-media, linux-pwm, linux-samsung-soc, lkml


On 22.02.2018 19:28, Andy Shevchenko wrote:
On Thu, Feb 22, 2018 at 2:01 PM, Claudiu Beznea
[off-list ref] wrote:
quoted
Add PWM normal and complementary modes.
quoted
+- PWM_DTMODE_COMPLEMENTARY: PWM complementary working mode (for PWM
+channels two outputs); if not specified, the default for PWM channel will
+be used
What DT stands for?
It stands for Device Tree. It remained this way from the previous version. In
the previous version I had modes described in an enum, to be used by PWM core,
as follows:
enum pwm_mode {
	PWM_MODE_NORMAL,
	PWM_MODE_COMPLEMENTARY,
};

and, to avoid conflict b/w these defines and the one from
include/dt-bindings/pwm/pwm.h I introduced this DT in the define names from
dt-bindings. But now the DT might be removed since I've changed the way the PWM
mode is identified in PWM core. I will remove the DT in the next version, if not
requested otherwise.

Thank you,
Claudiu Benea
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help