From patchwork Sun Dec 23 16:31:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 10741759 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C567317E8 for ; Sun, 23 Dec 2018 16:32:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4ACE286C8 for ; Sun, 23 Dec 2018 16:32:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7763286E7; Sun, 23 Dec 2018 16:32:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4CF6D286C8 for ; Sun, 23 Dec 2018 16:32:18 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To: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:List-Owner; bh=ypNvdwnGh4aOXmSAngevUq5M0CxoaLSifIEH3qX1Yug=; b=Wud4j31uuYcDbKBf1lDFPhKQIQ NJAkl45l3ZS+XBBsVZq0NvFP5QfnOOb0xb/MtBxJcX71wCzcgI+J0pDRVjOHu+idZvPrOaBaOx1ON vadvYIWJVF4w4J20w4SCidWdbloaFEwIKgXnf6H0kx6BoZRd2pjrVar7jWpvZnWJFn7TWWoV8UFWg Vvgs8SwrfbASXwMrzC3ySWv9ontp6Vbnf8cji6Na0aDfhZvTtcpbwqhWxnAh0WJkIiydIVEEKxJ2B CpFiPDgF2dox0BSJAJB/8057f0lufnUIJDLd8NvkTrC3ZhUVgCP+DhNTsvcWFVLtJqaN0SmHoT5lp 7/8Rdlxg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gb6fn-0001PT-J6; Sun, 23 Dec 2018 16:32:15 +0000 Received: from smtp34.i.mail.ru ([94.100.177.94]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gb6fa-0001GU-Vv for linux-arm-kernel@lists.infradead.org; Sun, 23 Dec 2018 16:32:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=2RSQ49SEGGc3KC/wrY1KOTK/dhCKJ4YAF2DsJqRAeGs=; b=CdJp/S4ejVYLIJeHSq68fJyEbPpvZ7DIHWiZ2vjBYpAG5RS/eadydkvpuD20ZtmriP/qCW3666sStnnFCa1dzocpG5zTvgGEb4XZ3lnPbJwrl6idkSeTGLyhKHVOKSA3RiU0E8TR+6MgwIsyMYRJbA85uOBfX1LmMJg7PTEy1Aw=; Received: by smtp34.i.mail.ru with esmtpa (envelope-from ) id 1gb6fN-00087P-4N; Sun, 23 Dec 2018 19:31:49 +0300 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/4] ARM: dts: imx6qdl-phytec-pfla02: Replace magic numbers Date: Sun, 23 Dec 2018 19:31:40 +0300 Message-Id: <20181223163141.6792-3-shc_work@mail.ru> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20181223163141.6792-1-shc_work@mail.ru> References: <20181223163141.6792-1-shc_work@mail.ru> Authentication-Results: smtp34.i.mail.ru; auth=pass smtp.auth=shc_work@mail.ru smtp.mailfrom=shc_work@mail.ru X-77F55803: CF41D5CA8C6D3C0C7F9F52485CB584D75945EECDF71DA5B3553F005E15258411F8E8DF9CDF6896AABF272550A167E03324DAF05A372A3159 X-7FA49CB5: 0D63561A33F958A51AC0876731F395BAAE58B855DBA0FAC13F2D4DDEB3110AC58941B15DA834481FA18204E546F3947C0839144E5BB460BAF6B57BC7E64490618DEB871D839B7333395957E7521B51C2545D4CF71C94A83E9FA2833FD35BB23D27C277FBC8AE2E8B55B19328CBC4F849A471835C12D1D977C4224003CC8364767815B9869FA544D8D32BA5DBAC0009BE9E8FC8737B5C2249DA33821E755670D83AA81AA40904B5D9CF19DD082D7633A0E7DDDDC251EA7DABD81D268191BDAD3D78DA827A17800CE72CE3825EE585899DCD04E86FAF290E2D40A5AABA2AD3711975ECD9A6C639B01B78DA827A17800CE781A3AA7CEF54F56589DDD9F30790B09DEFF80C71ABB335746BA297DBC24807EA27F269C8F02392CD20465B3A5AADEC6827F269C8F02392CD5571747095F342E88FB05168BE4CE3AF X-Mailru-Sender: 139A7956A63CACCF2A18077BC60D2445223CBA05F7F71A499FF4AA860F84897EAD5E2D065CC703566B3B2BD4812BFD4DC77752E0C033A69E93554C27080790AB3B25A7FBAAF806F0AE208404248635DF X-Mras: OK X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181223_083203_402680_A05424F2 X-CRM114-Status: GOOD ( 10.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Shiyan , Shawn Guo , NXP Linux Team , Pengutronix Kernel Team MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Use GPIO_ACTIVE_LOW/HIGH for GPIO description. Signed-off-by: Alexander Shiyan --- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi index 211640e..81007d6 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi @@ -23,7 +23,7 @@ regulator-name = "usb_otg_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - gpio = <&gpio4 15 0>; + gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>; enable-active-high; }; @@ -33,7 +33,7 @@ regulator-name = "usb_h1_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - gpio = <&gpio1 0 0>; + gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>; enable-active-high; }; }; @@ -43,12 +43,12 @@ green { label = "phyflex:green"; - gpios = <&gpio1 30 0>; + gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>; }; red { label = "phyflex:red"; - gpios = <&gpio2 31 0>; + gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>; }; }; }; @@ -69,7 +69,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi3>; status = "okay"; - cs-gpios = <&gpio4 24 0>; + cs-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; flash@0 { compatible = "m25p80", "jedec,spi-nor";