Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3287737imm; Sun, 29 Jul 2018 15:06:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfIfKDSp5bJ8Ipe8KIFVYhWYuBQaphB66uB+BHa9D6c9goGsr+YnfU2001Z2ulDyfecwdRz X-Received: by 2002:a17:902:7287:: with SMTP id d7-v6mr13884520pll.54.1532901975574; Sun, 29 Jul 2018 15:06:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532901975; cv=none; d=google.com; s=arc-20160816; b=dxkWNFTjws3O+HVpCqDug5nfMs4dbu5os12iiPFgDAHFryDdeA356jkMEKMt1te9sa DSRhmavVp3vK73eKM4TJDeoqFusk7DCPCg6cUGOfz60fG2RWWB6EvLJKm7V99DK5K2mM WLxgjFZcNUVWXkqarp8W4/rob2C13FtBq2saexciJ7dtdzftb3hXmhBHCvGARUrc/oq6 mjyo95962BLcNsCBjuLulL6ENfPuh/SvQtPZ6hKPiBuHzIAGIHADjE1Ekp/0UH/Y7CN1 2K7YFLj1z5EeRNr4JqOXHTEA99kN1BuBC8nZr3FM3zeJzbze3Wn1m83QOngLfEKGG9l6 DZXA== 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 :arc-authentication-results; bh=MzIlMg4SU8Cpsy8k36jlTE1lyYh9N+3HBHuAR1ei+ig=; b=btwc5idVtGBKcdBsTH59b+nI4t5RXfwyiua2LdVGTc1Ixquo0ro3FhSDQGthX0HEYa HF3jrtqZxQSaCgfApUHBzNsNRY+jLUPT513nqfCnCUd97JfTBkeHH9qP4TXd2rn9i2MQ ozf/wLJFuD8UiwE5U+Zi7rjuZeMJPJlkEO9wr8ZYaUG+DZ7z92/lW8mda1yrFxyd/rZQ 1FzRfAjWfC3c/cBJzYIoJulj1DiZhaGl7VQ27J4uiKSNU72IPaf8O+QEkw/eCuH3BEhv ZZMz+jGcj6+PTbh7/R1FOrFry00BDhYTuPh63eh6KY40pGG5OAGyafCUG461vQJYorNi v9Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VJd2oRfS; 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 o184-v6si9918336pga.520.2018.07.29.15.06.01; Sun, 29 Jul 2018 15:06:15 -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=VJd2oRfS; 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 S1731968AbeG2XJt (ORCPT + 99 others); Sun, 29 Jul 2018 19:09:49 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:35369 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728824AbeG2XJt (ORCPT ); Sun, 29 Jul 2018 19:09:49 -0400 Received: by mail-it0-f68.google.com with SMTP id q20-v6so14274524ith.0 for ; Sun, 29 Jul 2018 14:37:52 -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=MzIlMg4SU8Cpsy8k36jlTE1lyYh9N+3HBHuAR1ei+ig=; b=VJd2oRfSh9VpwLvBu4YARoV0+MIAZaYtUit1U/Js0m9fbp4QL+hnzpcbZngNF8ewU3 DL3V6gnJEDxFbwEiPnHclRpM58lB5fhxrZTASHgtFFSh1QZ4gJzKi44eXxNeI4kM5W3d +3nPuLUzCUZT2UYnoGl9FfFJUrb9Gq2xV4Psc= 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=MzIlMg4SU8Cpsy8k36jlTE1lyYh9N+3HBHuAR1ei+ig=; b=fuexwlUOuttjSZ2i3oI6LDVhMkSUY8++NQeqbCFWcpwkmEC2p5fw5n4HaGD+X0xGdf yfuCigQ1lrpORK+UxpH/IOm6AqzR0VWwl4zQnrydBqOVBv9CtlX5FhlWRnuuX9EZY2H4 tR1BRg/cmQCq7CIiOrbQndnCTsHWNty+EHJUNUS2eOO+R0lLHY7xKf9ndrcXho93ThVS Q3z7OH3vSqtKEdEo2Fd0LHwTu/6/kwp2O/oWhUYLyX5Wfn2Z/oQWZZ3cWMBObDUAvElz VhAlT90Tv1A4diQoXZ1PSFJIcNru4FEeru9IZ3vokkR5fIErbzV7pXVQpJJIYD6izoR0 A/NQ== X-Gm-Message-State: AOUpUlEr4IK1xqSUJt1lB3T+eNMVop2sgWC3irFZAt4ycpMjTZ6Nq8ID 0psJj/ZzjjrR/Aq59MZ5/j6xadJTaJbCq1p4ZA30+Q== X-Received: by 2002:a24:2c49:: with SMTP id i70-v6mr12625819iti.135.1532900272637; Sun, 29 Jul 2018 14:37:52 -0700 (PDT) MIME-Version: 1.0 References: <20180726154025.13173-1-stefan@agner.ch> In-Reply-To: <20180726154025.13173-1-stefan@agner.ch> From: Linus Walleij Date: Sun, 29 Jul 2018 23:37:40 +0200 Message-ID: Subject: Re: [PATCH 1/2] pinctrl: tegra: define GPIO compatible node per SoC To: Stefan Agner Cc: "thierry.reding@gmail.com" , Jon Hunter , Peter De Schrijver , Dmitry Osipenko , Kees Cook , Marcel Ziswiler , linux-tegra@vger.kernel.org, "open list:GPIO SUBSYSTEM" , "linux-kernel@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 On Thu, Jul 26, 2018 at 5:40 PM Stefan Agner wrote: > Tegra 2 uses a different GPIO controller which uses "tegra20-gpio" as > compatible string. > > Make the compatible string the GPIO node is using a SoC specific > property. This prevents the kernel from registering the GPIO range > twice in case the GPIO range is specified in the device tree. > > Fixes: 9462510ce31e ("pinctrl: tegra: Only set the gpio range if needed") > Signed-off-by: Stefan Agner Patch applied. Yours, Linus Walleij