From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E07DC10F14 for ; Thu, 3 Oct 2019 07:48:43 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 4333721D71 for ; Thu, 3 Oct 2019 07:48:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gp2cBAUa" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4333721D71 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject: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=GKheLgYyDD9BmnNsJI/K38ulJW9F+997NrV1X6aLIH8=; b=gp2cBAUazASvf6 yXOQxNfFpaszvnG6J39rXyBJcRBm6G2/ngjbaaEZQZ9LU93U5xPy6HeI1ojS0Nh1HhCnQUNuc3Qha GY41i/ljveE8Rx/2lW+snV3jmwmOS79aVN42CfRLW5Eod7nQnZE4qqyROmi0K1zkZp/RWnQXZGSkA 8tM5B8ZbDTvJCVWLkd4gYMaEiBkp72fXK6N9Zh2HDzCZ+7V8KEs5wDzbLvA8ohYNRCGqtP9K8++LG sVGOZxz//nNg3kF8sG1ijgzoGTx+dFO/6NQwZRmGy+skaUmJSPHoNwOKL7hTJmlMYdSxoEZ4gJVAX jtHvExIZQhbjuJHlvv3A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iFvqs-0003Ql-RK; Thu, 03 Oct 2019 07:48:42 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iFvqp-0003OE-S8; Thu, 03 Oct 2019 07:48:41 +0000 X-UUID: 5cd2c83c834a4ccca298875da8e19130-20191002 X-UUID: 5cd2c83c834a4ccca298875da8e19130-20191002 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 661549060; Wed, 02 Oct 2019 23:48:29 -0800 Received: from MTKMBS07N2.mediatek.inc (172.21.101.141) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 3 Oct 2019 00:48:29 -0700 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 3 Oct 2019 15:48:26 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 3 Oct 2019 15:48:27 +0800 From: Argus Lin To: Rob Herring , Mark Rutland , Matthias Brugger , Catalin Marinas , Will Deacon Subject: [PATCH 0/3] Pwrap: Mediatek pwrap driver for MT6779 Date: Thu, 3 Oct 2019 15:48:18 +0800 Message-ID: <1570088901-23211-1-git-send-email-argus.lin@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191003_004839_914587_3B163DFB X-CRM114-Status: UNSURE ( 8.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, argus.lin@mediatek.com, wsd_upstream@mediatek.com, Chenglin Xu , Sean Wang , linux-kernel@vger.kernel.org, henryc.chen@mediatek.com, flora.fu@mediatek.com, Christophe Jaillet , linux-mediatek@lists.infradead.org, Chen Zhong , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Here's version 1 of the patch series, include 3 patches: 1. Add compatible for MT6779 pwrap 2. Add pwrap driver for MT6779 SoCs. Keep PWRAP_HIPRIO_ARB_EN, PWRAP_WDT_UNIT, and PWRAP_WDT_SRC_EN value if it has initialized. When we enable interrupt flag, read current value then do logical OR opersion with wrp->master->int_en_all. 3. Add MT6359 support for MT6779 SoCs. Argus Lin (3): dt-bindings: pwrap: mediatek: add pwrap support for MT6779 soc: mediatek: pwrap: add pwrap driver for MT6779 SoCs soc: mediatek: pwrap: add support for MT6359 PMIC .../devicetree/bindings/soc/mediatek/pwrap.txt | 1 + drivers/soc/mediatek/mtk-pmic-wrap.c | 157 +++++++++++++++++++-- 2 files changed, 150 insertions(+), 8 deletions(-) -- 1.8.1.1.dirty _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel