Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp7401125imm; Tue, 28 Aug 2018 11:20:50 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda98G3wPD80VZEoc83rcKdZ188Va0frn25Q3+HQlyxKuG0OYbsxxCnO6cY8n4ifzwUA+TiX X-Received: by 2002:a17:902:714f:: with SMTP id u15-v6mr2685648plm.154.1535480450720; Tue, 28 Aug 2018 11:20:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535480450; cv=none; d=google.com; s=arc-20160816; b=loW1K2DqFInXnCEJ87A5M1CO2Ejo31iYRMUwPFry69kheYnYkDhzwBybRs5lQfAQq8 HhwqaoJhfUG6aih1yrO5s0j9L7pkC/hGfpyWqAuosbDVJO2cmKx6pf0LTWbUUXsXVU+G yjD8RHmf76CdkIR3nW2uDyGyK4NaF7+L/MqJWNLtCzs9E0PJ3Jic8o+v84ensvcIpFcL WypmfTdb1W/3QJ5wNdOMu1z3LeRZ9TNiVQr5C8HFo364hZrb48fHIlLUidFmOGmy9V0l Q8atdYNBR0VN/PC9XzqbePp1Kpm89YXf4950rly94pRIhqlL5DeJM4kSjxt26e4IkEEh dgLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=EyHsgR73NmCKBiHZBH1dJ+NuGS2b3K6dlqo/0rsOboE=; b=tEyfl7fCOEcKnkbsjKlGuAziGMGpHUaPujQ6Vi81FReyDuQoG09YLuGE0SswD2Uq3z yg6p73hMYjzj/mGmQcVpbJHXVykATGv6fwIMSQ7hIzOgTTNy9JgdWR2MZP5J7z9cJAMV OoCw3cCLkrEgZn7XzpWzBhmoSnA9Hqx5nop55uVAPFu95kUahZShjZKZ5BkgMDJQG127 iWrV40HXLUrbIYPncDxfbssj34tRBZOtlM9SEjkKuQYbep/iXBLumOIGCM4Z8vNNJdJb IqvrvtXNyn5JnxuQv/9Ji064ID9culL3rMNuVaSoTBf0izTA7LhDjC9/xGsM7/lfUtY5 feZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=TMaRRHXg; 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 cb14-v6si1837562plb.178.2018.08.28.11.20.11; Tue, 28 Aug 2018 11:20:50 -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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=TMaRRHXg; 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 S1727212AbeH1WIp (ORCPT + 99 others); Tue, 28 Aug 2018 18:08:45 -0400 Received: from merlin.infradead.org ([205.233.59.134]:45432 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726383AbeH1WIp (ORCPT ); Tue, 28 Aug 2018 18:08:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=EyHsgR73NmCKBiHZBH1dJ+NuGS2b3K6dlqo/0rsOboE=; b=TMaRRHXgCexAnw/+qjON4lNz+2 PPedB/DerWVSn44cPrc0M2tsOIgWLIXI1KHQ83pdcXYmKqzhDX20+6EZMbMkZ5vn2U46jgsuuXC4N 24VPRMSiC5+NtuvZYpkkveJVzrBQyLz2tTtpxYRk8IOdtl0wTfOSlzcwUw51KT0tgEyLlmpv7892r pnS0w7cdlg9rroP2EuJWFz+v3FfcZQUwM5BdiKG6Ir1eXKvPq9ynhEiwmUIvUegHWtfZSc/bmO3tZ Snux3Bpdv5W0Gm3sg6WQzvyTi2ksr8gZ/YS+plj0LVcVXQHBGeJfxOPrxCOq+YOvh4P3oPC0/0rQm NgK6j+xw==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fuiWr-0002Yr-SX; Tue, 28 Aug 2018 18:15:50 +0000 Subject: Re: [PATCH v2 1/2] GPIO: add single-register gpio via creg driver To: Eugeniy Paltsev , linux-snps-arc@lists.infradead.org, linux-gpio@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Vineet Gupta , Alexey Brodkin , Linus Walleij , Rob Herring , devicetree@vger.kernel.org, Mark Rutland References: <20180828112721.28178-1-Eugeniy.Paltsev@synopsys.com> <20180828112721.28178-2-Eugeniy.Paltsev@synopsys.com> From: Randy Dunlap Message-ID: <024be088-15ff-89ed-3766-09eb64e47342@infradead.org> Date: Tue, 28 Aug 2018 11:15:47 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180828112721.28178-2-Eugeniy.Paltsev@synopsys.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I don't see any updates/corrections here. :( On 08/28/2018 04:27 AM, Eugeniy Paltsev wrote: > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index 71c0ab46f216..0f9cc1582cab 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -430,6 +430,15 @@ config GPIO_REG > A 32-bit single register GPIO fixed in/out implementation. This > can be used to represent any register as a set of GPIO signals. > > +config GPIO_SNPS_CREG > + bool "GPIO via CREG (Control REGisers) driver" > + select OF_GPIO > + help > + This driver supports GPIOs via CREG on various Synopsys SoCs. > + This is is single-register MMIO gpio driver for complex cases > + where only several fields in register belong to GPIO and > + each GPIO owns field with different length and on/off values. > + > config GPIO_SPEAR_SPICS > bool "ST SPEAr13xx SPI Chip Select as GPIO support" > depends on PLAT_SPEAR -- ~Randy