Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp4280969ybh; Tue, 17 Mar 2020 16:01:55 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtlb81r7WY+5MpgBFIljjWMS8qZldE8aFMdAMv6MwRgJ9oumiJV5fRTFkpci6IQZuhBLI5n X-Received: by 2002:a05:6830:2361:: with SMTP id r1mr1378939oth.88.1584486115534; Tue, 17 Mar 2020 16:01:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584486115; cv=none; d=google.com; s=arc-20160816; b=ns88XEGlMN9RpBMf8fgE9Os0rWC6XcfAqYwJKAlwV1VJhkb3KSTEu0MtH8uUXMFHsv IcD43mM/PwQsjvHO7NXQ+HLI2ICYs29mda6foQY/lRQaY+8+1fLNPJrC2D1y7MzmmL9u /6eHPn2H3TKlzFm4pgbLuCPa4Dai1HSnpHfXCAJVRs4WatYIBZluSloEZkIYrpXhCIHB MbzwZbjZ7E+7lsQp1+VirbI0fTaV7SoG71RH0Pw1Hdj5K9gdBPvJfVYN+dD2jCcoxysm GoXqZmoAOpjO9DMhYWIXJ382k6ZDj8mvsbIieQO93vlCrXrHFU11x/ApbRAJT36B9xAT QREw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=duITQPyQZy9vLwkt8hEJxk89KKgl9nfvCJRy/UaZN+0=; b=UwLG4T1po2QubVTAFdiI/KZD4PF4Xp0j3h2mmtes9TrFb9FQgYLKb0FE3JWLBxIRif msdy8iERug/SMDEr8QGUseQanf62RsB1+P7Zb8/wSD+a+r3nTSeYKXbEC12bvWV0DG7j mL/Aj5oYvA4RZQ5Zhk/58OBQ1MCy2bHi+WAqV+7//9yPjPOeF0Iu3MTC/pLALv4qqRyr NRr9hxKEPB5E26x/sU85cOp7GCcJ6a4JLFTxpBWqBhyHt6FnvIA3qA6lewZrRR4WjDNQ UDEjLZjBNDzwNKeH3Zqo0i5U+CLW6mlJ8r7cWkfIxlGWJuOUQMqCk4hXj6y1jefIfJk7 6Gxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=NiSPe29F; 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 t6si2381756oib.255.2020.03.17.16.01.42; Tue, 17 Mar 2020 16:01:55 -0700 (PDT) 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; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=NiSPe29F; 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 S1727083AbgCQXBY (ORCPT + 99 others); Tue, 17 Mar 2020 19:01:24 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:59474 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726735AbgCQXBW (ORCPT ); Tue, 17 Mar 2020 19:01:22 -0400 Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8D3DEF9; Wed, 18 Mar 2020 00:01:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1584486080; bh=RsBGOOoR16+F81LqfrqNie4IC7gzYPXK9gaCVKUf158=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NiSPe29FZnt7WxFSA9LrSrh6GqL5oJ2QeexNyTYle+MnyTE2TDYPZTgtIX6TayNHd Oy2r2WeZnwzfnJb/8gDdQ5SIrrUovWs3Blg3I8ARdKRpOtLMp1OCCLnHNEZ4DZW0nS lnSBNdZxNJhyk94zqQv6HZvh6EOa2aKyr7OxqS+k= Date: Wed, 18 Mar 2020 01:01:15 +0200 From: Laurent Pinchart To: Oleksandr Suvorov Cc: devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, Paul Barker , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Marcel Ziswiler , Igor Opaniuk , Philippe Schenker , Rob Herring , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 4/7] dt-bindings: pwm: add description of PWM polarity Message-ID: <20200317230115.GM2527@pendragon.ideasonboard.com> References: <20200317123231.2843297-1-oleksandr.suvorov@toradex.com> <20200317123231.2843297-5-oleksandr.suvorov@toradex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200317123231.2843297-5-oleksandr.suvorov@toradex.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Oleksandr, Thank you for the patch. On Tue, Mar 17, 2020 at 02:32:28PM +0200, Oleksandr Suvorov wrote: > Move the description of the PWM signal polarity from > , prepare for removing the polarity > definition from . > > Signed-off-by: Oleksandr Suvorov > --- > > include/dt-bindings/pwm/pwm.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/include/dt-bindings/pwm/pwm.h b/include/dt-bindings/pwm/pwm.h > index 6b58caa6385e..c07da2088a61 100644 > --- a/include/dt-bindings/pwm/pwm.h > +++ b/include/dt-bindings/pwm/pwm.h > @@ -10,7 +10,16 @@ > #ifndef _DT_BINDINGS_PWM_PWM_H > #define _DT_BINDINGS_PWM_PWM_H > > +/** > + * a high signal for the duration of the duty-cycle, followed by a low signal > + * for the remainder of the pulse period. > + */ Last time I checked, kernedoc didn't support documenting macros (enums are supported). > #define PWM_POLARITY_NORMAL 0 > + > +/** > + * a low signal for the duration of the duty-cycle, followed by a high signal > + * for the remainder of the pulse period. > + */ > #define PWM_POLARITY_INVERTED (1 << 0) > > #endif -- Regards, Laurent Pinchart