From patchwork Fri Oct 16 16:10:32 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: 11842043 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 1613361C for ; Fri, 16 Oct 2020 16:10:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E2C252158C for ; Fri, 16 Oct 2020 16:10:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="AMKPMNgD" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2409182AbgJPQKt (ORCPT ); Fri, 16 Oct 2020 12:10:49 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:40154 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2409117AbgJPQKs (ORCPT ); Fri, 16 Oct 2020 12:10:48 -0400 X-UUID: 3040316bce454d5583b021d34f7053ac-20201017 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=9872eUd94ykQQ/WVN7G32mKzzeWzwPylYLS7cG9NDQE=; b=AMKPMNgDuN1rL7kPyvAIAtlkGih9Q4Go0bLKQFsMCgGuzSzFh/S73/gTEOCR57PHqA8q+NHNYoWzg3qsFq6lTsJKDJiVL2/GEZnBqhBVS3xt/Twjpg5B2FSL5R6LdwK5ruBqLtVXdtGLpvEWVCm0CF2v5iX6NidV9G220GvrBgk=; X-UUID: 3040316bce454d5583b021d34f7053ac-20201017 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] 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 492432945; Sat, 17 Oct 2020 00:10:44 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 17 Oct 2020 00:10:42 +0800 Received: from mtksdaap41.mediatek.inc (172.21.77.4) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 17 Oct 2020 00:10:42 +0800 From: Hsin-Hsiung Wang To: Stephen Boyd , Rob Herring , Matthias Brugger CC: Hsin-Hsiung Wang , , , , , , Subject: [PATCH v4 0/2] Add SPMI support for Mediatek MT6873/8192 SoC IC Date: Sat, 17 Oct 2020 00:10:32 +0800 Message-ID: <1602864634-23489-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 v3: - update correct maintainer of the binding document. - modify debug messages in the mtk spmi probe function. - enable the sys clk and timer clk for spmi driver. Hsin-Hsiung Wang (2): dt-bindings: spmi: document binding for the Mediatek SPMI controller spmi: mediatek: Add support for MT6873/8192 .../bindings/spmi/mtk,spmi-mtk-pmif.yaml | 70 +++ drivers/spmi/Kconfig | 9 + drivers/spmi/Makefile | 1 + drivers/spmi/spmi-mtk-pmif.c | 490 ++++++++++++++++++ 4 files changed, 570 insertions(+) create mode 100644 Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml create mode 100644 drivers/spmi/spmi-mtk-pmif.c