Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4100122imm; Tue, 29 May 2018 22:09:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ5BirfYeYPJlnPI11FHmfvzZi1j/SJgZh2uOT+qYR0BfHbxVigZzWvyCdblSZ9MbfnwDrg X-Received: by 2002:a63:735e:: with SMTP id d30-v6mr1043750pgn.257.1527656963675; Tue, 29 May 2018 22:09:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527656963; cv=none; d=google.com; s=arc-20160816; b=nCPGPJO3zaZBx35LKJKWRjAC/dMcEyFoFTk8lD9pXrC7xY4KlVJz/ElqvUY3HGuIQ2 SkGygTsMa/hB2Mb7dp8mteWNVmcTQfWgV9pZPmenrCsvLZgO9KISFIvjZAYOYngSKGDA VbgI4bV45bg4MQOY3eY+xEaXWu0cdk5+OIogbZ0gzdJSSRzfCNPn9nvJBn7mP3NAwDCi MD/J+mvJGdyA0ziUQOYP4SX4YuqsN1L+JiF4ANiGXm8ebCI2TwzQCjvtLgimdMsLzSJG sX7l0D3gB4pfTzpILJbCGyfumjFrTNFwPUIKGeGtTH915KP3k5D1/FhF+9NBArOwwf+z R9qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:subject:cc:to :from:date:dkim-signature:arc-authentication-results; bh=4dXvyK48c89jMYuOT8ee+mzEpyb5iLEENywa3l2CVCw=; b=xoOFrCWYnRTrrpzl7Dw96fMwEsgxKEyijiN6rK2GB8qUcbpdzoJ1k+KE+4BwFsu3O3 2HJu55Bc31bjhfhqKZ3v/2Uq+WYUMD3LQxpJo96nXrYpuguYJGKlG6b0dMTn0Kenw1Ix zx0QHzqE6qDH3nuf2C7CZqdWP1MJK0vz2Sml0wVsIg/f81clQkoOuscKZyl/1YDQTikI AQu8rIu4r9C/CgHsKmhwCwBqX2FF4/DflpSfRec71zhQauQapYCo7pMPOS7ePm28hln8 LYBV6yEehJiOrMNEWljAGfs/ZyeXfZHbumBeRsbZVC55RXQsAMMEFKWTqcHMQtCOrhI9 zdOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=TgVDaxgU; 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 j18-v6si13256444pgv.575.2018.05.29.22.09.08; Tue, 29 May 2018 22:09:23 -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=@canb.auug.org.au header.s=201702 header.b=TgVDaxgU; 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 S1755375AbeE3FHV (ORCPT + 99 others); Wed, 30 May 2018 01:07:21 -0400 Received: from ozlabs.org ([203.11.71.1]:53847 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750964AbeE3FHS (ORCPT ); Wed, 30 May 2018 01:07:18 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 40wdr01pDDz9s1R; Wed, 30 May 2018 15:07:12 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1527656836; bh=qWfV+/oV4Yx87EVVb+6FOiWoluzSRKFwbPAqJUkRYBI=; h=Date:From:To:Cc:Subject:From; b=TgVDaxgUemjlcVMvXrD410ApmlYwAZcePDNwtvXJZJgn6bkMHvcEV7RdPYeARsqY/ WJ8oHIdVL2menLXZWPgTwpoc7/jXo1FvRVGHNctwknyW+fnnT2pehCD98TWO20Gmkv D2wRFnB+5/EYPjNG6GT1D2/sUuYehQaGUFov+SPqTdd3LUydnfkpizcrQJl0BROinK y/stGfZwx6bKiriOKe8svkivictLChrIPENjvKYReKFM9T0aADlrkh4zeul40TBekZ fKIi1XMQylOVJuXkcAF31iWwTQsWWbX5q/Hptd+IZgeFz4oLkj0qBHezrLeDDrrM33 hqsUlF3O0imhw== Date: Wed, 30 May 2018 15:07:11 +1000 From: Stephen Rothwell To: Mark Brown , Liam Girdwood , Olof Johansson , Arnd Bergmann , ARM Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Linus Walleij , Janusz Krzysztofik , Tony Lindgren Subject: linux-next: manual merge of the regulator tree with the arm-soc tree Message-ID: <20180530150711.2c7c1fe9@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/XFAHrEkeBv.SlIR+tx89QO5"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/XFAHrEkeBv.SlIR+tx89QO5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc arch/arm/mach-omap1/board-ams-delta.c index 80f54cb54276,759fa18f6ab4..000000000000 --- a/arch/arm/mach-omap1/board-ams-delta.c +++ b/arch/arm/mach-omap1/board-ams-delta.c @@@ -203,10 -203,8 +203,10 @@@ static struct resource latch2_resources }, }; =20 - #define LATCH2_LABEL "latch2" ++#define LATCH2_LABEL "ams-delta-latch2" + static struct bgpio_pdata latch2_pdata =3D { - .label =3D "ams-delta-latch2", + .label =3D LATCH2_LABEL, .base =3D AMS_DELTA_LATCH2_GPIO_BASE, .ngpio =3D AMS_DELTA_LATCH2_NGPIO, }; @@@ -303,6 -288,16 +302,15 @@@ static struct platform_device modem_nre }, }; =20 + static struct gpiod_lookup_table modem_nreset_gpiod_table =3D { + .dev_id =3D "reg-fixed-voltage", + .table =3D { - /* The AMS_DELTA_GPIO_PIN_MODEM_NRESET is at offset 12 */ - GPIO_LOOKUP("ams-delta-latch2", 12, ++ GPIO_LOOKUP(LATCH2_LABEL, LATCH2_PIN_MODEM_NRESET, + "enable", GPIO_ACTIVE_HIGH), + { }, + }, + }; +=20 struct modem_private_data { struct regulator *regulator; }; @@@ -658,15 -581,7 +666,15 @@@ static int __init late_init(void =20 platform_add_devices(late_devices, ARRAY_SIZE(late_devices)); =20 + /* + * As soon as devices have been registered, assign their dev_names + * to respective GPIO lookup tables before they are added. + */ + ams_delta_lcd_gpio_table.dev_id =3D dev_name(&ams_delta_lcd_device.dev); + ams_delta_nand_gpio_table.dev_id =3D dev_name(&ams_delta_nand_device.dev= ); + + gpiod_add_lookup_tables(late_gpio_tables, ARRAY_SIZE(late_gpio_tables)); -=20 + gpiod_add_lookup_table(&modem_nreset_gpiod_table); err =3D platform_device_register(&modem_nreset_device); if (err) { pr_err("Couldn't register the modem regulator device\n"); --Sig_/XFAHrEkeBv.SlIR+tx89QO5 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAlsOMX8ACgkQAVBC80lX 0Gz3gQgAimuqRHgKw76XlRt2rpKcL2XLUoer3jEQFZYcEcckguEraKX0xb5nxPrs G8UABlkhQHcbFAeHOJByYAiP9dXTLeBBs7HQdHs2gmYVVERyhpYnMza0FIim1lTe dM4erdRuB9Y/4MvcrZ6jVquXM69nhCLPHWUR2gRD3P94fifHTXbfB2Lw5t0p+M8v rQgwLBOUAWmwBa5w5XUsWpqr2gM/C6EHjBooWQHGNqGG+dTBkuHYnfcB2Bl5Wj1i ue8Dtr9puymHgyp8C3dKrmN/KsIqf/+N1zlxXecUxgddn+XBCWeaRvN+4zwxenqS wghnl+Qpg+QTCAe0xTzm9AHptvDBXg== =3PtG -----END PGP SIGNATURE----- --Sig_/XFAHrEkeBv.SlIR+tx89QO5--