From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933592AbeBVRms (ORCPT ); Thu, 22 Feb 2018 12:42:48 -0500 Received: from esa4.microchip.iphmx.com ([68.232.154.123]:23161 "EHLO esa4.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933427AbeBVRmm (ORCPT ); Thu, 22 Feb 2018 12:42:42 -0500 X-IronPort-AV: E=Sophos;i="5.47,378,1515481200"; d="scan'208";a="11413812" Subject: Re: [PATCH v3 06/10] pwm: add PWM modes To: Andy Shevchenko CC: Thierry Reding , Alexander Shiyan , , Krzysztof Kozlowski , Russell King - ARM Linux , Michael Turquette , Stephen Boyd , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , , Bartlomiej Zolnierkiewicz , Jean Delvare , Guenter Roeck , Dmitry Torokhov , Richard Purdie , Jacek Anaszewski , Pavel Machek , Mauro Carvalho Chehab , Sean Young , Lee Jones , Daniel Thompson , Jingoo Han , , Rob Herring , Mark Rutland , Jonathan Corbet , Nicolas Ferre , Alexandre Belloni , , Linux Kernel Mailing List , linux-arm Mailing List , , , , , , linux-input , Linux LED Subsystem , Linux Media Mailing List , , devicetree , Linux Documentation List References: <1519300881-8136-1-git-send-email-claudiu.beznea@microchip.com> <1519300881-8136-7-git-send-email-claudiu.beznea@microchip.com> From: Claudiu Beznea Message-ID: Date: Thu, 22 Feb 2018 19:42:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22.02.2018 19:28, Andy Shevchenko wrote: > On Thu, Feb 22, 2018 at 2:01 PM, Claudiu Beznea > wrote: >> Add PWM normal and complementary modes. > >> +- 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