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 X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5757AC433DB for ; Thu, 28 Jan 2021 10:17:03 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E948F64DCC for ; Thu, 28 Jan 2021 10:17:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E948F64DCC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject: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=tvTAsI0fElUM3y0PpsCaRa2ISxe2/XFq8bRhplb3qiA=; b=o+romYpjFyY86soQ7SRap1Cbu VRzvOMDNkrp4O815Ni1UlGRH+/oSLAOndceGFyWLto/LtOiFyVpH4jBs4HRai3mC0F0Qs4JYO9d7x AE/5ictg7fOX0i4MEM7Vpt2GxKdYtkbTd9gZFDR6oqPpDB7monoDXpG5PU5XSJzssTQ27sl1q8PMP sZntqyF6NothDGKGA3X85xjEnyV9/gwGAwTg5OxdUMfBQF6vhUI6Btw6mvIzYWiZ44xzoN2iyFtOW yASRErDErlRiXGhUqEPdmeR9FuafIx6l0CMWG/XTTHvLA8DwqljBdNF7+kb57t0MxxLJiIGSmF1QW pcv0ydN4A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l54LA-0000cz-74; Thu, 28 Jan 2021 10:15:52 +0000 Received: from new3-smtp.messagingengine.com ([66.111.4.229]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l54L7-0000cY-7o for linux-arm-kernel@lists.infradead.org; Thu, 28 Jan 2021 10:15:49 +0000 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 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 In-Reply-To: <20210127172500.13356-7-andre.przywara@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210128_051549_324515_FA590B19 X-CRM114-Status: GOOD ( 13.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Samuel Holland , Yangtao Li , linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, Chen-Yu Tsai , =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= , Shuosheng Huang , Lee Jones , linux-arm-kernel@lists.infradead.org, Icenowy Zheng Content-Type: multipart/mixed; boundary="===============2098059247064086524==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2098059247064086524== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6eblr7x2iq5pdape" Content-Disposition: inline --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-- --===============2098059247064086524== 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 --===============2098059247064086524==--