Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934233AbeALOYP (ORCPT + 1 other); Fri, 12 Jan 2018 09:24:15 -0500 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:26916 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933687AbeALOYL (ORCPT ); Fri, 12 Jan 2018 09:24:11 -0500 X-IronPort-AV: E=Sophos;i="5.46,349,1511852400"; d="scan'208";a="8191797" From: Claudiu Beznea To: , , , , , , , , , CC: , , , , , , , Claudiu Beznea Subject: [PATCH v2 10/16] pwm: Add PWM modes Date: Fri, 12 Jan 2018 16:22:57 +0200 Message-ID: <1515766983-15151-11-git-send-email-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515766983-15151-1-git-send-email-claudiu.beznea@microchip.com> References: <1515766983-15151-1-git-send-email-claudiu.beznea@microchip.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Define a macros for PWM modes to be used by device tree sources. Signed-off-by: Claudiu Beznea --- include/dt-bindings/pwm/pwm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt-bindings/pwm/pwm.h b/include/dt-bindings/pwm/pwm.h index ab9a077e3c7d..b8617431f8ec 100644 --- a/include/dt-bindings/pwm/pwm.h +++ b/include/dt-bindings/pwm/pwm.h @@ -12,4 +12,7 @@ #define PWM_POLARITY_INVERTED (1 << 0) +#define PWM_DTMODE_NORMAL (1 << 0) +#define PWM_DTMODE_COMPLEMENTARY (1 << 1) + #endif -- 2.7.4