From patchwork Mon Feb 26 10:50:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 1904300 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45d1:ec00::1; helo=ny.mirrors.kernel.org; envelope-from=devicetree+bounces-45882-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [IPv6:2604:1380:45d1:ec00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TjyFB6Q3Nz23qJ for ; Mon, 26 Feb 2024 21:55:10 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1C8B71C24632 for ; Mon, 26 Feb 2024 10:55:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0EDF251C5B; Mon, 26 Feb 2024 10:50:11 +0000 (UTC) X-Original-To: devicetree@vger.kernel.org Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [195.130.132.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 95B2252F90 for ; Mon, 26 Feb 2024 10:50:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708944610; cv=none; b=aG1qUYej1wId386BpBLHXg/2elQE5GvJreLDZp1srDcfdLRqAyynII+ORmzU1G9n6cte60uPzoiFdi4n0JjcE32wizX2BWfWp5LE/JVE+qS/GaixnbteFOiALebOhmkFswiT5Qvya6+odZWLZjpXeg/FiW+9SjK858qvSnfaO1g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708944610; c=relaxed/simple; bh=w0lev0IdkK1jVnrZx1US92KahJ3Kf93B4idY6xvnCd4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Nxb1zOWpaGGSh3MYHWLgnRNM+2Nwa/k7l2YhEBST+UCnaeALheBMkUxgOIQwphTKhoFJVW63GLAs5ZgrFPCzoxKq/OTN1KmWN+rbTzxaEnpoRRql9DMBEd0d/OAS9ZhPjkMKveaFTiOyK/BU0AbScBxEkb/nq4O3ymmZL1WiqlA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:7662:e968:947d:f3d0]) by baptiste.telenet-ops.be with bizsmtp id rmq42B0085Kh3Z501mq4Kk; Mon, 26 Feb 2024 11:50:04 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1reYYU-001lUO-MP; Mon, 26 Feb 2024 11:50:04 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1reYYe-003pvR-61; Mon, 26 Feb 2024 11:50:04 +0100 From: Geert Uytterhoeven To: Support Opensource , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Steve Twiss Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Conor Dooley Subject: [PATCH v2] dt-bindings: mfd: dlg,da9063: Make #interrupt-cells required Date: Mon, 26 Feb 2024 11:50:02 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 '#interrupt-cells' is a required provided for interrupt providers, hence make it required. While at it, move '#interrupt-cells' in the example to match common sort order. Fixes: 361104b05684 ("dt-bindings: mfd: Convert da9063 to yaml") Signed-off-by: Geert Uytterhoeven Reviewed-by: Conor Dooley --- v2: - Add Fixes, Reviewed-by, - Rebase on top of commit f1eb64bf6d4bef52 ("dt-bindings: mfd: dlg,da9063: Convert da9062 to json-schema") in mfd/for-mfd-next. --- Documentation/devicetree/bindings/mfd/dlg,da9063.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml index da741c9994456ad9..51612dc22748fcbf 100644 --- a/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml +++ b/Documentation/devicetree/bindings/mfd/dlg,da9063.yaml @@ -112,6 +112,7 @@ allOf: required: - interrupts - interrupt-controller + - '#interrupt-cells' - if: properties: @@ -162,10 +163,10 @@ examples: pmic@58 { compatible = "dlg,da9063"; reg = <0x58>; - #interrupt-cells = <2>; interrupt-parent = <&gpio6>; interrupts = <11 IRQ_TYPE_LEVEL_LOW>; interrupt-controller; + #interrupt-cells = <2>; rtc { compatible = "dlg,da9063-rtc";