From patchwork Thu Nov 11 04:53:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Lo X-Patchwork-Id: 12692272 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EB6EC433EF for ; Thu, 11 Nov 2021 04:55:31 +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 491B46124D for ; Thu, 11 Nov 2021 04:55:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 491B46124D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=tJmx7+rdTPFjAvBhlqtTK1cg37GNRYflo9bKi8tfnBQ=; b=QMApWglViqTsRq KY7DK6UamRd8fVzbymPJ1sl9WZ8OsEqo9dnEqiUzGqw+/MAQTiPHWOK5JkXPsDd7Zbb8sGgZ/6SPy k+wEI5RKkya/1dahvWoCxn3Z3Z1EVA1NPiSKSv4SHqpDAWZnSP66FUFMfg0hspdwwRMcs8JxGfYk9 2AG0OT6PJSiqPuBvS8b3zYLXF4RQIRSYqgZZH0v6LB3gmPHvfBYYl5PtJ+NE3YiJegCpGTMKeukT9 0ewEtTSxUuD8JMpHQbolA7nVS5ATRGAdeAth+Sco0+pix67ZIVhPlzqYtbz+6iN9nZ6jHV1k+IFEH RY7kPvDI9zj3EFCij6dw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ml26U-007Dsc-Cv; Thu, 11 Nov 2021 04:54:26 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ml262-007DgM-1h; Thu, 11 Nov 2021 04:54:01 +0000 X-UUID: 1d585d1e2f4c417cb790428b6b6703a8-20211110 X-UUID: 1d585d1e2f4c417cb790428b6b6703a8-20211110 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1618031120; Wed, 10 Nov 2021 21:53:50 -0700 Received: from mtkmbs10n2.mediatek.inc (172.21.101.183) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 10 Nov 2021 20:53:48 -0800 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.3; Thu, 11 Nov 2021 12:53:47 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs10n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Thu, 11 Nov 2021 12:53:47 +0800 From: James Lo To: Stephen Boyd , Rob Herring , Matthias Brugger CC: Hsin-Hsiung Wang , James Lo , , , , , , Subject: [PATCH v14 0/3] Add SPMI support for Mediatek SoC IC Date: Thu, 11 Nov 2021 12:53:41 +0800 Message-ID: <20211111045344.11664-1-james.lo@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211110_205358_124094_097FF651 X-CRM114-Status: GOOD ( 12.67 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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]. [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=521655 changes since v13: - rebase to v5.15-rc1. - merge two patch(1,2) to one patch(1) to fix yaml error patch 1. dt-bindings: spmi: modify the constraint of reg property patch 2. dt-bindings: spmi: document binding for the Mediatek SPMI controller James Lo (3): dt-bindings: spmi: modify the constraint of reg property spmi: mediatek: Add support for MT6873/8192 spmi: mediatek: Add support for MT8195 Henry Chen (1): spmi: mediatek: Add support for MT8195 Hsin-Hsiung Wang (3): dt-bindings: spmi: modify the constraint of reg property dt-bindings: spmi: document binding for the Mediatek SPMI controller spmi: mediatek: Add support for MT6873/8192 .../bindings/spmi/mtk,spmi-mtk-pmif.yaml | 76 +++ .../devicetree/bindings/spmi/spmi.yaml | 3 +- drivers/spmi/Kconfig | 11 + drivers/spmi/Makefile | 1 + drivers/spmi/spmi-mtk-pmif.c | 542 ++++++++++++++++++ 5 files changed, 632 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml create mode 100644 drivers/spmi/spmi-mtk-pmif.c --- 2.18.0