Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp447962rwl; Thu, 23 Mar 2023 19:16:10 -0700 (PDT) X-Google-Smtp-Source: AKy350aocm5e4OmJolRySpVLTkDE4S0gJQ92gGK8ff4pfGFTF8A1n75GqC2Xb5T8r4/Rg9TZXVx5 X-Received: by 2002:a17:906:d97:b0:8b1:2c37:ae97 with SMTP id m23-20020a1709060d9700b008b12c37ae97mr1009827eji.43.1679624170411; Thu, 23 Mar 2023 19:16:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679624170; cv=none; d=google.com; s=arc-20160816; b=w0FIf4NPgAzf7/g1BXDrA6ZdPQrLyer2B/2wewPaEC4A1NY9kNOkKltk+7eqGvFSsv MZt/9CadiR3spEmdFo41Pxxkk96KArDilxdOUYxBezCbAAKTvk7xoEzjpBS9/li3H+54 klQxUjloMuxVy/fiqYVrVPg++x9yoxQHCADiEHYxmj1CE0AVwZB1Y2oq/7CjYYUqjZk5 iOXQ3DsU/DqrhGF1tZskSQ4DsbQj8hCHs+h6CbsZNJ7WeK6UUxdYHCrDjIJkThXAuGLz mBVL5jH46f9RWFjEWzlyRusjxRZjY5qC/NfHPHdjZBbMSW2KeHpMxh77aryPHg8Zy8ji N5pw== 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=goIbo3K+z0Hxyibw+E8BXKuErUNw5ptKNsoK8dl9Ed0=; b=Atm7OoB9s8YWgr+xSuT9MTyJV2vDNW/D2dmQXf5Oj7DbK4McbCAJy/9lFkI64ucW4M o0RHBt+dXRYGQFxZQQwgEMsUz0C0KtjtDvZ2GTt3l+XnFjKfGDYywVnfPd7GJbxTaQnc WAukMhkkKB9UhHfO24AOkHcoqowhHkmzNwlDBnl0AXb7Nw7pHLqAyH2ch9nRRDEHZYyx Y8cdUGCerV0Xb7KdbK2e3EqRbl2QbzuPF98yM/N6Wh8qnl/CYUZg8QoWAkbXH3wobpkL 7JZxL0luXycWkbcyzP9qIWmod+I4o9PlPQoWhM6Ok42/+wl0Bp28MeMY2bHVHqAa79WQ quWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=hY2RahFM; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a5-20020a170906368500b008e0bd541c5asi18827408ejc.449.2023.03.23.19.15.46; Thu, 23 Mar 2023 19:16:10 -0700 (PDT) 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=hY2RahFM; 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 S231418AbjCXCN3 (ORCPT + 99 others); Thu, 23 Mar 2023 22:13:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229734AbjCXCNQ (ORCPT ); Thu, 23 Mar 2023 22:13:16 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67C9929438; Thu, 23 Mar 2023 19:13:14 -0700 (PDT) X-UUID: 67c26924c9e911edb6b9f13eb10bd0fe-20230324 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=goIbo3K+z0Hxyibw+E8BXKuErUNw5ptKNsoK8dl9Ed0=; b=hY2RahFM+Ou6GWobER9bSqDTYAdozPMPvM/HurM+L7sFoq0ru65UTjpsI01ZpdlQ87WzOKa4t65thl4iF2praNvb+H7zioAnv++5jI92nqhp85W0FOhJC8IU2vjZiNQplB68a5ZWD7LBRUBCrXKwz3k8mFIfe0KZPKslXaWqZCg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.22,REQID:e935a81b-0ba1-4a0f-b5e0-98d06a6b8589,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:120426c,CLOUDID:06455329-564d-42d9-9875-7c868ee415ec,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-UUID: 67c26924c9e911edb6b9f13eb10bd0fe-20230324 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 798975009; Fri, 24 Mar 2023 10:13:02 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Fri, 24 Mar 2023 10:13:01 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Fri, 24 Mar 2023 10:13:01 +0800 From: Allen-KH Cheng To: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , AngeloGioacchino Del Regno CC: , , , , , , Allen-KH Cheng Subject: [PATCH v5 2/6] dt-bindings: spmi: spmi-mtk-pmif: Document mediatek,mt8195-spmi as fallback of mediatek,mt8186-spmi Date: Fri, 24 Mar 2023 10:12:54 +0800 Message-ID: <20230324021258.15863-3-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230324021258.15863-1-allen-kh.cheng@mediatek.com> References: <20230324021258.15863-1-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,RDNS_NONE,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 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 Reviewed-by: AngeloGioacchino Del Regno Reviewed-by: Matthias Brugger --- .../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 -- 2.18.0