Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp601990imm; Fri, 12 Oct 2018 03:45:46 -0700 (PDT) X-Google-Smtp-Source: ACcGV61UDNuubvBj0E75gBMdXed8n+M6c8UlhVS5N6qeatSM7iUY3l21Y/1TitB0Hu30oNS+oYHE X-Received: by 2002:a62:8dcd:: with SMTP id p74-v6mr5675169pfk.217.1539341146650; Fri, 12 Oct 2018 03:45:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539341146; cv=none; d=google.com; s=arc-20160816; b=F3jHbSsaXCSuaZVM+qa+AhHIKjhvCgldbyCy1IKkrZJ7DdnRH2EEYdwUahin/uEaSL M0Fx9ufik2UmxSEj0xhpVMHJDr1qkeybogD3DVgO9UHI8dAq+/TZW5wkahslne8sTUS1 0dbjWL0fagfk2cruMucjb11Yxjvq7CwiYehJE4OahvGIxWlYPpNA6Tivv/GuP67SfX+n yUM8Th0OOf11yDRlDzpQXXJVisAyelvVuLHrqO2aBVPXflJ2UG2rOs3i1DFVH/4fYwdh rgbLeMqYcEFzacU20Z5QzbsPbqxlzh3uSEO/qipGQpF7FjYoIKV81UKMpQiedoCnWbMX CapA== 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:dkim-signature; bh=5rnEl5GzSV3YXxFHSjGvf9aWvBWNTMoQfF8ESPq/Weo=; b=Bffo+vzLAKIwgOLawSMm4CsyjxmKaSuX5X/neYGztJvyU4GgYMgQWa8M2i8d1eVpkN m2Xm9pW0Vvqg8D9UK+Qg+pDJoZlPNx7AD04U5QLnN1JSetneFr/FBRZteHYzIKp4lTRl nRZMEMf9ULP7wBUeqI9LC2CbX6toMQZ37+cWdLfjcCBWeOy3uq3NB1XmQ4CPQGzmu0FY fDhMPmNqhJcDsSM+1tNtn2HsX7P+n/dPyjDdu+YDTlz/IoJcXl1G3LFyandkpNlu8Hcj EOkI3HoPKKE6Rg8ZM7kufdpXZ/OW/w1CZJrxdHFEmj8bUlZ4rJedW/LfRoaPoJdw9wRd oQjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=JTPSHwHS; 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=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id az11-v6si852721plb.101.2018.10.12.03.45.31; Fri, 12 Oct 2018 03:45:46 -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=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=JTPSHwHS; 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=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727945AbeJLSPr (ORCPT + 99 others); Fri, 12 Oct 2018 14:15:47 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:49956 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726665AbeJLSPq (ORCPT ); Fri, 12 Oct 2018 14:15:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2014; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: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=5rnEl5GzSV3YXxFHSjGvf9aWvBWNTMoQfF8ESPq/Weo=; b=JTPSHwHSouEJYne4AWe8byJMC x3dbLYeroVpNFiTs5e/YVEHKi3aooYvKWpaCYuFDTVhcjCDY/dWhP0rfA6niW0re4rjg3c0Fx1mUX 0Kz3vmhkHtgbckD4073yFxp/oVgqGyiowy6evyNAjxx+mr9ugF0ILK6pJ/qpousja8600=; Received: from n2100.armlinux.org.uk ([fd8f:7570:feb6:1:214:fdff:fe10:4f86]:42337) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1gAuv2-0000g5-D1; Fri, 12 Oct 2018 11:43:44 +0100 Received: from linux by n2100.armlinux.org.uk with local (Exim 4.90_1) (envelope-from ) id 1gAuuy-0002M6-Oi; Fri, 12 Oct 2018 11:43:41 +0100 Date: Fri, 12 Oct 2018 11:43:38 +0100 From: Russell King - ARM Linux To: Jon Hunter Cc: Marcel Ziswiler , "linus.walleij@linaro.org" , "linux-kernel@vger.kernel.org" , "robert.jarzmik@free.fr" , "aaro.koskinen@iki.fi" , "jacopo@jmondi.org" , "m.szyprowski@samsung.com" , "broonie@kernel.org" , "shc_work@mail.ru" , "haojian.zhuang@gmail.com" , "lgirdwood@gmail.com" , "rppt@linux.vnet.ibm.com" , "zonque@gmail.com" , "marc.zyngier@arm.com" , "philipp.zabel@gmail.com" , "linux-tegra@vger.kernel.org" , "jmkrzyszt@gmail.com" , "geert+renesas@glider.be" Subject: Re: [PATCH v7] regulator: fixed: Convert to use GPIO descriptor only Message-ID: <20181012104338.GS30658@n2100.armlinux.org.uk> References: <20180906122436.25610-1-linus.walleij@linaro.org> <20181011090112eucas1p286d8c1edfc1a2a207d8a11c5ad7eb20e~cglSx9qcr2394623946eucas1p2y@eucas1p2.samsung.com> <1539272073.18645.12.camel@toradex.com> <1539337415.30485.21.camel@toradex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 12, 2018 at 11:39:15AM +0100, Jon Hunter wrote: > We had the same situation for Tegra124 Jetson TK1 but I don't think that > adding a pseudo intermediate regulator is cleaner. If the GPIO controls > more than one regulator, I don't see why is it necessary to change the > DT. There are several other people reporting the same problem with > various different boards. So this does seem to be a common usage. Given that DT describes the hardware, not the software implementation, it must not change just because we move from GPIO numbers to GPIO descriptors. The existing DT description is reasonable, and introducing ficticious regulators in DT to work around the implementation is not reasonable. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up