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 1D60CC43217 for ; Tue, 7 Dec 2021 09:05:29 +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: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=wgtxN4850ogMwqKSifjIhRBludxY0jqaHeh7qagNzE8=; b=Kz/yMU4i4cbR5q0xIshvzAlrml V83DLdZeyGZEZB6DfEr0ZOmwtwSkhkTUgYoiK2HFS+e+rhqPpm4VI3pjbg0/r+DmbtbCpOMEfwuJe x0bI2UZL/q8hUlySEZivlVsGRsmCsDIeTkx7R3uP9tgCJLX6sKMr4mUZJ53uMJPyXzZ7gNlTyVLJL 4csGKVJfcJHmS2UZIX8DWEX1tkZx46D7nG4zidO4UZNBeult+OG1n9Pxq6ERWLOXDTGBdaSN0kdT/ WMiiqfMX3Fnm5gaT1vpW3oozo38BZ0ZORmpT+lq1sD3OT71x5+jbpOV/D2vToAO1ZKFGJp7hhg4EX +kTu4gjw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muWNa-007gEz-CI; Tue, 07 Dec 2021 09:03:19 +0000 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1muWA4-007cGo-Fe for linux-arm-kernel@lists.infradead.org; Tue, 07 Dec 2021 08:49:21 +0000 Received: by mail-wm1-x335.google.com with SMTP id n33-20020a05600c502100b0032fb900951eso1135857wmr.4 for ; Tue, 07 Dec 2021 00:49:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=QR97QPW6f+NCgAfPv43w1fjZD41f7yPQgmLStq1mi9A=; b=gRh0LSOOXgIypuCdQaadqe7XgZFROTeqpk1WWlszBVKUUUiTyjV00+KOcnYsNRAX47 5X3ALW2nTtvtWHqgaUe9zA4UUUjrNu10vXPJPvxB58W9EN1tSP8hz05dDkuR0k+s+AZh xrzBKOxupUAn/CqiBNghQJtdF4tjfmSatN2sUUoqaqD3IEIMToLSi2Ke5c6iim46iQys Kb/0orwNvVJywlOh8k9fd9C/fPMILruFbp5RSzOfYaZ5dPnRThCRcSGb3qjJ9RpA3+KZ yn3g2KlCui30P8L+KmIAw671RtfrcvdbaCtIGh26eFGhOlnNJG3uH0yXlWBodbi7NoaO BQNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QR97QPW6f+NCgAfPv43w1fjZD41f7yPQgmLStq1mi9A=; b=DEq4bzEk+SZepE+COR80mw3p6rQq+ogJ0eRMVdW1nloPzh2mJVnK0wMCZMyI1mDcVa IR1mZNz8BQh5ADFtjk5/WKQArUtLb0qrRwfEafoaaOnImcYocFysZtSWMM12ULLgScTR Mh9wyIloD3+SaA9GE/OcgAb3beqp+c0nX++r3mCnKMmA4sQyjMS3cLsTEcbBaikcGvYF fN/jGhHwc8F1wnTpg6RwvEvS9jmq5mMy4rbfY7sAP7270/DCKguJfedlbXiehHFRoXxQ NRPxKlbom7l1aZ/pQE3rSYxpP5rhIGVYGis5giNkns593royAwqKxzzh5HgyC07xxFOU Li3Q== X-Gm-Message-State: AOAM532CTUckPYFzAuIkRLcIpN/acXTfNp2CmLbVEvw76LkHQzyW29Jp oU/AxKSitSAA6ThDBZRy6Yr4shJgGrSHQA== X-Google-Smtp-Source: ABdhPJwlcEDhqDKisTkge+HksHvcucpIyuEWBZi2ohpxLgw/uhMKKUgIA3jxgrmbJ1OgEC7tsfbrEQ== X-Received: by 2002:a7b:c407:: with SMTP id k7mr5272284wmi.35.1638866955262; Tue, 07 Dec 2021 00:49:15 -0800 (PST) Received: from orome.fritz.box ([193.209.96.43]) by smtp.gmail.com with ESMTPSA id x1sm13693748wru.40.2021.12.07.00.49.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Dec 2021 00:49:14 -0800 (PST) Date: Tue, 7 Dec 2021 09:49:11 +0100 From: Thierry Reding To: Rob Herring Cc: Brendan Higgins , Benjamin Herrenschmidt , Joel Stanley , Andrew Jeffery , Rayn Chen , devicetree@vger.kernel.org, linux-i2c@vger.kernel.org, openbmc@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: i2c: aspeed: Drop stray '#interrupt-cells' Message-ID: References: <20211206174237.2298580-1-robh@kernel.org> MIME-Version: 1.0 In-Reply-To: <20211206174237.2298580-1-robh@kernel.org> User-Agent: Mutt/2.1.3 (987dde4c) (2021-09-10) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211207_004920_574283_CAF412A0 X-CRM114-Status: GOOD ( 19.89 ) 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: multipart/mixed; boundary="===============2613867419214589891==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2613867419214589891== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ICqRkSFbTbP5VtpW" Content-Disposition: inline --ICqRkSFbTbP5VtpW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 06, 2021 at 11:42:37AM -0600, Rob Herring wrote: > '#interrupt-cells' is not documented which causes a warning when > 'unevaluatedProperties' is implemented. Unless the I2C controller is > also an interrupt controller, '#interrupt-cells' is not valid. This > doesn't appear to be the case from the driver, so just remove it from > the example. >=20 > Cc: Brendan Higgins > Cc: Benjamin Herrenschmidt > Cc: Joel Stanley > Cc: Andrew Jeffery > Cc: Rayn Chen > Cc: linux-i2c@vger.kernel.org > Cc: openbmc@lists.ozlabs.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: linux-aspeed@lists.ozlabs.org > Signed-off-by: Rob Herring > --- > Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml | 1 - > 1 file changed, 1 deletion(-) Interestingly I have a patch for this as well but it does the opposite and adds interrupt-controller and #interrupt-cells. Upon closer inspection I was tricked into this because the i2c-aspeed driver includes linux/irqchip/chained_irq.h and linux/irqdomain.h and therefore I assumed that it was indeed implementing an interrupt controller. But none of the symbols in those files are ever used, so your version seems to be correct. Reviewed-by: Thierry Reding --ICqRkSFbTbP5VtpW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmGvIAcACgkQ3SOs138+ s6HGYg/+O+id0oZwHJkCp6siA2gEqNUXVYkH6mzWDT9oDmO7ABtPrYBDdQi8FLda Y2GS9i6jKuW6j/EP8fDX61ksJhBBuu1Aj89ivX3aPE9QwZXOHCUaVYnRjEVPyUN3 eFv0QSBMWxsLDNQ0bpOFA5ZpxkJ87wnh1z9u5Vkf4F9q6yUZcWuICwJJImgF5Udm LcUaBVBLys7gLX4ixJPHymnB9ogCxS87QTdGXSY94E3iR46Spkr2LKOXVaKbqVKJ OBQIdlk64ZSpQOQ1mUDRAdkSoZtyEik4MBbdOwb5/9bT9QvPu7h1Yi+DWxwJpW9x 40KZD8JDK0xNlJAlUtkiwbu9frmpZrSz359rnQ9HXLbze5p89xsvpLtOiYDemTBW VYfFjGVMYAhLx5UgIMDTO4f5oQeBeG4N7XkrSAIEK4zZ9OAjwJ25w5aojJuULqgH /jtYeTcU6dkJ0RD3V7+vhaiznwlPZr4tfu63Fqt3Ai3EVYMqKks78wZhwtrrhrOO /SpWSv4jyAC7Mh1R6KnDD193ar6IPdW6DkCeuEokRVCpdRjtBGSX2aplXgVlRk+r YB3WdOKqkaJuEqKhzYuUdaHsTyRSdzSrb19hWbtHjZc+nuQHLs4GqpAxCxNHoXNR V8bGdcm7GQOiVRbaaY9a0+d82p6+hk0rvv9TtKqE+afw/enojQI= =8Ial -----END PGP SIGNATURE----- --ICqRkSFbTbP5VtpW-- --===============2613867419214589891== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============2613867419214589891==--