Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3433989rdh; Mon, 27 Nov 2023 14:22:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IFpD+n7I/njKYXuP8QQanOz4DOIng4hvwJMR8x9PBKlRPJX+LH/mQT2oEcp7mWV1raWbbPk X-Received: by 2002:a05:6a00:1c9c:b0:6cb:b87d:8986 with SMTP id y28-20020a056a001c9c00b006cbb87d8986mr16332262pfw.8.1701123759739; Mon, 27 Nov 2023 14:22:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701123759; cv=none; d=google.com; s=arc-20160816; b=Mw4pvC212Z3XvyjU6JeMb++IIc6o90DyALB614z1FvbWS/E/pQrjutYgecTCbEVj/3 oYV7aVoq/zdXL25nx1KRmZkeP66SkKU8fcaSKpbubi/eWXrss/hGWZYpDB9pHjkT7bkJ Bq6hy4PrmuqwNQBAVt8MCnech3Qibtvb8QZfp8B3Y/iextuIOtzPDeWG71H49ceZQJQz 9az/TIgPkRVILouSUzVO80SkUhxuCHJB4ZCVuUNbjWdgteNYPhAOj2YhGV7uLAnwz5D3 ICzKhosbvUE+svkt7OhpiR42m4AayJeXHA/9BVViPitEOBzbpSEh7moaXGbDf1HnZlHV pqFg== 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=AYKk2eGzZWHY6NGv+NoigeRB1di2MRozd+Frvs0c1Uo=; fh=ompBcuc9WZSkOT6I8Jb+H375/5cBcTGkrIOABj6b1VU=; b=NggTCehi8cZqGaom+Qwhs8+1a6EkRRQPAbMw8waNuqMjnrCh9Dt/2NdIcYN/IJpSxj 2X2PFKuq9GcBnQbE9RgD0K6Y1MzCzLYgztNzWc2kBv5syDxxVsfLEVE2pB4+dIr56SSa Cs+go+GwuAoEyMwLsAU+HWcoyMwI77RuOEx5EHuwPnKSmIkBGhPScs+/BpjjodiHq9QE 8Itc+ukaTywuenR3Qr9vruWmfSQQIr6c2KghN/kvLQAZGMNdsn0mQRaZ2uiC/QyKADgC s1y1kRBGA3CXLgi987sk4+c3g6lCEheYPcy7SlyzD9/i8ScYwYRQutBDr6nsY0H5dSmn YWgw== 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:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id w1-20020a626201000000b006cb901a8775si9829965pfb.396.2023.11.27.14.22.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 14:22:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id C1D2A810DEE2; Mon, 27 Nov 2023 14:22:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234360AbjK0WWU (ORCPT + 99 others); Mon, 27 Nov 2023 17:22:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233816AbjK0WWI (ORCPT ); Mon, 27 Nov 2023 17:22:08 -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 5B96E4C15; Mon, 27 Nov 2023 14:19:21 -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 1r7jwg-006mxq-1Q; Mon, 27 Nov 2023 23:19:14 +0100 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1r7jwf-000kAN-2L; Mon, 27 Nov 2023 23:19:13 +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 v2 0/6] mfd: twl: system-power-controller Date: Mon, 27 Nov 2023 23:19:01 +0100 Message-Id: <20231127221907.177442-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 morse.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 (morse.vger.email [0.0.0.0]); Mon, 27 Nov 2023 14:22:33 -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 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 | 34 +++++++++++++++++++ drivers/mfd/twl4030-power.c | 3 ++ include/linux/mfd/twl.h | 1 + 7 files changed, 43 insertions(+), 1 deletion(-) -- 2.39.2