Received: by 10.223.185.116 with SMTP id b49csp1089957wrg; Fri, 23 Feb 2018 11:45:16 -0800 (PST) X-Google-Smtp-Source: AH8x224nlB0u+M78esKEqUZ4QZoyUNRwWbqqRuD6dgrOu9GpqzDSsIZL1En2WIcpH28NqCNYnafb X-Received: by 2002:a17:902:d68a:: with SMTP id v10-v6mr2671735ply.206.1519415116530; Fri, 23 Feb 2018 11:45:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519415116; cv=none; d=google.com; s=arc-20160816; b=xHTwUrRF2pWIcMuvt1G78fi89FfyRM/kXQk3rzHIMEarrFmuIAMgehaqyUaqf8gt/t yelle4I9uHsTVM38au6Pn+A0avB80huYhwb9pxzDFyGoSh5G9cJTFVUb4JnfKC6wI73O 3mmTWSIHBM9o0r3naPccuKIfBhVU5tiCFvBneXvq+5BE2OiyXRkm+AtxE61w+g/krxH4 jlIAzfpZma3qVpxgg2cNPwRuco3UdRfBU7dW5gACxX0osFJNGsa5xbDR/evKucF5Tpze iW8ETv/Sh+jovQMaxx0TTF8it3B6vbo9jKFR4PiSRvKW6tANlkx/g2+9zzJwyFMxlUWp 0yiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=2sxCQNa+0YSwquUZo/y3Q2bTuuhZJFrITfGgt8AaAIs=; b=zDZW9h01BMbCrFVvogAYwUV9EKMpwrB1ppG2RCI9LZe0XS3Q5NvYjFtbWTUW9MW3gT yUEG2/S3jfnp5bHeOTaUm0IjO0IL0AcTQwi6/TerGhBfwdqQvM8dBDZSPp5ngjUwjWn7 Xreur0bnpWHgckieAGhvjfdSr6O4dy6cELbwCaoQJinrkUjhw7/b692uG6XmF8Wtv7Nv TN3JJGqkoUjaHwyXYAxhvhfY8YxoAwg7dnPM/7Nd8MH8eSYbkd//XSz+8HmvJ+1ngyiv W7Jcd5i2F04zXD5DY7CfPd6C27HLatLAMLx2uQtrYhIJl8p5BJJK6nUsCdpUPNuldyGY 9J6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w2si1863387pgm.215.2018.02.23.11.45.01; Fri, 23 Feb 2018 11:45:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934390AbeBWSs0 (ORCPT + 99 others); Fri, 23 Feb 2018 13:48:26 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:44914 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934335AbeBWSsX (ORCPT ); Fri, 23 Feb 2018 13:48:23 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 4ECC810B6; Fri, 23 Feb 2018 18:48:22 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Greg Kroah-Hartman , Arnd Bergmann , Maxime Ripard Subject: [PATCH 4.9 135/145] arm64: sunxi: always enable reset controller Date: Fri, 23 Feb 2018 19:27:21 +0100 Message-Id: <20180223170742.193676184@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170724.669759283@linuxfoundation.org> References: <20180223170724.669759283@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit 900a9020af7a023f9b64c919fddf8a7486108962 upstream. The sunxi clk driver causes a link error when the reset controller subsystem is disabled: drivers/clk/built-in.o: In function `sun4i_ve_clk_setup': :(.init.text+0xd040): undefined reference to `reset_controller_register' drivers/clk/built-in.o: In function `sun4i_a10_display_init': :(.init.text+0xe5e0): undefined reference to `reset_controller_register' drivers/clk/built-in.o: In function `sunxi_usb_clk_setup': :(.init.text+0x10074): undefined reference to `reset_controller_register' We already force it to be enabled on arm32 and some other arm64 platforms, but not on arm64/sunxi. This adds the respective Kconfig statements to also select it here. Signed-off-by: Arnd Bergmann Acked-by: Maxime Ripard [arnd: manually rebased to 4.9] Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- arch/arm64/Kconfig.platforms | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -2,9 +2,11 @@ menu "Platform selection" config ARCH_SUNXI bool "Allwinner sunxi 64-bit SoC Family" + select ARCH_HAS_RESET_CONTROLLER select GENERIC_IRQ_CHIP select PINCTRL select PINCTRL_SUN50I_A64 + select RESET_CONTROLLER help This enables support for Allwinner sunxi based SoCs like the A64.