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: 12954964 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5668EC28D13 for ; Thu, 25 Aug 2022 15:03:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=DpYBtBSPAsYY/UujE/kWwqWPO8b3dPJWY8psd1tzUq4=; b=U5uemLt6W0/QVf jlsvqM4LnjbpmSMhUCoYkY3uiXYle9Fs0slh8W++dAelQRatGlMjM9cDX5ev8K1Vso5WNvoUTh7de nspuFvFMYhh/qWoEo3MwuFNNKsFxc7jQQ3DrSES+HdelpEj4kmmu4heq1be7rTUt3ZE2dOt+pEoKk qEfh3oJqhrWD8OrTyRLOjXBdsenOGgZ2I5nZPKE5bGJn+j27tQZjN3Ivkk4e7wE1HYpgWZxbAmN0q hmden770Oai4x6cjhwASGKb9cflwg8/GqXPVinn2cmSzy4wMM+vh/5kJ1VqdpCB5Ei+KvYJeiIIr6 upMtDSoq5C30e4WePKsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oRENS-00FV2W-GF; Thu, 25 Aug 2022 15:02:38 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oRENN-00FUzX-Md for linux-arm-kernel@lists.infradead.org; Thu, 25 Aug 2022 15:02:36 +0000 Received: by mail-ej1-x636.google.com with SMTP id d21so20761002eje.3 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=eWqOyUX2LmZORzcaDgQirVyXd94xYlwLqFJq3WlnTTJe6KKr6xLb0lr2YAQXe9Fv95 Psk6hrHGfjpa0FQCMdtuA2aPoQgfu5WlrI3QykGM9crFOdoNblvavuMAdJulK8z1Cmxr dMbidNu0P3dLGoQJjWye0wgkYe6YTVuiDYQVt2qzON1hf9oszps15Ft7mbzVHX5KCk7+ ccUvQOsu56OR0+50dmv2p/6auDzRa9IRNu3ujNTwBGkgnO0EvSyZ8WF327w0zjwCQysT UgNXx2dg3UEBL6O89GgWw/0L0PzI9L5UajmLPnnbHp6QJAf3BOpFHN29BoUTI/GRJcEE qvuQ== X-Gm-Message-State: ACgBeo003U9TYGfA2FrDVDwJnqxnJrQT1MuHpLS3VyAT5Rkxc5Yxx+Xq SLJdcOCvfigNpPEOrTd7Xn1BFA== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220825_080234_022484_5154E0CE X-CRM114-Status: GOOD ( 12.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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