Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5129179pxj; Wed, 26 May 2021 03:36:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx57FGXZHTPROVcsZ4EZOoYSnJ5Hic7gtWWCUjxlsW1WOILgL2X+TusE3G1WOPl65e4r+d1 X-Received: by 2002:a05:6e02:1d15:: with SMTP id i21mr26498656ila.2.1622025406442; Wed, 26 May 2021 03:36:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622025406; cv=none; d=google.com; s=arc-20160816; b=mfXhMX/e3dxjlDp0t4s3XLgWsrXm4khb0spS74yW0uyZIsWYreVzRUsN3uHu37CfAM VTQfkDn2tL851mIecJEjte2qpo7NWSaw7do//FWsI1vEOoVMdyeOSiu/QEYjsAd2dRJ9 Punl4ju3FbVWpsPSA3Tu6RMdv7HNiM4EYl8oNgthTh3NZQyU2xgmFUyn3HrhzYM1fXqA pu9cbJiby9tWQsnIgdk2smr+JHOABSuFVE30U/NS4rloaKCVqE5iGOk6WjktXYNhpQ6y /dtoaEp+KNnK7/P+MX9qQ9438KFtHG2i5Jel8fZTwW0z/ZW8C4ocITxMfr8l7W9qvNuN 3aUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=bSFvdd+1IUwJvBYiqliL1V3qyXdUFrVXn24iEp0tGKg=; b=yWdc6HOnLvrP8k4jsZ3xS/TsFUSB+6Lj/ofD7/07QtE1jZcesyT4cdAdCoXyx1hX1l jsZnSBI+BMpdCez0BZxy/kIAmTD836Sbgo1IzEVNB+Sv/69qGY6N4jvlhDxKAW1wC8KW +QAqvYzgz0KxynMWsZJYQ8mazSky5YK2d9/YhJizlsxS+2LrGyQaL1yNPR7nBqoyMZVR nfNPpTAVh77WoP5asfe08VBOfRZWFrw7HsUhjZg5n+KJCRcF6QOdmsVZf87/ZTOOqPEd JweUFimeghVFiXL/sDyaTfC+8CSPqW8bk5ZMoZY/Ionf7gFB1fIUPd9hSfeqttlsjM3D QWww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l10si20874945iow.11.2021.05.26.03.36.32; Wed, 26 May 2021 03:36:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233975AbhEZKhb (ORCPT + 99 others); Wed, 26 May 2021 06:37:31 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:59337 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S233899AbhEZKha (ORCPT ); Wed, 26 May 2021 06:37:30 -0400 X-UUID: 0696b82349f14e84aa5d27a93bfbb7c0-20210526 X-UUID: 0696b82349f14e84aa5d27a93bfbb7c0-20210526 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 844233518; Wed, 26 May 2021 18:35:57 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 26 May 2021 18:35:55 +0800 Received: from mtksdaap41.mediatek.inc (172.21.77.4) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 26 May 2021 18:35:55 +0800 From: Hsin-Hsiung Wang To: Stephen Boyd , Rob Herring , Matthias Brugger CC: Hsin-Hsiung Wang , , , , , , Subject: [PATCH v8 0/4] Add SPMI support for Mediatek MT6873/8192 SoC IC Date: Wed, 26 May 2021 18:35:40 +0800 Message-ID: <1622025344-31888-1-git-send-email-hsin-hsiung.wang@mediatek.com> X-Mailer: git-send-email 2.6.4 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support for new SoC MT6873/8192 to the spmi driver. This series is based on Chun-Jie's patches[1]. [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=488239 changes since v7: - rebase to Linux 5.13. Hsin-Hsiung Wang (4): dt-bindings: spmi: modify the constraint 'maxItems' to 'minItems' dt-bindings: spmi: document binding for the Mediatek SPMI controller spmi: mediatek: Add support for MT6873/8192 arm64: dts: mt8192: add spmi node .../bindings/spmi/mtk,spmi-mtk-pmif.yaml | 74 ++++ Documentation/devicetree/bindings/spmi/spmi.yaml | 2 +- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 17 + drivers/spmi/Kconfig | 10 + drivers/spmi/Makefile | 2 + drivers/spmi/spmi-mtk-pmif.c | 465 +++++++++++++++++++++ 6 files changed, 569 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.6.4