Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2376099rdb; Sun, 3 Dec 2023 14:29:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsZzDFfcZpCHGQtBhhhw7JsCeKPDQ3/bnq2oa3bjp9/3Jykm6vR/FSbQbU152zY6SXaKNi X-Received: by 2002:a05:6871:8903:b0:1fb:75a:7793 with SMTP id ti3-20020a056871890300b001fb075a7793mr3710818oab.68.1701642571115; Sun, 03 Dec 2023 14:29:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701642571; cv=none; d=google.com; s=arc-20160816; b=CNHMqq90gwmfnOilSL39++7DtyHbhhaxNoVA4JH8LgviX0uZmac7FZmON/v7XajlAq 1JPtzY41ilRO87Lr1ywOM8prNodd8+7RSCiDoMi8q9dsPzTEhJXBdZmv0zGa+c1OXaKw rzlIp7m8T+Q+clW84EqNkycYwe3ce17cITPf1ljbTWDu52M/CBotrUWo9a1FY0UVSdrB Sy8tok6+M+4mkj6Sp60GzGO6a9qGcfjk82swxWL2I+s29cuRHK7H5y48vo1bSSyCRgEx /Macw8PdHvT357dRGCRNkXOe5zdEaQoyo//hwdzEEKAMfmJv1imAD3X3xrNlsRzHo1fH oYZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=mkuD/7K2o//rlKjkiQx3XIiI8nR39uf7oHTpA8i36VU=; fh=ompBcuc9WZSkOT6I8Jb+H375/5cBcTGkrIOABj6b1VU=; b=a5WZ+oe8dt/1WgyrePFvPzK8RrYh0tWJ+wB2mk8ytPu14MkmESqf1Xkhn2eO8fyY6E QnimWv276BHIQnxuz3NVI+38Nmz+chWWuniYNJx/whnelWPBp8I1tl6Ptjgd3LYF+TDT R6FY0j3X0zVpEpwUCN8i53BlghaRo2GCq6g7USMXF+J0K18kjSQK07Cqb+TDiaQW6KAk 7CkFVnTkir4WAiSfEz7IcXECKyjlxTVFRSbu0dalJcRSdVg6drXQzErfawkQaNURdsfS HnxsTKbe1uXxAzgdVmfLhn5m3Ruhf6fSynTgCfsPdJj/wx0xw6sNjKAtwJ2YR2Z3Y8pG U+iw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id v186-20020a632fc3000000b005bdd8af5a15si6676983pgv.668.2023.12.03.14.29.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 14:29:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E7EFB8092D8D; Sun, 3 Dec 2023 14:29:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234004AbjLCW3N (ORCPT + 99 others); Sun, 3 Dec 2023 17:29:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbjLCW3M (ORCPT ); Sun, 3 Dec 2023 17:29:12 -0500 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a02:c205:3004:2154::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7796D7; Sun, 3 Dec 2023 14:29:18 -0800 (PST) Received: from p200301077700c3001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:107:7700:c300:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r9uxZ-006zEB-Qi; Sun, 03 Dec 2023 23:29:09 +0100 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1r9uxY-001RXT-2W; Sun, 03 Dec 2023 23:29:08 +0100 From: Andreas Kemnade To: lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, bcousson@baylibre.com, tony@atomide.com, andreas@kemnade.info, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH v3 0/6] mfd: twl: system-power-controller Date: Sun, 3 Dec 2023 23:28:57 +0100 Message-Id: <20231203222903.343711-1-andreas@kemnade.info> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 03 Dec 2023 14:29:30 -0800 (PST) Add system-power-controller property in the bindings and the corresponding implementation and use it where appropriate. Not all cases are hit yet, there has probably to be a separate series after going through with a brush. Changes in v3: - twl-core: - remove repetitive verbose error messages - placed constants at top part of function - minor cleanups Changes in v2: - add A-By - fix compiler warning Andreas Kemnade (6): dt-bindings: mfd: ti,twl: Document system-power-controller twl-core: add power off implementation for twl603x ARM: dts: omap-embt2ws: system-power-controller for bt200 ARM: dts: omap4-panda-common: Enable powering off the device mfd: twl4030-power: accept standard property for power controller ARM: dts: omap: gta04: standardize system-power-controller .../devicetree/bindings/mfd/ti,twl.yaml | 2 ++ arch/arm/boot/dts/ti/omap/omap3-gta04.dtsi | 2 +- .../boot/dts/ti/omap/omap4-epson-embt2ws.dts | 1 + .../boot/dts/ti/omap/omap4-panda-common.dtsi | 1 + drivers/mfd/twl-core.c | 28 +++++++++++++++++++ drivers/mfd/twl4030-power.c | 3 ++ include/linux/mfd/twl.h | 1 + 7 files changed, 37 insertions(+), 1 deletion(-) -- 2.39.2