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 841A8C433F5 for ; Mon, 2 May 2022 08:03:46 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oXHpRYugtjLhspLnHVsuJkZ1GPXrertTIepIml3VAdo=; b=d9nrJ4fl8V/3Ru Qfixre/4d5IvPho8geDZEQ0gi9ls8yHYCKG2KlQqqICYwX5aeG4SbOKLZUsky7TtJac/1rRmjtsfQ 3yjfLUBmU+EneI9SGHlcNcYvO7UZO/Kloxu1Ybr5lTMSDjkiQ151EXpD9ua4WQlGNBDPughAzLQhf 9pjNpdmv+PnMfQdL6QU4lFMPTuFsG99t3OalDRw/++xIVtn8ZxkgBInIfvtbU1Iag9s6J1J/CwI0Y 1TPbVTxZlMKFx26FgNyIbWHFPwdp1XN2nOim6T2nK/ACd9EYPAVIpGmlVDlqqMBK55tZQkIUu+UL+ NSbof/KGshH3ZMA52ytg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nlR0i-000ENe-5i; Mon, 02 May 2022 08:02:24 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nlR0Z-000EMH-OF for linux-arm-kernel@lists.infradead.org; Mon, 02 May 2022 08:02:22 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 241LoNtB030224; Mon, 2 May 2022 10:01:55 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=tj8rMg2anSNrkXmaoqsySNf92r1jyTKtJTMppRQhTPU=; b=WF0I5L2w7456WlL4ftWLf7Ckx4EjnJ2VqbJv35SoHQ4ztlxr0uu5OdKuX0KwkRZ9XnwO 6vhubTjHQveRxmNogvQNdpvYGf8M8DMGr8BnUSfkTDp+QtOk4vMwQsAU8IFuNn04Vc0S n/LXvc+Gv2ZXGK8XYJtZBxmR2k9g69hYRBrVrUg+NTSDcJO69OkYr0ZxroEr2ja954oi R7tPKqG614Li60kDqBswSrlMJ8rHm9a2+0LzWDt6IygNq3SfI3xa5EZAR9TGSAPtp52D PTax4AOKatXXDkfW5qSswybnlVAoVHBGwM6HEXvDKIlVWJMl/NYjkevYyHdqk+GNWIW+ Gw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3frt88fxsr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 02 May 2022 10:01:55 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B641710002A; Mon, 2 May 2022 10:01:53 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id ACB02212FBF; Mon, 2 May 2022 10:01:53 +0200 (CEST) Received: from [10.201.21.93] (10.75.127.44) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.20; Mon, 2 May 2022 10:01:53 +0200 Message-ID: <0018dfe2-8279-fbdb-1c99-7c73570e2000@foss.st.com> Date: Mon, 2 May 2022 10:01:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 1/2] dt-bindings: arm: stm32: narrow DH STM32MP1 SoM boards Content-Language: en-US To: Krzysztof Kozlowski , Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , , , , CC: Oleksij Rempel References: <20220425140436.332467-1-krzysztof.kozlowski@linaro.org> From: Alexandre TORGUE In-Reply-To: <20220425140436.332467-1-krzysztof.kozlowski@linaro.org> X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG2NODE2.st.com (10.75.127.5) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-02_02,2022-04-28_01,2022-02-23_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220502_010221_037311_75AA0763 X-CRM114-Status: GOOD ( 15.84 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi krzysztof On 4/25/22 16:04, Krzysztof Kozlowski wrote: > The bindings for DH STM32MP1 SoM boards allows invalid combinations, > e.g. st,stm32mp153 SoC on a dh,stm32mp157c-dhcom-som SoM. > > Split the enums to properly match valid setups. > > Signed-off-by: Krzysztof Kozlowski > --- > .../devicetree/bindings/arm/stm32/stm32.yaml | 37 +++++++++++-------- > 1 file changed, 22 insertions(+), 15 deletions(-) > > diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml > index fa0a1b84122e..2f83f2760e6a 100644 > --- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml > +++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml > @@ -14,21 +14,6 @@ properties: > const: "/" > compatible: > oneOf: > - - description: DH STM32MP1 SoM based Boards > - items: > - - enum: > - - arrow,stm32mp157a-avenger96 # Avenger96 > - - dh,stm32mp153c-dhcom-drc02 > - - dh,stm32mp157c-dhcom-pdk2 > - - dh,stm32mp157c-dhcom-picoitx > - - enum: > - Applied on stm32-next. Thanks. Alex - dh,stm32mp153c-dhcom-som > - - dh,stm32mp157a-dhcor-som > - - dh,stm32mp157c-dhcom-som > - - enum: > - - st,stm32mp153 > - - st,stm32mp157 > - > - description: emtrion STM32MP1 Argon based Boards > items: > - const: emtrion,stm32mp157c-emsbc-argon > @@ -65,6 +50,13 @@ properties: > - enum: > - st,stm32mp135f-dk > - const: st,stm32mp135 > + > + - description: DH STM32MP153 SoM based Boards > + items: > + - const: dh,stm32mp153c-dhcom-drc02 > + - const: dh,stm32mp153c-dhcom-som > + - const: st,stm32mp153 > + > - items: > - enum: > - shiratech,stm32mp157a-iot-box # IoT Box > @@ -79,6 +71,21 @@ properties: > - const: st,stm32mp157c-ed1 > - const: st,stm32mp157 > > + - description: DH STM32MP1 SoM based Boards > + items: > + - enum: > + - arrow,stm32mp157a-avenger96 # Avenger96 > + - const: dh,stm32mp157a-dhcor-som > + - const: st,stm32mp157 > + > + - description: DH STM32MP1 SoM based Boards > + items: > + - enum: > + - dh,stm32mp157c-dhcom-pdk2 > + - dh,stm32mp157c-dhcom-picoitx > + - const: dh,stm32mp157c-dhcom-som > + - const: st,stm32mp157 > + > - description: Engicam i.Core STM32MP1 SoM based Boards > items: > - enum: Applied on stm32-next. Thanks. Alex _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel