Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp871760pxb; Thu, 28 Jan 2021 02:19:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzaCXYE++7OnhdfDEvtXmALpS+2Rq3CxfJIj2xuT/W+a9oKn8ll4X3pECdgnx7mhxQg4I+c X-Received: by 2002:aa7:de10:: with SMTP id h16mr13664044edv.295.1611829189170; Thu, 28 Jan 2021 02:19:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611829189; cv=none; d=google.com; s=arc-20160816; b=AZ7XWUMhR5zMaUfstxbABNbcPSrV7gZ/wJETuti4WWX8dxAJ7ynbKzbgJPyLQ4TlxV 6bQBKDRkxNVr0juJjZKLAiTp6BpbJXYgGZDkc8lWprfub9HjHbc786qwoFIov8zurhY0 XYcWUYPSIlHqWX5DsmUjR8jJAcx5+FwgYQUM7jjFkNsLcSupU8NlWPlWghEE7FOwKq1t A4hOFlSJci/HFIyVCzI4AY2bxpWBK/7OW+/gD+yF4bJ03pkuODT+eCQyqPKfLwMtLzdc +3UI/854QTZgoo5WsmwpetAC6k8Wg4CVPB8efyUtwM0ik0a3ZHD7ACA4bbaWIuX50GMz VTUQ== 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 :dkim-signature; bh=sBHceBX3nouDZkvavqurqgQf2F/vRYTPOBuP3L3yZFE=; b=kyr7Mdhhq7kaAJjpJfeMkvUcXpHIGjwhHx/9GpfdbbhR5Zsoe5PqEH7Hg6uywlrU9j z2VqP3grxFND4t2uKs0OMti/dy0JOHafQw457f7vBBLXsYQDLUDqV/B2FfgR96yaS4/F rGzX2XVjCUW6VCaBiPdoeMRHbq8IzqwpKLJsIzAWiLIiMa2FnDoY3ri4fgWRNIZ7ds4k s9yoI6cCYhP2e6HkwEbxxl7UxKjVDE6aEsei6RT+CX2GyeyxbHOmmp+g3tkmfpL0y6iS SQf1PZf0L0iMCAwZy/2smZA6rkeq2R2lteG4vGyKnO1gishyGjQ4JT1UqXfDuWUcyag4 +cWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=GqIYTyhs; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="aFoV/URN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id he39si2360597ejc.512.2021.01.28.02.19.24; Thu, 28 Jan 2021 02:19:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm1 header.b=GqIYTyhs; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b="aFoV/URN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232110AbhA1KRC (ORCPT + 99 others); Thu, 28 Jan 2021 05:17:02 -0500 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:33805 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232031AbhA1KQz (ORCPT ); Thu, 28 Jan 2021 05:16:55 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id A30CE58078B; Thu, 28 Jan 2021 05:15:48 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 28 Jan 2021 05:15:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=sBHceBX3nouDZkvavqurqgQf2F/ vRYTPOBuP3L3yZFE=; b=GqIYTyhsobAcx5Yipt8FdKD8Qv5QEl6HyioVIh0HddM LF8Yp7/RUr5p/jvFANAxobMoLA6Ka+YuqvKn6V8oMJeO/7DKiSeEUikOmOC6hyH2 Hi9O+BVasiZj0uxCdLWJWa7iDGCcVznm42fmswG7oK4WHjJ5avsdu/K79zFrzrg3 h7hPa6+stwC4wcNvntmuowDDgwjuCXdb3ikDABoRRYYBLiiOu+U+ySy4LFMrB3Pc 7V37cpAImtT17mfVX2hJDU9GibhhUAnlSFiui4Zf3H+2ZNOz6Vroccl2vvuAdttg AT/Fp8r71xwkbb0kkU+RJftldrQjtuK+xo0RDzRn82Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=sBHceB X3nouDZkvavqurqgQf2F/vRYTPOBuP3L3yZFE=; b=aFoV/URNlkUQKRY4W2xAki LIqmWZ6Bcme1kUtMxe5SRq9wgZN8IyVX6AEYBfVW76w/NkS4bn9hkugCEFKcAoN5 1omUDSSsurKB7rBxY6+Pnut4LJYhdEbHzuCXXUJ0kg7lZMnJse5rgqRbdhFFa+o1 o8sBaaouN/YUS5RvMgpfXnItowt9M2k7e68H/AngS5Za/ECkPeRBxRaNTKJ7gggx JFaqWXHEc54qQHJGSH/9FcBtNECqLdU8QYofKCqG8YTFgMm6xUYpyL3RZrHOEDXi 8H6QB3Ejfi2juc81BfzkhyvzfPjsTwjJ+Hw1f4DkwKI4knWC4Ce64IiThq/RMurQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedtgdduvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtth gvrhhnpeelkeeghefhuddtleejgfeljeffheffgfeijefhgfeufefhtdevteegheeiheeg udenucfkphepledtrdekledrieekrdejieenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 34BAB24005D; Thu, 28 Jan 2021 05:15:46 -0500 (EST) Date: Thu, 28 Jan 2021 11:15:44 +0100 From: Maxime Ripard To: Andre Przywara Cc: Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Icenowy Zheng , Rob Herring , =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= , Shuosheng Huang , Yangtao Li , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Lee Jones Subject: Re: [PATCH v5 06/20] mfd: axp20x: Allow AXP chips without interrupt lines Message-ID: <20210128101544.yyvrguk2jlgr4uwo@gilmour> References: <20210127172500.13356-1-andre.przywara@arm.com> <20210127172500.13356-7-andre.przywara@arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6eblr7x2iq5pdape" Content-Disposition: inline In-Reply-To: <20210127172500.13356-7-andre.przywara@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --6eblr7x2iq5pdape Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 27, 2021 at 05:24:46PM +0000, Andre Przywara wrote: > Currently the AXP chip requires to have its IRQ line connected to some > interrupt controller, and will fail probing when this is not the case. >=20 > On a new Allwinner SoC (H616) there is no NMI pin anymore, and at > least one board does not connect the AXP's IRQ pin to anything else, > so the interrupt functionality of the AXP chip is simply not available. >=20 > Check whether the interrupt line number returned by the platform code is > valid, before trying to register the irqchip. If not, we skip this > registration, to avoid the driver to bail out completely. >=20 > Signed-off-by: Andre Przywara Acked-by: Maxime Ripard Maxime --6eblr7x2iq5pdape Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCYBKO0AAKCRDj7w1vZxhR xfuSAQDsBnkmPRLbuwfbB2tNnWlYrtOy/dSadYy1k/1FEC1DnwEA4ZmBkAyH5K/z igfyPWSk2ldQN7UJGNIPKL6JiBIjnAk= =+6sm -----END PGP SIGNATURE----- --6eblr7x2iq5pdape--