Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3062659ybt; Mon, 29 Jun 2020 14:17:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0HUTsjw9OSe2kmHXz0r+sB1dIb/0r7orc6TEaSfTGy5PN90fRCb8sbBcsGZVBJhCen0S9 X-Received: by 2002:a17:906:2b9b:: with SMTP id m27mr4368192ejg.19.1593465438685; Mon, 29 Jun 2020 14:17:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593465438; cv=none; d=google.com; s=arc-20160816; b=yDz4rPo61gx76Z3XyDZSFk4QMHK0kwwNEgnCq2F4HjV2gxYnxXv7+b6IJaovB/iinG 6oaeL8nO90xxwxjB23X2Xj6K7c3XycMVKq0lly8SW+JmncqnBKTmWlbdBid6OMdtizIk 4oDccNopWnsA3ypWoAhQ1RnVnfqth4mTXsm1of2atrJ0QSkTQN5egP7dYgOaJsXRkH8h BD6F3hw02IlapHp5T58a4qMG3WoV6mHB40QUCtKBihIVSXHJhFEm6fSOG/wZsKeUXDaz SkNIMjja5GyXMhka+t0yofIt2uW7iwAGJzV6UL8xB8geIVc/wq8EG9s9T9QgWhJGeXR9 CX9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=zASojgXm9aRZKMBrn33sAeN5m0l++bk6BjVa4j30Vg4=; b=QUgb0FwdGtpdbR7Tye5ucrTBjlWwUBoBGSJ/wTsPf+UAlwqe05PXiXY7XBCmTmjfly cLmjprnrsDY+MVBLbFoejxNWcoupaPhTUSz0kJDv/TRDGVkOnk+wqefg1Q5PSAHc41w+ Euf0HwR8Nw1A9C5JbOLhKoRC6K9FtYBCzkFZdg9gM1nq/I5In/a07lWM4b9QhVsbtrJp pTscbnt9pfEueNiuF9o1UPjxknQ0aqUNIx7W2ldxni2fk2asuWUcaX3KtkSyECc13Nzp IjSaus50KMHmvFtpCahAPtf/iqFJsKGVOCBmC56V00FwtoF/V+PjB0Qih1mIRLz3Xs8W rJZQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j5si493028ejk.74.2020.06.29.14.16.55; Mon, 29 Jun 2020 14:17:18 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390580AbgF2VPj (ORCPT + 99 others); Mon, 29 Jun 2020 17:15:39 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:47565 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729949AbgF2VPe (ORCPT ); Mon, 29 Jun 2020 17:15:34 -0400 Received: from mail-qk1-f179.google.com ([209.85.222.179]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPSA (Nemesis) id 1M5wTr-1jjXoK1ZIx-007XtN for ; Mon, 29 Jun 2020 13:47:51 +0200 Received: by mail-qk1-f179.google.com with SMTP id b185so4303789qkg.1 for ; Mon, 29 Jun 2020 04:47:51 -0700 (PDT) X-Gm-Message-State: AOAM531kW7xXBzqwARsG0zlpZpRPRhMTKSQ6PV/w66JyMVCMVOxJo9Yn IH56xAQpbSQzO8d0yw6dj4AWRJzuz00vs84XHUY= X-Received: by 2002:a37:9dd6:: with SMTP id g205mr15045562qke.352.1593431270287; Mon, 29 Jun 2020 04:47:50 -0700 (PDT) MIME-Version: 1.0 References: <1593425623-31810-1-git-send-email-Anson.Huang@nxp.com> <1593425623-31810-3-git-send-email-Anson.Huang@nxp.com> In-Reply-To: From: Arnd Bergmann Date: Mon, 29 Jun 2020 13:47:34 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/3] ARM: imx: Select RESET_IMX7 for i.MX7D To: Anson Huang Cc: Russell King - ARM Linux , Shawn Guo , Sascha Hauer , Sascha Hauer , Fabio Estevam , Catalin Marinas , Will Deacon , Philipp Zabel , Stefan Agner , "oleksandr.suvorov@toradex.com" , Bjorn Andersson , Leo Li , Vinod Koul , Geert Uytterhoeven , Olof Johansson , Linux ARM , "linux-kernel@vger.kernel.org" , dl-linux-imx Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:tVOg2jD1oItr1kXIzUR7X2b82Ivgn5xZGNS4yrdmYUxa9YbdP/W RFHKLgKHH6lujFrgoh65TfQo5T0ZXHE5h4LWTzP2UMXd+ZsDScFBRu0QZhGOrwq+7yaPgRz aoGHnMczEFbIv1+8NVwWzmrgwozv+ra+Q4TgV04NBeMCHyhifMBmAp4rE+VAkYQ3WVNsK1p D5f7TCM0UY0j9dAWfRx3Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:p6Ba7RHcT38=:pK4VQat1pFN7MMQGGxwTDW 1dXFPEBpGG/kNmNUgVBsRe6i5EWTzcU5XY5XB8G50JuGBWqsfQsUyrZo+u5bS8RjdNi5j8qTJ fQwxdqNlCITb5Z0Mq9ns1v8mL8dC9VH0AkgJln8kW6lK+3NEMoL0qJqyyUeGnSxijaKz5ABlI OM0mLeo4JpwYD0TNG7Z0fh+pFbLYZyu/3pRP+skjBz0fYDcbdmRCCXpuVHIzI2WfcgvTPfsx9 +vHwqJhWDi/Nui0WcU/DEt0m/97MUueJ7pNrDdIZNboK9RZzClLtTlF9MTyW6neiOCULlJK4L 1KzaFGBB2GX96kykBV8akvOJy1C9vUIsSCdXJQLnrOitmdzOcsJSnygDuf6hzk21CXK7KRJO+ 9Ah8JaT3bT0iLYsFzKdo3NAlYlrFKMn3dkRhGMZ1Yb5RMXkBNvJ/5UagiqYWOb9mmHvLxL49E hmzFW8YlIvx1YeLFUVsz7uUwWRIeNfxyLFe2iO6KNVEcK/60ZvCOO0iUDVP3P1rGHe+eA5iD3 GtOQ8PrSV20ZgIIhbXlUAxGam5yyoarrVVbBk+lodkGY6MV2uQHP2dV+FiYoyWHg+1vvF3v6s r0fhWgPTSPFHM4nxW98watdrs/zk/6lKTpnvfEobLo4Vvz1/tYOSJmPn75jVDjxbMw4B4b9DL 3WxeMtfkY7hg4WcF0wCEFYYhr+8SATzslxhMyl3l0TM3q2+jWqCylLkG3jX7esyRnH8tAIEk0 ppDblCvGWmj6JYAGR3Cn7nu6q2rQpx6CRSRZ+HwEIIFheO8xZr1y/T6tpLwfSvObl0Y0lKDNJ /VBw1e/3zt3O3uXwBDzGQ49DITw3B0rL2kFoRYADWo0Uw4FfF1nT2ZmiZLQE2bUfjDqDUIoHz Eshva/sdIBYtY2RDpFcCWog+H5hjt0SqE/d9k8MX0+iFit2B0gnaHxwujvVommdPLCe5wmt1u Rb4Ce7WfjSRy5gE95AXIEWCAXQnJemDsC3voIfnpdPDYp53cw0cLp Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 29, 2020 at 1:36 PM Anson Huang wrote: > > Subject: Re: [PATCH 3/3] ARM: imx: Select RESET_IMX7 for i.MX7D > > > > On Mon, Jun 29, 2020 at 12:25 PM Anson Huang > > wrote: > > > > > > i.MX7 reset driver now supports module build, it is no longer built in > > > by default, need to select it explicitly for i.MX7D. > > > > > > Signed-off-by: Anson Huang > > > --- > > > arch/arm/mach-imx/Kconfig | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig > > > index e7d7b90..3540483 100644 > > > --- a/arch/arm/mach-imx/Kconfig > > > +++ b/arch/arm/mach-imx/Kconfig > > > @@ -561,6 +561,7 @@ config SOC_IMX7D_CM4 config SOC_IMX7D > > > bool "i.MX7 Dual support" > > > select PINCTRL_IMX7D > > > + select RESET_IMX7 > > > > Please drop this patch, it breaks the intent of the first one by forcing the driver > > to be built-in again rather than a loadable module. > > > > One thing to clarify is, the loadable module support is ONLY for i.MX ARMv8 SoCs, I don't understand. Why can't this driver be a loadable module on i.MX7? Please clarify in the changelog what the bug is on i.MX7. > ARMv7 SoCs is NOT in the plan, that is why I add this patch to make it same as previously > when this reset driver is =y by default. Without this patch, this reset driver will NOT be > enabled by default for i.MX ARMv7 SoCs, function will be broken. But it's the same driver, make it work the same way on all chips! I think artificially limiting a new driver feature to one chip just because nobody asked for it on another chip is not helpful. Arnd