Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp733870imm; Fri, 1 Jun 2018 08:38:14 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKmilam3VJBla5q0vX6eTcb4ajGxkhb2eQNL7IJ0MPOw/QqLpi7ivELGwg+X/navmXX9aih X-Received: by 2002:a62:c2c7:: with SMTP id w68-v6mr11293082pfk.174.1527867494242; Fri, 01 Jun 2018 08:38:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527867494; cv=none; d=google.com; s=arc-20160816; b=GYY6fq///rngdw8bszP07DFo7s2ROEp+E2NhwqvNw2ssmgWEleLhVJxmLBTNuCt7FG RO5MwfS8ypybGEATg7y92aghZFCybWSvju1hNZdrcEUqc3pqnB1XE3wGPVZLE0L8n/zz lgB1D/dwJerIBGS7mpYYkdQYw3Sr2nVA1W+taKwr+LJIFcyPG0p2GlDojz1yJGXCs3DD 3dj6/PRViM7gvVjZzmZrQEzZnukRQch0muv4wLpugevLe9OhiYHrD5/AE+x0ECkei/cZ 6gV5mBwR1ZyKUWsR85EqOGKVWy9NTmya9X8yWqVwAVoqBH5lGNcqZzCnorWHPhw9He+a 2Xhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=3FQMjey/b32kescSTiANhHQJ5qf/OkKUgjfayW3JpJM=; b=huDPxIWVUSdh9bOGnB7C3VYwi//88cjPBFmL8TLQ+742DYDEP/PsZ6bgrUsUywqDmg zT3ezDV29S1/dV+Jz5DjEJb5Uc47Q1dpOZ+RsQ5gkeAoQbzM4MRPxtH+XLVjSYj/NWmn 86xYNCtZ0icB8QHctnf2ol9LcOue6cLhxoxVaEUANhPRNe32vz33p1z93/WX8SaaFEjs qgFGHeeoJW4sOVS82pb9lFdeJhqExDbvdSCU83ViCfzkzJm7om1q9Aa8vmzz65YE546n Fdp17f7j19JwFZjDakD3jij2xIzg6ey21IauV5/6ME6MTFCnCSgn1cHSyYJ22uqyb2LT 34Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uAM6TFwp; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l33-v6si38638196pld.440.2018.06.01.08.37.58; Fri, 01 Jun 2018 08:38:14 -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=@gmail.com header.s=20161025 header.b=uAM6TFwp; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752556AbeFAPhc (ORCPT + 99 others); Fri, 1 Jun 2018 11:37:32 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:46612 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752107AbeFAPhb (ORCPT ); Fri, 1 Jun 2018 11:37:31 -0400 Received: by mail-lf0-f65.google.com with SMTP id j13-v6so11011177lfb.13; Fri, 01 Jun 2018 08:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3FQMjey/b32kescSTiANhHQJ5qf/OkKUgjfayW3JpJM=; b=uAM6TFwpftsgds2eJ7AzkiHyClB1VJfd80TWHFOO1I19peDrx2+cHcEvO2Bj0EW8+K mHlod5KGfYF/8QTlRn0fFY7c1fWLvpBPpKcehlA1YGbZ77pEzzDDidhOCMoQyLcBfPkH UFwMBHolSyJqhXau3c6m8X8UmUcRc6d3gw1GwdqtTLbohLpgBgaiL2oRbWMmQD/LsZaV kYOqmhbEu3S/30uIniW6+qZkudMwm6PpyrMtmjHEgXXdzR2qMbDOrlvJzKKZ3qfJjg2u S3GWp8nKs/gekWPuYUPcyDzVhARwwFJuxLDGoTuIhxBcm8auQjKQPEWJVh1liskvsMaX /bGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3FQMjey/b32kescSTiANhHQJ5qf/OkKUgjfayW3JpJM=; b=Ft+oobxTfXhDGsIjyeuBzM7pgsVG8w5BSjoYQDdiA3e4shTDh3nW3S/Oh4sLhP28No RGj41uSe6RM+sjqU6dW9aH+IANKZLXn6TAvlpmo7ET85ixhhf2B/K/Yx0MpFOje4AkrE wy2ssUZfy1OTjd6cBL8C1vwYS5ruhHJ47s5rlEw2H8jAaPnD55nJ0aoNjKkNfEixCb3W gXNo9WnON5UeSSGPFcGGZMTfSL69n1S8Be+PTMXoZfSPVGM/lZXGEWD36Ezwq8+vxs7u +Nk7iDSBQgIiO98oSvKkI+nqIUIf7jSEvhK8RcBi28K0WrY5oz7Zs049mfUAyYklAXfj LqXg== X-Gm-Message-State: ALKqPwc2I5DZcAgEaUaBz58BFc5rp7kaq1eXNAt97l38CnSTdY5OQhvi m1siLm1sODaj9ev/HTr4ZwU= X-Received: by 2002:a19:d7aa:: with SMTP id q42-v6mr4903442lfi.75.1527867449863; Fri, 01 Jun 2018 08:37:29 -0700 (PDT) Received: from z50.localnet ([31.0.82.127]) by smtp.gmail.com with ESMTPSA id o11-v6sm352825lji.0.2018.06.01.08.37.27 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 01 Jun 2018 08:37:29 -0700 (PDT) From: Janusz Krzysztofik To: Linus Walleij Cc: Stephen Rothwell , Mark Brown , Liam Girdwood , Olof Johansson , Arnd Bergmann , ARM , Linux-Next Mailing List , Linux Kernel Mailing List , Tony Lindgren Subject: Re: linux-next: manual merge of the regulator tree with the arm-soc tree Date: Fri, 01 Jun 2018 00:49:53 +0200 Message-ID: <2564792.sYBGPVz9u3@z50> In-Reply-To: References: <20180530150711.2c7c1fe9@canb.auug.org.au> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday, May 30, 2018 9:29:24 AM CEST Linus Walleij wrote: > On Wed, May 30, 2018 at 7:07 AM, Stephen Rothwell wrote: > > Hi all, > > > > Today's linux-next merge of the regulator tree got a conflict in: > > arch/arm/mach-omap1/board-ams-delta.c > > > > between commit: > > 0486738928bf ("ARM: OMAP1: ams-delta: add GPIO lookup tables") > > > > from the arm-soc tree and commit: > > 6059577cb28d ("regulator: fixed: Convert to use GPIO descriptor only") > > > > from the regulator tree. > > > > I fixed it up (see below - it may be better done) and can carry the fix > > as necessary. > > OMG that patch on a patch makes my head spin. > > I think I just have to look at the eventual result in linux-next and see if > it makes proper sense, and rely on Janusz to test the result and help > to fix it up. Hi, I confirm the fix by Stephen works for me, however, the conflicting patch by Linus breaks things a bit. Lookup tables added to board files use function name "enable" while the regulator uses NULL. As a result, GPIO descriptor is not matched and not assigned to the regulator which ends up running with no control over GPIO pin. Either the regulator driver should use the function name "enable" or that name should be removed from lookup tables. Thanks, Janusz