Received: by 10.223.185.116 with SMTP id b49csp2203963wrg; Thu, 22 Feb 2018 09:44:26 -0800 (PST) X-Google-Smtp-Source: AH8x225OMoabLjXN5lS/UyLSK1F1r/RWjQYMHIornEizH65qBoLGUeRbYMmtLXz90eFWWYhtDC5u X-Received: by 2002:a17:902:7c84:: with SMTP id y4-v6mr7226353pll.305.1519321466046; Thu, 22 Feb 2018 09:44:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519321466; cv=none; d=google.com; s=arc-20160816; b=XIn3yYPYqGJzAtRWzYrlsd77WSKKL2W9wNICnEzsRse65nYz2XUXarxfg6BuECMJhr 2NG2QDzuLN/gCoYMrHljvGs0wdghIlu9lcwBQANXLW9XF1fYLv+MBwpzu3CFeBp6tday Q2NIicqF8XaHfcMv3iiOxk5doCCratnl3Fi5dI54ft2M3Tm1GuNs8uPOIhxrFjysKSv6 M5I0kbXur9MgX3dGhXCjL++aBMiTWtlxUBEbfn6KLibLmi8cSBnH8BNC1dnvsUC9rE7n xdXXjET5P14cLpfKOpz6M9Byy+G5zWzrfxPRukp68gsj/7oxW3T+jEL1LXidYNkYVNXg z+vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=semicT69NGyuTxL1RffmkgjnTmEMdQJhuAIl0GwMzxA=; b=RYtlav+Ap97CpKmNk4UqxjXHAJVJ6GacXSEMKShaFt1OTIV4S2jzrRodO3KVId87/s BpFPSzVSs0RqjsZvq/nayEGlfllFTwTYjFZj3wCAe2eFr+mCWjjaUy+c1bDaFenXgdNT vdxkW+twVLm5K0Mnhu9iTCL7kjBCG57TjaK64BH8GrMrGg/fFyAqNIoe1XzqenyS+eoM CH30toJkYDr0aceAOWG8KZnZlP89vb6LgqrepnSZxnLPCDjqbbwS9+iXChVXdS19ICw3 fsjj08C1Dhl/zV11n4v4nvi2VCrRxMj5UOEvPxQrSeG4o+kqgO9zCBj1iNR5jNByolS6 T1KQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i70si297538pgc.86.2018.02.22.09.44.11; Thu, 22 Feb 2018 09:44:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933589AbeBVRmr (ORCPT + 99 others); Thu, 22 Feb 2018 12:42:47 -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" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 22 Feb 2018 10:42:40 -0700 Received: from [10.145.6.79] (10.10.76.4) by chn-sv-exch07.mchp-main.com (10.10.76.108) with Microsoft SMTP Server id 14.3.352.0; Thu, 22 Feb 2018 10:42:39 -0700 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 Precedence: bulk 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