From patchwork Fri Jan 6 12:58:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 3663 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp809934wrt; Fri, 6 Jan 2023 05:00:08 -0800 (PST) X-Google-Smtp-Source: AMrXdXs1dY4LCKL/lP7rP+6EFen6+5phn46emvTtzExDSzEnTaFmTAraAKho5I3KdllWDuM3/U9E X-Received: by 2002:a05:6402:2b89:b0:46d:c288:e798 with SMTP id fj9-20020a0564022b8900b0046dc288e798mr15996112edb.21.1673010007854; Fri, 06 Jan 2023 05:00:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673010007; cv=none; d=google.com; s=arc-20160816; b=lPmmTSmylOnGFTPEQzJRcMzUBmt0kDUeajsRyFF106ZZqxMwkygziHqKFydke3beNL ts4rCDk+X9XJLf+xn4aLVdARdCopEtjz1+s+4PSQnbhHUDVJvy9kPe7zRy9GHH6cmooM D09njLI58JRtovJA8e/Y1LV4HCl//P+w+lktkOjD2Q3OhV2/uqoKcbA0r7juZ6RxXFpO tDGaNRSO8D29+hxkzLVSUDPBw3x6VssAPX3WJeauIOVnjIwEAY/4jEIrffBffnOwuB8P 5x6TrWd4hsWTbr+W94h0O3zGYEv+lt7YtOdNNT0FwUTHJr0kVZkg0rtN9hGpq/FDae8J KAMg== 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:cc:to:from; bh=4bxbG5TjhthXSqrOmR0rGsPIUtuDX+FrAXxbyC9lg60=; b=0DJKM4pAD831HYu1YUFTy/N4eD9s/xTNszlVVBkU2cjs3nNUViPFWDVCiC8DZ/LRQP 6e1Ypbq2wEWkeALGQXOp4o54Rk9EkPASaOIlT4oUw6zkL8lQFDMzCukS7oPeN11B+k3J O0+lZoUSd6gplufya5FbwLIPrpgsah2mA3E7JjWNzPni0hURRvqPxZ4awjEuyx4qgBJV S72QfEGEq22voSElly7ve81L+dxFMu/5iLYwP9NEob6l4utlWz4Fmy47jzykXe5PUe6c eiY1x9oZd9JkrKwnbM0yPIth2pheGwGxJxYQ2VVdI6ZX8ph4AVIpSSX/wtO55sD9+zdn BClw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b16-20020a056402279000b004619867344csi1831764ede.0.2023.01.06.04.59.42; Fri, 06 Jan 2023 05:00:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234223AbjAFM6p (ORCPT + 99 others); Fri, 6 Jan 2023 07:58:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234506AbjAFM62 (ORCPT ); Fri, 6 Jan 2023 07:58:28 -0500 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 820C86B59C; Fri, 6 Jan 2023 04:58:26 -0800 (PST) X-IronPort-AV: E=Sophos;i="5.96,305,1665414000"; d="scan'208";a="145413761" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 06 Jan 2023 21:58:25 +0900 Received: from mulinux.example.org (unknown [10.226.92.206]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 7A49B4254DA6; Fri, 6 Jan 2023 21:58:20 +0900 (JST) From: Fabrizio Castro To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Sebastian Reichel , Geert Uytterhoeven Cc: Fabrizio Castro , Lee Jones , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Chris Paterson , Biju Das , linux-renesas-soc@vger.kernel.org, Laurent Pinchart , Jacopo Mondi Subject: [PATCH v5 0/2] Driver support for RZ/V2M PWC Date: Fri, 6 Jan 2023 12:58:14 +0000 Message-Id: <20230106125816.10600-1-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, SPF_HELO_NONE,SPF_PASS autolearn=no 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754278142004430663?= X-GMAIL-MSGID: =?utf-8?q?1754278142004430663?= The PWC IP found in the RZ/V2M family of chips comes with the below capabilities: * external power supply on/off sequence generation * on/off signal generation for the LPDDR4 core power supply (LPVDD) * key input signals processing * general-purpose output pins Version 5 of this series fixes subject line and changelog of the dt-bindings patch. Thanks, Fab Fabrizio Castro (2): dt-bindings: soc: renesas: Add RZ/V2M PWC soc: renesas: Add PWC support for RZ/V2M .../soc/renesas/renesas,rzv2m-pwc.yaml | 56 +++++++ drivers/soc/renesas/Kconfig | 4 + drivers/soc/renesas/Makefile | 1 + drivers/soc/renesas/pwc-rzv2m.c | 141 ++++++++++++++++++ 4 files changed, 202 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/renesas/renesas,rzv2m-pwc.yaml create mode 100644 drivers/soc/renesas/pwc-rzv2m.c