From patchwork Tue Aug 22 23:17:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 13361519 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CCC6EEE49A5 for ; Tue, 22 Aug 2023 23:18:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229569AbjHVXSE (ORCPT ); Tue, 22 Aug 2023 19:18:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231683AbjHVXSE (ORCPT ); Tue, 22 Aug 2023 19:18:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1BA9E5C; Tue, 22 Aug 2023 16:17:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6879560C85; Tue, 22 Aug 2023 23:17:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACCFBC433C7; Tue, 22 Aug 2023 23:17:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692746264; bh=9oZG9mNUNqXOkpnGqTbRp0qqK3g9lEw8FAP2NViIlxQ=; h=Date:From:To:Cc:Subject:From; b=ODKT/SD+7rzT8jVeBffPr2hjzf65TRmj3MghPtULvyc/8MG1hBNRWAlC0k2knLaQl etQnAkKJt3r6EN9I91eiSLTZnJCH7TgBBs3PR/kJj368NfkrUeZ0fcue2+hz8ASeNi yDhDNeXHho40pgPnwhWjPXIdBrHA3YqRZRz8ryZ+cRI3roPuq+qfJIzo2r3fj0kRwf j+0g0sYOQf8+Bo9U32KbLd+J1SoEFo0ZqvYoUwUFFslLyLCvOfUEQhVR3gpfr7tZNe jUOnXf3/j2z9PqPRAy3AHIA1D/PnaX3N/4MqooA6oBxmgyFftLzM3TnQqA7rMdYlIE 31zR8ooRnWDEg== Received: by mercury (Postfix, from userid 1000) id 5212E10618A0; Wed, 23 Aug 2023 01:17:42 +0200 (CEST) Date: Wed, 23 Aug 2023 01:17:42 +0200 From: Sebastian Reichel To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [GIT PULL] power-supply changes for 6.6 Message-ID: <20230822231742.nccvz5kkvono4fvt@mercury.elektranox.org> MIME-Version: 1.0 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Hi Linus, Here is an early pull request with the power-supply changes for the v6.6 cycle, since I'm AFK from now until 2023-09-10. All changes have been in linux-next for 3 weeks. -- Sebastian The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5: Linux 6.5-rc1 (2023-07-09 13:53:13 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/for-v6.6 for you to fetch changes up to 7e6311f04b41174ccc738d37dcb4b93cd4de98b0: power: supply: qcom_pmi8998_charger: fix charger status (2023-08-03 02:23:42 +0200) ---------------------------------------------------------------- power supply and reset changes for the 6.6 series * core: avoid duplicate hwmon device from thermal framework * convert multiple drivers to devm_platform_ioremap_resource * at91-reset: add sysfs interface to the power on reason * misc. small fixes and improvements ---------------------------------------------------------------- Caleb Connolly (2): power: supply: qcom_pmi8998_charger: remove CHARGE_CONTROL_LIMIT_* props power: supply: qcom_pmi8998_charger: fix charger status Chen-Yu Tsai (1): power: supply: core: Avoid duplicate hwmon device from thermal framework Colin Ian King (1): power: supply: bd99954: make read-only array sub_status_reg Kamel Bouhara (1): power: reset: at91-reset: add sysfs interface to the power on reason Neil Armstrong (1): power: reset: oxnas-restart: remove obsolete restart driver Ricardo Rivera-Matos (1): power: supply: bq24190: Considers FORCE_20PCT when getting IPRECHG Rob Herring (1): power: Explicitly include correct DT includes Yangtao Li (6): power: reset: at91-poweroff: Convert to devm_platform_ioremap_resource() power: reset: at91-sama5d2_shdwc: Convert to devm_platform_ioremap_resource() power: reset: brcm-kona: Convert to devm_platform_ioremap_resource() power: reset: gemini-poweroff: Convert to devm_platform_ioremap_resource() power: reset: msm: Convert to devm_platform_ioremap_resource() power: reset: ocelot: Convert to devm_platform_ioremap_resource() Yu Liao (1): power: supply: qcom_pmi8998_charger: fix uninitialized variable .../ABI/testing/sysfs-platform-power-on-reason | 12 ++ drivers/power/reset/Kconfig | 7 - drivers/power/reset/Makefile | 1 - drivers/power/reset/as3722-poweroff.c | 1 - drivers/power/reset/at91-poweroff.c | 4 +- drivers/power/reset/at91-reset.c | 37 +++- drivers/power/reset/at91-sama5d2_shdwc.c | 4 +- drivers/power/reset/brcm-kona-reset.c | 8 +- drivers/power/reset/gemini-poweroff.c | 4 +- drivers/power/reset/gpio-poweroff.c | 3 +- drivers/power/reset/gpio-restart.c | 2 +- drivers/power/reset/keystone-reset.c | 3 +- drivers/power/reset/msm-poweroff.c | 6 +- drivers/power/reset/ocelot-reset.c | 9 +- drivers/power/reset/odroid-go-ultra-poweroff.c | 3 +- drivers/power/reset/oxnas-restart.c | 233 --------------------- drivers/power/reset/st-poweroff.c | 2 +- drivers/power/reset/syscon-poweroff.c | 3 +- drivers/power/reset/syscon-reboot.c | 3 +- drivers/power/reset/xgene-reboot.c | 2 +- drivers/power/supply/axp20x_ac_power.c | 1 - drivers/power/supply/axp20x_battery.c | 1 - drivers/power/supply/axp20x_usb_power.c | 1 - drivers/power/supply/bd99954-charger.c | 2 +- drivers/power/supply/bq24190_charger.c | 17 +- drivers/power/supply/cpcap-battery.c | 2 +- drivers/power/supply/da9150-charger.c | 2 - drivers/power/supply/da9150-fg.c | 1 - drivers/power/supply/lego_ev3_battery.c | 2 +- drivers/power/supply/ltc2941-battery-gauge.c | 2 +- drivers/power/supply/ltc4162-l-charger.c | 2 +- drivers/power/supply/max14656_charger_detector.c | 2 +- drivers/power/supply/max17040_battery.c | 2 +- drivers/power/supply/max8903_charger.c | 1 - drivers/power/supply/power_supply_core.c | 6 +- drivers/power/supply/qcom_pmi8998_charger.c | 13 +- drivers/power/supply/rn5t618_power.c | 1 - drivers/power/supply/rt5033_charger.c | 2 +- drivers/power/supply/rt9455_charger.c | 3 +- drivers/power/supply/sbs-battery.c | 2 +- drivers/power/supply/tps65090-charger.c | 2 +- drivers/power/supply/tps65217_charger.c | 1 - drivers/power/supply/twl4030_charger.c | 1 + include/linux/power/power_on_reason.h | 19 ++ 44 files changed, 114 insertions(+), 321 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-platform-power-on-reason delete mode 100644 drivers/power/reset/oxnas-restart.c create mode 100644 include/linux/power/power_on_reason.h