From patchwork Fri Mar 17 06:09:12 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: 71086 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp170437wrt; Thu, 16 Mar 2023 23:13:35 -0700 (PDT) X-Google-Smtp-Source: AK7set9y9ytC8oT2OK0oPxGX8LX52gx1XSMODQ3CzTEtNuZ35Qd0ilkcSzx1Oixe/RXOG5WhXFsm X-Received: by 2002:a05:6a20:7f8c:b0:c7:af88:3dd8 with SMTP id d12-20020a056a207f8c00b000c7af883dd8mr8045126pzj.6.1679033615360; Thu, 16 Mar 2023 23:13:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679033615; cv=none; d=google.com; s=arc-20160816; b=rhJ5u4or1KzVE2Ys2ciqk0OKvnHIYFjh0zSxFKOheZAX59/unJ4o1KEFfcZPOBBkqy 070H5fTDImc1IQTdwH4mOJgqt4yCpqTkBzYNS25vnOFDjZOJSPTwyTYJPUOL1VnmXFsj pxFH0UzaIm19PJQFRXMSFGRfaTcgeezqPyXG5fdCaohqhthsk+WqxHqCfrUEWoFee6vv eMKIT6lVAQpimPXp8ZMoCa8hUmqQcTxBKHaZzonRzVH3EMOrj5nYuowejtTS4CK84H/9 CITJM0gWNb951ax0VSsBUpT57RAHRIsbpQHA3xaR/ynY6INVrL/LPRXuNTsDEf+Ivvhh 4mBg== 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=vSIdQNlIwbhUKBeOqFVEH3/Izvq0p5IJik0LftIoCUL01s9TnSxHOkdY0xx0yDN8YU X62y1mlFJo3Rk3n55piuVTFlCvkwCiHDsilkBN6m3iDa1hcJ0TswBSA/ARaaLvt2UwdC ed2dwd9ejibJkJZ4gnLvtMyh2wJknnFkKjqf+90s4a98v5cGJcn712Yp4YG0hhZNPE4b oQMdzLISyirjwiaeXnTt58s0gEiJ742ZnEFgtUJHpPDoocwDXQ7rk6YS/z8YxZ+oiE2b ZyBd0Nf+ifMrhpURUxkJvmYCnL2iu7Z9DXCSH4/E70zU6iE1MZVnqBYTer9BA3cmjUnb B6PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=k8iX5NtC; 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 24-20020a631658000000b004774a024588si1303251pgw.719.2023.03.16.23.13.22; Thu, 16 Mar 2023 23:13:35 -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=k8iX5NtC; 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 S229826AbjCQGJp (ORCPT + 99 others); Fri, 17 Mar 2023 02:09:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230025AbjCQGJb (ORCPT ); Fri, 17 Mar 2023 02:09:31 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB7A7298C5; Thu, 16 Mar 2023 23:09:27 -0700 (PDT) X-UUID: 4234d688c48a11ed91027fb02e0f1d65-20230317 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=k8iX5NtCPlveEu6rCAF5MdNEzEjLZ3eqyrFV2eJVl72OUUa2T93Z2+CgsQ7gcn9H78hIQCy0Z6dDMeicTASsDbfEb6oMVz7h2lVVdy0KNdEf5ckKidZ73Q2dttiCak6aq8f+PvZQBswlUGxSVENdghrCZlqDVaZg52lT0hSoxXg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.21,REQID:b665d4c6-34ce-4dc0-9713-570c0ab98857,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.21,REQID:b665d4c6-34ce-4dc0-9713-570c0ab98857,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:83295aa,CLOUDID:e7ac88b3-beed-4dfc-bd9c-e1b22fa6ccc4,B ulkID:2303171409229JZQCBC6,BulkQuantity:0,Recheck:0,SF:38|29|28|17|19|48,T C:nil,Content:0,EDM:-3,IP:nil,URL: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: 4234d688c48a11ed91027fb02e0f1d65-20230317 Received: from mtkmbs13n1.mediatek.inc [(172.21.101.193)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1379433381; Fri, 17 Mar 2023 14:09:21 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) 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, 17 Mar 2023 14:09:20 +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.1118.25 via Frontend Transport; Fri, 17 Mar 2023 14:09:19 +0800 From: Allen-KH Cheng To: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , AngeloGioacchino Del Regno CC: , , , , , , Allen-KH Cheng Subject: [PATCH v4 2/7] dt-bindings: spmi: spmi-mtk-pmif: Document mediatek,mt8195-spmi as fallback of mediatek,mt8186-spmi Date: Fri, 17 Mar 2023 14:09:12 +0800 Message-ID: <20230317060917.15175-3-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230317060917.15175-1-allen-kh.cheng@mediatek.com> References: <20230317060917.15175-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,URIBL_BLOCKED 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?1760594351976379183?= X-GMAIL-MSGID: =?utf-8?q?1760594351976379183?= 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