From patchwork Wed Jan 11 12:37:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen-KH Cheng X-Patchwork-Id: 41968 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3295364wrt; Wed, 11 Jan 2023 04:41:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXtzEyQDy1iEin9SuZli04BOmNPDRnHCK5CftHvJvikgCGm7QxPZwZBHD/6xB/Pq1ANcy2gg X-Received: by 2002:a17:90a:fb95:b0:227:23c3:5db1 with SMTP id cp21-20020a17090afb9500b0022723c35db1mr2332782pjb.47.1673440899218; Wed, 11 Jan 2023 04:41:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673440899; cv=none; d=google.com; s=arc-20160816; b=RUYewKxtAgQg8UtLSIoj283R8ZJW5zeGA477IZuVzbp/Uj1WYIFqmiHHVosaDn/39e olhBFEi997FPTNAY7orNuOIxvQPnj0WE9L3SJ/nwiWzzVjN+aOJX/Z3srJ73YjSHbpT3 Wf35+AgMCoDKTfKcofVE6+lnAFHtXS9EfsQbbSrqU/LzXM7LQasMEWDgQZj7CfzPksCU QA1NZIs4TJhVuAvDVJUyQC9abRkjNA+098oEyfr7lv2Oufj0ZtsSLoBjZzXkJtyq/i0F DY1XGPzdSHi1FNlxWT4U9yrDg5UCZ3cYiDOqcZPPJ2SnoMK6QZ7C9kNAbBWjaJPhEhLS TA+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=uCG4zYttmZUBQAK3IT9ABFmka0Q4FRHaDmf82O8hATU=; b=un8GkVLToJbt4znxg7nu7xAeWpnCrxP2GfRd/qVDLBrJmcMM1p198w9P1CErmIT8/e wd/1RM1qces4Lqa0XvnsqVAdLazsF6RIs05geKrS/HxDYChZKmmlSBKEBm/+xlknmJ7u FADxbStAn5xYSns7gCf+ymdZ6ZEi7HyPd67Ypz4YcessTVDBQjkbnJir+FbqzZ1KalOd DTwvqjmSZBVO4BNS3AnfFTOwCE5gyBiT5HiUoGPXym7DbcFwu8BIfcehzeugqec+mT32 BXRo6zNRrD6vKC+y0c3un6neqeij0D96Jk9KjJ1P2m+pQS1zvCrkzBqI8aeJsFlmG9nP g+iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=FKrG4tDz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id np2-20020a17090b4c4200b0021917840676si14376399pjb.31.2023.01.11.04.41.26; Wed, 11 Jan 2023 04:41:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=FKrG4tDz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232663AbjAKMhk (ORCPT + 99 others); Wed, 11 Jan 2023 07:37:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236064AbjAKMhY (ORCPT ); Wed, 11 Jan 2023 07:37:24 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED74521A2; Wed, 11 Jan 2023 04:37:22 -0800 (PST) X-UUID: ae8ae89c91ac11ed945fc101203acc17-20230111 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=uCG4zYttmZUBQAK3IT9ABFmka0Q4FRHaDmf82O8hATU=; b=FKrG4tDzLuJvP3GBknGnTt5gVD9gXOtUoZ5MWz0Z8HsIXgj1Ulah9/t7gT+h7R/dhX+WQoTAD0v+nID60VAHNW4jq94n5XXlfN5B2jNjDZthkZqpOJzaIflQQAG0aQwu/TAY0RQ4LCW77Ht1QuMgMardzMsueYld5X+M+I0/yV0=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.17,REQID:59415797-dd02-4abd-ac34-a9aac8473859,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:90 X-CID-INFO: VERSION:1.1.17,REQID:59415797-dd02-4abd-ac34-a9aac8473859,IP:0,URL :0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTIO N:quarantine,TS:90 X-CID-META: VersionHash:543e81c,CLOUDID:d12285f5-ff42-4fb0-b929-626456a83c14,B ulkID:230111203716X9C0JKEN,BulkQuantity:0,Recheck:0,SF:38|28|17|19|48,TC:n il,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OS I:0,OSA:0 X-CID-APTURL: Status:success,Category:nil,Trust:0,Unknown:0,Malicious:0 X-CID-BVR: 0 X-UUID: ae8ae89c91ac11ed945fc101203acc17-20230111 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 60869025; Wed, 11 Jan 2023 20:37:16 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 11 Jan 2023 20:37:15 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 11 Jan 2023 20:37:15 +0800 From: Allen-KH Cheng To: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Stephen Boyd , AngeloGioacchino Del Regno , CC: , , , , , , Allen-KH Cheng Subject: [PATCH 2/9] dt-bindings: spmi: spmi-mtk-pmif: Document mediatek,mt8195-spmi as fallback of mediatek,mt8186-spmi Date: Wed, 11 Jan 2023 20:37:04 +0800 Message-ID: <20230111123711.32020-3-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230111123711.32020-1-allen-kh.cheng@mediatek.com> References: <20230111123711.32020-1-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754729964393169979?= X-GMAIL-MSGID: =?utf-8?q?1754729964393169979?= The mt8186-spmi is used as compatible with mt8195-spmi on the MT8186, document this situation. Signed-off-by: Allen-KH Cheng Reviewed-by: Rob Herring --- .../devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml b/Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml index abcbbe13723f..e4f465abcfe9 100644 --- a/Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml +++ b/Documentation/devicetree/bindings/spmi/mtk,spmi-mtk-pmif.yaml @@ -18,9 +18,14 @@ allOf: properties: compatible: - enum: - - mediatek,mt6873-spmi - - mediatek,mt8195-spmi + oneOf: + - enum: + - mediatek,mt6873-spmi + - mediatek,mt8195-spmi + - items: + - enum: + - mediatek,mt8186-spmi + - const: mediatek,mt8195-spmi reg: maxItems: 2