Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1258044imm; Fri, 13 Jul 2018 14:54:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc+lAtXvX6wdGuz0N8xisKSdkc36w3lbJCrzOTPsMxG/KcqTghdhs41aoNncOYJzg2ip473 X-Received: by 2002:a62:640b:: with SMTP id y11-v6mr8796333pfb.204.1531518869132; Fri, 13 Jul 2018 14:54:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531518869; cv=none; d=google.com; s=arc-20160816; b=fWokpkF588vmE7x4vNLFIPz9HJGDC7QRZTz0OsEOyIQpG+iPB0zTxusE5trqpSe3Gn ijesMPfOtuANS93IPLYlb3N0EU4G0/bdokerk31ESRnHyXweCPYz6zIg+UwTul2UtCeE 7k+aYtIIOzrQVqfK3JxOLaUka/isun6uomGX/OK518RsvUJlag13sPoQ4ZzCb4M8Xvr0 Kwv6HxkYTFf5g9EuQg8P/26AgPTFVoavkc7FGmDN0+CqlR/JEBV+t2xJL1ljV7QvmIWh JZfZ16T87+LAaH6t3CjU+hkh2dw16B0WXSVMMmAbrYt7Ohr19ihDYZKSWMUgJns57Ynz qemg== 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=y+5/MJSLBXd84oFwyffwkNBpilClQDHw1jpnkA+QrTw=; b=aM5/vTQuFg67a3KfP0hG7jUi+chNfz3Z3b5R7q1Tpg9yZLJvkk2ZQYLSB7R24ivW41 gA9xgPRV7FBgAq/jFknwyIFK2k1BpxcrGND/yGguHHAQEebLawxqmJmfNrVlt5/RA3TX X06luoO5Tdp0CqOrYIDoG3scdKHYiRg6keefThDfkTVyMryEz2ZyOrVeVbJxNNDPUNND zr2SKKFvV9jx36e7zCxihE+8xY7qkeRFZWZVT7geKjNWtP794q6Ohv8FN0XnSvfswgEe WXujSfCIFd+yEuHUWTw6sjOCu8OK8JZQbMc4HV5m6/aoZcZvF03DFr24BOvHfB+pIFfy An6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pIbYVltb; 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 b1-v6si24504657pli.54.2018.07.13.14.54.13; Fri, 13 Jul 2018 14:54:29 -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=pIbYVltb; 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 S1731402AbeGMWKH (ORCPT + 99 others); Fri, 13 Jul 2018 18:10:07 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:35005 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729774AbeGMWKH (ORCPT ); Fri, 13 Jul 2018 18:10:07 -0400 Received: by mail-lj1-f196.google.com with SMTP id p10-v6so20127190ljg.2 for ; Fri, 13 Jul 2018 14:53:38 -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=y+5/MJSLBXd84oFwyffwkNBpilClQDHw1jpnkA+QrTw=; b=pIbYVltbG7slyO7r5Qx8ekLx/d8GSq7vU//zzLvWNk0C3h5PJ9NLs8IZM8sOGoB4qP K52+COZhnGIxvNFcu/Eyl9K3VsCb+dza90S8yn0b4B/oKzaqazrI3ZnFiMcHwXfdEZRO haHps+Yvc6fmbmOefjhhBGpNIvtAll0ENXtfM/dkvrdwusZU+uaIST2uMT7+N0jY/Yqq kU+lXlsc0X8Nh019dvsO90RBkLfmOxxLNH2/PAKFjPAKTBsLrWEIO9G6qMZn+ChaLKiK YcTMk3k4Dk9D341vran++VUh6NpJJJWXpvmYVv6p6Vm2i7t+Gr4qQo/pEI00gVXYje4S w7Fw== 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=y+5/MJSLBXd84oFwyffwkNBpilClQDHw1jpnkA+QrTw=; b=pRw5qKY2wRylRPaCIf1euifTmsNEAS8zoKcWwySJTbLMiq1WEgAJfFiRxF30w/I84c W+GRJWHBXRbvk5yoMxUpcUezCxDUtNolI+9pCNETbWVFs9XcZhZiBKvbwMPL/kqaP/qB fCKzTGMG8wT2wrhyyasD3OLS10oSl4DIB3zIKfqc4sZoOPdEcSuvD/MzzEP0Ayc8mx6p nQ96AfGf8yPJ/luj3eyeZvmItvXStzgGIccfBL2xp7DltgMZeB4s5YuwGY7Kfpka/cd7 FJGxXwc2hv7z4wUGpZbhmHNxK1GOIs1gIzrnQ0uOLU5b+F1X9JB8YXl6MCzr1d6F1r1y VOMg== X-Gm-Message-State: AOUpUlEurwCNkG8hvd0g0t2gdNAZYjGV0RbISSFxHWyUj0x5zE1wgYjn NMchaK8V2F133z5PrRRayxw= X-Received: by 2002:a2e:9095:: with SMTP id l21-v6mr4066634ljg.15.1531518817375; Fri, 13 Jul 2018 14:53:37 -0700 (PDT) Received: from z50.localnet (apn-37-248-211-204.dynamic.gprs.plus.pl. [37.248.211.204]) by smtp.gmail.com with ESMTPSA id n24-v6sm3690884ljc.7.2018.07.13.14.53.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 14:53:36 -0700 (PDT) From: Janusz Krzysztofik To: Linus Walleij Cc: Liam Girdwood , Mark Brown , "linux-kernel@vger.kernel.org" , Alexander Shiyan , Haojian Zhuang , Aaro Koskinen , Mike Rapoport , Robert Jarzmik , Philipp Zabel , Daniel Mack , Marc Zyngier , jacopo , Geert Uytterhoeven , Russell King , Janusz Krzysztofik Subject: Re: [PATCH v4] regulator: fixed: Convert to use GPIO descriptor only Date: Fri, 13 Jul 2018 23:54:15 +0200 Message-ID: <1942821.URBRV441KV@z50> In-Reply-To: References: <20180710061112.28736-1-linus.walleij@linaro.org> <5893595.ygSzo8aE2W@z50> 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 Hi Linus, On Friday, July 13, 2018 9:35:06 AM CEST Linus Walleij wrote: > On Tue, Jul 10, 2018 at 7:56 PM Janusz Krzysztofik wrote: > > > - .gpio = AMS_DELTA_GPIO_PIN_MODEM_NRESET, > > > > This is OK but not enough for clean build of board-ams-delta.c when merged > > into current linux-next as one more struct fixed_voltage_config introduced > > there recently - keybrd_pwr_config - needs removal of .gpio member > > (respective lookup table with NULL function name is already there). > > > > > @@ -538,6 +546,7 @@ static struct gpiod_lookup_table > > > *ams_delta_gpio_tables[] __initdata = {> > > > > }; > > > > > > static struct gpiod_lookup_table *late_gpio_tables[] __initdata = { > > > > > > + &ams_delta_nreset_gpiod_table, > > > > That is also OK but may raise a conflict when merged into current > > linux-next where late_gpio_tables[] has been removed from > > board-ams-delta.c and its content integrated into > > ams_delta_gpio_tables[]. > > > > > &ams_delta_lcd_gpio_table, > > > &ams_delta_nand_gpio_table, > > > > > > }; > > > > If that makes your life easier, I can prepare a fix for board-ams-delta.c > > on top of your patch. In that case you can add my: > > Reviewed-by: Janusz Krzysztofik > > Hm it's a bit of cross-tree conflict going on here I guess. > > Do you have some idea about how serious the conflicts will be? > Is it just one patch to the ARM SoC OMAP tree or several? Just one patch, so ... > It's a bit of Mark's pick, there are several ways to go about it: > > 1. Simply defer this to the next kernel cycle when your change is upstream > and avoid all fuzz (totally OK as long as one is not impatient). > I'm definately not in a hurry. > > 2. Mark applies this, conflicts appear in linux-next, you help Stephen > to solve it and later on Torvalds has to solve it. Then we need to > know how serious the conflicts are. > > 3. Apply this patch with fixes to the ARM SoC tree. Which makes it hard to > pull out so I'm not so sure about that. > > 4. An immutable branch with the ARM SoC change for Mark to pull > before applying this so I can rebase this patch on that. > > 5. Pick some patch from ARM SoC and apply it *also* to the regulator > tree and then this on top so I can rebase the changes and avoid > all conflicts. (We do this sometimes as some last resort.) > > 6. ...? 6. The conflict can be easily avoided (or made resolvable automatically) if you put the '&ams_delta_nreset_gpiod_table,' entry either at the end of late_gpio_tables[] or at the beginning of ams_delta_gpio_tables[]. Then the only thing left to do will be a fix removing obsolete .gpio member from the board-ams-delta's new "keybrd_pwr" regulator setup. > BTW I like your OMAP1 cleanups a lot! Thank you :-), Janusz