Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp582242ybh; Wed, 18 Mar 2020 05:31:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs0LxXXwzLlKijVZ8C58K08HzfzK6yNkVMBm3jLFiXTV6zVlTvEZwp0HiE3bzYWGP1TtYBp X-Received: by 2002:a9d:171e:: with SMTP id i30mr3627341ota.327.1584534678339; Wed, 18 Mar 2020 05:31:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584534678; cv=none; d=google.com; s=arc-20160816; b=JdiFbltamxaMCoE4TLS0GtJ851YdPshfET8dKUVbt/6PKXepOPMeL+DKFHjBfzm+S9 eQqnGMyhS9hxvHQ9d4NO232Uz0lnf96GPsJHHA4Q9YSzna0dks4cS4f+fC6aqO83JcJs TCA/F5BtpXsCXVDs28cutVX06bR92qhx7Y+L0rrSs3V+UcwBK9G3OipjlFSFFBD+wk1v rp7ko9Ws+gLZAetLbbJUkreNoyw8+S/uzo4gYQpCqfWKpBqc5nCQUM+GyvEFeB6R4GXJ ekGshilNTGoN+etaCV/px1qElI6vqRt5vwmzmo2M6FwZyH8Jg2VejC23eK6QoaSy0qdw ZWbw== 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=RGcYEyFAUkyZFLTTf/z/mGRC9et992+eOMG8yje3iwY=; b=E+iEV9yEg4tlFdJ/eO1VWfhXyP5bRDtWQBzfCH3+BTN7kE0Hw+h2cVTEwwyqI+Xc9t Kbz2W2ccMD6XKhzJrXUNTYTVwSNEqyd0b3UAl7Y0ZBYC2c45BaoHYw7JB92guuVrmMQN 9xnSRpQRq1/MgPSNtBQe2Hk7QeDNMZdakq4FZnV7bUCqtKnvAC38EjDtO3i/W7DVoa1j veAc68Z86pec+XKlHeqXvkk3nHt+bnJTH0Ezc7nD8+uVBx/K3sGnLZwX4a1QdHulD2XD z5oTAfSbtLsjow3nPuFqdkw8kdKnoFOrJRNMpNsZWric8/4l9SYIElgkqS+biZkPeqLH l6WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="Y/spN90e"; 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 g15si2203303otq.226.2020.03.18.05.31.06; Wed, 18 Mar 2020 05:31:18 -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="Y/spN90e"; 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 S1726726AbgCRM3u (ORCPT + 99 others); Wed, 18 Mar 2020 08:29:50 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:44994 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726546AbgCRM3u (ORCPT ); Wed, 18 Mar 2020 08:29:50 -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 B40E5F9; Wed, 18 Mar 2020 13:29:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1584534587; bh=gQKuXxEqexrnhnz8x/feE0Di0ED55uUAwf+JiJpuBqw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y/spN90eRK3QaYE5+ZxO+buNeicgh1W8rrPIX/HsQOvcZ3uN9rmiFxuI0dbp0b1vC K1JQ6xrmKf86Gyk5BLH3Tmpw5zUcZ3RlkUE+MYTmhyHefS5u2BYAbK7AtJPxSigihk jPLHo1OqgQlNtA+r2vMdak+gThMI29/1R5EViXNg= Date: Wed, 18 Mar 2020 14:29:42 +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: <20200318122942.GA7833@pendragon.ideasonboard.com> References: <20200317123231.2843297-1-oleksandr.suvorov@toradex.com> <20200317123231.2843297-5-oleksandr.suvorov@toradex.com> <20200317230115.GM2527@pendragon.ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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, On Wed, Mar 18, 2020 at 01:37:00PM +0200, Oleksandr Suvorov wrote: > On Wed, Mar 18, 2020 at 1:02 AM Laurent Pinchart wrote: > > 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). > > That's why I dropped the kerneldoc tags leaving the descriptions only. But you forgot to replace /** with /* :-) Sorry for not being clear about what I meant. > > > #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