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=-6.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_NEOMUTT 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 BD477C43381 for ; Fri, 1 Mar 2019 14:44:07 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 8C82F20675 for ; Fri, 1 Mar 2019 14:44:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="t928GZWc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8C82F20675 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.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=I7BMNYbnjg5WGC6/A0I4W50u6ZYyW6Px3GONhKnFDsY=; b=t928GZWcOx5vgmVBO6QOTdRL8 Funkh2ed55CzICTbTLyCT8F+SvU9dVj13SwaneJYWzfDUhTY4FJzPg7FvLMsDDXp8C7GFgDxoO7nw wudZiwO3ZgaCX3FfsAmtk2UV9qK6LVVb9xwukMDrSNAo/KQNUhVXPI5GGvBYwscmmZAtifVz0SDNd 9PP8hb+N7xD3sxTEvJ8RY77QBDr2rXJ5IAzUGKmyhAASqKWUeQBEAyr8uZU6MV2pPqZzodKW1G8WG AL2/xanlLBxvdmm9N5JqKOOu8WvsESR/ZbJgfWDKVJmfxRrXPN9DuJCB6L4aVT21jW8eDy5dHufq5 pjVUBsEFw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzjOQ-0007jc-72; Fri, 01 Mar 2019 14:44:06 +0000 Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzjON-0007j3-Ev for linux-arm-kernel@lists.infradead.org; Fri, 01 Mar 2019 14:44:05 +0000 X-Originating-IP: 90.88.147.150 Received: from localhost (aaubervilliers-681-1-27-150.w90-88.abo.wanadoo.fr [90.88.147.150]) (Authenticated sender: maxime.ripard@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id C944240011; Fri, 1 Mar 2019 14:43:48 +0000 (UTC) Date: Fri, 1 Mar 2019 15:43:48 +0100 From: Maxime Ripard To: Samuel Holland Subject: Re: [PATCH] soc: sunxi: Fix missing dependency on REGMAP_MMIO Message-ID: <20190301144348.titicfsmukd3kogj@flea> References: <20190301022044.24431-1-samuel@sholland.org> MIME-Version: 1.0 In-Reply-To: <20190301022044.24431-1-samuel@sholland.org> User-Agent: NeoMutt/20180716 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190301_064403_651652_B935481C X-CRM114-Status: GOOD ( 13.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-usb@vger.kernel.org, Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Bin Liu , linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============0677464152384667152==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0677464152384667152== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ycvxxw73xemms6qw" Content-Disposition: inline --ycvxxw73xemms6qw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 28, 2019 at 08:20:44PM -0600, Samuel Holland wrote: > When enabling ARCH_SUNXI from allnoconfig, SUNXI_SRAM is enabled, but > not REGMAP_MMIO, so the kernel fails to link with an undefined reference > to __devm_regmap_init_mmio_clk. Select REGMAP_MMIO, as suggested in > drivers/base/regmap/Kconfig. >=20 > This creates the following dependency loop: >=20 > drivers/of/Kconfig:68: symbol OF_IRQ depends on IRQ_DOMA= IN > kernel/irq/Kconfig:63: symbol IRQ_DOMAIN is selected by = REGMAP > drivers/base/regmap/Kconfig:7: symbol REGMAP default is visible = depending on REGMAP_MMIO > drivers/base/regmap/Kconfig:39: symbol REGMAP_MMIO is selected by= SUNXI_SRAM > drivers/soc/sunxi/Kconfig:4: symbol SUNXI_SRAM is selected by = USB_MUSB_SUNXI > drivers/usb/musb/Kconfig:63: symbol USB_MUSB_SUNXI depends on = GENERIC_PHY > drivers/phy/Kconfig:7: symbol GENERIC_PHY is selected by= PHY_BCM_NS_USB3 > drivers/phy/broadcom/Kconfig:29: symbol PHY_BCM_NS_USB3 depends on= MDIO_BUS > drivers/net/phy/Kconfig:12: symbol MDIO_BUS default is visibl= e depending on PHYLIB > drivers/net/phy/Kconfig:181: symbol PHYLIB is selected by ARC_= EMAC_CORE > drivers/net/ethernet/arc/Kconfig:18: symbol ARC_EMAC_CORE is selected = by ARC_EMAC > drivers/net/ethernet/arc/Kconfig:24: symbol ARC_EMAC depends on OF_IRQ >=20 > To fix the circular dependency, make USB_MUSB_SUNXI select GENERIC_PHY > instead of depending on it. This matches the use of GENERIC_PHY by all > but two other drivers. >=20 > Signed-off-by: Samuel Holland I assume it would go through the USB tree. Acked-by: Maxime Ripard Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --ycvxxw73xemms6qw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXHlFJAAKCRDj7w1vZxhR xVjGAP94coZdopPFdqzQRv+JETzy+KzY1RokBAcmEDJWBUTH8wEAmdE+nzNgGH4d sqt3arc0yBSd9m0BqlKM2bC48M2fBgo= =O6Rf -----END PGP SIGNATURE----- --ycvxxw73xemms6qw-- --===============0677464152384667152== 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 --===============0677464152384667152==--