Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2356478ybl; Mon, 20 Jan 2020 01:11:59 -0800 (PST) X-Google-Smtp-Source: APXvYqxsQiFTHaWxWyOJ15FnOAQy3QJY+z+CEQje5zx0zc8QCzmp8rVPkpgZweSQIsAl7xgPTD+f X-Received: by 2002:a9d:6557:: with SMTP id q23mr14584096otl.368.1579511518701; Mon, 20 Jan 2020 01:11:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579511518; cv=none; d=google.com; s=arc-20160816; b=r40pSp76Gr+1nIqmy+2e1syk/uz9M4Q4S/g5Agfbbsvt6zgY7Ju3hQt0HXy6buTqYP AHhlYQ0P1WfTbhqnb2QTxN1uQYy4BpqTQjqfzlR4FFM6HYn+n7pMSf3PY6+ZoGPeY1En l+c0nWyucFhuKpS7QJAKtR9O8e0R2K4Ck4d6ZxYztpr/xyL0N2NUlo32XxK7beRLXQ3j 7eCOFM3UKzYCArLVdA/b4E+uVKwpGCbgEyoURvRt5TAMEp6J2nGJ1i5i2aHdQ6lPXBsk 5hUNY3pKN+UUTalUBxN/y/eWTVwn2rfI/9giijN+e1FnVoKkXtYx91inTOYsB5EnciHA u7lg== 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=n2WYF7K/zdDWIboGc7AnAgFinjHk/RRv8sNL2PVTa8Q=; b=FVceqHyHo/7vXCVliXW5Wij6BAX0DhgG4P8VqbTkoMB9BY6ZevpPaGL1JlMvO4KA/2 ff5Mapo5XG69RYvpnszg7qUm6vKuoC2SYKwsB8Kzrijct9Di2IyapIcq0DaHTF1PDsDj qlOtKx2Yw6UhnvVMQk2jnFaqMtiZX0b9+jmX3P0q+XaWMkyp1cowIL6kIlURfryPPVx+ Hp28FCFsEcK4GjU73s7JzjrP7AeyeCydll7Q5HzZl7Cj+jZn6byZo5dwBCTbsa9mONR9 GNihgKfrLiyjB7RzuJQml4cPlKKUvwge2D2IBym4KRUwq5pEi/m63AM+v9aRau8dAflt x0xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Z8JoobvH; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d20si19384655otq.157.2020.01.20.01.11.46; Mon, 20 Jan 2020 01:11:58 -0800 (PST) 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=@kernel.org header.s=default header.b=Z8JoobvH; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726642AbgATJJy (ORCPT + 99 others); Mon, 20 Jan 2020 04:09:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:40066 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbgATJJy (ORCPT ); Mon, 20 Jan 2020 04:09:54 -0500 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5A67020684; Mon, 20 Jan 2020 09:09:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579511393; bh=vbAaO1LjWMydY+UDit/LOlD+QdhAMjmRUBC6/xTciUI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Z8JoobvHuhNgmbrbIoqg/RNLpNLhodMK2TnkhVzBAaozj7wRwet84iBLCdbKiu68V JTPENT7TvgZv0pRxV3YVp4G79sL4cu+peo64P9DRY6axIzHnliS19t4ctptG/k6BU0 Ae//fG/4yViRpu4zaXyfma5rNZ92GppC49HKsues= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1itT4B-000DhL-KB; Mon, 20 Jan 2020 09:09:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 20 Jan 2020 10:09:51 +0100 From: Marc Zyngier To: Yash Shah Cc: linus.walleij@linaro.org, bgolaszewski@baylibre.com, robh+dt@kernel.org, mark.rutland@arm.com, palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, tglx@linutronix.de, jason@lakedaemon.net, bmeng.cn@gmail.com, atish.patra@wdc.com, sagar.kadam@sifive.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, sachin.ghadi@sifive.com Subject: Re: [PATCH v4 0/6] GPIO & Hierarchy IRQ support for HiFive Unleashed In-Reply-To: <1575976274-13487-1-git-send-email-yash.shah@sifive.com> References: <1575976274-13487-1-git-send-email-yash.shah@sifive.com> Message-ID: <8dcb52c94eb5a585f6cf052c18571805@kernel.org> X-Sender: maz@kernel.org User-Agent: Roundcube Webmail/1.3.8 X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: yash.shah@sifive.com, linus.walleij@linaro.org, bgolaszewski@baylibre.com, robh+dt@kernel.org, mark.rutland@arm.com, palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu, tglx@linutronix.de, jason@lakedaemon.net, bmeng.cn@gmail.com, atish.patra@wdc.com, sagar.kadam@sifive.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, sachin.ghadi@sifive.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-12-10 12:11, Yash Shah wrote: > This patch series adds GPIO drivers, DT documentation and DT nodes for > HiFive Unleashed board. The gpio patches are mostly based on Wesley's > patch. > The patchset also adds hierarchy irq domain support as it is required > by this > gpio driver. It also includes the irqdomain patch to introduce > irq_domain_translate_onecell() and irq-nvic driver patch to use this > newly > introduced function. > > This patchset is based on Linux 5.4-rc6 and tested on HiFive Unleashed > board > > Changes: > v4 vs v3: > - Rename the DT yaml document to more standard naming > (sifive,gpio.yaml) > - Drop "clock-names" property from yaml document > - Add "minItems" to "interrupts" node in yaml > > v3 vs v2: > - Include patch for irq-nvic driver to use irq_domain_translate_onecell > - Remove unnecessary inclusion of header files > - Use a single prefix for all symbols in this driver > - Rename the "enabled" field of struct sifive_gpio to "irq_state" > - Remove unused variables and locking from probe() > - Other minor changes > > v2 vs v1: > - Add patch to introduce irq_domain_translate_onecell() and use it in > the sifive PLIC driver > - Drop the usage of own locks, instead use internal bgpio_locks > - Consistently use regmap for register access throughout the gpio code > - Convert the GPIO DT documentation into a json schema > - Other minor changes based upon feedback received on v1 > > v1 vs RFC: > Incorporated below changes as suggested by Linus Walleij on RFC version > of this > patchset[0] > - Dropped PWM patches as they are already merged. > - Include "GPIO_GENERIC" and "REGMAP_MMIO" in Kconfig select option > - Remove unwanted inclusion of header files > - Use regmap MMIO instead of customised sifive_assign_bit() > - Use GPIOLIB_GENERIC and bgpio_init() to set up the accessors > - Use hierarchical irqdomain > > [0] > https://lore.kernel.org/linux-riscv/20181010123519.RVexDppaPFpIWl7QU_hpP8tc5qqWPJgeuLYn0FaGbeQ@z/ > > Yash Shah (6): > genirq: introduce irq_domain_translate_onecell > irqchip: nvic: Use irq_domain_translate_onecell instead of custom > func > irqchip: sifive: Support hierarchy irq domain > gpio: sifive: Add DT documentation for SiFive GPIO > gpio: sifive: Add GPIO driver for SiFive SoCs > riscv: dts: Add DT support for SiFive FU540 GPIO driver I've queued the first 5 patches. The last one should go via the corresponding platform tree. Thanks, M. -- Jazz is not dead. It just smells funny...