Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4614248rdh; Wed, 29 Nov 2023 06:23:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IF/vLBD3FhoBtr7Prqdv5MZ9Kk2374Sma0ybdjs+v8Krkub+2HXTOxHSAaSvrFN29Eg1mnL X-Received: by 2002:a05:6a20:8418:b0:18b:d09d:5d47 with SMTP id c24-20020a056a20841800b0018bd09d5d47mr21060306pzd.1.1701267832444; Wed, 29 Nov 2023 06:23:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701267832; cv=none; d=google.com; s=arc-20160816; b=CY4NVxkeuwtVOX+Xce9jIY3oOBKAveB04e/vc55dJBa9Dn72uTFPneYhJqtTksNoeb ypy1y+YxpB21NQpPSN6Na7ouELTA4HxuUSW5jGC8A0AVpbyzpyM9cM004lVGea27JfJ7 0Xog/IOfuxfL+/M39s/e0lSCI1PdU25BEa6TWE5yzNisvuvFiyyCfxxCsDm9L4c3qt3U dpz0nMk9zdxbfxTE6gkfp3hRsyHZ+5HxYzBQ3fDrIOEISmeVp7BJIKUh1pR5V0oI8RLo bUM4E9Id5sU+ljj5Q7CkOjP7zpRL3O8auFweHIx2YYuYM67Ifjlp7CZ8ebo2/S9N1/CC muPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gVLyZWftZ1EzHithVrBK7oHxsFH6WsqWjv9MZ4cbOtE=; fh=Z0AbUoKrxvU29JkHuuu4BfeS80wOlvZUAsqDNjIXl+g=; b=kFIUpr22Y3lpJml1SlNU8+GErnvMP77LNE0aJYYQKcLJR68vL6YaV2MZvGYmYvlxhj TBdmVAWXMxxBuwpk/aENoNJUKOYQmCWiZxEfq7AFLO+8Q+G5piNrwpDFHGrUc3n3R4Fx HwrdGagZuSF90sJKC7b2/yIFUVf37P6MgQFrPmvy38VfHo5GuEq0lvqgzt7OqOXlAMaj nk5haGaCHJ+Ot4ltga2eokS2FcR4U+wi0+r8rg8sbNKvkMt5CBv/+OHrj9K3s2E++1B6 aFgzkWDwm5Si1CwlHcePfvI3PlnRjk0O+BYt9f5DSYBdIJMo4HwhXXif7GTr6qXNy7Vu /mZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="L80lP7/D"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id be14-20020a656e4e000000b005bdfbf1d562si15955887pgb.192.2023.11.29.06.23.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 06:23:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="L80lP7/D"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 5E7FF809B75F; Wed, 29 Nov 2023 06:23:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233755AbjK2OXc (ORCPT + 99 others); Wed, 29 Nov 2023 09:23:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230467AbjK2OXb (ORCPT ); Wed, 29 Nov 2023 09:23:31 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1131DD for ; Wed, 29 Nov 2023 06:23:37 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE4E8C433C8; Wed, 29 Nov 2023 14:23:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701267817; bh=uEINnHilNNToAZ1GUBzJz7tVwPdn3y3/jPZhz8a3h3A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L80lP7/DmFjx490yhyox7mwpHFUwjNzTYtOjS2so9TvD4ri5AnHVF3lE0FbCWeVpX riTz70eyypHC9pvz2VTcNGuSaKjNgAqPV7b3nhobMqbe0tc860r0tI2NrIyRUgjnO9 DRK5oFj7Dd+jtzQMWsgBgs43xVCPA9l0odYE6PX2f7Wb5hkQcIzM3S7kpImE/bopUX QojwpElox1iuTbWfjDCPqion/nebzRC1EJX3PkPK1Z9M0Pz7gAHMbHNfiqvMB8vPHx 8e6Lflr9nevBFjB3KuP7Pd9w+VzqAjCBvfOIaRJTMliS3wJpDx5136pJRNTHh7CUxF W2+7eVJkjqL8w== Date: Wed, 29 Nov 2023 14:23:32 +0000 From: Conor Dooley To: Alain Volmat Cc: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Pierre-Yves MORDRET , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/7] dt-bindings: i2c: document st,stm32mp25-i2c compatible Message-ID: <20231129-haste-emperor-3a8ba335b267@spud> References: <20231129125920.1702497-1-alain.volmat@foss.st.com> <20231129125920.1702497-4-alain.volmat@foss.st.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zQpTz0PrtyWzX5co" Content-Disposition: inline In-Reply-To: <20231129125920.1702497-4-alain.volmat@foss.st.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 29 Nov 2023 06:23:49 -0800 (PST) --zQpTz0PrtyWzX5co Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 29, 2023 at 01:59:12PM +0100, Alain Volmat wrote: > Add a new compatible st,stm32mp25-i2c for the STM32MP25 series which > has only one interrupt line for both events and errors and differs in > term of handling of FastModePlus. >=20 > Signed-off-by: Alain Volmat > --- > .../devicetree/bindings/i2c/st,stm32-i2c.yaml | 49 +++++++++++++++---- > 1 file changed, 39 insertions(+), 10 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml b/Do= cumentation/devicetree/bindings/i2c/st,stm32-i2c.yaml > index 94b75d9f66cd..6a69bb6de23e 100644 > --- a/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml > +++ b/Documentation/devicetree/bindings/i2c/st,stm32-i2c.yaml > @@ -19,6 +19,7 @@ allOf: > - st,stm32f7-i2c > - st,stm32mp13-i2c > - st,stm32mp15-i2c > + - st,stm32mp25-i2c > then: > properties: > i2c-scl-rising-time-ns: > @@ -41,6 +42,43 @@ allOf: > clock-frequency: > enum: [100000, 400000] > =20 > + - if: > + properties: > + compatible: > + contains: > + enum: > + - st,stm32f4-i2c > + - st,stm32f7-i2c > + - st,stm32mp13-i2c > + - st,stm32mp15-i2c > + then: > + properties: > + interrupts: > + items: > + - description: interrupt ID for I2C event > + - description: interrupt ID for I2C error > + > + interrupt-names: > + items: > + - const: event > + - const: error > + > + - if: > + properties: > + compatible: > + contains: > + enum: > + - st,stm32mp25-i2c > + then: Should this not just be "else:"? > + properties: > + interrupts: > + items: > + - description: common interrupt for events and errors > + > + interrupt-names: > + items: > + - const: event > + Cheers, Conor. --zQpTz0PrtyWzX5co Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZWdJYAAKCRB4tDGHoIJi 0g/dAQD+vb0YxP+0kOTPgO9Ix2HQBWIP8nOO1XqZgVw+O7daxQD9HemclzlDL37e tMu44zbX0HySlWbw3cPX0YDONRIM3Q8= =2fR5 -----END PGP SIGNATURE----- --zQpTz0PrtyWzX5co--