Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp3457658pxb; Tue, 12 Jan 2021 15:32:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQevjWwKlvYu1KKKxw5O3XdqGIBHSeZoSzMzSxF0fcTdwcxKR1E70nJZjtp1VsOiGk1xEs X-Received: by 2002:a17:906:f0c9:: with SMTP id dk9mr819119ejb.51.1610494362262; Tue, 12 Jan 2021 15:32:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610494362; cv=none; d=google.com; s=arc-20160816; b=tdqxkSiPDC68ItWWxjSYHktz9BSRPv2He2CtOba+h26x9JARVloxzo8Sd7aBVLNsQ7 myJPk/Xf2C3GAwchZfKVfYOphCQdAZQHbQ8MlCCeqMcl8irskpVyEs7DEPD1C8WD36lq 4xix5yLT+rzX7D5DMHF3u9yBFWCqUZ0HcxQNw6BcfppFr4cHJQdGzbunjLw3BhLbjYD9 zJ6MzoT/+8RZ9s1qb+NJxDYt5PyzwY/pjmpDAS9cM000OXAFizfzu2igd4hjoa5G+qpD asNFcDs/NrE1CtE+J3izsEg96F0TZngNfLf3DG2/ImgpgKAz2CQU0/1GhueEdI5Re19t xAlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=rcpLR3QOgSiC+5G46y7cTMbOfdBOLq3XVnUkBct/jyU=; b=kJjfawObqHyz5GnlQOVQ8S1nBiMdQA1830UFVTLDO11oA3mgL34xnZzfLhMy4qssdP iwtkR5WccwG+d4o8euUndyrQke+HQdIZwH+KdSJi2wO/ThMlP399DWmIsHpPPBIFjyTw mE/7Ei8lvHbBdi/4oGttvkQ/Y0AiVMGgXrOz66382nkZdFKEY9IC86zz+wB2+7Y6I1Dx j/vdGF/w0GIkNxVa9YiJJOeSlZSTLhXjkJSy7VlkiWSwOhpdrf1Hc3XdU6EneuiqsdEp U39vTp+1u0oSQYFXkZRApTjueg4q3pI5Jd0VoZR0eDXWwBOZiaUsL2ScXY9oibWv8VUx 5xeg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y1si105042ejm.62.2021.01.12.15.32.18; Tue, 12 Jan 2021 15:32:42 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389304AbhALJBu (ORCPT + 99 others); Tue, 12 Jan 2021 04:01:50 -0500 Received: from relmlor1.renesas.com ([210.160.252.171]:61665 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388357AbhALJBu (ORCPT ); Tue, 12 Jan 2021 04:01:50 -0500 X-IronPort-AV: E=Sophos;i="5.79,340,1602514800"; d="scan'208";a="68731765" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 12 Jan 2021 18:01:18 +0900 Received: from localhost.localdomain (unknown [10.166.252.89]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 39A9340062D6; Tue, 12 Jan 2021 18:01:18 +0900 (JST) From: Yoshihiro Shimoda To: marek.vasut+renesas@gmail.com, lee.jones@linaro.org, matti.vaittinen@fi.rohmeurope.com, lgirdwood@gmail.com, broonie@kernel.org, linus.walleij@linaro.org, bgolaszewski@baylibre.com Cc: khiem.nguyen.xt@renesas.com, linux-power@fi.rohmeurope.com, linux-gpio@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Yoshihiro Shimoda Subject: [PATCH v9 00/12] treewide: bd9571mwv: Add support for BD9574MWF Date: Tue, 12 Jan 2021 18:00:55 +0900 Message-Id: <1610442067-7446-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add BD9574MWF support into bd9571mwv gpio, mfd and regulator drivers. Latest Ebisu-4D boards has this chip instead of BD9571MWV so that we need this patch series to detect this chip at runtime. Note that the patch [1/12] is a bug-fix patch for mfd driver. Hello Lee, Now I got Acked-by from maintainers of gpio and regulator. So, would you apply this series to your repo? Changes from v8: - Add Acked-by from maintainers of regulator and gpio in patch 4 to 8. https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=406323 Changes from v7: - Fix typo in the patch 10. - Add "Acked-for-MFD-by" in patch 2 and 11. https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=406091 Changes from v6: - Remove "struct bd957x_ddata" because this is not used after probed. - Add "Acked-for-MFD-by" in patch 12. https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=405725 Changes from v5: - Fix typo in the patch 5 and 8. https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=405263 Changes from v4: - Add Reviwed-by in patch 1, 10, 11 and 12. - Keep bd9571mwv_id_table[] as-is because unused in patch 12. https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=404657 Changes from v3: - Add "Acked-for-MFD-by" in patch 1, 3, 9 and 10. - Use "Co-developed-by" instead in patch 11. - In patch 11: -- Remove abusing kernel-doc formatting in patch. -- Rename bd957x_data with bd957x_ddata in patch. -- Remove product name printk. -- Rename bd9571mwv_identify() with bd957x_identify(). -- Remove argument "part_name" from bd957x_identify(). -- Modify dev_err() string. -- Rename BD9571MWV_PRODUCT_CODE_VAL with BD9571MWV_PRODUCT_CODE_BD9571MWV. -- Fix errno from -ENOENT to -ENODEV. - In patch 12: -- Rename "MFD driver" to "core driver". -- Remove unnecessary comments. -- Rename BD9574MWF_PRODUCT_CODE_VAL with BD9571MWV_PRODUCT_CODE_BD9574MWF. https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=402719 Changes from v2: - Use devm_mfd_add_devices() to remove the mfd device in unload. - Update commit descriptions in patch 4 and 8. - Use regmap_get_device() to simplify in patch 4. - Remove "struct bd9571mwv" and bd9571mwv_remove(). - Add Reviewed-by in patch 3 to 9. - Use devm_regmap_add_irq_chip() to simplify in patch 10. https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=400477 Changes from v1: - Document BD9574MWF on the dt-binding. - Add ROHM_CHIP_TYPE_BD957[14] into rohm-generic.h. - To simplify gpio and regulator drivers, using regmap instead of using struct bd9571mwv. - Remove BD9574MWF definitions to make gpio and regulator driver simple to support for BD9574MWF. - Add BD9574MWF support for gpio and regulator drivers. - Add missing regmap ranges for BD9574MWF. - Rename "part_number" with "part_name". https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=398059 Khiem Nguyen (2): mfd: bd9571mwv: Make the driver more generic mfd: bd9571mwv: Add support for BD9574MWF Yoshihiro Shimoda (10): mfd: bd9571mwv: Use devm_mfd_add_devices() dt-bindings: mfd: bd9571mwv: Document BD9574MWF mfd: rohm-generic: Add BD9571 and BD9574 regulator: bd9571mwv: rid of using struct bd9571mwv regulator: bd9571mwv: Add BD9574MWF support gpio: bd9571mwv: Use the SPDX license identifier gpio: bd9571mwv: rid of using struct bd9571mwv gpio: bd9571mwv: Add BD9574MWF support mfd: bd9571mwv: Use the SPDX license identifier mfd: bd9571mwv: Use devm_regmap_add_irq_chip() .../devicetree/bindings/mfd/bd9571mwv.txt | 4 +- drivers/gpio/gpio-bd9571mwv.c | 35 ++-- drivers/mfd/bd9571mwv.c | 178 ++++++++++++++------- drivers/regulator/bd9571mwv-regulator.c | 59 ++++--- include/linux/mfd/bd9571mwv.h | 45 ++---- include/linux/mfd/rohm-generic.h | 2 + 6 files changed, 186 insertions(+), 137 deletions(-) -- 2.7.4