Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2580189imm; Thu, 11 Oct 2018 12:34:43 -0700 (PDT) X-Google-Smtp-Source: ACcGV60dhOqm6wiuDzSptSV9mmLaSTdIMc6Ka1YGfQsF2ZUfeajiN9SrftnudsYiZZ3tzTvIznk1 X-Received: by 2002:a63:6054:: with SMTP id u81-v6mr2542086pgb.74.1539286483321; Thu, 11 Oct 2018 12:34:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539286483; cv=none; d=google.com; s=arc-20160816; b=t04ygwoI53Mlc4rf9lyPpdRxskHMuUcFx4XC1+ERorcB9Ps6MV3RehrRfEdUAB8oE+ u+HAjaGu65movwGPs+qHywZazhZNhiCpGn4F0C/Q19U7960AC4jTh6HKB+g3ncNZXXtb CdSwivUR5ovxV6IiHEigM+Z2VYDk5VIKe44WFeIipg8LAbBM6pul0j8cqYB0Q4Q9SaRi paXUhyFF1bnZ4ErNhulRe51Kd4sC4cqgm672UEd3RRV9YGXnGUuc14VgqGerJdjG+okL PMYj+Rj2EheYN1wAcAsS0PXEcC2jVPBqhUBSGKce33RgoabQ60qsqcEk9g1VTtHYnjRv CfbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=VredD68RQkdLGxjyI3KHSZPYpnDTy3F4zyzvuM0YGVM=; b=mHr27ga4B3M5afVSUB/I8rZpN86CBJclZ2FrFLMjHg1m/cCLwO2TMhTtoeViRzyjzl d39/VTbIlNF0AojIo3XPXW5nhwHlzVNfdwbm92oNLlm2ll4Igv1NGW5rn5CNknNhmgAO JVDsT4+2r7Ta6WS412od2AhxbCFsVxVH0AvRc+Fn7Wu940dcI4qiGZ0KqEXHzzVaBsL4 jGnckkw0MDYnrKOSFMmmQY/bOnndc9IlpTNfXDzhY0KGBo6q2/LcNHThQiuIi6oBfEyX FJFvwkOe3U5Mo6qjPyXtVnQpOn+mtj6bPjzg584bGlHfnC2YHB2gg61/t3IwRDpU1q5O Nf+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="j/PWM+er"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4-v6si30958796plh.99.2018.10.11.12.34.28; Thu, 11 Oct 2018 12:34:43 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b="j/PWM+er"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728512AbeJLBOY (ORCPT + 99 others); Thu, 11 Oct 2018 21:14:24 -0400 Received: from mail-it1-f193.google.com ([209.85.166.193]:34043 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728043AbeJLBOY (ORCPT ); Thu, 11 Oct 2018 21:14:24 -0400 Received: by mail-it1-f193.google.com with SMTP id l127-v6so19359564ith.1 for ; Thu, 11 Oct 2018 10:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VredD68RQkdLGxjyI3KHSZPYpnDTy3F4zyzvuM0YGVM=; b=j/PWM+ertg5d9cYAS2iqL1n9XaJrlDiMdINmSdx8ZZU19S7KBFe+glzGsqPMtzDumg w0kgaRLPMbYBrQxOccRI8sw1A8SbRQQKZHr6IRr1xIiaz65GS1CAziHiXILCQoaPPkvw E5sy3NxBWmepfhiMqjNij5cY2RCe+tK2PRpDI= 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=VredD68RQkdLGxjyI3KHSZPYpnDTy3F4zyzvuM0YGVM=; b=r5XP2OpeNniGWPibuxZlz/MkqZpMfOwsjap61/zN3wp/Ipx9NGOFmUmLvbAsqYXkk0 UoXOflx7oK687HicW1QCR68syZwFnS9aiIj02sFC8viK8847O6hqxyHYoP6HoyIWWqas cshG+Tub/A2brLa8tKnyh3tZG48QLEaq1wxno+GL5ysKXDSirTc+pQQNPKX8Ov/TmcLf htE6o9kMYy5sImjtDEkLT38o0kt4zEWVcxuBW1KfulSTcRVUxZnPDIm8Lm6Cxjh4ZFZC AfLR3Gi0Wbfpr0h0Dqto7EJS1X8zvmSLtTcHeKKJ3dukM/22x7MRftGu1IyK15ob4BXQ yADQ== X-Gm-Message-State: ABuFfogfArGPlYn1N7D1yrU/8g3Svt7iF+sWoRjcHk30fshDlSJ3wvN1 IyAOEmofFrEMqBqd8Vw+V499BKSiXQK9wU/DHs/2Hw== X-Received: by 2002:a24:e0c8:: with SMTP id c191-v6mr1467468ith.156.1539279968266; Thu, 11 Oct 2018 10:46:08 -0700 (PDT) MIME-Version: 1.0 References: <20180906122436.25610-1-linus.walleij@linaro.org> <20181011090112eucas1p286d8c1edfc1a2a207d8a11c5ad7eb20e~cglSx9qcr2394623946eucas1p2y@eucas1p2.samsung.com> In-Reply-To: From: Linus Walleij Date: Thu, 11 Oct 2018 19:45:54 +0200 Message-ID: Subject: Re: [PATCH v7] regulator: fixed: Convert to use GPIO descriptor only To: Jon Hunter Cc: Marek Szyprowski , Liam Girdwood , Mark Brown , "linux-kernel@vger.kernel.org" , Janusz Krzysztofik , Alexander Shiyan , Haojian Zhuang , Aaro Koskinen , Mike Rapoport , Robert Jarzmik , Philipp Zabel , Daniel Mack , Marc Zyngier , jacopo , Geert Uytterhoeven , Russell King , linux-tegra@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jon, On Thu, Oct 11, 2018 at 5:00 PM Jon Hunter wrote: > This also appears to be causing a regression on the Tegra124 Jetson TK1 > that also uses a shared GPIO for two regulators. The 2nd regulator that > uses the GPIO now fails to probe [0] ... > > [ 0.680021] +5V_SATA: supplied by +5V_SYS > [ 0.683964] reg-fixed-voltage: probe of regulators:regulator@14 failed with error -16 > > Not sure if you have one of these, but otherwise I can help test. Would be great if you could test the patch I came up with for Marek: https://marc.info/?l=linux-kernel&m=153926854327176&w=2 FWIW what makes it so confusing for the GPIO maintainer with multiple consumers is that unless there is some mechanism (as in the regulator core) to pair them up and avoid them shaking the GPIO from two ends, it makes little sense. So I guess in the long run I should pull this into the gpiolib somehow. Linus