Received: by 10.213.65.68 with SMTP id h4csp25712imn; Tue, 27 Mar 2018 15:33:20 -0700 (PDT) X-Google-Smtp-Source: AIpwx48YGzOqdEyWDVmUBDSnQyn3DWeoVVqdP0u8CznJYm/zfiJXj2Ey9VOipwM+j5VeY/sxVwog X-Received: by 10.99.4.214 with SMTP id 205mr716307pge.375.1522190000193; Tue, 27 Mar 2018 15:33:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522190000; cv=none; d=google.com; s=arc-20160816; b=HBaBlUQXR7yZ3pdp8WSex6gvHh5agQUr3TznTXNsB2t8q+wis4QxNKh8ZHhJN0dLXi T9Vg3VYAvy7W+x56LATbWsH6PXBhcZ5GOZvaZsc2tis8B1O7oSn233RG/kKHTHcCLFRO mCrKCBpMPwzRXiVz2fb4L1ip3K2GGbAC75apznBGILA8DAM6fqehFndyzBqWBR5SjX2m lJu5Y6nFn7HLayLZAi/TasHP+NFCC1157qf6rU/gqTg7S9IIWFunC/Hx3NzjIXbklTgn hvOZWAj9iOjMGhi5GC942hKKfUHbYKdM9SVjQO5kPyb99rmw2eCVNjVoxba/SOsKB5j2 p6+g== 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:arc-authentication-results; bh=um9IJ1XwjSa00WYxeutp5M2rcyZLLzudR/zH2ibv3DY=; b=QvYqOBSTN+fLUwjzoOkSpjoKhsWlIGp8ohtaZ3KduuT+OJsyfdpMgBW5gN0LxdP8BM 6xDtOo4LMwsmU69aX+SZNSfFX0XYwvow+VHskUHl37eH2JYLZ2xNks7myL1nPOQNEC2m MbGWMOOpV5ZHyESCi8s6TOnjIJUckNi/dgDL/blZUaueaZ3Gr86UwPf97MUDdLTM/NBV 2Vugu9gPMbk/eaXXI3Nw4oNpMJ0LYtOOKD4cNbveOoDb1D+uyNU7xn15DfFgJ9Sl8CGH ZaTOeoAWW5UjI8D4iXhK37P6OZn4EfOJJ/PS5dkai50WP82tKjf+h4yQhFkNR3EPB4QR UEaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=j6Z/Mbks; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b18si1743285pfl.100.2018.03.27.15.33.05; Tue, 27 Mar 2018 15:33:20 -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 header.i=@gmail.com header.s=20161025 header.b=j6Z/Mbks; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752559AbeC0Wax (ORCPT + 99 others); Tue, 27 Mar 2018 18:30:53 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:52050 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752462AbeC0Wav (ORCPT ); Tue, 27 Mar 2018 18:30:51 -0400 Received: by mail-wm0-f66.google.com with SMTP id v21so1507526wmc.1; Tue, 27 Mar 2018 15:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=um9IJ1XwjSa00WYxeutp5M2rcyZLLzudR/zH2ibv3DY=; b=j6Z/Mbks+i+6JjKx2QLcXLmJHbPTYCNG1E+1iAinhVZGZ+6rA6lQ9gX64bSszsWGdn TJ7z/mwDf0yIF6GuNVSi9X1NbR0RDk6VIdRYfSeW7dXjLH0ODNxnf/JrBU+RNtksKabP vKFIkYAYK3bJJ9DbjUvmShBY9TCYGxHucfiPPjB9JSJXGJ9wWxIQFGWbUDFZt9C9nW7I 1sTtencziFDu42LOELDthJJpMm+ByRePIbG6zqWIxF8hEAi2bEHX8vQItdK5JGxdDNkt /VTFmpBl9hox9KohUhZ6f5acZDkfw2Ot8NaE6DUWPfdpi5axTxdBE+QluapuBEaG2ZDL FkEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=um9IJ1XwjSa00WYxeutp5M2rcyZLLzudR/zH2ibv3DY=; b=fc01TBS4jh4vv/JJA30WYHGQaqAW+d/P53qITgsiNGCK4WUuONdnVw4IGqFP4i9pnK agnbd2rfOnSVCqIDL23ZHj919DXemx5Xe+u5thkPOVss2uxRoq3oet0nc+OAG8bZ977m k701MHxdzIhmvuF9Xrl0hX9bTvxJyebtuWUVUke1698jxnf2QIIKMuWt2W3mCOurx2XJ I73xF72lD70PDKB8KZ/9eB/xYtrWr80h0kjhiaYWnkXcn66V1Cf2pQqvK36r9UNKKKn4 sSoKM5APumSOa2c0hEm3tSfG9G1livgN1jKtfIydUWuRupdKO1pMapJOwBVMQDfvCdVN gEGQ== X-Gm-Message-State: AElRT7HNt77ibrzrUkx31Sy4qnCBOHZ9XjRk06VhR3AnVDp2JKIY2W0G b/LJPleghanfVmleBvXiXPw= X-Received: by 10.28.18.206 with SMTP id 197mr695629wms.22.1522189849909; Tue, 27 Mar 2018 15:30:49 -0700 (PDT) Received: from localhost (p200300E41F193100021F3CFFFE37B91B.dip0.t-ipconnect.de. [2003:e4:1f19:3100:21f:3cff:fe37:b91b]) by smtp.gmail.com with ESMTPSA id j89sm2202637wrj.92.2018.03.27.15.30.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Mar 2018 15:30:49 -0700 (PDT) Date: Wed, 28 Mar 2018 00:30:48 +0200 From: Thierry Reding To: Sean Wang Cc: matthias.bgg@gmail.com, linux-pwm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Zhi Mao , John Crispin Subject: Re: [PATCH v3] pwm: mediatek: fix up PWM4 and PWM5 malfunction on MT7623 Message-ID: <20180327223047.GG28163@mithrandir> References: <051f401bcca48ece188023ccf10b2cedc7a25a64.1519891948.git.sean.wang@mediatek.com> <20180302105719.GC27178@ulmo> <1520030090.8089.186.camel@mtkswgap22> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hTiIB9CRvBOLTyqY" Content-Disposition: inline In-Reply-To: <1520030090.8089.186.camel@mtkswgap22> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --hTiIB9CRvBOLTyqY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 03, 2018 at 06:34:50AM +0800, Sean Wang wrote: > On Fri, 2018-03-02 at 11:57 +0100, Thierry Reding wrote: > > On Thu, Mar 01, 2018 at 04:19:12PM +0800, sean.wang@mediatek.com wrote: > > > From: Sean Wang > > >=20 > > > Since the offset for both registers, PWMDWIDTH and PWMTHRES, used to > > > control PWM4 or PWM5 are distinct from the other PWMs, whose wrong > > > programming on PWM hardware causes waveform cannot be output as expec= ted. > > > Thus, the patch adds the extra condition for fixing up the weird case= to > > > let PWM4 or PWM5 able to work on MT7623. > > >=20 > > > v1 -> v2: use pwm45_fixup naming instead of pwm45_quirk > > > v2 -> v3: add more tags for Reviewed-by, Fixes, and Cc stable > > >=20 > > > Cc: stable@vger.kernel.org > > > Fixes: caf065f8fd58 ("pwm: Add MediaTek PWM support") > > > Signed-off-by: Sean Wang > > > Reviewed-by: Matthias Brugger > > > Cc: Zhi Mao > > > Cc: John Crispin > > > Cc: Matthias Brugger > > > --- > > > drivers/pwm/pwm-mediatek.c | 24 +++++++++++++++++++++--- > > > 1 file changed, 21 insertions(+), 3 deletions(-) Applied, thanks. Thierry --hTiIB9CRvBOLTyqY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlq6xhcACgkQ3SOs138+ s6GemRAAven23G0YiLEVbk8S+JKm4WpzNzax/Nsk3xja50+dVlf3+VoeRa/PCW/e QguUdC8q9QyujEC/XzNJaaqxIa5T43kOcTePVuwrEHq54+2IFoNSDWi+OuUsCZyu ujjK0B3w1Q67ExSqUw9EbeF6dnJf4EZSZCo9iej4TCY8I/bMTcwOaope6itRyKn0 Y6dp6v5Bpx4Frf4QEH9QObiCJmwsdCgKTNsoLdowqWYrXic3jXA9V1GQPBGXSCCJ s8k8bH8vBiGR8FVqPU+DE6NYMb/FjvAxHXMNaFSPhGyMyZpTcPloA0Aq9JTLWfhW 0V7WrWI9oA0yomKC3nuNCOBFtByniUlrRIGncWLFrmU6vo/H4Th87TQzeDUc7ue3 9pHcvWfW3Py9LgR0xDffTw1FNbeAAiVsedahQf2WfLR1ecR5ys4RjrHOoH7Ajjw0 BnNPLxJN4jYyadlG+qtRTxnlExWEfVMyGvbmhaBtnpgqBTsrWL2T94QYWFKWc3AA 9JOa4iBQ18D+IWWJM06et+ftMkWzkENL5mIPiQ1RomCIiAOFL6+EhYHx9t8kD+0o UR+LPVdYwmh+Yfj8uMNvghflJi4iIAijZ+0sA3M8SnhLyAmDPXWarissJ3Ei+5aG ++a6F7qDY1K9XSwTQICbWhS2DYsxx+DBvVGIcjy6O9xx3rLc+0U= =aYXi -----END PGP SIGNATURE----- --hTiIB9CRvBOLTyqY--