Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6205909rwb; Wed, 18 Jan 2023 02:28:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXuSbZS5PR5vQjuDGuBIaGBmv6zMdTTsKytHsgCRaX5ZnU/WygyXgxbI+HtDW+8KAi9UpX+C X-Received: by 2002:a17:90b:234d:b0:225:a8f2:fa38 with SMTP id ms13-20020a17090b234d00b00225a8f2fa38mr6899891pjb.21.1674037720386; Wed, 18 Jan 2023 02:28:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674037720; cv=none; d=google.com; s=arc-20160816; b=GTQ0B6yD3gn01IgfqdePhEcQKQ73qJ48f0KC6JL83xv+nuaLXqAPSY87t/K3r7TcKx Yd+/1ueoAvFJuOB+tfHVlxWW4J4A7CbxuYwKoK3KFpTyjJdbJA2BdlsU/b81QQjlK+Jv LaLmh93sue/Ihe89yRQ5fH/cGtxy56CaELmZyPrb3RBCbdn5iwJ2/6IBq3deNQoFsMn2 0ZB24FvJBPiGt+APbFh3X317kgmbP98sVEJpDFMntTVNvKJlcNl5zIG/a/jHbuVgMLgZ hpo8lD7g2BBgO9/370HdQNkM03Cx2+NsS+1tqf0A0jwC9jSUsYmDgu48zpR3ryHOmaPD KjRw== 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=k6F8ZBfA0j0HVSsAwpNWuoJ5XuqDmmUT1gNWbpuIfks=; b=Xh1GBGeduzehVYsdEJxyz10pBr7gvFgnRJ+KCQP1bS2uq1xO/tUw/5/2k4RuY2IwE2 psQJuT7XBn1bBMH0orlh8wes0zi1Nbb8XjJ1CGsVh08Q8ExOQv5KiQTAYE6gn19o4ZHg A15tUaLKSV1yGH/5dzCxfu53vtgEnzvPE1KX9P6uwvtBFI2XtoArwxtqP0aVnpPAPMvt NXDPEOramYoQaEERHJtp73CjN+buTFur6dj8ljwOSSK5EnoO87W7Uw+uLnFDNjzWajII f/7h6egAf4rfA0fNgyHNsL83q+nftIX/M9ih0L8sxD01EXP1gjcO06qA7PLGyOiWJlbn 7TWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="l57v/tbi"; 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 pq13-20020a17090b3d8d00b00219d1f4b86fsi1774855pjb.117.2023.01.18.02.28.34; Wed, 18 Jan 2023 02:28:40 -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="l57v/tbi"; 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 S230242AbjARKMW (ORCPT + 45 others); Wed, 18 Jan 2023 05:12:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230077AbjARKLY (ORCPT ); Wed, 18 Jan 2023 05:11:24 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 496DA9AAAD; Wed, 18 Jan 2023 01:18:37 -0800 (PST) X-UUID: 14841682971111eda06fc9ecc4dadd91-20230118 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=k6F8ZBfA0j0HVSsAwpNWuoJ5XuqDmmUT1gNWbpuIfks=; b=l57v/tbiiFo/q7jfYzsoeipvjG4IKw+TjJSOKICHVFzD9FpSl2qb/NLvu5JdNIcVcdSQCqOeqBvaDiwlnleINkkYGPOI1fQrtoTVvor+gxcT4ozLUoi8dt+QFTFJ6xiujHZIoFRsQi4AAL23dk+a0B+OScaqHEFFiZqG6F5ogqE=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.18,REQID:8e61101d-5fbd-4533-8946-1f359bfdbd3a,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:3ca2d6b,CLOUDID:b81a2af6-ff42-4fb0-b929-626456a83c14,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 X-CID-BVR: 0 X-UUID: 14841682971111eda06fc9ecc4dadd91-20230118 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 271643770; Wed, 18 Jan 2023 17:18:33 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 18 Jan 2023 17:18:31 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Wed, 18 Jan 2023 17:18:31 +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 v2 2/9] dt-bindings: spmi: spmi-mtk-pmif: Document mediatek,mt8195-spmi as fallback of mediatek,mt8186-spmi Date: Wed, 18 Jan 2023 17:18:22 +0800 Message-ID: <20230118091829.755-3-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230118091829.755-1-allen-kh.cheng@mediatek.com> References: <20230118091829.755-1-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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, T_SPF_TEMPERROR,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 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 -- 2.18.0