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: 155060 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp507175jaa; Wed, 9 Jan 2019 01:48:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN6ZOSiAI30XTX+ELIPrbfhu7pzzJDzjogJ9Tzxr8i1sh/xd9QC7MdxSEcsb28jGb7F6lKE3 X-Received: by 2002:a17:902:2ac3:: with SMTP id j61mr5329423plb.185.1547027311964; Wed, 09 Jan 2019 01:48:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547027311; cv=none; d=google.com; s=arc-20160816; b=kVnsHLN9JJkIYyLx9NJbxO20vRBCLX36ITvFInNqvqjTUWxYciSE4YxmNfZFr6fZfO RrfH7+KQoq+XTTOVCGcSMWb7t439CmP4Y2Ogx+LqUBk9G9pSQqbUjiPUBHwoC1kdZXk6 Tutb5unDUzMp5Fx7J1WPvjgRtsZDmLg8w6X+pgDH3ZJ9XlD6t7hJobt3GUNAM6ev1oMH tWVDwsT4bPh3wPk8WS0dstKmLJCmeBTGTcJ0Ix0Nd8ArpOHiCjdosE4UgrETWWBg1FdM UjUyGPrbvq38J+F/pOuBkWI9Gdj7g3Fmhsp0ML7pmMJrY3WFMammmpzfhbqCi6uqrRki 4WpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=4CooehexNx6cUDS4WC048w68gFUecGinp+VF2bE5TFE=; b=UUVtpq7qOzetejkdNnWBHb/fb2fcYKUcHGLrUG5iPl+vS7IKql/fhxzrQU82Jm3Avi 5WkjX4GcA8Zcopx/HHke/0aIrdMNgpvCbtaPIB+dCwiEJ+inTNrxIjGdQkOANB2j2U3a c1C13KyJqmUVOKQtU5D6V7vL6qSosi1gt6FXv5QdYF05ilU4Iy0bAKzr3IJ19ibscDmj xk8W9gGDZRIMOX+ZA5ywbboGsEkYbjS7xRJ7UK0kDMtLRB78oZdamphG1dK8eQGeQIN1 wQErtLrbkDct6Bx0EvOeGj2hh5a1iBXzllSOsFDBsM+AWOpZNkXToQrzp00P5J6HZgcV LXEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jJJa4LLg; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 92si5902312pld.84.2019.01.09.01.48.31; Wed, 09 Jan 2019 01:48:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-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=@samsung.com header.s=mail20170921 header.b=jJJa4LLg; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729913AbfAIJsb (ORCPT + 3 others); 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 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(-) -- 2.17.1 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; };