Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3894142imm; Wed, 5 Sep 2018 07:39:06 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbiW9kPBspy/UFWX6DplGkZqafPw5fy3tukVi/Nf6GRhEXZ3HifFhX2vqvuRLQ0Zq3SUZ6x X-Received: by 2002:a62:6b49:: with SMTP id g70-v6mr1830949pfc.91.1536158345989; Wed, 05 Sep 2018 07:39:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536158345; cv=none; d=google.com; s=arc-20160816; b=F0Imy/7AhPGbg0SvcqIghDwDIzp9DOmbSaYrdIxfuKMwV2pVT0Ocj/3c64K0iC2DhU +tp65uXx6r9n1I8kdKCxSbPKqBiOOHI044JaGkocuZ+4AJmsKjMANJC5YF4Gx0cOf6Ac HYQseNzPBLEsciY626LztLiewsijADAXK4DcWiDpg/qvNkPim8pJ7fvM82DDUGUG1Blo lHdNAYkmca2wxDTIpiQOPKwAVI0ffiseRB+QLFhCvuUQoa+v0h91ra3HN+uJVvwANSkG R/TqJzZ9crEFqn9mtLbIV2o2UGQK8DMy5czWznIlCEhBekEI81IpGbIxLQagzDkT9m2O 8LIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=gjwy2eS0+FgR3QMwCu5mspdsFjXZq/i7p6gkYNRpF4Q=; b=TpbQzvaovKODZugB0fC6jS1WVRFNEqJkCBcb7Q1kfvmHqmR5qvGswnwfZxkJmDCet4 92UNVe5BJyjNr73i3amwtofKX8m3ccJhXGF0HPMLCtdQlQ3uoD8aZyxJBh+bcgfEkHFK hwa0ornkV7wcchEpJrHl8d9pBBJsSxgmaKxELdspXtBsUP+bhnJMjRFLh4Blq1AMaB3J ycmimicRxfh4XoxFq2Hg2y3BdLoTR1sKkpvEbrQZHIWIZGXnHEpB8YMGdvc2iXwGVG1v qMOhvmSR8F62VsPqUmv/aehJ4lqu1FrNx7ZyrA7nB279/wpAriz9Td2zXPFgjQn1/5/0 w7RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KRyiHNqQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m29-v6si2189873pgl.304.2018.09.05.07.38.50; Wed, 05 Sep 2018 07:39:05 -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=pass header.i=@gmail.com header.s=20161025 header.b=KRyiHNqQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727671AbeIETHV (ORCPT + 99 others); Wed, 5 Sep 2018 15:07:21 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:34638 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbeIETHV (ORCPT ); Wed, 5 Sep 2018 15:07:21 -0400 Received: by mail-ed1-f65.google.com with SMTP id u1-v6so6285950eds.1 for ; Wed, 05 Sep 2018 07:36:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=gjwy2eS0+FgR3QMwCu5mspdsFjXZq/i7p6gkYNRpF4Q=; b=KRyiHNqQaZlf7xyP7XuK/2QRZ0zyYaUiR34i5VWOLd6fZLXGia8kNpbhm/7Utfq5ub iyXIuxBKUQU4iOr4eAtmDQ2d0Qj/ag0KTdYYp0OaAJ8w5CF1+WOuqPD3zV9lUtZFs9HU 6igtzu6xhKZEC8tqearG3MAqmj+ow9LUlsdU5isz17BZkJ+J9HmlXXA/x+Yde0wvYfHR 59D+8XBw/CyfGACruc3wDxwiNTgYJgIW5W9hqwPT1j3GDZTkexWTr1odStWPkV0CBnD9 HhcyFT5b6KgO2QQjFAm9bNGMIS5rs9O7hu/pjkrjbudh1pQEUXv2403lFXddQp4LlZ/1 SdMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=gjwy2eS0+FgR3QMwCu5mspdsFjXZq/i7p6gkYNRpF4Q=; b=gLBFW2xCQuHF5haf0YTPIkbJhGCFNiMyKrBzMmo5jQXXX0EMmLPh0iyGeStPGZKzlt IyO6AefvsSPWu1M7oeAxNY6iWbtAA4wQtKJqG4M0kxzBRiqhrcsAGZ6NaFKfc2HqvW4v YH02pNssJEEpe1BcM5sQ1F/+2WUJwUR+tVTqeJm5kzyFIM9qnIV74B9EnetOKRMVDcVt 0kag3HGibLSZacsZp4RUMMYkRORldSVMVXmvj2PV1U2ZFa4SlXbGgGS9u2/aEeDjQWdM rwNrpjp30U5LszxOdCTf6ylLxKS+8d45ZQKs+wZTYcejxwBBA59BLdlQL9RG3Ad5PS8M SgUA== X-Gm-Message-State: APzg51A6CvatORAYkbd6ON73PgcFkgZ4byiIkVdqHQXq4tmSI28teJsN lFmLdmrKDI1h5fgdBx/a4fA= X-Received: by 2002:a50:b7af:: with SMTP id h44-v6mr37796857ede.297.1536158211670; Wed, 05 Sep 2018 07:36:51 -0700 (PDT) Received: from neopili.qtec.com (cpe.xe-3-0-1-778.vbrnqe10.dk.customer.tdc.net. [80.197.57.18]) by smtp.gmail.com with ESMTPSA id u53-v6sm1556413edm.51.2018.09.05.07.36.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 07:36:50 -0700 (PDT) From: Ricardo Ribalda Delgado To: David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , Zhouyang Jia , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org (open list) Cc: Ricardo Ribalda Delgado Subject: [PATCH v2 0/8] gpio-addr-flash: Support for device-tree and cleanup Date: Wed, 5 Sep 2018 16:36:35 +0200 Message-Id: <20180905143643.9871-1-ricardo.ribalda@gmail.com> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series does the following: 1) Fix bug regarding ioremap size 2) Cleanup code to use new APIs 3) Simplify numerical operations 4) Add support for device-tree devices Thanks! Changelog v2: From Boris Brezillon: -Add Fixes and cc:stable From kbuild: - Fix warnings - Rebase Ricardo Ribalda Delgado (8): mtd: maps: gpio-addr-flash: Replace custom printk mtd: maps: gpio-addr-flash: Fix ioremapped size mtd: maps: gpio-addr-flash: Use devm_* functions mtd: maps: gpio-addr-flash: Use order insted of size mtd: maps: gpio-addr-flash: Replace array with an integer mtd: maps: gpio-addr-flash: Split allocation in two mtd: maps: gpio-addr-flash: Add support for device-tree devices dt-binding: mtd: Document gpio-addr-flash .../bindings/mtd/gpio-addr-flash.txt | 46 +++ drivers/mtd/maps/gpio-addr-flash.c | 276 ++++++++++++------ 2 files changed, 236 insertions(+), 86 deletions(-) create mode 100644 Documentation/devicetree/bindings/mtd/gpio-addr-flash.txt -- 2.18.0