From patchwork Fri Mar 12 15:34:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Hsiung Wang X-Patchwork-Id: 12134941 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=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 51F48C433DB for ; Fri, 12 Mar 2021 15:38:17 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 F0E9965004 for ; Fri, 12 Mar 2021 15:38:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F0E9965004 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-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC: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=KGiAZJ5ZSAZyTXW5zvRNzTGtNvMWhwYK1mn81b7JRW4=; b=T2R4TOdGz2nmZN36Y0lb8mzrG/ TXywhn5RJuDIE2l05qXbWIxGWMfJf9XDLNQ1Xk9xW/25tl0Ef2r6Yu5uo1m7Zu6jNkY5RSQLOmiCH u6barGlh+fwHoflcS0mpAMvfLmWqLMtUiw4DQYKz2DLYYonovlAbar0Va9lO+s/2hJ0+n/aI/i2Tl XbXSM33oujJzBBfZCAlkf+HDnaAIWM9AWpmQcLDTmtJgFLfVcGxOWY4hzn0pJwsGmr8Z9et/aqssP cOI8+EXXLZrL/tj+uOJTF4RYDINh75hL9XOpGGM91AUcVgO5tpcIzb6WWOEgtd9Cj36sB+ojNDUzv cdCNOzrA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lKjrb-00BozT-2l; Fri, 12 Mar 2021 15:38:07 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lKjod-00BoPR-Ma; Fri, 12 Mar 2021 15:35:10 +0000 X-UUID: 771d5d249ee142fb810658a918610f83-20210312 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=zAwEpTVZ15kwqHIktSohHGH56Yhk/bfsSDL7Ddy8VJI=; b=D+qaf0ZXubdiM0UHGGtiZ9p+8vfn1avz0Qy2940TQrwNadVCFXcLvYhx2KlaYUEPcJVRzPA5E+Ih0LZlahjVXSbkZaTASbFV/qRmvVAIX+7P4nSbOkHSEMCr2cm7a4Jj3O/cD82lWq524zH/LPQCwmQNhZyNMCQHWdj3O1s1VYk=; X-UUID: 771d5d249ee142fb810658a918610f83-20210312 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2086382315; Fri, 12 Mar 2021 07:34:55 -0800 Received: from mtkmbs05n1.mediatek.inc (172.21.101.15) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 12 Mar 2021 07:34:53 -0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 12 Mar 2021 23:34:51 +0800 Received: from mtksdaap41.mediatek.inc (172.21.77.4) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 12 Mar 2021 23:34:51 +0800 From: Hsin-Hsiung Wang To: Rob Herring , Matthias Brugger , CC: Hsin-Hsiung Wang , , , , , , Subject: [PATCH v6 0/5] Add PMIC wrapper support for Mediatek MT6873/8192 SoC IC Date: Fri, 12 Mar 2021 23:34:41 +0800 Message-ID: <1615563286-22126-1-git-send-email-hsin-hsiung.wang@mediatek.com> X-Mailer: git-send-email 2.6.4 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210312_153505_737024_C912EF6F X-CRM114-Status: GOOD ( 10.06 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org This series adds support for new SoC MT6873/8192 to the pmic-wrap driver. This series is based on Weiyi's patches[1]. [1] https://patchwork.kernel.org/project/linux-mediatek/patch/1608642587-15634-7-git-send-email-weiyi.lu@mediatek.com/ changes since v5: - rebase to Linux 5.12 Hsin-Hsiung Wang (5): soc: mediatek: pwrap: use BIT() macro soc: mediatek: pwrap: add arbiter capability dt-bindings: mediatek: add compatible for MT6873/8192 pwrap soc: mediatek: pwrap: add pwrap driver for MT6873/8192 SoCs arm64: dts: mt8192: add pwrap node .../bindings/soc/mediatek/pwrap.txt | 1 + arch/arm64/boot/dts/mediatek/mt8192.dtsi | 12 +++ drivers/soc/mediatek/mtk-pmic-wrap.c | 97 ++++++++++++++++--- 3 files changed, 95 insertions(+), 15 deletions(-)