From patchwork Thu Aug 25 15:02:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 12954971 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 33AAEC28D13 for ; Thu, 25 Aug 2022 15:02:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242491AbiHYPCe (ORCPT ); Thu, 25 Aug 2022 11:02:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241713AbiHYPCd (ORCPT ); Thu, 25 Aug 2022 11:02:33 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C1129E8B5 for ; Thu, 25 Aug 2022 08:02:31 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id v14so3558793ejf.9 for ; Thu, 25 Aug 2022 08:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=KQTIg5jCKpBCPFk2L7wdYoB1lmJQPzPoMVtc6KYHvS4=; b=pdmdfMkJpnHiZtIS6VJA51oFwb0n0D7fvAsuYwQEkJ9JL8Yufc70yS7IXmmwGsgo1B T0djDZRs4rGK46gqGaKl9yJeI7HWy3eIKe5DPwn0hiKP84qb6RfgP0TwKrXc6cDl5vQe FvFJLLQCr6bl9x1YIXap/s3P8N5w/J1AGn/7oLd+r5pIvJUxreMS/Stenguh6oeudnfM DpsVUZ652iOywehY0U/jLPrRe//StG6j63RqBVUhFxzNka5L83UPShrEqjKRKxb/3bXa Ckp3ZBSgU4ShYj6/dnYHzQH95JtSRVMlCoj1QwqfqbU+McbAOVCL1dt4F7RzkB20UL3j XLZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=KQTIg5jCKpBCPFk2L7wdYoB1lmJQPzPoMVtc6KYHvS4=; b=CA5X/dT/w0wEs5KFvIy2P5tHRvZVUOzFbH/cm5he5AhpCrhMEQ3QYFLI0zUjuT+ztv eDRazGBivz6c9D/qpka5tBO/RUjX8BGDS+QSucYjY5ToSDWOfC/AKZlDQ3sr5yn6lqI+ N2vIvwJcmKJYrtoHwU7Nb/LVLHJJ6OD+e5LC6LdhANSj3LQ6oHb9EKMdWN99WDMA+uiO K7OQmqSFFJRIEbQCqcUEp2UmAJ9y9uBR3j/UKp0uwgfbW5Y62cMk6Wjt0RFfxouYtPnz u0HY49GmsIsccgmVsmReNiwrhXEXj8LNKG16tLkakABgsk4gICNWLGrcgbkHU1U+1517 brsg== X-Gm-Message-State: ACgBeo16qpn5saZTre8kSPVp1pRT2LL4pmx6Uc4MbCGG5hb5HEIIG8sR k51RtkFzi+XwIuBn5WcZ/ehGDQ== X-Google-Smtp-Source: AA6agR5CXljSDCvli5lhhrm6AxqnYomGfl3hTxXo0GFubNcs4OJPNfK9hzK+WGrCGZuV52m/ZjorBg== X-Received: by 2002:a17:906:dc90:b0:73d:670d:5975 with SMTP id cs16-20020a170906dc9000b0073d670d5975mr2695541ejc.515.1661439750061; Thu, 25 Aug 2022 08:02:30 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4090:a245:8020:2658:1f7c:362:3e99]) by smtp.gmail.com with ESMTPSA id r10-20020a17090609ca00b00732e3d94f4fsm2548771eje.124.2022.08.25.08.02.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 08:02:29 -0700 (PDT) From: Markus Schneider-Pargmann To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Catalin Marinas , Will Deacon , Dmitry Torokhov , Lee Jones , Tony Lindgren , nm@ti.com, kristo@kernel.org Cc: Jerome Neanne , khilman@baylibre.com, narmstrong@baylibre.com, j-keerthy@ti.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, linux-omap@vger.kernel.org, Markus Schneider-Pargmann Subject: [PATCH v4 0/6] Add support for TI TPS65219 PMIC. Date: Thu, 25 Aug 2022 17:02:18 +0200 Message-Id: <20220825150224.826258-1-msp@baylibre.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Hi everyone, I am submitting this update for Jerome, he will probably do the next version again. v4 is a lot smaller now as I squashed some patches as requested and some were applied. It is mainly the fixes of the things that Lee Jones pointed out in his review on v2, thanks for that. It is now based on the regulator tree branch for-6.1: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git Best, Markus Previous versions: v3 - https://lore.kernel.org/lkml/20220805121852.21254-1-jneanne@baylibre.com/ v2 - https://lore.kernel.org/lkml/20220726103355.17684-1-jneanne@baylibre.com/ v1 - https://lore.kernel.org/lkml/20220719091742.3221-1-jneanne@baylibre.com/ Jerome Neanne (5): DONOTMERGE: arm64: dts: ti: Add TI TPS65219 PMIC support for AM642 SK board. DONOTMERGE: arm64: dts: ti: Add pinmux and irq mapping for TPS65219 external interrupts DONOTMERGE: arm64: dts: ti: k3-am642-sk: Enable tps65219 power-button mfd: drivers: Add TI TPS65219 PMIC support arm64: defconfig: Add tps65219 as modules Markus Schneider-Pargmann (1): Input: Add tps65219 interrupt driven powerbutton MAINTAINERS | 1 + arch/arm64/boot/dts/ti/k3-am642-sk.dts | 115 ++++++++ arch/arm64/configs/defconfig | 3 + drivers/input/misc/Kconfig | 10 + drivers/input/misc/Makefile | 1 + drivers/input/misc/tps65219-pwrbutton.c | 149 ++++++++++ drivers/mfd/Kconfig | 14 + drivers/mfd/Makefile | 1 + drivers/mfd/tps65219.c | 357 ++++++++++++++++++++++++ include/linux/mfd/tps65219.h | 345 +++++++++++++++++++++++ 10 files changed, 996 insertions(+) create mode 100644 drivers/input/misc/tps65219-pwrbutton.c create mode 100644 drivers/mfd/tps65219.c create mode 100644 include/linux/mfd/tps65219.h