Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp556938rdb; Tue, 19 Sep 2023 03:49:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEYIQkp+cpxweeovlT+ibAyeecnTl3J+buFri5AP1IX2moxWqWlk0N9r7q8rdZdewB/Sp5F X-Received: by 2002:a05:6300:8002:b0:155:5c28:ea6c with SMTP id an2-20020a056300800200b001555c28ea6cmr8930388pzc.25.1695120546589; Tue, 19 Sep 2023 03:49:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695120546; cv=none; d=google.com; s=arc-20160816; b=iMOhljkZsXxj36Op93SXdS9fATV7v+vSK3WWXkZUJAWpTy/cVH8Lti1pfrpemhF1mt kfq8PuyjJAHqbuhOfuzZMvbzptn4qwci0s9dIsulpUnyXyhT1YHC3R51MgqgPPtSMsDi wlhA4FcG+3LJFGpHpW6fWdajpPhcxiUTg0jJJYGhHo0uTD3PNTTkOmad0O8WxdqFoJBW +oUYbUDNDrbx7athealhniXi7B/9Ozjl6ZvbIuQk+tjH9drZk8l7+hoXCt+tNsk/ffl8 qHpoX4o5ClCCy58ZauJXOajFJC+487IKV6Msl3OcFSrCC3/24QQ0CR9lzp9Ymm+G7bLt qXpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=s9BWuPFbmQNk9l4hxbmCGEzrUx7aAGGjTfc1yCObXGo=; fh=6Pv8GJxBPgLEOb7aBKvQ0v66ty4eQcOaKyfCFyguvUU=; b=0wsRZSDuPh71eKK2qKr8x1WITR/68595+w0DPxZ+LdA8e5NAMjtKJndUJWIK6y83RC aHF6h21k+8XtDIzVkycPzIIGCKxXP+8WW3K1LN/DtOe2hTZ0FKd+/1UDXbkOW3X9p5LM 8GcFRCP1P9hOYkAlSXBKeABpMZy1hIN49RiTiTH+w9JYs/2QEEn8/RR/RsSh6yE4GU3U fS3hiBdldrrYBmTAJjmnLDiI2ne4Urou8TLkkhoPoYRpGG5h3BhiiNXOc/HbwG5HrF0n NLXIocFx9X0vo5erFZO742CLpcO+3m4HxpUamig1dEBR1A9B4lcVwo0TB2EuPkgoI6Kn OfyA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id y10-20020a170902864a00b001bc836180dcsi9408001plt.520.2023.09.19.03.49.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Sep 2023 03:49:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id DAA1F8031AFD; Tue, 19 Sep 2023 03:39:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231799AbjISKjp (ORCPT + 99 others); Tue, 19 Sep 2023 06:39:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231580AbjISKjb (ORCPT ); Tue, 19 Sep 2023 06:39:31 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D2112F0; Tue, 19 Sep 2023 03:39:22 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D3E6FC15; Tue, 19 Sep 2023 03:39:59 -0700 (PDT) Received: from donnerap.arm.com (donnerap.manchester.arm.com [10.32.101.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 86DA23F67D; Tue, 19 Sep 2023 03:39:20 -0700 (PDT) From: Andre Przywara To: Lee Jones , Chen-Yu Tsai , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Icenowy Zheng , Mark Brown , Jernej Skrabec , Samuel Holland , Shengyu Qu , Martin Botka , Matthew Croughan , linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/2] dt-bindings: mfd: x-powers,axp152: make interrupt optional for more chips Date: Tue, 19 Sep 2023 11:39:12 +0100 Message-Id: <20230919103913.463156-2-andre.przywara@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230919103913.463156-1-andre.przywara@arm.com> References: <20230919103913.463156-1-andre.przywara@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 19 Sep 2023 03:39:50 -0700 (PDT) All X-Powers PMICs described by this binding have an IRQ pin, and so far (almost) all boards connected this to some NMI pin or GPIO on the SoC they are connected to. However we start to see boards that omit this connection, and technically the IRQ pin is not essential to the basic PMIC operation. The existing Linux driver allows skipping the IRQ pin setup for two chips already, so update the binding to also make the DT property optional for the missing chip. And while we are at it, add the AXP313a to that list, as they are actually boards out there not connecting the IRQ pin. This allows to have DTs correctly describing those boards not wiring up the interrupt. Signed-off-by: Andre Przywara Acked-by: Conor Dooley --- Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml index 9ad55746133b5..06f1779835a1e 100644 --- a/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml +++ b/Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml @@ -67,7 +67,10 @@ allOf: properties: compatible: contains: - const: x-powers,axp305 + enum: + - x-powers,axp15060 + - x-powers,axp305 + - x-powers,axp313a then: required: -- 2.25.1