Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2201714pxy; Mon, 2 Aug 2021 23:36:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7y5QZcoRK2+fbZve0Y2TTna/IUfVU7KgwkWJJbfzDBJZ7scSypBttVP2xevc1v1xd8xPD X-Received: by 2002:a17:906:7c6:: with SMTP id m6mr18918183ejc.456.1627972602892; Mon, 02 Aug 2021 23:36:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627972602; cv=none; d=google.com; s=arc-20160816; b=Wuh95aLcvbc9AT6B5KnfUpv3O7jHuM9h63uuN0azQmjQvKtTfPFlFgJi2uNROt30/H 5mC1Etl9vgN3kv87DTnFPv9STHU7kJGHfogHQH6JK1VK+FjbZ0RBve552bbyvLsQ1WKs wG5gnlnJx91VYQMp6IAb4nsmWdz80cT8FTEd3Vri7Qgs/nbi6nfNWj4LLELSubcU+3XS C57V+y7vsjKJf5tAG9ZUKIuR+8wj0uQcuuGoeGxdc2WNJj3UNux+VdjcItPmS8o0mAnc MWjetIfJBuUVeEtGXNcu25yGY+mUJPuKrc5aN48Og+whuG33jbOuXzo0EQ9/WbsU9MPo WQrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=ZGoSgQONErpJ8+dKB3X6tAj61VUl/e4OdsxYg7/xaVI=; b=i0IddrjxGBgdibgj/+BpZzl/NJBA86wGy78zQhg3M6cjgwIDY0vLJKi9mPEsR+hcSu BxhJzmeZAo9uX2QWsZ6fhaUGqTT/0GjMkvaQIMPFlDJ+l7JNyOeUgzxhhaa4XFOljtEt 8+46gIH79TxXWh7QlMV5uFSiWJcK2RScZWwcCFS3KTsQhObCtgCPSli5oULVr+dQi1G1 09I6c7aExR1dwGced143fGPXvpQQ5GH/Y4H/AFjxKGKoT+XgLu4OmdkY93RvHuvlFvp2 2JePq96Keop999u1PmaiOt2BE72mLLqxcbrXss/c8bCriaykl5GcMS9Y4+foWUguaB2/ s6zQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx23si11929487edb.19.2021.08.02.23.36.18; Mon, 02 Aug 2021 23:36:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234106AbhHCGer (ORCPT + 99 others); Tue, 3 Aug 2021 02:34:47 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:36300 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S234002AbhHCGel (ORCPT ); Tue, 3 Aug 2021 02:34:41 -0400 X-UUID: 811c8221bcfc4f44ac03b4e2ad2e9ba9-20210803 X-UUID: 811c8221bcfc4f44ac03b4e2ad2e9ba9-20210803 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1327903317; Tue, 03 Aug 2021 14:34:27 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 3 Aug 2021 14:34:26 +0800 Received: from mtksdaap41.mediatek.inc (172.21.77.4) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 3 Aug 2021 14:34:26 +0800 From: Hsin-Hsiung Wang To: Stephen Boyd , Rob Herring , Matthias Brugger CC: Hsin-Hsiung Wang , , , , , , Subject: [PATCH v10 0/5] Add SPMI support for Mediatek SoC IC Date: Tue, 3 Aug 2021 14:34:16 +0800 Message-ID: <1627972461-2627-1-git-send-email-hsin-hsiung.wang@mediatek.com> X-Mailer: git-send-email 2.6.4 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support for new SoC MT6873/MT8192/MT8195 to the spmi driver. This series is based on Chun-Jie's patches[1][2]. [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=521127 [2] https://patchwork.kernel.org/project/linux-mediatek/list/?series=521655 changes since v9: - rebase to v5.14-rc1. Henry Chen (1): spmi: mediatek: Add support for MT8195 Hsin-Hsiung Wang (4): dt-bindings: spmi: modify the constraint 'maxItems' to 'minItems' dt-bindings: spmi: document binding for the Mediatek SPMI controller spmi: mediatek: Add support for MT6873/8192 arm64: dts: mt8192: add spmi node .../bindings/spmi/mtk,spmi-mtk-pmif.yaml | 76 +++ .../devicetree/bindings/spmi/spmi.yaml | 2 +- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 17 + drivers/spmi/Kconfig | 10 + drivers/spmi/Makefile | 2 + drivers/spmi/spmi-mtk-pmif.c | 555 ++++++++++++++++++ 6 files changed, 661 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml create mode 100644 drivers/spmi/spmi-mtk-pmif.c base-commit: e73f0f0ee7541171d89f2e2491130c7771ba58d3 prerequisite-patch-id: 8e70d378642e084a14296dbaa2aa4e07c1d30563 prerequisite-patch-id: 82ced16215cdd31201c6146ddb5c30bc17525996 prerequisite-patch-id: 7f2137e77cfc439c2e4b4e4369a6d6b48fec1ece prerequisite-patch-id: 15f52bb664f0f0436627d056a53afefb0b99f67a prerequisite-patch-id: 479b44dfdc6d7b367c0d441d8635d2dc02466057 prerequisite-patch-id: 5df1858972e343d3750cdda1063655fc232eb831 prerequisite-patch-id: 7e63a29430f65c2a0d56d7353df884645d70ed8c prerequisite-patch-id: 2a6200e8a05329d51aaa4fd63aacfbba66d16177 prerequisite-patch-id: 604d2702c4217b77de3dc305ff08f630ba38fdb4 prerequisite-patch-id: d3ece2688dbd45eee248a8c6ba3206c0c673c904 prerequisite-patch-id: 1bebe1cd9b267c974cae50c3df8c0f8f4f0b0b3d prerequisite-patch-id: 3b34fe85667da5287bde9fd2378359be4a126266 prerequisite-patch-id: 5d3d139212ab304739b75f7638251703b95948d5 prerequisite-patch-id: 621291b21be177a63eaf6769aa6d2ee8ddb2ea2b prerequisite-patch-id: 024f786586b409420782d24218b15f05f6476667 prerequisite-patch-id: 946aae93303bde26226289dc389c94de96a9dacd prerequisite-patch-id: b3ddf6f2079c3c269bd24091243030a971c43cbc prerequisite-patch-id: 5c0e0308aa8eb06ca6df6f5467bc925f2cc106ad prerequisite-patch-id: d4e481acd8b970f08d3e4da9c8fc0ad6e1fff551 prerequisite-patch-id: 99db7309fbe1b9f73a07e25d5174db8976c77a2c prerequisite-patch-id: cffbc99e9e60f6db43cf7879f17e05c5b041d312 prerequisite-patch-id: 69871b871ab339881b50a2d6988173050b6c7a4f prerequisite-patch-id: 4f5900b98a0c7cbe62694f2477a6cb410187714b -- 2.18.0