From patchwork Wed Sep 19 07:25:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Hsiung Wang X-Patchwork-Id: 10605411 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2A737112B for ; Wed, 19 Sep 2018 07:27:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 111C629221 for ; Wed, 19 Sep 2018 07:27:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 02E2F2B899; Wed, 19 Sep 2018 07:27:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A91F429221 for ; Wed, 19 Sep 2018 07:27:10 +0000 (UTC) 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=JZ69KQne+L/1h6MjkxOne0tEuHAP8Y2rQG1Y90I99PY=; b=NXC+N0UY880e8d BmpOZ8VZw80yUiaWiHaYDgIbRbfun654yM0rt/XH7sOOC1ag229jrX1nLA8Mv9BBYc0p2N2/3XAWQ e7ywZ521k524QYXY0EGeJiTbitt8Z/OWwDXaVVgpoqvsET5kj6W+EfHCsY8Ae090yysqXXGb2zZqs 7H6WZpDeTZWfv8sQr34JBwOUC6I47DYr2m36VNBmXxhDFdr/KdiFMicuj97NhzEBMW6uJ+D929u+w iHVuEIuOsvg/S0ZauofjkGHx+2HKsCCoGet80oP7CaSiqMyAPO8D+K/F2EA2WKNSNXNAfMLHhPyNq 3XvXaHfRjnqi8XRv23sA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2WtA-0002Ds-EB for patchwork-linux-mediatek@patchwork.kernel.org; Wed, 19 Sep 2018 07:27:08 +0000 Received: from [210.61.82.184] (helo=mailgw02.mediatek.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2Wt4-00029Y-P6 for linux-mediatek@lists.infradead.org; Wed, 19 Sep 2018 07:27:04 +0000 X-UUID: 6bffb2733e514f4295934c5835d8db84-20180919 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 559810318; Wed, 19 Sep 2018 15:26:45 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 19 Sep 2018 15:26:37 +0800 Received: from mtkslt302.mediatek.inc (10.21.14.115) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Wed, 19 Sep 2018 15:26:37 +0800 From: Hsin-Hsiung Wang To: , , Subject: [PATCH 0/4] Add PMIC wrapper support for Mediatek MT8183 SoC IC Date: Wed, 19 Sep 2018 15:25:57 +0800 Message-ID: <1537341961-20736-1-git-send-email-hsin-hsiung.wang@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-TM-SNTS-SMTP: D8AEE27DA121A4E19047BC153546DE5B92B1568C1BBCBE9E95AAE5CECC92FB202000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180919_002702_962995_5D849E6F X-CRM114-Status: UNSURE ( 9.00 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, srv_heupstream@mediatek.com, argus.lin@mediatek.com, chenglin.xu@mediatek.com, sean.wang@mediatek.com, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, chen.zhong@mediatek.com, Hsin-Hsiung Wang Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This series adds support for a new PMIC MT6358 and a new SoC MT8183 to the pmic-wrap driver. Hsin-Hsiung Wang (4): dt-bindings: mediatek: add compatible for mt8183 pwrap soc: mediatek: use group of bits for pwrap capability soc: mediatek: add mt8183 pwrap support arm64: dts: mediatek: add pwrap device node for mt8183 .../devicetree/bindings/soc/mediatek/pwrap.txt | 1 + arch/arm64/boot/dts/mediatek/mt8183.dtsi | 10 + drivers/soc/mediatek/mtk-pmic-wrap.c | 439 +++++++++++++++------ 3 files changed, 329 insertions(+), 121 deletions(-)