Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1750613rdh; Sat, 25 Nov 2023 01:30:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFxO/JlHWYzIGLbhDAmAE7KsohbvzwLioAyVyFSZxZ99q03jNjAMjDNMiih0+56+tlrkCqf X-Received: by 2002:a05:6808:2222:b0:3b8:3830:a709 with SMTP id bd34-20020a056808222200b003b83830a709mr8221388oib.7.1700904659458; Sat, 25 Nov 2023 01:30:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700904659; cv=none; d=google.com; s=arc-20160816; b=j4VHM68P7QHd6w3tdX4Ghj6ZXYQbtyxi+dYeFegUQzVtc47oG31dAoPyzKGwqQkbLk 1+DsxG1V/zotvxPhmmz0JsZ+XPUpLvJiHTjVKRHt0PwWVdxlz9fyJC9Hy2INs+pkls9G o66dSIgjpgTnvQ/sG4cTj9eblnE7giMA2tkmANvy7vdXKjwqqpjTeqhmGhAy7/8XpmQA 7pIcseb+woenSkNTsMvwKo4s/0c+YhMW9aYyseEbIQQ5xGjD2hFRN6o8LbaUuOw8hSft q4ALod87kgmMlrWqLbUVUI6po65chWXvpZ4fVX9hOD7I9WQ9WEL3X1/tnimiPotAvlrv jYjQ== 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=+r12qniHT4Ms5YZoqOjsSo2/E4JMbDDRKicZBHRh7rM=; fh=ompBcuc9WZSkOT6I8Jb+H375/5cBcTGkrIOABj6b1VU=; b=nbFarFTyZVRbXc3xsMQ0VX3DExkSRx59bC+MA2QhXWuq+igLsUYVlM1YMCA1jERo2+ SHrPDkgsNxNhBxkQDhf9o9HNn+5/ocR4H04OZMPVHaBWqaE7ZKV2gEnDGSPaylT8vTE/ TyHFEWOOAdCUUIZ0CUJZ50HBpH1TAAxDlfa85G4dmfS/8kvqT4iHUfmJtbE6PgMB5L1N QJRXxqGys/tU14gxw9J5SebphHBkoGnOIf9uFCnBoA+CRP5cVEgXUy8o3p8IGOaqgHQt 0M4dTcCIvrelDFXb9A5GoEeEfcQmeUFAG+tw7g6DCGuu4VSAxiixi9P7zyixcFhPpkH2 5HpQ== 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:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id g4-20020a635204000000b005be1ee5c3f2si5330584pgb.289.2023.11.25.01.30.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 01:30:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id AFCD78070D4D; Sat, 25 Nov 2023 01:30:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231814AbjKYJ3u (ORCPT + 99 others); Sat, 25 Nov 2023 04:29:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbjKYJ3t (ORCPT ); Sat, 25 Nov 2023 04:29:49 -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 6F1CF10CA; Sat, 25 Nov 2023 01:29:53 -0800 (PST) Received: from p200301077700a9001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:107:7700:a900: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 1r6oyt-006foW-2h; Sat, 25 Nov 2023 10:29:43 +0100 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1r6oys-0004J6-0r; Sat, 25 Nov 2023 10:29:42 +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 0/6] mfd: twl: system-power-controller Date: Sat, 25 Nov 2023 10:29:32 +0100 Message-Id: <20231125092938.16535-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=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Sat, 25 Nov 2023 01:30:09 -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. 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 | 34 +++++++++++++++++++ drivers/mfd/twl4030-power.c | 3 ++ include/linux/mfd/twl.h | 1 + 7 files changed, 43 insertions(+), 1 deletion(-) -- 2.39.2