From patchwork Tue May 25 10:13:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vaittinen, Matti" X-Patchwork-Id: 12278295 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 874FBC47087 for ; Tue, 25 May 2021 10:13:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 67BE46140E for ; Tue, 25 May 2021 10:13:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230097AbhEYKPK (ORCPT ); Tue, 25 May 2021 06:15:10 -0400 Received: from mail-lf1-f47.google.com ([209.85.167.47]:42951 "EHLO mail-lf1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230218AbhEYKPG (ORCPT ); Tue, 25 May 2021 06:15:06 -0400 Received: by mail-lf1-f47.google.com with SMTP id a2so45194131lfc.9; Tue, 25 May 2021 03:13:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=bKfxY6mSloECBEhPINl3+vEHZAIdmfDNQyztmX6YrqA=; b=XoyXQFPQPyaib28Fy0xl0TeFElHKa2X+m6JBQSMI8lCUcR8HrZ+pIvBaRDhbgIbkuM LC68jeUwYHB7J7hvlGDz8WhX3rfqcRKEOQ5745bYqKSOXVZicRXX+nqZhBk5HAmFQ8Jy b/VPm3TTsRJJdS+kEzLHoiIgIRlBZenT0otS1HItwlVicRcy11O1d6M66NrbnbeNNWWi iCrYwBul2dI3btIMd8BsZOcDJIcwif7G1lfaUffxK7L6R2XjqoikREV9uYv1h5o+aoJh O9sMNMQ6ka+WXEjpa+0ZpIhQoowHYQtEXvEyUHdgj7GBVLwNWnXGusvmhly/H3mU5IFt njQg== X-Gm-Message-State: AOAM5302GvLvtwmaxRYEnxFzIyifz3Njh09+jCdgu99MdF7zwKAEBgDo vNZ1v5Kdyv7vwcG9EbvD9EE= X-Google-Smtp-Source: ABdhPJyd/seBDSLExiEdshhwpoFZVPNcW5lavyyG/mPGb5jIxHr/rfjgXrEarA8o4tc3kjdoUcqFQg== X-Received: by 2002:ac2:5edb:: with SMTP id d27mr13199748lfq.577.1621937613182; Tue, 25 May 2021 03:13:33 -0700 (PDT) Received: from localhost.localdomain (dc7vkhyyyyyyyyyyyyycy-3.rev.dnainternet.fi. [2001:14ba:16e2:8300::4]) by smtp.gmail.com with ESMTPSA id c9sm2170474lji.18.2021.05.25.03.13.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 03:13:32 -0700 (PDT) Date: Tue, 25 May 2021 13:13:25 +0300 From: Matti Vaittinen To: Matti Vaittinen , Matti Vaittinen Cc: Lee Jones , Rob Herring , Liam Girdwood , Mark Brown , Michael Turquette , Stephen Boyd , Matti Vaittinen , Linus Walleij , Bartosz Golaszewski , Sebastian Reichel , Alessandro Zummo , Alexandre Belloni , Wim Van Sebroeck , Guenter Roeck , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-power@fi.rohmeurope.com, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, linux-rtc@vger.kernel.org, linux-watchdog@vger.kernel.org Subject: [PATCH 0/9] Drop ROHM BD70528 support Message-ID: MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Drop ROHM BD70528 support Unfortunately there has not been a big demand for ROHM BD70528 IC. The few users I know control PMIC from separate M4-core, which is not running Linux. I am not aware of any users of this Linux driver. While I did really like this IC and writing the drivers for it, seems like these drivers are becoming useless burden. So, I see no point in maintaining them. Let's just drop the drivers if there is no objections to this series. :( Few notes: The GPIO, regulator, power-supply and watchdog drivers should be only used on BD70528 and depend on the BD70528 MFD Kconfig. I guess the removal can be independently merged to the respective subsystems. The BD70528 RTC driver is still used by BD71815 and BD71828 - but the watchdog-hack can be removed and driver is greatly simplified. However, it's worth noting that there is dependency from the BD70528 RTC driver to the header files - thus the RTC driver changes should be merged before MFD changes. Also the CLK driver remains in use and needs the BD70528 IC-type. As a final note - Few improvements/fixes were just applied to the regulator tree so this series is likely to conflict. Some fixes were also added to RTC Kconfig - which means also the RTC tree may have conflicts. Please let me know if you wish me to rebase this series or those patches. --- Matti Vaittinen (9): dt-bindings: mfd: regulator: Drop BD70528 support rtc: bd70528: Drop BD70528 support watchdog: bd70528 drop bd70528 support regulator: bd70528: Drop BD70528 support clk: bd718xx: Drop BD70528 support gpio: bd70528 Drop BD70528 support power: supply: Drop BD70528 support mfd: bd70528: Drop BD70528 support MAINTAINERS: bd70528: Drop ROHM BD70528 drivers .../bindings/mfd/rohm,bd70528-pmic.txt | 102 --- .../regulator/rohm,bd70528-regulator.txt | 68 -- MAINTAINERS | 8 - drivers/clk/Kconfig | 6 +- drivers/clk/clk-bd718x7.c | 11 +- drivers/gpio/Kconfig | 11 - drivers/gpio/Makefile | 1 - drivers/gpio/gpio-bd70528.c | 230 ------ drivers/mfd/Kconfig | 17 - drivers/mfd/Makefile | 1 - drivers/mfd/rohm-bd70528.c | 314 -------- drivers/power/supply/Kconfig | 9 - drivers/power/supply/Makefile | 1 - drivers/power/supply/bd70528-charger.c | 710 ------------------ drivers/regulator/Kconfig | 11 - drivers/regulator/Makefile | 1 - drivers/regulator/bd70528-regulator.c | 283 ------- drivers/rtc/Kconfig | 4 +- drivers/rtc/rtc-bd70528.c | 316 +------- drivers/watchdog/Kconfig | 12 - drivers/watchdog/Makefile | 1 - drivers/watchdog/bd70528_wdt.c | 291 ------- include/linux/mfd/rohm-bd70528.h | 391 ---------- include/linux/mfd/rohm-generic.h | 1 - 24 files changed, 18 insertions(+), 2782 deletions(-) delete mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd70528-pmic.txt delete mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd70528-regulator.txt delete mode 100644 drivers/gpio/gpio-bd70528.c delete mode 100644 drivers/mfd/rohm-bd70528.c delete mode 100644 drivers/power/supply/bd70528-charger.c delete mode 100644 drivers/regulator/bd70528-regulator.c delete mode 100644 drivers/watchdog/bd70528_wdt.c delete mode 100644 include/linux/mfd/rohm-bd70528.h base-commit: c4681547bcce777daf576925a966ffa824edd09d