Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp621825yba; Thu, 16 May 2019 06:29:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyB1q/coPpy5ePXKnGQp38NDY73v0zHKwdpgL4idlpxENvCt6RPsizkRo3/CPJ1ccZd+e1G X-Received: by 2002:a62:1a93:: with SMTP id a141mr21903309pfa.72.1558013361334; Thu, 16 May 2019 06:29:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558013361; cv=none; d=google.com; s=arc-20160816; b=mDxrVp3aw0eFPwhqGKgsqaNgGyRCh4vPeJxbtfonZZhBQvvRfdBouBZm6ErO/aQ2Jj 3xv9mx5nrF2fz+tZwt36WhI9tyHku9AeoXbfiA9Te4k3w47EhXlL9XG5VHCZmmdh5G1N R5J0iryD7Fo2UQN7FShWEGP4mgdOknQKDmpCRs1MYwRdSRdIngcfdiUALPOR61DzpvAi H5ewXy9xXxxG5iYXDUwrhUEd1jZHXsUpIYb9hywF04UirscaWm7i06luWGaa/FWrgtd2 fVrXhKZCN7Xfgb8KMrmf0pwMgQJBfB2W8Znx/nTwR8uRGiGhFSIt7xydGX9YYDakBxHG oKzw== 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; bh=7WxjQCsvVCJYqyumRz+jnewVmeYA5zYY9VNykeSLVi4=; b=RrWfyxnv5XYJNEF7LoWoO+BAyDdLxFaZs8YKjzeirdEdGE/tzES/9NPgx6kssXwauk DAhji298O8VPsytxkkoXKp0xI+8j20H8oAeB26xMbgVbzRja/LxYCsfzxTjYQ5ey0z6y Orwj6BMbVMYsHpW2V52OnVG6ScIxKa93GMEbjvWOlB925hfHkmxiAeqlNjPXUDJ+fDDM CMZbQnGxvoUwBCOITWyElGou7jqxnySiYaZ/PZJh3Amo1EgaSaEAv4CMOWXy67sSKE+9 p4kQr9n1otfAZrXB5HL9h5NZPZ2JzJ6ZrAFEWs090xv8FIzf1nmOXyOw9goi54gO9gu1 /Oew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cYaJwB40; 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 z18si4803131pgu.169.2019.05.16.06.29.05; Thu, 16 May 2019 06:29:21 -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=cYaJwB40; 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 S1727523AbfEPN1y (ORCPT + 99 others); Thu, 16 May 2019 09:27:54 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:46304 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726528AbfEPN1x (ORCPT ); Thu, 16 May 2019 09:27:53 -0400 Received: by mail-lf1-f67.google.com with SMTP id l26so2602655lfh.13 for ; Thu, 16 May 2019 06:27: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=7WxjQCsvVCJYqyumRz+jnewVmeYA5zYY9VNykeSLVi4=; b=cYaJwB40usbpVQi7JB725NH1c2aJJGSyxQSvdM2jZIHDEJrHsmOgi20KVuuo5unVIL 5CCZ/gPl95YUInsupxVWgVV6iT+QF+Kw5zttZAATHls+0an8Cunb/+ukCDTaLAQYdgOw +upnD5HLCdC4d+PBExK6UwEPtRltfx4Q5Xrvgusq2WumgfPk4qwaP9UT5X9HjSmF859a KO8fejjCw/x147mbgm50wo6y+jIbj0H/CF9Wa4kALrUwKiwT96T1FDObrDwfRJHH9WOV o6UcWtt1zmQcHhJCRG8iP+08LE77Cx2n4+nvD6HCkR8KKGWxjHY6OPihuGTPs+yp10Ue 4PPQ== 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=7WxjQCsvVCJYqyumRz+jnewVmeYA5zYY9VNykeSLVi4=; b=loes1nbme2YFJZw6433IBWeQQkbUyA4wREAqEC/edtYwnB9yAWjpjZefyVbdeCYHVl gya5rUSkmk7xjpcTg8AVcYcCJKneJ1aY8lnkALN9qldC17LbPDEFtNNBbxQWcRornFOn urbwF44gIg+XM+K8OX3lW4BbA7Z3O8TrppRUQEZT4/x9NzpOHpwdfAH32JGjgDLBi4WR 30vii8Zhnff8a+rlYOApwkkVer9nJH3wbqcretqcGrrJhPDJMygMDbIYwhznl5DsTivf GIdfUrhA3lIb9ZAERz/9yvBvYn2zQU7MB97WCMqJjHw51BE6/znclOOP7py1B5AdgAEb +tdw== X-Gm-Message-State: APjAAAULboHnPVLnGf6SRWlTabvG76vhCHB7bHZAgGqHv2iAXXGBS2bR ljDtNHk39GFKIuMycaVSuktxNUllBUqLdZ5sh1Bo2g== X-Received: by 2002:ac2:482a:: with SMTP id 10mr10554822lft.51.1558013271860; Thu, 16 May 2019 06:27:51 -0700 (PDT) MIME-Version: 1.0 References: <20190509205955.27842-1-f.fainelli@gmail.com> <20190509205955.27842-4-f.fainelli@gmail.com> In-Reply-To: <20190509205955.27842-4-f.fainelli@gmail.com> From: Linus Walleij Date: Thu, 16 May 2019 15:27:40 +0200 Message-ID: Subject: Re: [PATCH 3/3] pinctrl: bcm2835: bcm7211: Add support for 7211 pull-up functionality To: Florian Fainelli Cc: Linux ARM , Al Cooper , Rob Herring , Mark Rutland , Ray Jui , Scott Branden , "maintainer:BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITE..." , Eric Anholt , Stefan Wahren , Doug Berger , Matheus Castello , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Lukas Wunner , Nathan Chancellor , "open list:PIN CONTROL SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:BROADCOM BCM2835 ARM ARCHITECTURE" , open list 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, May 9, 2019 at 11:01 PM Florian Fainelli wrote: > From: Al Cooper > > The 7211 has a new way of selecting the pull-up/pull-down setting > for a GPIO pin. The registers used for the bcm2837, GP_PUD and > GP_PUDCLKn0, are no longer connected. A new set of registers, > GP_GPIO_PUP_PDN_CNTRL_REGx must be used. This commit will add > a new compatible string "brcm,bcm7211-gpio" and the kernel > driver will use it to select which method is used to select > pull-up/pull-down. > > Signed-off-by: Al Cooper > Signed-off-by: Florian Fainelli Following the discussion with Stefan it appears this patch needs more work, but you will only need to resend this one patch. Yours, Linus Walleij