From patchwork Fri Mar 3 03:17:23 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: 63744 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp199541wrd; Thu, 2 Mar 2023 19:18:54 -0800 (PST) X-Google-Smtp-Source: AK7set+kCxQWWmfubaLIWqNGvqAQ8CMu/Y2RfpVbfS8xOldGngzeXGJg73e6PQ0PRVIv94oyCb7K X-Received: by 2002:a17:90a:d905:b0:234:190d:e649 with SMTP id c5-20020a17090ad90500b00234190de649mr98012pjv.19.1677813534402; Thu, 02 Mar 2023 19:18:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677813534; cv=none; d=google.com; s=arc-20160816; b=X+7s5wvXH2u6C9TYtsSz35CEijY/8kPWqnoqiF1ORaAgglVwYZUIT9qcdlD4Wjxy1s ZTQq7VJX0r6kqoXYFI8wuEhB/aY+cALqFuxfg8FBdwX5t5/r/zmVMsok0UmxJCCRIwFT Ddnz1Tf5u6+KUkQEckznHO781994xD3DW0mXBhjc0ggRldKSctbozfgTKJMhr4xtqQf5 ttZJWsxHl7olzka5l6m83tudvS6knmMr1CzZXGgkTZbSeQEdq4W53YstLIbkg/45om5U 4Aa4BbKReXvtoESqo5nlodabXEjPvbYcNTOo25/NNk0h7jWeoUuLHr6BvMpWI6orPtvG 66bg== 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=Wr1U8XF5hiGcGObnupoK7kKhKTksuOerDPFTA6vuNNRZnekn9oGyv8n/mN1tf2uBTe bmkDQsahZEWt/zym/tt53/ceQQ89yZ+MACMJXiUZALppH7xHK631WT01Xz14pw/7ZlF9 AUau20N1jIqITtuFQxkMCTuGlT4zUUp3Jn1XR+i5LhVbwLz2Zm6yvXjQjfE4i3DEGlnY PJTrtFzMW38H1wICVExE9r/SvSVYtvvRLwUXy1Fm9H/PU46kpw0dJs4ycjOPjBrkltPp 8ck6ogPdi9HejpSZDBnll6cToHDh9n/BXepLZTYdRb9vALmOqDZvVx3hkYs6H5hl2Shp mAwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=e59GAwr3; 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 gt12-20020a17090af2cc00b00233b40ad95dsi1037722pjb.177.2023.03.02.19.18.40; Thu, 02 Mar 2023 19:18:54 -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=e59GAwr3; 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 S229880AbjCCDRu (ORCPT + 99 others); Thu, 2 Mar 2023 22:17:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229683AbjCCDRl (ORCPT ); Thu, 2 Mar 2023 22:17:41 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2612A559FE; Thu, 2 Mar 2023 19:17:38 -0800 (PST) X-UUID: efad2546b97111eda06fc9ecc4dadd91-20230303 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=e59GAwr38Nq1UMxqMDZxJ1W4CsYm8OhyQKemCA9UQbi1QULp1a9iIMahrGKw2IJCa9gCec5I2oIREKJEOMmJ/THN7HRcfROQgNJtmGaMKPG/wPhOEXqbIAY6Y2YL0O2+bIogljX7tAuru+uIVmHiGmH5tZ7EBNsYxe26XBHjRwo=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.20,REQID:5cbcafbb-1802-4667-98af-7e0c96051735,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:25b5999,CLOUDID:5b4511b2-beed-4dfc-bd9c-e1b22fa6ccc4,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-UUID: efad2546b97111eda06fc9ecc4dadd91-20230303 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1652429466; Fri, 03 Mar 2023 11:17:32 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.186) 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, 3 Mar 2023 11:17:30 +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, 3 Mar 2023 11:17:30 +0800 From: Allen-KH Cheng To: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , AngeloGioacchino Del Regno CC: , , , , , , Allen-KH Cheng Subject: [PATCH v3 2/7] dt-bindings: spmi: spmi-mtk-pmif: Document mediatek,mt8195-spmi as fallback of mediatek,mt8186-spmi Date: Fri, 3 Mar 2023 11:17:23 +0800 Message-ID: <20230303031728.24251-3-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230303031728.24251-1-allen-kh.cheng@mediatek.com> References: <20230303031728.24251-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?1759315004606173361?= X-GMAIL-MSGID: =?utf-8?q?1759315004606173361?= 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