Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1000662ybl; Thu, 12 Dec 2019 08:11:09 -0800 (PST) X-Google-Smtp-Source: APXvYqxSsUadCxLYpfNG+ZXeX7cNQqxyvGUs8B//qOOE5wy80jZR/glxeTg8Nbpn9Cc36OgqA0BJ X-Received: by 2002:aca:a9cc:: with SMTP id s195mr5480540oie.158.1576167069475; Thu, 12 Dec 2019 08:11:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576167069; cv=none; d=google.com; s=arc-20160816; b=laDyMkC2nzEIjKBngnECXbGaa61AXqSKTO+6cpgyuosSi5/joXoBZMni/biulfturj BZ2BOtSHpA2p56JGtLyKrIVO8Wc4EDxeszMYWwZHaLvCatuKnHjZt4n70WjWMUjKNI0S udMlyBfgrwNwOylrAN3ZLoR0HdRTm0sZtdisl2tdO+4iuAYeiXayxP8IgKsl11IatsyI dXqWt982FeME4SCAvGu05WxHv7oZffBlbuxuJrAybzA+k2EAfbNcRL+m6E8LgAlKjV1s WHGCUP/9WaV9ZTADx2gbXRGcpmhKapj10Q3sSNl1+q/dqwp1geSdnVjc5Q2F1v0rizod dfPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=UlKAh17aJAqMckv7yl8SJYoJdjl6lSz9fkqa/MlVAvQ=; b=A3vPSvGr/4vS4eWsiGS+78vezbtscOd/yCDJzpmiar3KZSIEnWthXP0/7i4B1iDnms qz8ISWNLHisenjhmjioMU275MMi51xKk7x5UaWqH5IqeeBS0pzxAr/omBOtsfvUDbp13 XNe0FtIcouf1+WeHLnPy28KV/5EkuAA78nkqECOpuIzJISouMbcwE6Fll/DzFaa+Q+Zy vnTxje66ED1jfuTaWYwwgDqkKbYRdKKlcfeLZSGnDdxf9SEeaUI8ijurQwMrdNPLnl35 eMHygH+9fPcEmrvLKSKJ45BaUcu/Q1GMK7GarsfwIyLcmlp8ah5RaOpxhzOuMPdSfk30 Osmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w197si3310308oif.150.2019.12.12.08.10.56; Thu, 12 Dec 2019 08:11:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729862AbfLLQKW (ORCPT + 99 others); Thu, 12 Dec 2019 11:10:22 -0500 Received: from foss.arm.com ([217.140.110.172]:52050 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729731AbfLLQKW (ORCPT ); Thu, 12 Dec 2019 11:10:22 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5435030E; Thu, 12 Dec 2019 08:10:21 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C7FCC3F6CF; Thu, 12 Dec 2019 08:10:20 -0800 (PST) Date: Thu, 12 Dec 2019 16:10:19 +0000 From: Mark Brown To: Marco Felsch Cc: Adam Thomson , Support Opensource , "lee.jones@linaro.org" , "robh+dt@kernel.org" , "linus.walleij@linaro.org" , "bgolaszewski@baylibre.com" , "joel@jms.id.au" , "andrew@aj.id.au" , "lgirdwood@gmail.com" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-gpio@vger.kernel.org" , "linux-aspeed@lists.ozlabs.org" , "linux-arm-kernel@lists.infradead.org" , "kernel@pengutronix.de" Subject: Re: [PATCH v3 3/6] dt-bindings: mfd: da9062: add regulator voltage selection documentation Message-ID: <20191212161019.GF4310@sirena.org.uk> References: <20191129172537.31410-1-m.felsch@pengutronix.de> <20191129172537.31410-4-m.felsch@pengutronix.de> <20191204134631.GT1998@sirena.org.uk> <20191210094144.mxximpuouchy3fqu@pengutronix.de> <20191211170918.q7kqkd4lrwwp7jl3@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="SxgehGEc6vB0cZwN" Content-Disposition: inline In-Reply-To: <20191211170918.q7kqkd4lrwwp7jl3@pengutronix.de> X-Cookie: We have DIFFERENT amounts of HAIR -- User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --SxgehGEc6vB0cZwN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Dec 11, 2019 at 06:09:18PM +0100, Marco Felsch wrote: > so one argument more for my solution. Also we don't configure the "pad" > to be a vsel/ena-pin. The hw-pad can only be a gpio or has an alternate > function (WDKICK for GPIO0, Seq. SYS_EN for GPIO2, Seq. PWR_EN for GPIO4). > Instead we tell the regulator to use _this_ GPIO e.g. for voltage > selection so we go the other way around. My last argument why pinctrl > isn't the correct place is that the GPIO1 can be used for > regulator-0:vsel-in and for regulator-1:enable-in. So this pad would > have different states which is invalid IMHO. Note that there's two bits to my concern - one is if we should be using gpiolib or pinctrl, the other is what's driving the input (whichever API it's configured through) which didn't seem to be mentioned. --SxgehGEc6vB0cZwN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl3yZmoACgkQJNaLcl1U h9Ax8Af+NzakOK4jJKQRyY0wT3cczNnHphTUSbJ1zrH7fM+0K/2I8E6301iWfElB un6MYIjc8w5BMwLzMZ+Vjd6ZTheXHXnKeJPNNv69Fh4tUOS2vUQ2qRCtKvkLKF5q g5xwlTsMi3sBeFJljAoDfttiTvqj5XT1BERgNNPp8MSzQ2FWvKj+rDn+kvNq//Os Qf425pla6Go2FYVUSuauWZCQxWkqW7uDzCeDxpNurGvHhTCYNHQf8hAtkyGoGm6V UfGnSkypXK7vDrS25gYNIuyDN1RAjGhQIhBHuU3QLzLFNa1ozZ7xtNxnl3pcFvk9 fzbFegJweraLhfQ7SYhcpiTJUZKQfA== =pK4s -----END PGP SIGNATURE----- --SxgehGEc6vB0cZwN--