From patchwork Wed Jan 9 09:48:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 10753821 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 861EB746 for ; Wed, 9 Jan 2019 09:48:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7390F28E7A for ; Wed, 9 Jan 2019 09:48:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6349D28E87; Wed, 9 Jan 2019 09:48:32 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B805028E7A for ; Wed, 9 Jan 2019 09:48:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729913AbfAIJsb (ORCPT ); Wed, 9 Jan 2019 04:48:31 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:58426 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727828AbfAIJsb (ORCPT ); Wed, 9 Jan 2019 04:48:31 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190109094829euoutp023107eba752aecff323487edec8964756~4JSQss7pl1236112361euoutp02b; Wed, 9 Jan 2019 09:48:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190109094829euoutp023107eba752aecff323487edec8964756~4JSQss7pl1236112361euoutp02b DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1547027309; bh=4CooehexNx6cUDS4WC048w68gFUecGinp+VF2bE5TFE=; h=From:To:Cc:Subject:Date:References:From; b=jJJa4LLgAMFWlzg6Opdy8bIchf9CA7S3saaK2fgNN3MgcV/NPT+YILvhzs9woRr37 YG/ltppKWtoZt8jLtSfkyfAPdXXCU0uTubsgHiwS7tZBENgJ5TeH42QRAf/3S2ikSr NBTeUMwtHPfg2CebxQ5FqxFzDVfzC6De+n5n/7dw= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190109094828eucas1p27dc3fc717a579a38fd8fa9212a51a2f3~4JSQJzAA-1644016440eucas1p2j; Wed, 9 Jan 2019 09:48:28 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 6E.88.04441.C63C53C5; Wed, 9 Jan 2019 09:48:28 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190109094827eucas1p12d2dcde1fa11af7e8d42250aa9bc68ec~4JSPec0O02759727597eucas1p1l; Wed, 9 Jan 2019 09:48:27 +0000 (GMT) X-AuditID: cbfec7f2-5e3ff70000001159-cc-5c35c36cf8ad Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id E8.D6.04284.B63C53C5; Wed, 9 Jan 2019 09:48:27 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0PL200D6N5WOU380@eusync1.samsung.com>; Wed, 09 Jan 2019 09:48:27 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH] ARM: dts: exynos: Fix conflicting fixed-regulator GPIO flags and properties Date: Wed, 09 Jan 2019 10:48:23 +0100 Message-id: <20190109094823.4818-1-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplkeLIzCtJLcpLzFFi42LZduznOd2cw6YxBjdOy1hsnLGe1eL8+Q3s FjPO72OyWHvkLrsDi8emVZ1sHn1bVjF6fN4kF8AcxWWTkpqTWZZapG+XwJVxrPs+c8EHnooJ 25awNzC+5+pi5OSQEDCR+L7yJHMXIxeHkMAKRolFU24yQTifGSXePuligqlq27KJDSKxjFFi 5/ndUFUNTBL9W3ayglSxCRhKdL3tYgOxRQRUJT63LWAHKWIW6GOUuL53LtASDg5hgTiJ1hXW IDUsQDXnLy9hBrF5BWwkfu/6C7VNXmL1hgNgN0kIHGWV2LHhPVTCRWJl33IoW1ji1fEt7BC2 jERnx0EmiIZmRon2GbPYIZweRomtc3awQVRZSxw+fhHsVGYBPolJ26aDXSQhwCvR0SYEUeIh 0fd8FyOILSQQK3Fi5VqWCYwSCxgZVjGKp5YW56anFhvmpZbrFSfmFpfmpesl5+duYgRGzul/ xz/tYPx6KekQowAHoxIPb8ARkxgh1sSy4srcQ4wSHMxKIrzqd4BCvCmJlVWpRfnxRaU5qcWH GKU5WJTEeasZHkQLCaQnlqRmp6YWpBbBZJk4OKUaGCv0y7XCk15zp5xu1dr/+11X1Lzg5QKf ijQW1f534trgu9Mk9FPfvPCz6uuLnbYsUeuZesbDeX9Ba4qF9rrv1h82WhpP33to15rHSkv2 1kyRuJGUN+l3XiT/prruKct7siTrSpZ/dCj3CQy3X+TzmX3lcxHDCVnXCxgPtvYuuPRoFkOf YOj0T0osxRmJhlrMRcWJAB6fGmCYAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOJMWRmVeSWpSXmKPExsVy+t/xy7rZh01jDN6+0rbYOGM9q8X58xvY LWac38dksfbIXXYHFo9NqzrZPPq2rGL0+LxJLoA5issmJTUnsyy1SN8ugSvjWPd95oIPPBUT ti1hb2B8z9XFyMkhIWAi0bZlE1sXIxeHkMASRonvE1uZIZwmJonLM26zglSxCRhKdL3tYgOx RQRUJT63LWAHKWIWmMAosXrhLLAiYYE4iccHu5lBbBagovOXl4DZvAI2Er93/WWCWCcvsXrD AeYJjFwLGBlWMYqklhbnpucWG+oVJ+YWl+al6yXn525iBHp327Gfm3cwXtoYfIhRgINRiYf3 wRqTGCHWxLLiytxDjBIczEoivOp3gEK8KYmVValF+fFFpTmpxYcYpTlYlMR5zxtURgkJpCeW pGanphakFsFkmTg4pRoY2ecvnnEkyvlJcTEv8+KLbx//uOKy7MHimnUH2X0bo5dM5fQ/Xpj0 V2WNqfj8R19vJ07a2TKXx9n1WdqiVWJ+KXfZr+61T3rj9eBnV1d4EYuH3uvZ4WfFjrpFJyxb 1SJt/45dr+tV3aJADu9Enm1e8T8tMhl3yDFxXt+8t6uVad3XxHNTBEU/KrEUZyQaajEXFScC AGgftGDqAQAA X-CMS-MailID: 20190109094827eucas1p12d2dcde1fa11af7e8d42250aa9bc68ec X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190109094827eucas1p12d2dcde1fa11af7e8d42250aa9bc68ec References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Bindings of the fixed-regulator, which precedes support for GPIO flags passed via phandle descriptor, introduced its own method annotating that the given GPIO line is active low or high - by using 'enable-active-high' property. The driver always ignored flags passed via GPIO descriptor. Fix the conflicting GPIO flags to match the status forced by the 'enable-active-high' property to avoid future confusion. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4412-odroidx.dts | 2 +- arch/arm/boot/dts/exynos5250-arndale.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts index 348556fcdd9d..a2251581f6b6 100644 --- a/arch/arm/boot/dts/exynos4412-odroidx.dts +++ b/arch/arm/boot/dts/exynos4412-odroidx.dts @@ -53,7 +53,7 @@ regulator-name = "p3v3_en"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - gpio = <&gpa1 1 GPIO_ACTIVE_LOW>; + gpio = <&gpa1 1 GPIO_ACTIVE_HIGH>; enable-active-high; regulator-always-on; }; diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 2ca9319f48f2..b44f03ef3b27 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -100,7 +100,7 @@ regulator-name = "VDD_33ON_2.8V"; regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; - gpio = <&gpx1 1 GPIO_ACTIVE_LOW>; + gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>; enable-active-high; };