From patchwork Fri Nov 12 05:54:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Lo X-Patchwork-Id: 12692334 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 92756C433EF for ; Fri, 12 Nov 2021 05:55:33 +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 5440D60F70 for ; Fri, 12 Nov 2021 05:55:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5440D60F70 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=Q1fiwaidXhBpRlF9is4tSVFtYgwv6uhepzREhUD1EU0=; b=dc5yiP7YUFbcT4 jeWAvrD/2bfV2HgxZsS2RHAf9U2mDYiDrh11M88LYJCS8oPSeHTq8y3QpyithiCECoyR+fDOqG10Z TBcPOSPVgf+RdyMvOxaCA2fFa7c1KML0OoMijoVyt1kOu2aQemYe2tIFwBhpnpxrxihTYuXyPZHeq bXzegJ6lL2VSlfYDpkn56LLjYXgDtPD9/6sVpLU+2NAKVCp0a8epQ/mEsO89cva1IS+c+lo19jMJ6 pvrJjwknJp2DvlpUFso3m6UrdOBG7WH8QD3KJ4pvcCJ+K2EcCZHSSLu8Y32lKSDZ+c4igLentGU1/ o22msT4StfNwXhZot5FQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlPW5-009SOo-5M; Fri, 12 Nov 2021 05:54:25 +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 1mlPW1-009SM9-9o; Fri, 12 Nov 2021 05:54:23 +0000 X-UUID: 0baf11b119fe48508bc76c1d5d430370-20211111 X-UUID: 0baf11b119fe48508bc76c1d5d430370-20211111 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 1788890023; Thu, 11 Nov 2021 22:54:15 -0700 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 11 Nov 2021 21:54:14 -0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Fri, 12 Nov 2021 13:54:12 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 12 Nov 2021 13:54:12 +0800 From: James Lo To: Stephen Boyd , Rob Herring , Matthias Brugger CC: Hsin-Hsiung Wang , James Lo , , , , , , Subject: [RESEND, v14 0/3] Add SPMI support for Mediatek SoC IC Date: Fri, 12 Nov 2021 13:54:07 +0800 Message-ID: <20211112055410.21418-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-20211111_215421_379392_C313262A X-CRM114-Status: GOOD ( 11.89 ) 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 v14: - 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 - correct info of Acked-by in [1/3] 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