Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1677798

Re: [PATCH v2] pinctrl: generic: Add output-enable property

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Andy Shevchenko <andy.shevchenko@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] pinctrl: generic: Add output-enable property
Date Thu, 29 Jun 2017 16:30:02 +0200
Message-ID <tXICe-eR-5@gated-at.bofh.it> (permalink)
References <tV7dM-3dT-29@gated-at.bofh.it> <tXGTM-7BQ-13@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wYCJvxESKI6If31lnkfvMlDCEdz1Uf+y2k51d24taPU=; b=VjwxDiaM+1lxSwNqnSVfTAD1iAhbiYSwr4vtGrULzsXVplY/iwgBOeLRybjHigLtDF M3+GeuXKaf5kYgIQl4qsvqEGxVRWTSWaK20U6qp1m7ga2gaTb45Yv5ziTave62MDOKBv 1WFs+cUJnOdKQWOO8SGGoYqxku7QdHbkuYmU1wpKLw4jOARVPfzO6dcrxndXh0FvVhnI yR71MG7FcX6tb/LkqebynkOrt2AZnZbbxtE+O2VAFG9M5+1C5SZljKmNSgN2u/3ZfSo6 wSdPIPSEJaYbQtRpU/6OHF4iwuSK4Hh+6eoK62XWQd+Ylhdgmv9BJTlU3D3helu623XJ bzyA==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wYCJvxESKI6If31lnkfvMlDCEdz1Uf+y2k51d24taPU=; b=QcsgRRW/JFH1gW0Ez/JmhCAh6KAzOiLOIjLHz09n1ydWDfU8c9ePZhZ5kp/wZMqD5e PDO9C9g3JNFRPUGTkrq8z6QT/BPLa+gfyYo3EnmQk5PMe2kpkngnBOQyoXq1zZ9eFvd+ I5XV/FyWMZkhWUAZNDoZeVZ/1H6NJzuPsYO95XGxIgQF4xhS2bouxBkWVbSbrW5cvW2n 1u8l+/U7pFYvxy9cgYiWmQlfOGaIPuLijpMA5SPs3FOtXbJx35bD7WfQQhVV95xDnOov HfnIXKDAC/08K1Fw1PPv1VUC/4PQSgvbvhZzxciTjSwD7UuMwzG6A/mQCJGVQBaWSmlZ 4iyQ==
X-Gm-Message-State AKS2vOw5Ba95+ggnlnkbaSipRbKqpAJZzSWTQk8tA4jA1IIWQYbvxxCr ++cBuPbLpd11Eaw3rBgDSo04byGl9Q==
X-Received by 10.55.20.30 with SMTP id e30mr18194607qkh.51.1498746393809; Thu, 29 Jun 2017 07:26:33 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 25
Organization linux.* mail to news gateway
X-Original-Cc Jacopo Mondi <jacopo+renesas@jmondi.org>, Dong Aisheng <dongas86@gmail.com>, Geert Uytterhoeven <geert+renesas@glider.be>, Chris Brandt <Chris.Brandt@renesas.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, "linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, Linux-Renesas <linux-renesas-soc@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
X-Original-Date Thu, 29 Jun 2017 17:26:33 +0300
X-Original-Message-ID <CAHp75VdAM2EWXtZfaBZ4U2eXL0oj82ipWQZier18jX93xhdUYQ@mail.gmail.com>
X-Original-References <1498125658-14554-1-git-send-email-jacopo+renesas@jmondi.org> <CACRpkdYViCZG0PmboxVq7S9ggFOrsTuvk6ZjdzoBgS9aio0ygg@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1677798

Show key headers only | View raw


On Thu, Jun 29, 2017 at 3:33 PM, Linus Walleij <linus.walleij@linaro.org> wrote:
> On Thu, Jun 22, 2017 at 12:00 PM, Jacopo Mondi
> <jacopo+renesas@jmondi.org> wrote:
>
>> Add output-enable generic pin configuration property.
>> This properties allows enabling/disabling pin's output capabilities
>> without actually driving any value on the line.

> I have applied the patch adding a few elaborations in the binding that
> the situation where you may use this is typically when enabling/disabling
> input or output buffers irrespective of the mode of the line as a whole.
>
> We might need even more documentation because this is really
> confusing.
>
> But for now it lets drivers work, which is nice.
>
> Rough consensus and running code should be our guide.

At least this looks much better than odd bi-directional thingy.
Thanks!

-- 
With Best Regards,
Andy Shevchenko

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] pinctrl: generic: Add output-enable property Jacopo Mondi <jacopo+renesas@jmondi.org> - 2017-06-22 12:10 +0200
  Re: [PATCH v2] pinctrl: generic: Add output-enable property Rob Herring <robh@kernel.org> - 2017-06-26 20:50 +0200
  Re: [PATCH v2] pinctrl: generic: Add output-enable property Linus Walleij <linus.walleij@linaro.org> - 2017-06-29 14:40 +0200
    Re: [PATCH v2] pinctrl: generic: Add output-enable property Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-06-29 16:30 +0200

csiph-web