From patchwork Thu Oct 15 12:59:06 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: 11839287 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 D6A6114B3 for ; Thu, 15 Oct 2020 12:59:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B07392225C for ; Thu, 15 Oct 2020 12:59:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="udZW8GqP" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727365AbgJOM7Q (ORCPT ); Thu, 15 Oct 2020 08:59:16 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:48002 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726121AbgJOM7Q (ORCPT ); Thu, 15 Oct 2020 08:59:16 -0400 X-UUID: 7ebbcc4d24df4cc0aaaaf8e598c67591-20201015 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=Vc9yRjmF6mmhFDNgrymdNyS1AdEmPVc2ANX+0u/1G8s=; b=udZW8GqPFWUf5n/3jNO410Wqip+96jfw2ogYtdb2FlBsa6UI8/yd+MjofnnYT4ppcOdQllT6qLAb79sgxiX8DxYhdj/JybYeIapXimowlH11ndOsZOfdnR1bSNo/QAKBDZ2kxjAMA33RBM93UnO/ChDzmFmrvqCBDFXaKWj0Hzk=; X-UUID: 7ebbcc4d24df4cc0aaaaf8e598c67591-20201015 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1949178758; Thu, 15 Oct 2020 20:59:11 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 15 Oct 2020 20:59:09 +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; Thu, 15 Oct 2020 20:59:09 +0800 From: Hsin-Hsiung Wang To: Stephen Boyd , Rob Herring , Matthias Brugger CC: Hsin-Hsiung Wang , , , , , , Subject: [PATCH v3 0/2] Add SPMI support for Mediatek MT6873/8192 SoC IC Date: Thu, 15 Oct 2020 20:59:06 +0800 Message-ID: <1602766748-25490-1-git-send-email-hsin-hsiung.wang@mediatek.com> X-Mailer: git-send-email 2.6.4 MIME-Version: 1.0 X-MTK: N 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 v2: - update binding document in DT schema format. Hsin-Hsiung Wang (2): dt-bindings: spmi: document binding for the Mediatek SPMI controller spmi: mediatek: Add support for MT6873/8192 .../bindings/spmi/spmi-mtk-pmif.yaml | 71 +++ drivers/spmi/Kconfig | 9 + drivers/spmi/Makefile | 1 + drivers/spmi/spmi-mtk-pmif.c | 474 ++++++++++++++++++ 4 files changed, 555 insertions(+) create mode 100644 Documentation/devicetree/bindings/spmi/spmi-mtk-pmif.yaml create mode 100644 drivers/spmi/spmi-mtk-pmif.c