Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp251489ybl; Tue, 7 Jan 2020 05:39:28 -0800 (PST) X-Google-Smtp-Source: APXvYqx6xWJ+qT4hxRYJU7Na104AryoCdkcyF5f7vuv60wsuoCZCJUVp8KXBb4ky4wIuR2A9H+Zd X-Received: by 2002:a9d:53cb:: with SMTP id i11mr124877344oth.158.1578404368812; Tue, 07 Jan 2020 05:39:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578404368; cv=none; d=google.com; s=arc-20160816; b=BlafwwldzGN6bJQa9j7glRByP+QqZckxckGeLm8R2JO1PzTUPb3Yd7wP0MGqxPFc1y PVGbGfsW5PtDOX2Mtq3IggEQcZdFbOgrZgYyoipkkLPDnQ4ZYPo9XVumQpVc3mbtlueY QS4XjiwgP/cxz4M5tpeHXYV/F0VjywY5GuqUJiTZGIaFZWs0ImLTCx3UNSnPXuip92Dr jM3HOJzi5ZHisGL4j2AKa+pOu0ucMw6cPghsss7Fw77e9POYjFOE1flrrBplR3OOZAAK Pz+VMKrxTMK9qKJ5skvvxREDHMBeiIHab/gPbbUDGoVcgQiXybOfku5zDIrmA9UVf88a 5/MQ== 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=jvX4L0qIBWSLNDFo0Q+NWKFZcWhiOhzRVnYMF0t/n7E=; b=rk/OeLAtKhxVJsRBBXxYuUYsiXbzafmOWNswGeU/lA3U34prCAEbPZI789j6rkUwPd GB/noVR6C+WizFPPmF64r5Kw6eEoem/O0Y2S0FytX8PtfBaoN1Iqydn5CvwjYTcpDGk8 DzYzD3h8+MoP38gvLVHoZr2AbIUziHi8gFk+ITdzxtmGqOsfaw7KGefYxd5WXHcCeQnM mPCnNx3K+MAOrQ+8X9x8URzdRAIIzKazMchaZfu/4tgQaJIPQyNbBZVLJdh0imJ5WMuJ NdtS/HvHFcwAp3ZSKRCkwCmy2NWb9sgW+otmhsHfOT1dzTPy1ktCA5soXx21a/s9XkCb Qchg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2si38178058otn.117.2020.01.07.05.39.15; Tue, 07 Jan 2020 05:39:28 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728145AbgAGNic (ORCPT + 99 others); Tue, 7 Jan 2020 08:38:32 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:52587 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727880AbgAGNic (ORCPT ); Tue, 7 Jan 2020 08:38:32 -0500 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iop3l-0007Jd-RU; Tue, 07 Jan 2020 14:38:13 +0100 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1iop3j-0005N2-6B; Tue, 07 Jan 2020 14:38:11 +0100 Date: Tue, 7 Jan 2020 14:38:11 +0100 From: Marco Felsch To: Mark Brown Cc: "devicetree@vger.kernel.org" , Support Opensource , "linux-aspeed@lists.ozlabs.org" , "bgolaszewski@baylibre.com" , "andrew@aj.id.au" , "linus.walleij@linaro.org" , "lgirdwood@gmail.com" , "linux-kernel@vger.kernel.org" , "linux-gpio@vger.kernel.org" , "robh+dt@kernel.org" , "joel@jms.id.au" , "kernel@pengutronix.de" , Adam Thomson , "lee.jones@linaro.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v3 3/6] dt-bindings: mfd: da9062: add regulator voltage selection documentation Message-ID: <20200107133811.rua5i6lflzyzlh24@pengutronix.de> References: <20191211170918.q7kqkd4lrwwp7jl3@pengutronix.de> <20191212161019.GF4310@sirena.org.uk> <20191212162152.5uu3feacduetysq7@pengutronix.de> <20191212165124.GJ4310@sirena.org.uk> <20191216085525.csr2aglm5md4vtsw@pengutronix.de> <20191216114454.GB4161@sirena.org.uk> <20191217073533.GC31182@pengutronix.de> <20191217125832.GF4755@sirena.org.uk> <20200107083654.atgbjhrnhyax2gqq@pengutronix.de> <20200107130911.GD4877@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200107130911.GD4877@sirena.org.uk> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 14:32:28 up 53 days, 4:51, 47 users, load average: 0.02, 0.03, 0.00 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20-01-07 13:09, Mark Brown wrote: > On Tue, Jan 07, 2020 at 09:36:54AM +0100, Marco Felsch wrote: > > On 19-12-17 12:58, Mark Brown wrote: > > > > This doesn't say anything about how the GPIO input is expected to be > > > controlled, for voltage setting any runtime control would need to be > > > done by the driver and it sounds like that's all that can be controlled. > > > The way this reads I'd expect one use of this to be for fast voltage > > > setting for example (you could even combine that with suspend sequencing > > > using the internal sequencer if you mux back to the sequencer during > > > suspend). > > > The input signal is routed trough the da9062 gpio block to the > > regualtors. You can't set any voltage value using a gpio instead you > > decide which voltage setting is applied. The voltage values for > > runtime/suspend comes from the dt-data. No it's not just a fast > > switching option imagine the system suspend case where the cpu and soc > > voltage can be reduced to a very low value. Older soc's like the imx6 > > signaling this state by a hard wired gpio line because the soc and > > cpu cores don't work properly on such low voltage values. This is > > my use case and I can't use the sequencer. > > My point is that I can't tell any of this from the description. Therefore I want to discuss the dt-binding documentation with you and the others to get this done. Is the above description better to understand the dt-binding? Regards, Marco