From patchwork Fri Aug 21 10:44:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Hsiung Wang X-Patchwork-Id: 11728959 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F1BE5913 for ; Fri, 21 Aug 2020 10:44:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DAAC0207DE for ; Fri, 21 Aug 2020 10:44:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="LOLqLiS3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728218AbgHUKop (ORCPT ); Fri, 21 Aug 2020 06:44:45 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:2578 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726975AbgHUKoo (ORCPT ); Fri, 21 Aug 2020 06:44:44 -0400 X-UUID: 164008a0783f4e10821064424e09b522-20200821 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=1ocOMg8R4JEk6eqea+2BARp3pSG4ncS6Ih6Dkjd7KG0=; b=LOLqLiS3N0VtayjcOaoKb1oaZErp16vUXl/4AunK6fLHt9DW7GOjgy/dy3MfeFPg5qMVj/KtODFiZfip7GbfIkPaANKQJ0F5wyp85gyEmruexnFLvPEn552lsRJmg2Uh5o4sncqBv+pLwfk4ASlnq2HxgN8KDd8neq6HnX6bucc=; X-UUID: 164008a0783f4e10821064424e09b522-20200821 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 941271437; Fri, 21 Aug 2020 18:44:41 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 21 Aug 2020 18:44:37 +0800 Received: from mtksdaap41.mediatek.inc (172.21.77.4) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 21 Aug 2020 18:44:38 +0800 From: Hsin-Hsiung Wang To: Stephen Boyd , Rob Herring , Matthias Brugger CC: Hsin-Hsiung Wang , , , , , , Subject: [PATCH v2 0/2] Add SPMI support for Mediatek MT6873/8192 SoC IC Date: Fri, 21 Aug 2020 18:44:35 +0800 Message-ID: <1598006677-7953-1-git-send-email-hsin-hsiung.wang@mediatek.com> X-Mailer: git-send-email 2.6.4 MIME-Version: 1.0 X-MTK: N Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This series adds support for new SoC MT6873/8192 to the spmi driver. changes since v1: - remove unused function. - fix correct coding style for debug message. - fix the build fail for the error return value. Hsin-Hsiung Wang (2): dt-bindings: spmi: document binding for the Mediatek SPMI controller spmi: mediatek: Add support for MT6873/8192 .../devicetree/bindings/spmi/spmi-mtk-pmif.txt | 33 ++ drivers/spmi/Kconfig | 9 + drivers/spmi/Makefile | 1 + drivers/spmi/spmi-mtk-pmif.c | 474 +++++++++++++++++++++ 4 files changed, 517 insertions(+) create mode 100644 Documentation/devicetree/bindings/spmi/spmi-mtk-pmif.txt create mode 100644 drivers/spmi/spmi-mtk-pmif.c