From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 69EE5C433EF for ; Tue, 26 Apr 2022 10:03:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:CC:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xO0eARGz320CS8mfQR/vWDKMgZJ8CGvTlLRmXl7mGbw=; b=bIwHEsgTlUSZpJ XL/F+44fKZtEN7UQDdyrDsi4pDs6b9CAO1VOmZOarA2BrLYKJ+T2AxMc4hYOHehIiHlMFs5UH4Xyd TBZlgSXbCQ379s7kAxIohBMaJWi4xus5AMFRTkNpGwwfKJnZpxZIaItf3UT6arJwTLPblNEwKfpma mTcE3RDTeiJrWS/h2SP2yjZvrAVpqcIB5WXQM7aZIljpPRC2ck/EZQEpRz5aDF9tJux4sRK2H1Sj1 sdQJcsbrAQ6K+QaUqgNsGc/KWglroWgOCG/5uVQpaRjjFAN4Lz+SJMexxngQSbV0ly39chniWSR7P 2CiDs4ElT+jAsKBMazng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njI2G-00DkJc-G0; Tue, 26 Apr 2022 10:03:08 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njI25-00DkIB-NX; Tue, 26 Apr 2022 10:02:59 +0000 X-UUID: 962d6ced3df6426c9db2d47fdc06ab10-20220426 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.4, REQID:86374a39-5dde-4529-8775-cfd5dd29ca1f, OB:0, LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:0 X-CID-META: VersionHash:faefae9, CLOUDID:d74bbf2e-6199-437e-8ab4-9920b4bc5b76, C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,File:nil,QS:0,BEC:nil X-UUID: 962d6ced3df6426c9db2d47fdc06ab10-20220426 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 849553343; Tue, 26 Apr 2022 03:02:44 -0700 Received: from mtkexhb02.mediatek.inc (172.21.101.103) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 26 Apr 2022 03:02:42 -0700 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkexhb02.mediatek.inc (172.21.101.103) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 26 Apr 2022 18:02:41 +0800 Received: from mtksdccf07 (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 26 Apr 2022 18:02:41 +0800 Message-ID: Subject: Re: [PATCH v2 1/1] dt-bindings: nvmem: mediatek: Convert mtk-efuse binding to YAML From: allen-kh.cheng To: Krzysztof Kozlowski , "Srinivas Kandagatla" , Matthias Brugger , Rob Herring , "Krzysztof Kozlowski" CC: Lala Lin , , , , , , Chen-Yu Tsai , Ryder Lee Date: Tue, 26 Apr 2022 18:02:41 +0800 In-Reply-To: <0169c4ac-fdce-29b7-553a-14dc7df532d1@linaro.org> References: <20220425084800.2021-1-allen-kh.cheng@mediatek.com> <20220425084800.2021-2-allen-kh.cheng@mediatek.com> <9d65b713e3ffdd34dcca532c4c97fa98b124bde4.camel@mediatek.com> <0169c4ac-fdce-29b7-553a-14dc7df532d1@linaro.org> X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220426_030257_817914_2732B774 X-CRM114-Status: GOOD ( 18.13 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Hi Krzysztof, On Tue, 2022-04-26 at 08:31 +0200, Krzysztof Kozlowski wrote: > On 26/04/2022 08:23, allen-kh.cheng wrote: > > > > +properties: > > > > + compatible: > > > > + oneOf: > > > > + - enum: > > > > + - mediatek,mt8173-efuse > > > > + - mediatek,efuse > > > > > > Still no changes... > > > > > > > I just want to confirm again. > > > > "Generic compatibles should not be used standalone" > > > > It seems we should remove mediatek,efuse and keep "mediatek,mt8173- > > efuse"in binding. have I got that right? > > You should comment for which chipsets this compatible is and add a > deprecated:true. In such case it cannot be part of enum but separate > item in this oneOf. > > > Best regards, > Krzysztof Thanks for your suggestions, I would plan to send PATCHs as below, We have a PATCH 01 for current accepted dts properties: compatible: oneOf: - enum: - mediatek,efuse - mediatek,mt8173-efuse description: Only mt8173-efuse with generic fallback should be used - items: - enum: - mediatek,mt7622-efuse ... - const: mediatek,efuse Then add PATCH 02 to deprecate it properties: compatible: oneOf: - enum: - mediatek,efuse - mediatek,mt8173-efuse deprecated: true description: The mediatek,efuse is a generic fallback for other Chipset. Do not use the single compatible such as mediatek,efuse or mediatek,mt8173-efuse. It is deprecated. - items: - enum: - mediatek,mt7622-efuse ... - const: mediatek,efuse PATCH 03 for 8173 update mt8173.dtsi change compatible from "mediatek,mt8173-efuse" to "mediatek,mt8173- efuse", "mediatek,efuse"; Do you think it'd be okay ? Best regards, Allen _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CCE63C433EF for ; Tue, 26 Apr 2022 10:04:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:CC:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Gqv+KlikC69/Up5lrQcioQh5I36EWAKZ3d0hr7xJ5Z4=; b=cjdU35jzYcy0d2 OoO7CAmk++bHJnTcJkq2Of54SqdRE5xKO0JFe/uE28TpKHVy0Njw4lZM+B4VZ5oQ07Kn/ac7t+366 OvETMzPybUp4jTo2ME07lhBBop5L/hEuDZfWJCXXDdFEuwY2HACHKae0ZaGoYnUR/8Lc4X/fGerLW WkFNYMT3LhpSGRLCuEoY15NO13PmLKydWEAfs91F5m2BaDzRbV488P7XB51Ro/XmXs896yyEn/orE Cg92iBTu63rGDIXR5sZPBnWCaUDnK12z/HiQardw/7kJ/Yf7l+3R4pHOhgbfgC/cnMGunBjvsaMpZ IYKqwEuj+pZTnsBxjRHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1njI28-00DkJ4-S5; Tue, 26 Apr 2022 10:03:00 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1njI25-00DkIB-NX; Tue, 26 Apr 2022 10:02:59 +0000 X-UUID: 962d6ced3df6426c9db2d47fdc06ab10-20220426 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.4, REQID:86374a39-5dde-4529-8775-cfd5dd29ca1f, OB:0, LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:0 X-CID-META: VersionHash:faefae9, CLOUDID:d74bbf2e-6199-437e-8ab4-9920b4bc5b76, C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,File:nil,QS:0,BEC:nil X-UUID: 962d6ced3df6426c9db2d47fdc06ab10-20220426 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 849553343; Tue, 26 Apr 2022 03:02:44 -0700 Received: from mtkexhb02.mediatek.inc (172.21.101.103) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 26 Apr 2022 03:02:42 -0700 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkexhb02.mediatek.inc (172.21.101.103) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 26 Apr 2022 18:02:41 +0800 Received: from mtksdccf07 (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 26 Apr 2022 18:02:41 +0800 Message-ID: Subject: Re: [PATCH v2 1/1] dt-bindings: nvmem: mediatek: Convert mtk-efuse binding to YAML From: allen-kh.cheng To: Krzysztof Kozlowski , "Srinivas Kandagatla" , Matthias Brugger , Rob Herring , "Krzysztof Kozlowski" CC: Lala Lin , , , , , , Chen-Yu Tsai , Ryder Lee Date: Tue, 26 Apr 2022 18:02:41 +0800 In-Reply-To: <0169c4ac-fdce-29b7-553a-14dc7df532d1@linaro.org> References: <20220425084800.2021-1-allen-kh.cheng@mediatek.com> <20220425084800.2021-2-allen-kh.cheng@mediatek.com> <9d65b713e3ffdd34dcca532c4c97fa98b124bde4.camel@mediatek.com> <0169c4ac-fdce-29b7-553a-14dc7df532d1@linaro.org> X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220426_030257_817914_2732B774 X-CRM114-Status: GOOD ( 18.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Krzysztof, On Tue, 2022-04-26 at 08:31 +0200, Krzysztof Kozlowski wrote: > On 26/04/2022 08:23, allen-kh.cheng wrote: > > > > +properties: > > > > + compatible: > > > > + oneOf: > > > > + - enum: > > > > + - mediatek,mt8173-efuse > > > > + - mediatek,efuse > > > > > > Still no changes... > > > > > > > I just want to confirm again. > > > > "Generic compatibles should not be used standalone" > > > > It seems we should remove mediatek,efuse and keep "mediatek,mt8173- > > efuse"in binding. have I got that right? > > You should comment for which chipsets this compatible is and add a > deprecated:true. In such case it cannot be part of enum but separate > item in this oneOf. > > > Best regards, > Krzysztof Thanks for your suggestions, I would plan to send PATCHs as below, We have a PATCH 01 for current accepted dts properties: compatible: oneOf: - enum: - mediatek,efuse - mediatek,mt8173-efuse description: Only mt8173-efuse with generic fallback should be used - items: - enum: - mediatek,mt7622-efuse ... - const: mediatek,efuse Then add PATCH 02 to deprecate it properties: compatible: oneOf: - enum: - mediatek,efuse - mediatek,mt8173-efuse deprecated: true description: The mediatek,efuse is a generic fallback for other Chipset. Do not use the single compatible such as mediatek,efuse or mediatek,mt8173-efuse. It is deprecated. - items: - enum: - mediatek,mt7622-efuse ... - const: mediatek,efuse PATCH 03 for 8173 update mt8173.dtsi change compatible from "mediatek,mt8173-efuse" to "mediatek,mt8173- efuse", "mediatek,efuse"; Do you think it'd be okay ? Best regards, Allen _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel