Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1061033ybz; Thu, 16 Apr 2020 02:01:46 -0700 (PDT) X-Google-Smtp-Source: APiQypK0aTpp3FQtXMgLDq+I1Tb46JER6Fh6kMXPxOxcsQdz8NTwJtK1R+YtSYmldr8LZXDJKEMD X-Received: by 2002:aa7:c383:: with SMTP id k3mr26637453edq.132.1587027706374; Thu, 16 Apr 2020 02:01:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587027706; cv=none; d=google.com; s=arc-20160816; b=vvgsbBv/rwRuDqj6qKCxh+Jy4jwsBnrSqWOvD/uxXdi6V0xYFQv1LYLmrSEtwMJITz z61NicaiU04oRhTUiPOzw6K0isfXRaeIC2w89/6kqiAoiROk0AftV89nyg8QfjtljV0K m5yWLkopz7/bsN0mi0ReiHQL8L/7JuQNrWEUhcIeta7qhWMx8AUH88AbH8x0iYNDN8Am N/9pI1hI+ohLS/lVffwAfZtiG1SUzk2nOYcl1TP11Q5k4U4pgOI+GgBbWF34/ll2tqxt sqvhDWWWlb+/ueXcgi5auEyl7wPx/pAk7zVswXk9C0m8ok6b/QgAPoVloPy96xZeBBYh SMUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=6knnTYd0SD0a2gjJU3xQbFJUgo1WzPpSFmhjfIQyUcY=; b=JxfUQSSn3WmHTfPAMQEgpyM5a/nX+FBHYa1PiqDgCs4s0bFwG37LgbnyX4Wiq4e1ur 3nE3XNlAgjh/bx4Q74L7tTj1YvGsyCFSATHVSUqcmZcnSTidG3BRL5rxqKeHKwlKc3WG txSuUZCte0aVz+M65EuVb3mwuV1DVJCH8AKYbMa+tZtW6uDI7Z15vfGrREWUvtSlXZPq pbKJDiaEa8g1DkvQg6TZUjxsHQ5pzJek8vXtxNaTbjCXceGFGyOSOYw+ynu5sZPw4IVb NaKEFoV/5bjEgqZuocrbb2BpqtURi4bNuCuIPaiqx/qRvAflVW7vQrNrY5gan/VULePp kxfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=M9q2RMUF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ch14si10135698ejb.304.2020.04.16.02.01.22; Thu, 16 Apr 2020 02:01:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=M9q2RMUF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502957AbgDPI7I (ORCPT + 99 others); Thu, 16 Apr 2020 04:59:08 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:38605 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502875AbgDPI4D (ORCPT ); Thu, 16 Apr 2020 04:56:03 -0400 Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id E19F222F53; Thu, 16 Apr 2020 10:55:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1587027354; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6knnTYd0SD0a2gjJU3xQbFJUgo1WzPpSFmhjfIQyUcY=; b=M9q2RMUFDQVW4SbouNkFNdJPzvQSvOQC+FhQtrDgr+5/mkydRI7TAhGXO0tbJzmPNNyyHX L7gLiTb5PDKWNrrSnrCdEZyt6jYVPk3HsLMtzmSAX0AXDADeVgSzEhGLRf7b5MFNZM8a6g TAZ0ODC6jxTAJEZd8Mh17RprqqBe0Lw= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 16 Apr 2020 10:55:46 +0200 From: Michael Walle To: Linus Walleij Cc: "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-pwm@vger.kernel.org, LINUXWATCHDOG , Linux ARM , Bartosz Golaszewski , Rob Herring , Jean Delvare , Guenter Roeck , Lee Jones , Thierry Reding , =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= , Wim Van Sebroeck , Shawn Guo , Li Yang , Thomas Gleixner , Jason Cooper , Marc Zyngier , Mark Brown , Greg Kroah-Hartman Subject: Re: [PATCH v2 11/16] gpio: add support for the sl28cpld GPIO controller In-Reply-To: References: <20200402203656.27047-1-michael@walle.cc> <20200402203656.27047-12-michael@walle.cc> Message-ID: <46eb76699a76b3feedccc70f1d1da1de@walle.cc> X-Sender: michael@walle.cc User-Agent: Roundcube Webmail/1.3.10 X-Spamd-Bar: + X-Spam-Level: * X-Rspamd-Server: web X-Spam-Status: No, score=1.40 X-Spam-Score: 1.40 X-Rspamd-Queue-Id: E19F222F53 X-Spamd-Result: default: False [1.40 / 15.00]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; DKIM_SIGNED(0.00)[]; RCPT_COUNT_TWELVE(0.00)[23]; NEURAL_HAM(-0.00)[-0.402]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[vger.kernel.org,lists.infradead.org,baylibre.com,kernel.org,suse.com,roeck-us.net,linaro.org,gmail.com,pengutronix.de,linux-watchdog.org,nxp.com,linutronix.de,lakedaemon.net,linuxfoundation.org]; MID_RHS_MATCH_FROM(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Am 2020-04-16 10:34, schrieb Linus Walleij: > Hi Michael, > > this is looking good provided we can get the generic GPIO regmap > helper reviewed and merged. Thanks! > > On Thu, Apr 2, 2020 at 10:37 PM Michael Walle wrote: > >> This adds support for the GPIO controller of the sl28 board management >> controller. This driver is part of a multi-function device. >> >> Signed-off-by: Michael Walle > >> + depends on MFD_SL28CPLD > > Apart from this depends it seems the patch is compile-time > independent of the other patches correct. There are no common mfd headers or something like that. > so I'd suggest we just merge > the generic regmap driver and this driver to the GPIO tree once > we feel finished with them, optimistically assuming that the MFD > driver will land and that we will not need any fundamental > changes in the GPIO driver. > > Worst case we have to revert the driver and that is no disaster. Sure. One major thing I'm waiting for is the decision/new ideas on how to handle the "register is not set or zero" problem, see the other thread on the generic regmap gpio. Then I'd respin an update of this whole series. -michael