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=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 53B46C43603 for ; Wed, 4 Dec 2019 13:46:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2A71D20659 for ; Wed, 4 Dec 2019 13:46:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575467207; bh=uAMxEwnY12cSVz0Vv3ocPsk23xCCnZSM9XdY3PMf9hY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=Z7QaZpuVdb9pETADKcQWSQNnnomR2O3bfAYs+tzD9S+yEHHdfavrqCzXRalLLkQe8 OvUNB4smSE+Z3AdKfEs3S5rAeixwy8C0XgLeDloz/z6fhZtV9uBRPbS3lkkG4rhieH kw1U0VXeAB1H76+ufVRMf1YoiqVLNTlc7cDBloRI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727828AbfLDNqn (ORCPT ); Wed, 4 Dec 2019 08:46:43 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:36058 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727792AbfLDNqn (ORCPT ); Wed, 4 Dec 2019 08:46:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ViQdiD3wVU6FIgxwAalhRGBEIqZeLZwd4vUTlshOCAA=; b=AbQgCinNELw75ahLFYpi+SBwU 1arhNDg/VeUhIcE+d3iCkTYNd2/5K8TdqXygTYQgB/M92x5n4a68SqCy29TSgPNr5Gqu6rrIxfG7y ZpdAGvJUmpyfqomy5ideB/u5ZvH+brfN7UxUqx2fSr9bkfQCsBDW2wgAhLGMyCY4CptC4=; Received: from fw-tnat-cam6.arm.com ([217.140.106.54] helo=fitzroy.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1icUzA-0000ar-DG; Wed, 04 Dec 2019 13:46:32 +0000 Received: by fitzroy.sirena.org.uk (Postfix, from userid 1000) id 92FE3D003B4; Wed, 4 Dec 2019 13:46:31 +0000 (GMT) Date: Wed, 4 Dec 2019 13:46:31 +0000 From: Mark Brown To: Marco Felsch Cc: support.opensource@diasemi.com, 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: <20191204134631.GT1998@sirena.org.uk> References: <20191129172537.31410-1-m.felsch@pengutronix.de> <20191129172537.31410-4-m.felsch@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="MOeiELSuYwpLEKvX" Content-Disposition: inline In-Reply-To: <20191129172537.31410-4-m.felsch@pengutronix.de> X-Cookie: Cleanliness is next to impossible. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org --MOeiELSuYwpLEKvX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Nov 29, 2019 at 06:25:34PM +0100, Marco Felsch wrote: > + Optional regulator device-specific properties: > + - dlg,vsel-sense-gpios : A GPIO reference to a local general purpose input, > + the datasheet calls it GPI. The regulator sense the input signal and select > + the active or suspend voltage settings. If the signal is active the > + active-settings are applied else the suspend-settings are applied. > + Attention: Sharing the same GPI for other purposes or across multiple > + regulators is possible but the polarity setting must equal. I'm really confused by this. As far as I understand it it seems to be doing pinmuxing on the chip using the GPIO bindings which is itself a bit odd and I don't see anything here that configures whatever sets the state of the pins. Don't we need another GPIO to set the vsel-sense inputs on the PMIC? --MOeiELSuYwpLEKvX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl3nuLYACgkQJNaLcl1U h9B8RAf8DVq4ZX6Z0Svxmo1m2U0I4WvgeY9JnnhpeCAOUE6ILw5DFoy3RreO8x0X 7QsCRigQAT3V+NA79pg9/49e2Xpz6a8UnPu/E6OsdT/GJwgZn+2Qyt6PFwS/sRzN 7vnp0WKEQsClbGI1jBRMaI4SyZqtbET8XAoF24LHzdZFfamgsUqCgKVq53m9PjrW d8BHHSEh6gv+aVBeKb7tTpG3gAnRPnUTZSPBGIH+gNmqnNx0zO6Dq+fGXyeZLTLc 2MPvW/hE/QUvSFshLtwgs1Te+vD7k2t1F3BmdwC1wnpNHs+XEsBtGu+IyZsB6TWL j7TDrp/slISRAbezy30W/na8SJNr9w== =gb7u -----END PGP SIGNATURE----- --MOeiELSuYwpLEKvX--