Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp33791ybg; Mon, 27 Jul 2020 14:47:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5BaZMRODV2jJPYr3boVMrfWzGfX2undlqrBOOvUXLIFtvD5Ud/ogWeulU6N25KPlkYKce X-Received: by 2002:a05:6402:68b:: with SMTP id f11mr15694435edy.353.1595886439282; Mon, 27 Jul 2020 14:47:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595886439; cv=none; d=google.com; s=arc-20160816; b=HNcvo4a6Cv5FG9mCDitdvUnaqDk6BxX+Cgd7471JNzWzPPmceHfObQ0SuIKggOQYSE 443N7lpZt7etIsOKG9rHP+XotkhRyOPa0Cby2vVD2f9ilKuoevc9UKFNmQkE0XoUIGwT 8PKjUyU0RJXdUUH7ccswXfQkzQftzNT+1x2sNX8bhdHFpAldGyCoLo5VkMGowBIL21yl oA+yPNTmKNJWX+JPBeTye6QTUkRRiCw41JO4/8drwkRR4iDZm4TQLsfDuyowfe/sEHCs 5ZxUb40GxxKjBWrgANN4FpJHo7R0/UM5e2XqTcln6cFAWFs4nXnAZB9DmBaVxz0H8NIX CN4g== 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:mail-followup-to :message-id:subject:cc:to:from:date; bh=P1ZtWr4P9XRdyMVG1ubB9rucEXoStjC7GXerhg46/wI=; b=av2uDvE8p166VN8TQLP2zFXlbBlENN4gON4S99yu/vzcQeFClvQpLtI9R4TeMDllpi ULY51/01lQImyWtPhofWs4rhZXIDt9cL3UXIp4CmTt1wbCz+4pebsD6bF2cV2Obbw2Ez AvK6iV+jH3t+XB0FBr3z6+4yPa7IKddI+6e8oTTwL96NyWktkkuMVebwAlEyXy8btRBT FUib0X+k/kSGQ15SGF8Ag3PQGMNbw+cWhI2odW69DZdIAiRMPdiwwDryOXXyw1orUBob Z/nBn9lmEX4McjzKyBr2+lDLW9mpn0Eu/m05z0l78klicYeEXOUWbi7Tgcav5HsBSG3w qziw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dh14si5685771edb.591.2020.07.27.14.46.57; Mon, 27 Jul 2020 14:47:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726283AbgG0Vqv (ORCPT + 99 others); Mon, 27 Jul 2020 17:46:51 -0400 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:23305 "EHLO alexa-out-sd-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726110AbgG0Vqu (ORCPT ); Mon, 27 Jul 2020 17:46:50 -0400 Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-02.qualcomm.com with ESMTP; 27 Jul 2020 14:46:50 -0700 Received: from gurus-linux.qualcomm.com ([10.46.162.81]) by ironmsg04-sd.qualcomm.com with ESMTP; 27 Jul 2020 14:46:49 -0700 Received: by gurus-linux.qualcomm.com (Postfix, from userid 383780) id 9124A18FA; Mon, 27 Jul 2020 14:46:49 -0700 (PDT) Date: Mon, 27 Jul 2020 14:46:49 -0700 From: Guru Das Srinagesh To: Martin Botka Cc: Fenglin Wu , Konrad Dybcio , Jacek Anaszewski , Pavel Machek , Dan Murphy , Rob Herring , Thierry Reding , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Lee Jones , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org Subject: Re: [PATCH RCC 1/6] pwm: Add different PWM output types support Message-ID: <20200727214649.GA32280@codeaurora.org> Mail-Followup-To: Martin Botka , Fenglin Wu , Konrad Dybcio , Jacek Anaszewski , Pavel Machek , Dan Murphy , Rob Herring , Thierry Reding , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Lee Jones , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org References: <20200724213659.273599-1-martin.botka1@gmail.com> <20200724213659.273599-2-martin.botka1@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200724213659.273599-2-martin.botka1@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 24, 2020 at 11:36:51PM +0200, Martin Botka wrote: > From: Fenglin Wu > > Normally, PWM channel has fixed output until software request to change > its settings. There are some PWM devices which their outputs could be > changed autonomously according to a predefined pattern programmed in > hardware. Add pwm_output_type enum type to identify these two different > PWM types and add relevant helper functions to set and get PWM output > types and pattern. > > Signed-off-by: Fenglin Wu > [konradybcio@gmail.com: Fast-forward from kernel 4.14 to 5.8] > Signed-off-by: Konrad Dybcio > Signed-off-by: Martin Botka Hello, Re-sending my reply as somehow the cc-fields got dropped when I posted earlier. This was the feedback received from the maintainers when I posted this patch last year [1]. Accordingly, we updated the patch to drop "output_pattern" altogether and made "output_type" read-only [2] - haven't attempted upstreaming this version yet. [1]: https://lore.kernel.org/lkml/20190916140146.GC7488@ulmo/ [2]: https://android-review.googlesource.com/c/kernel/common/+/1170135 Thank you. Guru Das.