Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp527246pxf; Thu, 8 Apr 2021 07:57:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzs19kUMx1WuiURYELSsynrAZbgnLubWUn+BnJMb/NFVr7D+yxAELmVnyXZfIjXsieLQTP2 X-Received: by 2002:a05:6402:2208:: with SMTP id cq8mr11942680edb.122.1617893840711; Thu, 08 Apr 2021 07:57:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617893840; cv=none; d=google.com; s=arc-20160816; b=TLQgKJWIzJu+gavaIjZ+UwlYjUriQjF4n0msOOu8gPbberGrwoHFRsbTr1fWj4WL7R CyYos9H6DDDbSlPZ12tSxBIovk9MbgaXMlCNuItY5v9jP8PfrHFvt2OtZMSdQaDIISnN +nmAUJjqBongwiO7IYyX2xOfDNKk9gHGgwwmMhevz83prX7DdrEZ+oHzaQ6n0gArSPsv gLY8tLhO9nQdA6LkhxJATCTmXZQYnBSFFFCig5e7zTSC5pZxMOBvKeYCpniCT/OfE2v3 iiFmG/qPEVpfiObmObPHf4jlyU9weOfKjy6GpKA7S3knGtFLVDKkLYxkKElPBPFinMyY hk5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=QEYN4YqxGz61GD/UVf1Stny4XhdRis3P3H10O290T0E=; b=xghqoJ8JSKWJCm98RfKSm0c83niXuGOgrGEhYO/fgJN7uf9SSuDdb/qETecaXscpM4 UwpDUywM2dzMaw9C8xBlgDUML5qW9LrXQVEcKr0gYVOgL2Zyjn1SXXDn3PrtToc+9jwq BT+/7RD3xqsGqj9zgmglE2+G1dKMPC8cwdcZapV7CNjF9U0wpU9531++nevhlmWm9BqV i7XgR4tD9uStcARqgI0uznnbfpmif9WHKLyLYEhgsR+w0UjLvWkw8HSMNLbANtMwV0KZ 6/GTEX5UNm2cn8LmAju7qi5jSvkCCuWfWzdaXWwJe6Kn6+6s5SiWz5zs72ip6KY5EaiG Ekjw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si25730491ejb.254.2021.04.08.07.56.57; Thu, 08 Apr 2021 07:57:20 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231969AbhDHO4G (ORCPT + 99 others); Thu, 8 Apr 2021 10:56:06 -0400 Received: from mga12.intel.com ([192.55.52.136]:23179 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231557AbhDHO4D (ORCPT ); Thu, 8 Apr 2021 10:56:03 -0400 IronPort-SDR: HiMqLgjD+mwKO4L7yQBaMNoTqnfKIy0MhVc1287gWNqwTUlmeOIn8u6QOcwcn5At4w5S6a4pCO Y6cMc7mQVY9A== X-IronPort-AV: E=McAfee;i="6000,8403,9948"; a="173033285" X-IronPort-AV: E=Sophos;i="5.82,206,1613462400"; d="scan'208";a="173033285" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2021 07:55:52 -0700 IronPort-SDR: dgf9RWywikSAzthwS691EXZl6/fOl7kLiVbTciktdFgqtU1LTXY2jXSI/nYXzHVZd1WtVwMQMT HGLUUUljGp4Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,206,1613462400"; d="scan'208";a="613364323" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga005.fm.intel.com with ESMTP; 08 Apr 2021 07:55:48 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id ECC3AFC; Thu, 8 Apr 2021 17:56:04 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Shubhrajyoti Datta , Srinivas Neeli , Michal Simek , Linus Walleij , Bartosz Golaszewski , Yury Norov , Rasmus Villemoes , Syed Nayyar Waris , vilhelm.gray@gmail.com Subject: [RFT, PATCH v1 0/5] gpio: xilinx: convert to use bitmap API Date: Thu, 8 Apr 2021 17:55:56 +0300 Message-Id: <20210408145601.68651-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The change in the series has been inspired by [1], which, I think, can be improved. Here I present the view how it can be done. The series marked as RFT since I have no hardware and I perform compile test only. The patches 1 and 2 can be (independently) applied for v5.13, but I'm not in hurry with the series, due to above (lack of real testing). So I'm flexible in a way how it can be proceed. [1]: cover.1617380819.git.syednwaris@gmail.com Andy Shevchenko (5): bitmap: Make bitmap_remap() and bitmap_bitremap() available to users gpio: xilinx: Correct kernel doc for xgpio_probe() gpio: xilinx: Introduce xgpio_read_chan() / xgpio_write_chan() gpio: xilinx: Switch to use bitmap APIs gpio: xilinx: No need to disable IRQs in the handler drivers/gpio/gpio-xilinx.c | 377 ++++++++++++++++++------------------- lib/bitmap.c | 5 +- 2 files changed, 190 insertions(+), 192 deletions(-) -- 2.30.2