From patchwork Tue Sep 13 12:14:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jerome Neanne X-Patchwork-Id: 605479 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 2EBE3C54EE9 for ; Tue, 13 Sep 2022 12:14:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232033AbiIMMOc (ORCPT ); Tue, 13 Sep 2022 08:14:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232027AbiIMMOb (ORCPT ); Tue, 13 Sep 2022 08:14:31 -0400 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD811E1F for ; Tue, 13 Sep 2022 05:14:28 -0700 (PDT) Received: by mail-wm1-x32c.google.com with SMTP id d12-20020a05600c34cc00b003a83d20812fso9386344wmq.1 for ; Tue, 13 Sep 2022 05:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=B7iT+oQq30oC0oSLQJw888zIvH4fncBMdo2JDHB2lvA=; b=OUDJ6XTzz3nxOeEUmEuwfHwDK9Zwi5DJPsJuXpzMkKgf/XgsNXuseY5rphebORxivq 6IeglrWFML4rT9BaHc+j9JgHDl7hirgxyRjJaFso+50lAjpxKiz1J/969oBRkMRHO5xP mujbY7f9XOuIJK9qGYrFk0uGHuAnkdmpSFy886nhRjv+8KRh4UZE5IxBvsPbrppssp7B O99jr2Ggd43kk5YbyTURuDXNMFqNefnYYMW0RuebruN9fXJ2xprzRXW34AiInsBjbWLY hm1NdFQMC9k94/NBdYtUT+HhdQhDNBZIPf5UE8zGsQi4vOJEhMrG6RqIOU3RVaQZlzUH a23w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=B7iT+oQq30oC0oSLQJw888zIvH4fncBMdo2JDHB2lvA=; b=0Kj3SzF/M5WeBqVtwiZ+kJ8dbb0HsJgZH6E0yzbt5AL4tFrzNw4m3TJLX/Fjmjlk+f UJSxjptS3UmOtyZpvKdf/P+sjaq7KtIqOqXn47hJj7EmMXPHUfdM8GyrQWQCm+ut2TkW lQIhKeZTTh+PqsvkDi0ROFcMB9gN6ljZ1RjDbjgJVt2/PyW70IS58TMKcn1YJVy/ulMD QY0T7/D13FR2H0Ll6q8KcYgrUOEv+tAwCfnSi/PDjSVxPfiLe3ULajM0kxi8+G3gI1XN 45Qh/V+9+dzstwdSNUcoaEBeE+YVeB8kg1BYTT/0DLkxkKbU20aOwP2NE1jU+ebZIPnK rbgA== X-Gm-Message-State: ACgBeo1JiuVc8rdpHVo7c8BD95FhcCK14BYC7LgBEtp+chm0bYzd+bOl oUbkMKqCX5XBAw+n7VpNoBsNrg== X-Google-Smtp-Source: AA6agR6jYsMQPv0E7C75YnpeWAaTVUlPh6qM5jvRT3/s2FgrrEMMciK7pORhVD/DwSiUUJNsM9cumA== X-Received: by 2002:a1c:7315:0:b0:3a5:ff61:4080 with SMTP id d21-20020a1c7315000000b003a5ff614080mr2191186wmb.196.1663071267110; Tue, 13 Sep 2022 05:14:27 -0700 (PDT) Received: from localhost.localdomain (192.201.68.85.rev.sfr.net. [85.68.201.192]) by smtp.gmail.com with ESMTPSA id p10-20020adf9d8a000000b00228634628f1sm10512230wre.110.2022.09.13.05.14.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Sep 2022 05:14:26 -0700 (PDT) From: Jerome Neanne To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, nm@ti.com, kristo@kernel.org, dmitry.torokhov@gmail.com, krzysztof.kozlowski+dt@linaro.org, catalin.marinas@arm.com, will@kernel.org, lee.jones@linaro.org, tony@atomide.com Cc: afd@ti.com, khilman@baylibre.com, narmstrong@baylibre.com, msp@baylibre.com, j-keerthy@ti.com, jneanne@baylibre.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 Subject: [PATCH v5 0/6] Add support for TI TPS65219 PMIC. Date: Tue, 13 Sep 2022 14:14:13 +0200 Message-Id: <20220913121419.15420-1-jneanne@baylibre.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi everyone, bindings and regulator are already there as it is based on the regulator tree branch for-6.1: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git Changes in v5: - Remove pm_power_off functionality as it is unused in ARM64 systems - Change mfd subject to prefixes matching subsystem Validation: regulator: tps65219: Fix .bypass_val_on setting reported by Axel Lin has been validated on board. Regards, Jerome Previous versions: v4 - https://lore.kernel.org/lkml/20220825150224.826258-1-msp@baylibre.com/ 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: tps65219: Add driver for TI TPS65219 PMIC 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 | 320 ++++++++++++++++++++++ include/linux/mfd/tps65219.h | 345 ++++++++++++++++++++++++ 10 files changed, 959 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