Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp664024rwb; Tue, 27 Sep 2022 03:00:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM52uM3k5CV2w8ANbwGpEjLQYr8YCN3ZR0Id19wnoc6COzpYHBeqhY2JOeyqV7UcIxSXRxO+ X-Received: by 2002:a17:90b:278a:b0:202:6821:65f8 with SMTP id pw10-20020a17090b278a00b00202682165f8mr3656310pjb.157.1664272813094; Tue, 27 Sep 2022 03:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664272813; cv=none; d=google.com; s=arc-20160816; b=liVzyaYu5TfitNyEV01EHvQRxjTRIjDIfUT+tWq3yn79/0+ygvC2Y0TYp22FCrGdXM 1dNn39k9n0TU09A1NeAHHiyHzgCWwsU6ib72J2h4ZuE9BmuMV/nJqClkEMlZPz+krUa/ etC/XHJTnRsiKdB45n/hbncCn+whgtZTQ9CpkbeUijFj3qHjAHAGt95gytNUek426wtP O6ItEqGj5bZDLU4Z1yjRfW4fHbseGd4KN76s2esKzhGAp50Ukk2OM2s02bD0x5AlqO5+ JWAn52UXgFMZTP0j2wMmwn4YPF+iKqDIhbGfPckNKzuv4MhksKEGngPh6JSrKD3tiNEu ag4Q== 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=lztctaXpuBh23+RJMFSBb8KRhYG7OptTx91tvx4/3kk=; b=y7g7UbmAleVlNOM/MP6IdYEdlo+rrmtN+ZZAoWxivWNbnkNZesLNCKfAbBDbu5ikDo cq/OZWeASYDpUdxXBpaKaB1QZjm/D1MHw8QpREE7EQUtB2n1S5P7IfNm7+RBJLx+T048 P6PVjhEH9x7mBpsv494crK8V6xCw9IiaPXqYJ/QGr+3bYEMzs/Tgo+ua+uuaTa1TXLam tpvvKCEkrAeo01HHQIjPLoD6jmF8AIOxsjHBcxYuIqbClDqZ1T5SC1t5xoral9sVFFBy hqqOGsqEo/OKOPTyWupeybmWCEm+ejqFEdv17tMuuMvtTmVwS+lPoQ94H10TU6nK889w XLgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="iXC2/jH+"; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m16-20020a056a00081000b0054576310f12si1643958pfk.366.2022.09.27.03.00.01; Tue, 27 Sep 2022 03:00:13 -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=@bootlin.com header.s=gm1 header.b="iXC2/jH+"; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231151AbiI0JgT (ORCPT + 99 others); Tue, 27 Sep 2022 05:36:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230238AbiI0JgR (ORCPT ); Tue, 27 Sep 2022 05:36:17 -0400 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C92D96749; Tue, 27 Sep 2022 02:36:14 -0700 (PDT) Received: (Authenticated sender: paul.kocialkowski@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id C7D6410000B; Tue, 27 Sep 2022 09:36:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1664271373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=lztctaXpuBh23+RJMFSBb8KRhYG7OptTx91tvx4/3kk=; b=iXC2/jH+tpxbpJ3YGexQykGVbYGfOQ1qtFA8gzE8O6LntvgnmBum8FmgxImkSNDCME4ME/ LhB4PXeGlQ6T0Dv67wBbuU1JyTAEVIZK9+6dwUeaXizW2pMJYRA46xh3a1BknMPl7e1/CE tss8HJBzyax0/dJCQk0Djk3bYXyX5UDHu4oxn04t1gdtNgFrU8GmzJy46K7YhjKXe7PGoR N8hZFQwixvw5fDmwoZL83zvkvj0am66kV92BOVUv68j7ek3iFN+8bm8dBvCAK0pPvrL1kH AbDoDnEyAJBkAz/IG69ULOhioern06HvZjAr4nzFoNMe6v945CUHjrrUmhsVcA== Date: Tue, 27 Sep 2022 11:36:02 +0200 From: Paul Kocialkowski To: Samuel Holland Cc: Krzysztof Kozlowski , Kishon Vijay Abraham I , Vinod Koul , Chen-Yu Tsai , Jernej Skrabec , Maxime Ripard , Jagan Teki , Krzysztof Kozlowski , Maxime Ripard , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: Re: [PATCH 1/8] dt-bindings: sun6i-a31-mipi-dphy: Add the interrupts property Message-ID: References: <20220812075603.59375-1-samuel@sholland.org> <20220812075603.59375-2-samuel@sholland.org> <0d2bf232-8aa6-2dc1-121d-f0439bfd7b54@sholland.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PiLFU6KiWb8KPWLq" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 --PiLFU6KiWb8KPWLq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon 26 Sep 22, 11:28, Paul Kocialkowski wrote: > Hi Samuel, >=20 > On Fri 12 Aug 22, 17:19, Samuel Holland wrote: > > On 8/12/22 5:45 AM, Krzysztof Kozlowski wrote: > > > On 12/08/2022 10:55, Samuel Holland wrote: > > >> The sun6i DPHY can generate several interrupts, mostly for reporting > > >> error conditions, but also for detecting BTA and UPLS sequences. > > >> Document this capability in order to accurately describe the hardwar= e. > > >> > > >> The DPHY has no interrupt number provided in the vendor documentation > > >> because its interrupt line is shared with the DSI controller. > > >> > > >> Fixes: c25b84c00826 ("dt-bindings: display: Convert Allwinner DSI to= a schema") > > >=20 > > > I don't understand what is being fixed in that commit. That commit did > > > not have interrupts in D-PHY, so what was broken by it? > > >=20 > > > The Fixes tag annotates the commit which introduced a bug. > >=20 > > The binding had a bug because it did not accurately describe the hardwa= re. >=20 > [...] >=20 > Coming back to this series, I don't really get the point of introducing t= he > interrupt in the bindings and the device-tree sources if the interrupt is= not > required for normal operation. I would just drop it. >=20 > I recall I was in the same situation for the MIPI CSI-2 controllers, whic= h also > have a dedicated interrupt but only useful for debugging/error reporting. > I was asked not to introduce it back then, so I suppose the same should a= pply. Coming back to this, my memories were wrong and the interrupt was in fact a= dded to the binding and the dt description. Nevermind my previous comment, I guess it does make sense to have it in the= dt hardware description even if the driver does not use it. Sorry for the noise, Paul --=20 Paul Kocialkowski, Bootlin Embedded Linux and kernel engineering https://bootlin.com --PiLFU6KiWb8KPWLq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEJZpWjZeIetVBefti3cLmz3+fv9EFAmMyxAIACgkQ3cLmz3+f v9HwAgf/duJh5AF/wrOPWoxEDWSWSf/54+O5EtPf1cpHo1tW2RMzwVgVNSiFXlUW Wef8LOxHWLSYdC+Aq7EmPa8t/3PW0t3j2leA4FPIUY6LArocr2HUFzoh90ivZxJE r8VR1P1ZbubureBZQJwFhDflDqR67qnUwEM9be++4LcBUM0RWZzYKhD1YmR6GxbV OVn+VWkeDSdb3fK4Prmh3ogRivMorGs7GvyFM3QJFv+arKCDBSG9/NVmVIbzgr1k Xa+M/cWNMfxvSuyTltrI0kAeQPpqjEDnaL6unrG/le9MZsducKOSOyGOlxPDYHqm lu1MFlBQGEhhcv/hIQFmJhI2e8JkTA== =3Zbu -----END PGP SIGNATURE----- --PiLFU6KiWb8KPWLq--