From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99371C43333 for ; Fri, 20 Mar 2020 10:03:39 +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 6E00620789 for ; Fri, 20 Mar 2020 10:03:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tHHwsVVh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6E00620789 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.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: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BM+frk9M6SlkMEMgywIprjGYbVHjZq6BNLefzEUKIRU=; b=tHHwsVVhhWxAVv 4lNKXXQI/nqEN8b8IgUMs8HQYQxhVn1msJ4ajlKtiFLSekDcDKI302WwlTtP89XTVxSC/Dfgn12Mv 5G/N4t2jyF74+ZFWQRSiGevDlMEpC2+ieKqJ+WyyQePpyV9SA7vv3f26kOP8PKaWRN/XeVdRJ9atO 4HMvlG3OqgIRpnHtqKjgDxMoT7f16RqLJnL8Wqu01t2XP3E8VJvKfCDIs4MS1IIsysGAdgL5zTRXT PuqtkqlP34qB9tqjRkf5xCrDrnX19RE/k5I4W0/GrkxVBdrbcAamVuJQEM52WtIKYgunWW6XshkMa HNVWNW7fy8Ta1yVFk1ng==; 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 1jFEV8-0005gs-Tq; Fri, 20 Mar 2020 10:03:38 +0000 Received: from mail-ed1-f65.google.com ([209.85.208.65]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jFEV5-0005fP-9j; Fri, 20 Mar 2020 10:03:36 +0000 Received: by mail-ed1-f65.google.com with SMTP id i24so6485868eds.1; Fri, 20 Mar 2020 03:03:34 -0700 (PDT) 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; bh=tSuC6rirFkPp7o5onqQW1YOkCb60MvR5bv8PP1Z/cQg=; b=tYbmb2sg4YxZ9RDO2tmatImQVmQQQXaFErfaTrb19TyiC6bt92Jbz56PV3/0mCusN1 4/v09VZuL6WzBLbZanAu0ewfKFkEFVQnNhp8xks76eu/4RHgjxX/hWQlIF/xNPVtP+4q QJivYup1hsQegru3IMeyqQeIEErOo1YK43KaR09XjlNvscHKiLb+5x1b3Hw9SfAq+1M3 /XKROIQ7cYkUZosBfi/kprgNkJnwLE0JjPgQxhL6FNeUcJ83rWTvqQcubX7PVN41G7vZ SBsl/hKifZv3vD3NrPmi+3s+tyjDUjhAeiEy/vHQUZnAmT5jvATHPwxrskIbPBfF+pQD 2mdA== X-Gm-Message-State: ANhLgQ3Ax6PIL9UTlLwNy531uDJeVxPK6IjzAlr6lz56sZ7V4z5TnsPu PoBGHYu4g2VG+f39RSjYP4c= X-Google-Smtp-Source: ADFU+vugt2YyfL8cQT7+vpLHG9am8cCqBSB7XauUNUkR7U3UGvGj4jp51sCnSueZSIT/VpkoqnmJXA== X-Received: by 2002:aa7:c658:: with SMTP id z24mr6922331edr.298.1584698613669; Fri, 20 Mar 2020 03:03:33 -0700 (PDT) Received: from pi3 ([194.230.155.125]) by smtp.googlemail.com with ESMTPSA id y14sm330361ejc.85.2020.03.20.03.03.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Mar 2020 03:03:32 -0700 (PDT) Date: Fri, 20 Mar 2020 11:03:29 +0100 From: Krzysztof Kozlowski To: Oleksandr Suvorov Subject: Re: [RFC PATCH 6/7] arm64: dts: pwm: replace polarity constant with macro Message-ID: <20200320100329.GB16931@pi3> References: <20200317123231.2843297-1-oleksandr.suvorov@toradex.com> <20200317123231.2843297-7-oleksandr.suvorov@toradex.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200317123231.2843297-7-oleksandr.suvorov@toradex.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200320_030335_341053_5053F1AE X-CRM114-Status: GOOD ( 13.03 ) X-BeenThere: linux-arm-kernel@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 , linux-pwm@vger.kernel.org, Marcel Ziswiler , Kever Yang , Soeren Moch , Laurent Pinchart , Miquel Raynal , Philipp Tomsich , Hugh Cole-Baker , linux-samsung-soc@vger.kernel.org, Katsuhiro Suzuki , Kevin Hilman , Daniel Lezcano , Markus Reichl , linux-rockchip@lists.infradead.org, Chen-Yu Tsai , Kukjin Kim , Jagan Teki , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , devicetree@vger.kernel.org, Nick Xie , Maxime Ripard , Philippe Schenker , Paul Barker , Rob Herring , linux-amlogic@lists.infradead.org, Johan Jonker , linux-arm-kernel@lists.infradead.org, Andrius =?utf-8?B?xaB0aWtvbmFz?= , Igor Opaniuk , linux-kernel@vger.kernel.org, Marc Zyngier , Enric Balletbo i Serra , Andy Yan , Robin Murphy , Christoph Muellner Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Mar 17, 2020 at 02:32:30PM +0200, Oleksandr Suvorov wrote: > There is the PWM_POLARITY_NORMAL defined and describled in > and used by pwm drivers. > > This patch converts all '0' constant in pwms parameters into > PWM_POLARITY_NORMAL. > > Replace with sed regexp: > 's/(pwms = <&[a-zA-Z_0-9]+ [0-9]+ [0-9]+) 0>/\1 PWM_POLARITY_NORMAL>/' > > Then: > - include pwm.h in some dts/dtsi to fix building errors about undefined > symbols. > - fix the patman warnings about the code format; > > Signed-off-by: Oleksandr Suvorov > --- > > arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts | 2 +- > arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts | 2 +- > arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 3 ++- > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 1 + > arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 1 + > arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 5 +++-- > arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts | 2 +- > arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 5 +++-- > arch/arm64/boot/dts/amlogic/meson-g12b-khadas-vim3.dtsi | 4 ++-- > arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts | 4 ++-- > arch/arm64/boot/dts/amlogic/meson-g12b-ugoos-am6.dts | 7 ++++--- > arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 3 ++- > arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 1 + > arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 3 ++- > arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts | 3 ++- > arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi | 3 ++- > arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 3 ++- > arch/arm64/boot/dts/amlogic/meson-gxbb-wetek.dtsi | 3 ++- > arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts | 3 ++- > .../boot/dts/amlogic/meson-gxl-s905x-hwacom-amazetv.dts | 3 ++- > arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 2 +- > .../arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts | 3 ++- > arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi | 3 ++- > arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts | 5 +++-- > arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts | 3 ++- > arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 4 +++- > arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts | 2 +- > arch/arm64/boot/dts/amlogic/meson-sm1-sei610.dts | 7 ++++--- > arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 3 ++- For Exynos: Acked-by: Krzysztof Kozlowski Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel