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=-0.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED 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 B3A7FC433F5 for ; Sun, 5 Sep 2021 12:03:17 +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 7CC9060249 for ; Sun, 5 Sep 2021 12:03:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 7CC9060249 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RS90MP2DDGwhKeT2zLJE2LZCwWPCwhCmINOVzY9qgKI=; b=DJG134IZzo7OT4 PA3aMnw+pzMJSjHPJgmIlwTvP2nkwpVMli5ipDWjsrCWWtDc3urzI6VS3QyEyAOEUPur01mkYZZtX dWYTV7yQAPJhzoDDN9fAi1mGgaJeL1T4fQOuluQnqd1X663UhlR06IEafETIH/fU7DFPTbKvB2NP7 icDXMZpgj9WJ6erzAc+XzXqwXtSSHHIbLCML9S5WJF02sUaCzSPL9TuhD4RSHMFM1fsQ+u5OwXV1/ FDjgfMXi4MV3aZn6wm1kkvyHR518ifm1KD/tqa0jDI89ZN7eQ/aYVtuakISXA5VeyRYhSVtef2zHp plqjIL03jizzsuzxqDhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mMqpt-00FhQZ-ST; Sun, 05 Sep 2021 12:01:22 +0000 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mMqpX-00FhPo-8O for linux-arm-kernel@lists.infradead.org; Sun, 05 Sep 2021 12:01:00 +0000 Received: by mail-lj1-x22b.google.com with SMTP id f2so6341135ljn.1 for ; Sun, 05 Sep 2021 05:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nBLOak/HJT2xEcYorSHrBIq3aBheZT2AgQtOYsN1bkY=; b=TOZwu6dVQApVgpL/80UkTNpFs5XZkbmHbXV/kVggXFB96LL/lT77gINuTCuKoDFDSt RGne5Ljjn4ny8r3FPv7HOhofkGufzD/3lxhvN0FNtCVvq2TnOmZ8pzQUfpnC+tLGukif HWC+6QPSzaXdm7HrfJDO+XDUBYI7PUZUMucbQWXlBbthpnqp3su7ni93e171apvtfE+w PlofL02e/uAoD4RiCYVZveU9MYid+yb6riXkxJZdj5WM1BySgtX+FIODdqUexjRNijfI oe7rHwzUcg/Ei8l2xSyw7NZMj47BWxzIYwdthG7h8e71eSg6lJAy38cUDK3V8gCly2Ix H1dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nBLOak/HJT2xEcYorSHrBIq3aBheZT2AgQtOYsN1bkY=; b=MmuqiIniC6l3Iaa9S8VJj1Kkpt6N+rr6gAGsz7+XGWqaSuFuSWQ17e4zHdy3Y+fr8o 0aeeanAhVbuasXi+7HdMPOE8Eegju+oPeBJjFMfxd5rGPtj+X+/7/cd0mzw0nmYH0exJ Tq5Mp/o6yc7jFzH5R7lik0DhhrHTntvzCJMDESOgR7SSEuCXYXqanppDcOlo6Ks3QWn/ RbkdzsSYFKCySwMJ2ofAbU5ieb4y5NQJwY7zYO/GsvL3YPuhUB+mA7OPpogP6+kHf3Sy TtRJ4++kgbHI1/bFhHKb3kVdMJWO7+pkuZ14fmp/KsIXFxE+svv3WJ1f8nKTixGv7k14 JAhA== X-Gm-Message-State: AOAM531jlMhIGbMyiZbRn+kmrjTGCtipkX6uY7Ms8uEFa+7Unfkk7CqS JW0KSi78CkmdHEY4O4LbIyKcw8ba26fatJHEbH4= X-Google-Smtp-Source: ABdhPJxKxV9Et2pJHPvniR5UqzaukiZIX1HnFhG5uTK9CbNXdylz4uS6LdlXOrkVfEbBZP2ujWKP30aOg+AYa8PxR64= X-Received: by 2002:a05:651c:4d4:: with SMTP id e20mr6407903lji.402.1630843257434; Sun, 05 Sep 2021 05:00:57 -0700 (PDT) MIME-Version: 1.0 References: <20210905000137.95438-1-marex@denx.de> <92d00e82-737b-7380-00aa-fb49656ff8e7@denx.de> In-Reply-To: <92d00e82-737b-7380-00aa-fb49656ff8e7@denx.de> From: Fabio Estevam Date: Sun, 5 Sep 2021 09:00:46 -0300 Message-ID: Subject: Re: [PATCH] ARM: dts: imx: Fix USB host power regulator polarity on M53Menlo To: Marek Vasut Cc: "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Shawn Guo , NXP Linux Team X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210905_050059_336531_3E3B8820 X-CRM114-Status: GOOD ( 10.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Marek, On Sat, Sep 4, 2021 at 11:57 PM Marek Vasut wrote: > No, the GPIO flags are ignored by gpiolib-of and the signal is active > low. That's why there is that zero, no flags, and no enable-active-high > property. Yes, correct. The GPIO flag is ignored by "regulator-fixed". As you removed the 'enable-active-high' property, you turned the regulator to active low as needed. This is correct. gpio = <&gpio1 2 0> is the same as gpio = <&gpio1 2 GPIO_ACTIVE_HIGH> I just suggested gpio = <&gpio1 2 GPIO_ACTIVE_LOW> to make it clearer what is the real polarity. The GPIO flag is ignored, I know. No issues if you want to keep it as gpio = <&gpio1 2 0>. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel