From patchwork Tue Mar 17 12:32:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksandr Suvorov X-Patchwork-Id: 11442819 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 55DCD1392 for ; Tue, 17 Mar 2020 12:32:53 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2D53620757 for ; Tue, 17 Mar 2020 12:32:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="YG461msl"; dkim=pass (1024-bit key) header.d=toradex.com header.i=@toradex.com header.b="IPrQWPEh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D53620757 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=toradex.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version: Content-Transfer-Encoding:Content-Type:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=X1kzIb4eTW5m19cXA3bGGxxlI19Ra1xshRUwlCjvXDI=; b=YG461msll6goHXjooDrHI4sswy 2PE3ttGBaYMlYIcPL9gh2Pva14v+fpOnFsnjgtEtsYAAzDnGhXbVfC0BmpQYLTYVnzBF/qhKQJMqb 4MA564hz/31bl9LwLbd/WT0kFq6EVXPLnMELDZJQKWBms/5RMQAAY5q7deG+a+JS0xiQl7nJfQNI2 /OgBRjMfU5RPuU+MjccuL2ZYYmVIEgBSJBHMUAPothLcPNfab5seEMMwOcg2LWH9DUEvylKVa/P+n uubuPuGRg3eSK1S4y6orEbgzlshboO8+2GQyrTkaYCX1mJ8894KKF8ULIuTzInzYYiSffLhow762f SLt8DJ7w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jEBOr-0007nB-Jy; Tue, 17 Mar 2020 12:32:49 +0000 Received: from mail-db8eur05on2108.outbound.protection.outlook.com ([40.107.20.108] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jEBOo-0007mK-7m; Tue, 17 Mar 2020 12:32:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ESHqWtOC3v9sz0JPkxqO79IZBKaoNM51srksC0wJGcsxZjkPiGYNLWQOxzNmnEj3U8IYC8jEGaeXwV8+1Qc4RigZ0XhE/3vqCg4iH192snDdyLuG6kg3v1dqBjam4NAdxjaN7GxNRNIYFc7Bv27+gfsnSpZw7M3gDFFhBGrnPz2qMyd53F7utzdEcYWZ6O+3dV21ap4I0zpUo9HAVytF47E8fRbA4Spco3nrYa3CqM6cN7a68G8f1W3Ygi5T5nM9gmA3GtIZu1vVzCvDcoD5vTmg2s7fClXFtsdZt5dnecd4nQ5WnO+Wqms5FSDuRkOOmjnviHOTN2ECbYhExA9Xsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X1kzIb4eTW5m19cXA3bGGxxlI19Ra1xshRUwlCjvXDI=; b=UXrQUOvRbZeXEw4JUIHXIPd5AfDQhTJbznX6sSq43KvLbVWwZbCC54aXH46nA2Eq8sG+2q4GCiSMyAUk1RLzCsFE4uRk6dHB8HgVrsPHHLdaNKVn0UwEcphB5UVxvGNR6GIwGJpWRzn31HCCupA14HSliflNcPQCEED63v+xl0dJ3iaNfsnHfRAXimNaG3abnC8+l91diDgB7PFtzNDQHpf3Tg+YM27MbyBnXsewQptiTkUQlSuOYWl46+4MH9AZ3yTnXGOvIdS7pot5PtUDb53gDtgsmHTVOorem3arAFZWgP43OZxSSe2j3345vDyToCG7KLtaKLNFTywNrx/aQg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=toradex.com; dmarc=pass action=none header.from=toradex.com; dkim=pass header.d=toradex.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X1kzIb4eTW5m19cXA3bGGxxlI19Ra1xshRUwlCjvXDI=; b=IPrQWPEh1VoNYW1WO4BEA4b8yJysWW4tcL6hPJy+tvk0w7u9u+T7GbKaFqSroB5bjduhN/zfrnW8DNEidg82S42mh69wp+X9e0o+ERSQNZi1pmtDz6309NhXL/pfB1LnppoYUfxu99iseCIJl1GRkT+q6oZEilcwcsQ8zCmGMTk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=oleksandr.suvorov@toradex.com; Received: from VI1PR05MB3279.eurprd05.prod.outlook.com (10.170.238.24) by VI1PR05MB4462.eurprd05.prod.outlook.com (10.171.182.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.13; Tue, 17 Mar 2020 12:32:40 +0000 Received: from VI1PR05MB3279.eurprd05.prod.outlook.com ([fe80::7cdd:4feb:a8b6:a6d2]) by VI1PR05MB3279.eurprd05.prod.outlook.com ([fe80::7cdd:4feb:a8b6:a6d2%7]) with mapi id 15.20.2814.021; Tue, 17 Mar 2020 12:32:40 +0000 From: Oleksandr Suvorov To: devicetree@vger.kernel.org, linux-pwm@vger.kernel.org Subject: [RFC PATCH 0/7] Rework PWM_POLARITY_* flags Date: Tue, 17 Mar 2020 14:32:24 +0200 Message-Id: <20200317123231.2843297-1-oleksandr.suvorov@toradex.com> X-Mailer: git-send-email 2.24.1 X-ClientProxiedBy: PR0P264CA0058.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1d::22) To VI1PR05MB3279.eurprd05.prod.outlook.com (2603:10a6:802:1c::24) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (82.193.109.226) by PR0P264CA0058.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.16 via Frontend Transport; Tue, 17 Mar 2020 12:32:39 +0000 X-Mailer: git-send-email 2.24.1 X-Originating-IP: [82.193.109.226] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 92f24b8f-5335-4211-67f5-08d7ca6f484d X-MS-TrafficTypeDiagnostic: VI1PR05MB4462: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5516; X-Forefront-PRVS: 0345CFD558 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4636009)(39850400004)(396003)(136003)(366004)(346002)(376002)(199004)(66946007)(6666004)(66476007)(66556008)(5660300002)(7406005)(36756003)(7416002)(7336002)(1076003)(4326008)(7366002)(26005)(6496006)(44832011)(52116002)(54906003)(81166006)(81156014)(2906002)(8676002)(55236004)(316002)(186003)(8936002)(956004)(478600001)(2616005)(6486002)(86362001)(16526019); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR05MB4462; H:VI1PR05MB3279.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; Received-SPF: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ajbru8RbLQmgjKwD+95r2KCid79cKzjDo03netdLt+HAWjyngf9jw0cT51IHD8agmsUDBreJ48OzhG/PgghyhnuDmqqo0bg7m17hlhuUw9lDdeUlgdoL2nwzxrsTai0nDxktojNfKmImYoa8l1gGtJPkCt7BTyNIPqRMjFYsvGuljdurMwIVSVB0/z3c5DGSrIG0+/Wh0JyZghswX077mjVbbza7x3w/N+Zs+8y64d4lKxJhYgwBhehNxonij18bq6EdzWxNEpI3dupulYhX9PXr6zd8b/DhM0a3c8B7KSv1PUb5UThx0V708z6YmC4Z/FB4D90C7/KrtW7ZNem61ZRCVvtS0/lA22b/HHkPsD/0qeNNOTUtTwofLO+g96hiY+h17UPa/Sjis0uL+DDVe4qI1b/LGKhB8vDBtCGad8NVe4ZUlsZBOROxpes+fb4v X-MS-Exchange-AntiSpam-MessageData: EGpmD3tLLdvnd4GrcyLclYhQyBBCFMZozHtqfPv08FPrjYoImY0rCyhXl9vJrzDuzQVqeLBY3PUx1gp6qYRGhtjlE181vtIV6NbaS9AaSM1ABLzDumIqvbvN7buNZzplJQk8/gANax6tTTT7LWlO5Q== X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92f24b8f-5335-4211-67f5-08d7ca6f484d X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2020 12:32:40.1226 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Zz/FEFsAObuiUoMoYiFwvs6Kups5z5Shlju/DdLCfKiNEjs2mBSiP8Jdf+YqLwOq8INbIuD82e6zXBWoCcfGWfkknYHoK8UuJGXlnD7L0ZM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB4462 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200317_053246_475836_48A2180D X-CRM114-Status: GOOD ( 10.08 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.20.108 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , Geert Uytterhoeven , Marcel Ziswiler , Sekhar Nori , dri-devel@lists.freedesktop.org, Soeren Moch , Miquel Raynal , Hugh Cole-Baker , linux-stm32@st-md-mailman.stormreply.com, linux-samsung-soc@vger.kernel.org, Bartosz Golaszewski , Katsuhiro Suzuki , Kevin Hilman , Ludovic Desroches , NXP Linux Team , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Sascha Hauer , linux-omap@vger.kernel.org, Alex Elder , Scott Branden , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Pengutronix Kernel Team , Jingoo Han , Claudiu Beznea , Alexandre Belloni , Kever Yang , Thierry Reding , Daniel Lezcano , Magnus Damm , linux-rockchip@lists.infradead.org, Kukjin Kim , Jagan Teki , Alexandre Torgue , Maxime Ripard , greybus-dev@lists.linaro.org, linux-rpi-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, Johan Jonker , Fabrice Gasnier , linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, Maxime Coquelin , Andy Yan , Nicolas Saenz Julienne , Christoph Muellner , linux-fbdev@vger.kernel.org, Stefan Agner , Laurent Pinchart , Philipp Tomsich , Fabio Estevam , Daniel Thompson , Florian Fainelli , Krzysztof Kozlowski , Chen-Yu Tsai , bcm-kernel-feedback-list@broadcom.com, Nick Xie , Bartlomiej Zolnierkiewicz , Ray Jui , Steven Rostedt , Vladimir Zapolskiy , Paul Barker , Paul Cercueil , Enric Balletbo i Serra , Shawn Guo , Peter Rosin , Milo Kim , Tony Lindgren , Oleksandr Suvorov , linux-riscv@lists.infradead.org, Lee Jones , devel@driverdev.osuosl.org, Marc Zyngier , Markus Reichl , Ingo Molnar , Sebastian Hesselbarth , David Lechner , Johan Hovold , Philippe Schenker , Rob Herring , Paul Walmsley , =?utf-8?q?Andrius_=C5=A0tikonas?= , Igor Opaniuk , Nicolas Ferre , Tony Prisk , Jisheng Zhang , Palmer Dabbelt , =?utf-8?q?Beno=C3=AEt_Cousson?= , Robin Murphy Sender: "linux-riscv" Errors-To: linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org PWM_POLARITY_* flags were defined in include/linux/pwm.h as a enum and in include/dt-bindings/pwm/pwm.h as macros. This patchset fixes duplication and introduces using PWM_POLARITY_NORMAL flag instead of '0' constant in DT files. Oleksandr Suvorov (7): pwm: rename the PWM_POLARITY_INVERSED enum dt-bindings: pwm: document the PWM polarity flag dt-bindings: pwm: add normal PWM polarity flag dt-bindings: pwm: add description of PWM polarity pwm: replace polarity enum with macros arm64: dts: pwm: replace polarity constant with macro arm: dts: pwm: replace polarity constant with macro Documentation/devicetree/bindings/pwm/pwm.txt | 1 + arch/arm/boot/dts/am335x-cm-t335.dts | 2 +- arch/arm/boot/dts/am335x-evm.dts | 2 +- arch/arm/boot/dts/am3517-evm.dts | 2 +- arch/arm/boot/dts/at91-dvk_su60_somc_lcm.dtsi | 2 +- arch/arm/boot/dts/at91-kizbox2-common.dtsi | 6 ++-- arch/arm/boot/dts/at91-kizbox3_common.dtsi | 8 ++--- arch/arm/boot/dts/at91-kizboxmini-common.dtsi | 6 ++-- arch/arm/boot/dts/at91-nattis-2-natte-2.dts | 2 +- arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts | 2 +- arch/arm/boot/dts/at91sam9n12ek.dts | 2 +- arch/arm/boot/dts/at91sam9x5dm.dtsi | 2 +- .../boot/dts/berlin2cd-google-chromecast.dts | 4 +-- arch/arm/boot/dts/da850-evm.dts | 2 +- arch/arm/boot/dts/da850-lego-ev3.dts | 4 +-- arch/arm/boot/dts/exynos4412-midas.dtsi | 2 +- arch/arm/boot/dts/exynos4412-odroidu3.dts | 2 +- arch/arm/boot/dts/exynos5250-snow-common.dtsi | 2 +- arch/arm/boot/dts/exynos5410-odroidxu.dts | 2 +- arch/arm/boot/dts/exynos5420-peach-pit.dts | 2 +- arch/arm/boot/dts/exynos5422-odroidhc1.dts | 2 +- .../boot/dts/exynos5422-odroidxu3-common.dtsi | 2 +- arch/arm/boot/dts/exynos5422-odroidxu4.dts | 2 +- .../boot/dts/exynos54xx-odroidxu-leds.dtsi | 4 +-- arch/arm/boot/dts/exynos5800-peach-pi.dts | 2 +- arch/arm/boot/dts/imx53-tx53-x13x.dts | 5 ++-- arch/arm/boot/dts/imx6dl-tx6dl-comtft.dts | 2 +- arch/arm/boot/dts/imx6q-display5.dtsi | 2 +- arch/arm/boot/dts/imx6q-tx6q-1010-comtft.dts | 2 +- arch/arm/boot/dts/imx6q-tx6q-1020-comtft.dts | 2 +- arch/arm/boot/dts/imx6qdl-tx6-lvds.dtsi | 4 +-- arch/arm/boot/dts/imx7-colibri.dtsi | 4 ++- arch/arm/boot/dts/imx7d-nitrogen7.dts | 3 +- arch/arm/boot/dts/imx7d-pico.dtsi | 3 +- arch/arm/boot/dts/imx7d-sdb.dts | 3 +- arch/arm/boot/dts/imx7ulp-evk.dts | 3 +- arch/arm/boot/dts/iwg20d-q7-common.dtsi | 2 +- .../boot/dts/logicpd-torpedo-baseboard.dtsi | 2 +- arch/arm/boot/dts/meson8b-ec100.dts | 4 +-- arch/arm/boot/dts/meson8b-mxq.dts | 4 +-- arch/arm/boot/dts/meson8b-odroidc1.dts | 4 +-- .../boot/dts/motorola-mapphone-common.dtsi | 3 +- arch/arm/boot/dts/omap3-gta04.dtsi | 2 +- arch/arm/boot/dts/omap3-n900.dts | 2 +- arch/arm/boot/dts/rk3288-veyron-edp.dtsi | 2 +- arch/arm/boot/dts/rk3288-veyron.dtsi | 2 +- arch/arm/boot/dts/rv1108-evb.dts | 2 +- arch/arm/boot/dts/s3c6410-mini6410.dts | 2 +- arch/arm/boot/dts/s5pv210-aries.dtsi | 2 +- arch/arm/boot/dts/s5pv210-smdkv210.dts | 2 +- arch/arm/boot/dts/sun5i-gr8-evb.dts | 2 +- arch/arm/boot/dts/vf-colibri.dtsi | 4 ++- .../dts/allwinner/sun50i-a64-pinebook.dts | 2 +- .../boot/dts/allwinner/sun50i-a64-teres-i.dts | 2 +- .../arm64/boot/dts/amlogic/meson-axg-s400.dts | 3 +- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 1 + .../boot/dts/amlogic/meson-g12-common.dtsi | 1 + .../boot/dts/amlogic/meson-g12a-sei510.dts | 5 ++-- .../boot/dts/amlogic/meson-g12a-u200.dts | 2 +- .../boot/dts/amlogic/meson-g12a-x96-max.dts | 5 ++-- .../dts/amlogic/meson-g12b-khadas-vim3.dtsi | 4 +-- .../boot/dts/amlogic/meson-g12b-odroid-n2.dts | 4 +-- .../boot/dts/amlogic/meson-g12b-ugoos-am6.dts | 7 +++-- .../boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 3 +- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 1 + .../boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 3 +- .../dts/amlogic/meson-gxbb-nexbox-a95x.dts | 3 +- .../boot/dts/amlogic/meson-gxbb-p20x.dtsi | 3 +- .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 3 +- .../boot/dts/amlogic/meson-gxbb-wetek.dtsi | 3 +- .../boot/dts/amlogic/meson-gxl-s805x-p241.dts | 3 +- .../meson-gxl-s905x-hwacom-amazetv.dts | 3 +- .../amlogic/meson-gxl-s905x-khadas-vim.dts | 2 +- .../amlogic/meson-gxl-s905x-nexbox-a95x.dts | 3 +- .../dts/amlogic/meson-gxl-s905x-p212.dtsi | 3 +- .../dts/amlogic/meson-gxm-khadas-vim2.dts | 5 ++-- .../boot/dts/amlogic/meson-gxm-rbox-pro.dts | 3 +- .../boot/dts/amlogic/meson-khadas-vim3.dtsi | 4 ++- .../dts/amlogic/meson-sm1-khadas-vim3l.dts | 2 +- .../boot/dts/amlogic/meson-sm1-sei610.dts | 7 +++-- .../dts/exynos/exynos5433-tm2-common.dtsi | 3 +- arch/arm64/boot/dts/rockchip/px30-evb.dts | 2 +- arch/arm64/boot/dts/rockchip/px30.dtsi | 1 + .../arm64/boot/dts/rockchip/rk3308-roc-cc.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3308.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3399-evb.dts | 4 +-- .../boot/dts/rockchip/rk3399-firefly.dts | 2 +- .../dts/rockchip/rk3399-gru-chromebook.dtsi | 2 +- .../boot/dts/rockchip/rk3399-gru-scarlet.dtsi | 4 +-- arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 6 ++-- .../boot/dts/rockchip/rk3399-khadas-edge.dtsi | 2 +- .../boot/dts/rockchip/rk3399-nanopc-t4.dts | 2 +- .../boot/dts/rockchip/rk3399-roc-pc.dtsi | 2 +- .../boot/dts/rockchip/rk3399-rockpro64.dtsi | 2 +- .../rockchip/rk3399-sapphire-excavator.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 1 + drivers/pwm/core.c | 6 ++-- drivers/pwm/pwm-atmel-hlcdc.c | 2 +- drivers/pwm/pwm-atmel-tcb.c | 24 +++++++-------- drivers/pwm/pwm-atmel.c | 2 +- drivers/pwm/pwm-bcm-iproc.c | 2 +- drivers/pwm/pwm-bcm-kona.c | 4 +-- drivers/pwm/pwm-bcm2835.c | 2 +- drivers/pwm/pwm-berlin.c | 2 +- drivers/pwm/pwm-ep93xx.c | 4 +-- drivers/pwm/pwm-fsl-ftm.c | 2 +- drivers/pwm/pwm-hibvt.c | 4 +-- drivers/pwm/pwm-imx-tpm.c | 2 +- drivers/pwm/pwm-imx27.c | 4 +-- drivers/pwm/pwm-jz4740.c | 2 +- drivers/pwm/pwm-lpc18xx-sct.c | 2 +- drivers/pwm/pwm-meson.c | 6 ++-- drivers/pwm/pwm-omap-dmtimer.c | 6 ++-- drivers/pwm/pwm-renesas-tpu.c | 10 +++---- drivers/pwm/pwm-rockchip.c | 4 +-- drivers/pwm/pwm-samsung.c | 2 +- drivers/pwm/pwm-sifive.c | 4 +-- drivers/pwm/pwm-stm32.c | 2 +- drivers/pwm/pwm-sun4i.c | 2 +- drivers/pwm/pwm-tiecap.c | 4 +-- drivers/pwm/pwm-tiehrpwm.c | 8 ++--- drivers/pwm/pwm-vt8500.c | 4 +-- drivers/pwm/pwm-zx.c | 4 +-- drivers/pwm/sysfs.c | 6 ++-- drivers/staging/greybus/pwm.c | 2 +- drivers/video/backlight/lp8788_bl.c | 2 +- include/dt-bindings/pwm/pwm.h | 10 +++++++ include/linux/mfd/lp8788.h | 2 +- include/linux/pwm.h | 29 +++++-------------- include/trace/events/pwm.h | 2 +- 130 files changed, 239 insertions(+), 205 deletions(-)