Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp379981pxv; Wed, 30 Jun 2021 23:42:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvtglVTE0L9XPsTuTnjtaAAtjhXM/uMHyUXzhU2Gy108PLlDqA8Lotda+71HLukl76ZNWG X-Received: by 2002:a05:6402:138c:: with SMTP id b12mr52291300edv.268.1625121766556; Wed, 30 Jun 2021 23:42:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625121766; cv=none; d=google.com; s=arc-20160816; b=W7W+nV7NPXVvVL49k0eWQT0BwJKGjy2SyeC7HcOPAxSfm3o6LIDI0Rc7Ob9B6fvU2R VSDWeJYN4ZDXobCi2FEdZPHHO0G5QFsKGahfm9e5Fj4QVn/lTVzR+wTJop+rFCmmh7Y4 U8W657RzDY5TxVwQYN6H4swVQ5YGjVdijWYkq9tWljLpPnKsnHO+3IN76J6jzjrpk9m0 U2qXiufx8/6xIAwnVlFo/BuaTyxeWjhEQrqnhlW2M7sd5qMWErQbBUbxjHvGhues4PPj YPfUZ9jquJsmbEekBPgCsB8YjQ2zQk+gqjN4dYM1jwrJVwP0TDQ3nlKxE9sUAcDicZl2 gxkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=kUQLL6Y7TeJ+8tLLPFCF8HC2GZgPhSFHdHVkUkxeCUY=; b=vWoMCjhEa0BQKyrSX5ngB2ng49ANj8OJcCigfV4BnBGMqQwctoX7MnGouK6nCft8I/ 3vr9ww+K63CHpNJH03EfsiZYOfhcqtXTGztlJXZw/SGVJU1Ryf/tKpzRFKxd/1OIamSX KMxH3PjsJHf6m51XBuoULyOjIXS6Vs3mQGrbntx2qYIXmNcyXxsJ7eAxi39oco8lCQ5c bHe3pFl0Yf1JabBVVenAlv6pOvw7opPwVjb61jKT3W0ZBaES3ipUtLekuQ9yOkjNSZjx fG07dTRN4tcwFvjw041AlGMQrrdcpNvpA+wdpTVpK4I1pfG+nTQs7JMam1+OPVhfcLjM fKRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=Zr1qZiN2; 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 j29si21550684ejj.60.2021.06.30.23.42.20; Wed, 30 Jun 2021 23:42: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=Zr1qZiN2; 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 S234257AbhGAGmR (ORCPT + 99 others); Thu, 1 Jul 2021 02:42:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231962AbhGAGmQ (ORCPT ); Thu, 1 Jul 2021 02:42:16 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AE24C061756; Wed, 30 Jun 2021 23:39:46 -0700 (PDT) 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 1D10822205; Thu, 1 Jul 2021 08:39:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1625121582; 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=kUQLL6Y7TeJ+8tLLPFCF8HC2GZgPhSFHdHVkUkxeCUY=; b=Zr1qZiN2J8wIoXFgX0jLOhT8V2L7JefaDIGmnzs2YO1Gy7MyfPn85MP2ENIDUPhtsaIIyU FGTKJktpDu1wg4aGgMJ4yM0GfaFiCMGqYiVvwR4bQip6yzHxzrKgomZz5oYxVyBANg2Iqb wgBNnm8nIFPaJAvKXlM4Z3xQji+SYcw= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 01 Jul 2021 08:39:40 +0200 From: Michael Walle To: Drew Fustini Cc: Rob Herring , Linus Walleij , Bartosz Golaszewski , Paul Walmsley , Palmer Dabbelt , Michael Zhu , Geert Uytterhoeven , Fu Wei , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, Emil Renner Berthing , Huan Feng Subject: Re: [RFC PATH 2/2] gpio: starfive-jh7100: Add StarFive JH7100 GPIO driver In-Reply-To: <20210701002037.912625-3-drew@beagleboard.org> References: <20210701002037.912625-1-drew@beagleboard.org> <20210701002037.912625-3-drew@beagleboard.org> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <8c59105d32a9936f8806501ecd20e044@walle.cc> X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Drew, Am 2021-07-01 02:20, schrieb Drew Fustini: > Add GPIO driver for the StarFive JH7100 SoC [1] used on the > BeagleV Starlight JH7100 board [2]. > > [1] https://github.com/starfive-tech/beaglev_doc/ > [2] https://github.com/beagleboard/beaglev-starlight > > Signed-off-by: Emil Renner Berthing > Signed-off-by: Huan Feng > Signed-off-by: Drew Fustini Could this driver use GPIO_REGMAP and REGMAP_IRQ? See drivers/gpio/gpio-sl28cpld.c for an example. -michael