Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1705226imu; Wed, 12 Dec 2018 02:55:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/VjJBJVkEnWLGlClxoaNCuUVHpF0Ki9t8fXyrfmLpVKAEpRhnzy8JNr5RGwumDU39ogwPAL X-Received: by 2002:a63:62c3:: with SMTP id w186mr17968131pgb.345.1544612122199; Wed, 12 Dec 2018 02:55:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544612122; cv=none; d=google.com; s=arc-20160816; b=of9OHZopPWKaVnuLGJ+XhUdj7YBYw2UsRUdSrtKHq12LrNwRh2cPX5Vcgf0sUwRmvx DJ5k5ekBaiL6YVg8f374HACixyvHgv0c8gMkgG924PkDS6rN55Zr3a4Nb2TecHObj1DR x1EnhxoFGUcRJVSoV0zxNb71MCtqru17bFUwqgXbDWIccwRQnLWlUeBLT+WDGFPMlmf+ 3mv7I4T5Ps9JCzEDTesv5WxdMEV9ACnAXgrwuVEH1m0v3/Z0VVm/ZRRJGvmdwzClbg8r +/wcKayxH+723AbZpmFAnqpYMjeypCPqQtq+M0AmFK302jSmourtxO7U170tVualT4zA ZXFA== 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=Vfxc41MQev2It2ciz0QezWf41v+v1Xv6kL1HJQbfvPU=; b=Ytsh+Xa8iSeUG89BCFMSTkg2eiPa4AmaF9uTDWE8HRiGpRk0iTnTikbERro6X4qkb7 92dhZ9O1MICVpRyEDBgfN1cJLCRZlTbEfZsanPLEjTVE+fOdPIfHF43mWc8y38vhWURW 0FC+J6o71rxmY9C3rYiBvoIGqRw2KEhOcntJrMNq/rJfT0+qoVk0lzUXGomWz1COMc95 yNvWYoFK/7RaZEK7O4IrDrvoj8gPUByV8HopISayH4M7KAk3jtIt+QzWQu+eLy1tDzLZ Vbxk9vvoIipBmEKaiAJ5ohV9XuK03vF7lElkspWrhYRCejWybHokL4tZM75koR9T3YFW 04+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A+KW0AIA; 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 o32si13934697pld.407.2018.12.12.02.55.07; Wed, 12 Dec 2018 02:55:22 -0800 (PST) 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=A+KW0AIA; 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 S1727131AbeLLKxI (ORCPT + 99 others); Wed, 12 Dec 2018 05:53:08 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:37725 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726791AbeLLKxH (ORCPT ); Wed, 12 Dec 2018 05:53:07 -0500 Received: by mail-ed1-f66.google.com with SMTP id h15so15166131edb.4; Wed, 12 Dec 2018 02:53:06 -0800 (PST) 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=Vfxc41MQev2It2ciz0QezWf41v+v1Xv6kL1HJQbfvPU=; b=A+KW0AIAFZ8sEtFVRS398SnlU9X5dNc2YSAXZgY/ysns2oJYwGbWtFpegzSkpTAu5D yY2q6lvXMqX0KnPO/BtW0pGBwWNBLTiHrxonxQu1DI640h/cufUd4wAiDvRWFgslny8G 9DC8DkgX6/0nvljvpI8kOI6N7NN8VoASn0oEGyxyZ0i4MkNxKYt6nChEnbBWMJb77MNF A0N5cQidjDiuWoh4crYv1JBL9jboPQDL196n/SBUdTbspf0+adOrlZ9l9U5utvmopEDN xE+HDkeAzohBrnXYY0pkYtGdHwO5FzZN1v7fytAPiA1UhvPd630B5tRByBb5g9vBkEsB /2yQ== 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=Vfxc41MQev2It2ciz0QezWf41v+v1Xv6kL1HJQbfvPU=; b=ajNkaIaxEXcWmiARBFSW12L5owISw6SAr16h9comny7XBhEnIUSyh8NnM7jedf2a0u 6Q16aAqtK6sv2T8JaT2XIzy7G+rDM2CyfIIEQl3rYzluqfsIz8uPFCSY8HzywXc+FW5W TGknmUqJitN8zKlYl7yU2QgeyKRodZ4lbhHxU1bv61eTLgIj+KVdE89Cjp8eBFLbwhLV ydI0dRbYvGsAAQ4llzv5aepYFK9V5mK9W6x/1PM38nIuEbffj5Be+C1+QesYF+vHywBf 9sziRH02BGUJT+unJBg+ToeG5puBXB7Nr7714ragsREK3R7WWqhBwSRI9GFlZKmrxsTe s/8g== X-Gm-Message-State: AA+aEWYxg/6MqIuPe1rA0dHnPWz8D1UKCUSsr6WBi+lK/ghwwKWpIu9j xoRuQlYVAbfGmWU89jPrROQq8Nqo X-Received: by 2002:a50:a974:: with SMTP id m49mr19004254edc.220.1544611985878; Wed, 12 Dec 2018 02:53:05 -0800 (PST) Received: from localhost (pD9E51040.dip0.t-ipconnect.de. [217.229.16.64]) by smtp.gmail.com with ESMTPSA id j31sm5018451eda.46.2018.12.12.02.53.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Dec 2018 02:53:05 -0800 (PST) Date: Wed, 12 Dec 2018 11:53:04 +0100 From: Thierry Reding To: Michal =?utf-8?B?Vm9rw6HEjQ==?= Cc: linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] pwm: imx: Use bitops and bitfield macros to define register values Message-ID: <20181212105304.GC17654@ulmo> References: <1538403588-68850-1-git-send-email-michal.vokac@ysoft.com> <1538403588-68850-2-git-send-email-michal.vokac@ysoft.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Clx92ZfkiYIKRjnr" Content-Disposition: inline In-Reply-To: <1538403588-68850-2-git-send-email-michal.vokac@ysoft.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 --Clx92ZfkiYIKRjnr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 01, 2018 at 04:19:47PM +0200, Michal Vok=C3=A1=C4=8D wrote: > Use existing macros to define register fields instead of manually shifting > the bit masks. Also define some more register bits. >=20 > Signed-off-by: Michal Vok=C3=A1=C4=8D > --- > drivers/pwm/pwm-imx.c | 78 ++++++++++++++++++++++++++++++++++++++-------= ------ > 1 file changed, 58 insertions(+), 20 deletions(-) Applied, thanks. Thierry --Clx92ZfkiYIKRjnr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlwQ6JAACgkQ3SOs138+ s6FWHg//XmrkBX1MOHOJxSKNoeDjxd7tnUqJ7BBL474nB+urg+LI8a1V8mdD/JQJ /gQsfU5Fzj4SN8aPCCCagZ3VfTdpBNlU1zdyn/VLZSxsDcS5lBbjD3xj+VMrNwGF J2hsSYnPVRtkUKhXjTAduFjkvj3z8wTr6JdXH3TFOGlB4xuNkQ/yYsi+9PYNdbSg 0Dlo44y9XsNOoWSk9he9/X3hI7zoy94RYsREGaQ7JUKRV0RVLwI/EmoDycuoX3Ao QTs65BxCbF80OsRmRtUBnFQm9Hm+vXkYQOq29bwC10j96lvGQrB/96nlyu9QuBoo SZ0BJXaZ2gCmMCVHDiWo9YLT9iF2hSJtgxuRktH2xgm3qLOEJ0wPhIPmz3h8keIu FXm6g3KhO8cxI13tVYLLao4P1wmgWsAvoBdSr3aItSJYEajThxsrajuLUe7FAC+W c2mjOPvi5s3fUWVJX889kFFcGV8D9N/asV71R8cyJkqNO1P3BDClZIn1Y5JUJ9/m j31X9KwHB21aoe7Vh8j5Ilq9xyYvYzZTCfrsFw57O3Hd9qBpIl1OV2afiEEGHf0l 82mcGyxN2KvI3sonc2yp1f4GEofryEHr9XEfFLroV6VeXs0/7RFUI9kRWXFITuQU EdjOAATNiNR3Z++cF2nt0++TFD4TvS3s5li5moBxitwLe21ojpg= =X4Yq -----END PGP SIGNATURE----- --Clx92ZfkiYIKRjnr--